1 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3 * simple.el (handle-shift-selection, exchange-point-and-mark)
4 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
5 (transient-mark-mode): Use&set the global value.
6 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7 * emulation/edt.el (edt-emulation-off): Save&restore the global
8 transient-mark-mode setting.
9 * obsolete/pc-select.el (pc-selection-mode): Use the
10 transient-mark-mode function.
12 2014-06-23 Eli Zaretskii <eliz@gnu.org>
14 * international/fontset.el (script-representative-chars):
15 Add representative characters for scripts added in Unicode 7.0.
16 (otf-script-alist): Synchronize with the latest registry of OTF
19 * international/characters.el (char-script-table): Update for
20 scripts added and codepoint ranges changed in Unicode 7.0.
22 2014-06-23 Eli Barzilay <eli@barzilay.org>
24 * calculator.el (calculator-standard-displayer): Fix bug in use of
25 `calculator-groupize-number'.
26 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
27 `eval' code, so it works in v24.3.1 too.
28 (calculator-last-input): Comment to clarify purpose.
30 2014-06-22 Mario Lang <mlang@delysid.org>
32 * textmodes/rst.el (rst-comment-region): From from -> from.
34 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
36 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
38 * electric.el (electric-layout-post-self-insert-function):
39 * emacs-lisp/ert.el (ert--insert-infos):
40 * obsolete/vi.el (vi-set-mark):
41 * term.el (term-handle-scroll):
42 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
43 * wid-edit.el (widget-editable-list-value-create):
44 Prefer point-marker to copy-marker of point.
46 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
48 Fix completion retrieval parsing (bug#17209).
49 * progmodes/python.el (python-mode):
50 (python-util-strip-string): New function.
51 (python-shell-completion-get-completions): Use it.
53 2014-06-21 Eli Zaretskii <eliz@gnu.org>
55 * skeleton.el (skeleton-insert): Fix last change.
57 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
59 Enhancements for outline integration (bug#17796).
60 * progmodes/python.el (python-mode): Properly set
61 outline-heading-end-regexp so that comments after colons for
64 2014-06-21 Eli Zaretskii <eliz@gnu.org>
66 * skeleton.el (skeleton-insert): Doc fix.
68 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
70 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
71 (smie-config-guess): Use smie-config-local so the rules are obeyed
74 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
75 since it's already done inside the loop (bug#17819).
77 2014-06-21 Martin Rudalics <rudalics@gmx.at>
79 * mouse.el (mouse-drag-line): Re-remove code initially removed
80 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
83 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
85 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
86 align with the surrounding parent (bug#17721).
88 2014-06-21 Eli Zaretskii <eliz@gnu.org>
90 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
92 (texinfo-insert-block, texinfo-insert-@end)
93 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
94 local setting of skeleton-end-newline by adding an explicit \n to
95 the skeletons where appropriate. (Bug#17801)
97 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
99 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
100 (smie-indent--hanging-p): Use it.
101 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
103 2014-06-21 Leo Liu <sdl.web@gmail.com>
105 * simple.el (read-quoted-char): Don't let help chars pop up help
108 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
110 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
113 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
114 Drop unknown events instead of burping.
116 2014-06-21 Eli Zaretskii <eliz@gnu.org>
118 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
119 and later. (Bug#17790)
121 2014-06-21 Juri Linkov <juri@jurta.org>
123 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
124 to `soft'. (Bug#17554)
126 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
128 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
131 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
133 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
134 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
136 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
138 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
139 `unread-command-events'.
141 2014-06-19 William Xu <william.xwl@gmail.com>
143 * progmodes/hideif.el (hif-string-to-number): Don't return float for
144 hex integer constants (bug#17807).
146 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
148 * international/mule-util.el (truncate-string-ellipsis): New var.
149 (truncate-string-to-width): Use it.
151 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
153 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
154 (lisp-string-in-doc-position-p): New function, extracted from
155 lisp-font-lock-syntactic-face-function.
156 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
158 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
160 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
162 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
164 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
165 (bubbles--game-over): Don't add `intangible' properties since they
168 2014-06-18 Juri Linkov <juri@jurta.org>
170 * vc/ediff-init.el (ediff-current-diff-Ancestor)
171 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
172 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
173 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
174 Add `min-colors 88' version with removed black/white foregrounds.
177 2014-06-18 Juri Linkov <juri@jurta.org>
179 * vc/diff-mode.el (diff-changed): Empty face definition to use
180 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
181 (diff-context): Use darker color on light background and
182 lighter color on dark background.
184 2014-06-18 Juri Linkov <juri@jurta.org>
186 * vc/diff-mode.el (diff-refine-changed): Rename from
187 `diff-refine-change' for consistency with `diff-changed'.
188 (diff-refine-change): Add obsolete face alias. (Bug#10181)
190 * vc/smerge-mode.el (smerge-refined-changed): Rename from
191 `smerge-refined-change'.
192 (smerge-refined-change): Add obsolete face alias.
194 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
196 * rect.el (rectangle-preview): New custom.
197 (rectangle): New group.
198 (rectangle--pos-cols): Add `window' argument.
199 (rectangle--string-preview-state, rectangle--string-preview-window):
201 (rectangle--string-flush-preview, rectangle--string-erase-preview)
202 (rectangle--space-to, rectangle--string-preview): New functions.
203 (string-rectangle): Use them.
204 (rectangle--inhibit-region-highlight): New var.
205 (rectangle--highlight-for-redisplay): Obey it. Make sure
206 `apply-on-region' uses the point-crutches of the right window.
207 Use :align-to rather than multiple spaces.
209 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
211 * ruler-mode.el (ruler-mode-window-col)
212 (ruler-mode-mouse-set-left-margin)
213 (ruler-mode-mouse-set-right-margin): Fix calculation of column
214 from mouse position (Bug#17768).
216 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
218 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
219 without varname or rhs causes crash.
220 (dun-ftp): Fix bug where blank ftp password is allowed, making it
221 impossible to win endgame.
222 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
224 (dun-help): Bump version number; update contact info.
226 2014-06-15 Eli Barzilay <eli@barzilay.org>
228 * calculator.el (calculator-prompt, calculator-remove-zeros)
229 (calculator-mode-hook, calculator-operators, calculator-stack)
230 (calculator-mode): Tweak docstring.
231 (calculator-user-operators): Tweak docstring, fix a bug in the last
233 (calculator-displayer): `std' case has an optional boolean.
234 (calculator-displayers): Use the new boolean to group in decimal mode.
235 (calculator-mode-map, calculator, calculator-message)
236 (calculator-op-arity, calculator-add-operators)
237 (calculator-string-to-number, calculator-displayer-prev)
238 (calculator-displayer-next, calculator-remove-zeros)
239 (calculator-eng-display, calculator-number-to-string)
240 (calculator-update-display, calculator-last-input)
241 (calculator-clear-fragile, calculator-digit, calculator-decimal)
242 (calculator-exp, calculator-saved-move, calculator-clear)
243 (calculator-copy, calculator-put-value, calculator-help)
244 (calculator-expt, calculator-truncate): Minor code improvements.
245 (calculator-need-3-lines): New function pulling out code from
247 (calculator-get-display): Rename from `calculator-get-prompt', and
249 (calculator-push-curnum): Rename from `calculator-curnum-value', and
250 extended for all uses of it. All callers changed.
251 (calculator-groupize-number): New utility for splitting a number into
253 (calculator-standard-displayer): Improve code, new optional argument to
254 use comma-split groups, make second argument optional too to use with
255 'left/'right inputs. All callers changed.
256 (calculator-reduce-stack-once): New utility, doing the meat of what
257 `calculator-reduce-stack' used to do, much improved (mostly using
258 `pcase' for conciseness and clarity).
259 (calculator-reduce-stack): Now doing just the reduction loop using
260 `calculator-reduce-stack-once'.
261 (calculator-funcall): Improve code, make it work in v24.3.1 too.
262 (calculator-last-input): Improve code, remove some old cruft.
263 (calculator-quit): Kill `calculator-buffer' in electric mode too.
264 (calculator-integer-p): Remove.
265 (calculator-fact): Improve code, make it work on non-integer values
266 too (using truncated numbers).
268 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
270 Sync with Tramp 2.2.10.
272 * net/tramp.el (tramp-methods): Tweak docstring.
273 (tramp-handle-file-accessible-directory-p): Check for
274 `file-readable-p' instead of `file-executable-p'.
275 (tramp-check-cached-permissions):
276 Use `tramp-compat-file-attributes'.
277 (tramp-call-process): Add new argument VEC. Adapt callees in all
280 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
281 (tramp-adb-maybe-open-connection): Don't set
282 `tramp-current-*' variables.
284 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
285 file properties of temporary buffers.
287 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
289 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
290 (tramp-gvfs-handle-delete-file): Flush file
291 properties, not directory properties.
292 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
293 reading "unix::mode".
294 (tramp-gvfs-handle-file-name-all-completions):
295 Use "-h" option for "gvfs-ls".
296 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
297 (tramp-gvfs-send-command): Simplify traces.
299 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
300 (vc-git-program, vc-hg-program): Declare.
301 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
302 (tramp-methods) <nc>: Add new method.
303 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
304 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
306 (tramp-default-user-alist): Add "nc".
307 (top): Remove completion function for "sftp". Add completion
308 functions for "nc" and "psftp".
309 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
310 Implement support for "nc" method.
311 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
312 (tramp-remote-coding-commands, tramp-call-local-coding-command):
314 (tramp-sh-handle-write-region): Tweak error message.
315 (tramp-sh-handle-vc-registered): Remove backends when the remote
316 binary does not exist.
317 (tramp-find-inline-encoding): Do not raise an error.
318 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
319 the "nc" case. Quote result also locally.
321 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
322 (tramp-smb-handle-set-file-acl): Use `start-process'.
323 (tramp-smb-handle-insert-directory): Use progress reporter.
324 (tramp-smb-handle-rename-file): Flush also file properties of
327 * net/trampver.el: Update release number.
329 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
331 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
333 (ses-localvars): Remove ses--local-printer-list, unused.
334 (ses--metaprogramming): New macro. Use it to defvar variables.
335 (ses-set-localvars): Simplify.
336 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
337 property-list into an alist.
338 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
339 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
340 Remove; use defstruct accessors/setters instead.
341 (ses-cell-formula-aset, ses-cell-printer-aset)
342 (ses-cell-references-aset): Remove, use setf instead.
343 (ses--alist-get): New function.
344 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
345 Use an alist instead of a plist and don't do move-to-front since the
346 list is always short.
347 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
348 (ses-cell-property-set-fun, ses-cell-property-set)
349 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
350 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
351 (ses--letref): New macro.
352 (ses-cell-property-pop): Rewrite.
353 (ses--cell): Rename from ses-cell and make it into a function.
354 Make `formula' fallback on `value' if nil.
355 (ses--local-printer): Rename from ses-local-printer and make it into
357 (ses-set-cell): Turn it into a macro so finding the accessor from the
358 field name is done at compile time.
359 (ses-repair-cell-reference-all): Test presence of `sym' rather than
360 `ref' before adding `sym' to :ses-repair-reference.
361 (ses-calculate-cell): Use ses--letref rather than
362 ses-cell-property-get-handle.
363 (ses-write-cells): Use a single prin1-to-string.
364 (ses-setter-with-undo): New function.
365 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
366 (ses-unset-with-undo): Remove.
367 (ses-load): Prefer apply' over `eval'.
368 (ses-read-printer, ses-set-column-width): Use standard "(default
371 2014-06-15 Glenn Morris <rgm@gnu.org>
373 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
375 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
376 Replace delete-duplicates and mapcan by cl- versions throughout.
377 And cl-macroexpand-all by macroexpand-all.
378 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
380 2014-06-15 Eli Zaretskii <eliz@gnu.org>
382 * subr.el (posn-col-row): Doc fix. (Bug#17768)
384 2014-06-15 Juri Linkov <juri@jurta.org>
386 * bindings.el: Put `ascii-character' property on keypad keys
387 mapped to characters. (Bug#17759)
389 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
391 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
392 bumping forward into a closing paren (bug#17761).
394 * term/xterm.el (xterm--version-handler): Work around for OSX
395 Terminal.app (bug#17607).
397 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
399 * play/dunnet.el (dun-describe-room, dun-mode):
400 If a lamp is in the room, you won't be eaten by a grue.
402 2014-06-13 Glenn Morris <rgm@gnu.org>
404 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
405 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
406 (compile-always): GNU make automatically passes
407 command-line arguments to sub-makes.
409 * calendar/calendar.el (calendar-generate-window):
410 Remove pointless call to font-lock-fontify-buffer.
412 2014-06-13 Matthias Meulien <orontee@gmail.com>
414 * simple.el (completion-list-mode-map): Navigate with tab and backtab
417 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
419 * simple.el (set-mark-command): Simplify a bit.
421 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
423 * help.el (help--key-binding-keymap): New function.
424 (help--binding-locus): New function.
425 (describe-key): Mention the keymap in which the binding was
428 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
430 * hippie-exp.el (he--all-buffers): New function.
431 (try-expand-line-all-buffers, try-expand-list-all-buffers)
432 (try-expand-dabbrev-all-buffers): Use it.
434 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
436 * hippie-exp.el (try-expand-line-all-buffers)
437 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
438 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
439 original buffer, in case they're buffer-local.
441 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
443 * ses.el (ses-initial-global-parameters-re): New defconst, a
444 specific regexp is needed now that ses.el can handle both
445 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
447 (ses-localvars): Add local variables needed for local printer handling.
448 (ses-set-localvars): Handle hashmap initialisation.
449 (ses-paramlines-plist): Add param-line for number of local printers.
450 (ses-paramfmt-plist): New defconst, needed for code factorization
451 between functions `ses-set-parameter' and
452 `ses-file-format-extend-paramter-list'
453 (ses-make-local-printer-info): New defsubst.
454 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
455 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
456 (ses-cell-printer-aset): New defmacro.
457 (ses-local-printer-compile): New defun.
458 (ses-local-printer): New defmacro.
459 (ses-printer-validate, ses-call-printer): Add support for local
461 (ses-file-format-extend-paramter-list): New defun.
462 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
464 (ses-load): Add support for local printer functions.
465 (ses-read-printer): Update docstring and add support for local printer
467 (ses-refresh-local-printer, ses-define-local-printer): New defun.
468 (ses-safe-printer): Add support for local printer functions.
470 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
472 * ffap.el (ffap-lax-url): New var (bug#17723).
473 (ffap-url-at-point): Use it.
474 (ffap-file-at-point): Avoid returning just "/".
476 2014-06-12 Matthias Meulien <orontee@gmail.com>
478 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
479 (python-mode-map): Bind it.
481 * progmodes/python.el (class skeleton): Don't erase last char of class
484 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
486 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
488 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
490 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
493 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
495 * international/mule-cmds.el: Use lexical-binding.
496 (ucs-names): Simplify.
498 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
500 * progmodes/python.el (run-python): Use read-shell-command.
502 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
504 * rect.el: Make it possible to move bounds past EOL or into TABs.
505 (operate-on-rectangle): Use apply-on-rectangle.
506 (rectangle--mark-crutches): New var.
507 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
508 (rectangle--crutches, rectangle--reset-crutches): New functions.
509 (apply-on-rectangle): Obey crutches. Avoid setq.
510 Fix missing final iteration if end is at EOB&BOL.
511 (rectangle-mark-mode-map): Add remap bindings for
512 exchange-point-and-mark and char/line movements.
513 (rectangle--*-char): New function.
514 (rectangle-exchange-point-and-mark, rectangle-right-char)
515 (rectangle-left-char, rectangle-forward-char)
516 (rectangle-backward-char, rectangle-next-line)
517 (rectangle-previous-line): New commands.
518 (rectangle--place-cursor): New function.
519 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
521 2014-06-08 Glenn Morris <rgm@gnu.org>
523 * startup.el (initial-buffer-choice): Doc fix.
524 Reset :version (adding an option does not merit a :version bump).
526 * bookmark.el (bookmark-load):
527 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
529 2014-06-08 Juri Linkov <juri@jurta.org>
531 * desktop.el: Activate auto-saving on window configuration changes.
532 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
533 `desktop-auto-save-set-timer' to/from
534 `window-configuration-change-hook'.
535 (desktop-auto-save-set-timer): Change REPEAT arg of
536 `run-with-idle-timer' from t to nil.
537 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
539 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
541 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
542 vc-hg-command (bug#17570).
544 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
546 * international/mule-cmds.el (ucs-names): Add special entry for BEL
549 2014-06-08 Glenn Morris <rgm@gnu.org>
551 * startup.el (window-setup-hook): Doc fix.
553 * emacs-lisp/package.el (package-check-signature)
554 (package-unsigned-archives): Doc fixes.
556 2014-06-08 Martin Rudalics <rudalics@gmx.at>
558 * window.el (display-buffer-use-some-window): Don't make window
559 used smaller than it was before (Bug#17671).
561 2014-06-08 Eli Zaretskii <eliz@gnu.org>
563 * menu-bar.el (menu-bar-open): Fix last change: use the PC
564 'redisplay' instead of '(sit-for 0)'.
566 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
568 * net/tramp.el (tramp-ssh-controlmaster-options):
569 Improve search regexp. (Bug#17653)
571 2014-06-08 Glenn Morris <rgm@gnu.org>
573 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
575 2014-06-08 Eli Zaretskii <eliz@gnu.org>
577 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
579 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
581 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
584 * vc/vc-hg.el (vc-hg-log-graph): New var.
585 (vc-hg-print-log): Use it.
586 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
587 graph output (bug#17515).
589 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
591 * mouse.el (mouse-posn-property): Ignore buffer position info when the
592 even happened elsewhere.
594 2014-06-06 Mario Lang <mlang@delysid.org>
596 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
597 `recenter' if `current-buffer' is equal to `window-buffer'.
599 2014-06-05 Leo Liu <sdl.web@gmail.com>
601 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
603 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
605 * textmodes/tildify.el (tildify-foreach-region-outside-env):
606 New function which calls a callback on portions of the buffer that are
607 outside of ignored environments.
608 (tildify-build-regexp): Remove function since it is now
609 incorporated in `tildify-foreach-region-outside-env' where it is
610 optimised and simplified by the use of `mapconcat'.
611 (tildify-tildify): Return number of substitutions made so that…
612 (tildify-count): …can be removed.
613 (tildify-find-env): Accept a new PAIRS argument which was
614 previously looked up in `tildify-ignored-environments-alist' each
615 time the function was called. With this change, the lookup is
616 performed only once in `tildify-foreach-region-outside-env'.
617 (tildify-region): Greatly simplify the function since now most of
618 the work is done by `tildify-foreach-region-outside-env'.
619 (tildify-mode-alist): Simplify slightly by avoiding if and setq
620 and instead using or.
622 * textmodes/tildify.el (tildify-ignored-environments-alist):
623 Optimise environments regexes
625 Each time beginning of an environment to ignore is found,
626 `tildify-find-env' needs to identify regexp for the ending
627 of the environment. This is done by trying all the opening
628 regexes on matched text in a loop, so to speed that up, this
629 loop should have fewer things to match, which can be done by
630 using alternatives in the opening regexes.
632 Coincidentally, this should make matching of the opening
633 regexp faster as well thanks to the use of `regexp-opt' and
634 having common prefix pulled from many regexes.
636 * textmodes/tildify.el (tildify-string-alist)
637 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
638 of supported modes since `xml-mode' is no longer a thing but just
639 an alias to the former. Also include comments and insides of tags
640 in `tildify-ignored-environments-alist' for XML modes. Finally,
641 since XML does not define “ ”[1], use a numeric reference for
642 a no-break space (namely “ ”)
644 [1] XML specification defines only a handful of predefined entities.
645 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
646 and includes only <, >, &, ' and " (meaning <,
647 >, &, ' and " respectively). This is in contrast to HTML and even
648 XHTML which defined a whole bunch of entities including “ ”.
650 * textmodes/tildify.el (tildify-pattern-alist)
651 (tildify-string-alist, tildify-ignored-environments-alist):
652 Improve defcustom's types by adding more tags explaining what each
653 value means and replace “sexp” used in
654 `tildify-ignored-environments-alist' with a full type declaration.
656 * textmodes/tildify.el (tildify-find-env): Fix matched group
657 indexes in end-regex building
659 When looking for a start of an ignore-environment, the regex is built
660 by concatenating regexes of all the environments configured in
661 `tildify-ignored-environments-alist'. So for example, the following
662 list could be used to match TeX's \verb and \verb* commands:
664 (("\\\\verb\\(.\\)" . (1))
665 ("\\\\verb\\*\\(.\\)" . (1)))
667 This would result in the following regex being used to find the start
668 of any of the variants of the \verb command:
670 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
672 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
673 won't match anything, and thus (match-string 1) will be nil, which
674 will cause building of the end-matching regex to fail.
676 Fix this by using capture groups from the time when the opening
677 regexes are matched individually.
679 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
680 in `tildify-find-env'
682 The `tildify-ignored-environments-alist' allows the end-regex to
683 be provided not as a static string but mix of strings and indexes
684 of groups matched the begin-regex. For example, the “\verb!…!”
685 TeX-command (where “!” is an arbitrary character) is handled
688 ("\\\\verb\\*?\\(.\\)" . (1))
690 In the same way, the following should be supported as well:
692 ("open-\\(.\\)" . ("end-" 1))
694 However the tildify-find-env function fails at
697 (if (stringp (setq aux (car expression)))
698 expression ; BUG: expression is a list
699 (regexp-quote (match-string aux))))
701 where the string part is handled incorrectly.
703 The most trivial fix would be to replace `expression' in the
704 true-part of the if-statement with `aux', but instead, this commit
705 optimises `tildify-find-env' by changing it to use `mapconcat'
706 rather than open-coded while-loop.
708 2014-06-05 Mario Lang <mlang@delysid.org>
710 * woman.el (woman-mapcan): Remove.
711 (woman-parse-colon-path): Use cl-mapcan instead.
713 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
715 * register.el: Add link to Emacs manual in Commentary.
717 2014-06-02 Sam Steingold <sds@gnu.org>
719 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
720 (popup-menu): ...here.
721 (menu-bar-open): Use it to avoid an error when `lookup-key'
724 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
726 * net/tramp.el (tramp-call-process): Add traces.
727 (tramp-handle-unhandled-file-name-directory): Return "/".
729 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
731 Sync with upstream verilog-mode revision 3cd8144.
732 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
733 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
734 (verilog-type-font-keywords): Add nor.
735 (verilog-batch-execute-func): Force reading of Local Variables.
736 Fix printing "no changes to be saved" with verilog-batch.
737 (verilog-auto-arg-ports): Doc fix.
738 Add verilog-auto-arg-format to support newlines in AUTOARG.
739 (verilog-auto-arg): Doc fix.
741 2014-06-02 Glenn Morris <rgm@gnu.org>
743 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
744 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
745 * emulation/ws-mode.el: Move to obsolete/.
746 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
748 2014-06-02 Eli Zaretskii <eliz@gnu.org>
750 * simple.el (keyboard-quit): Force update of mode lines, to remove
751 the "Def" indicator, if we were defining a macro. (Bug#17615)
753 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
755 * minibuffer.el (minibuffer-force-complete-and-exit):
756 Obey minibuffer-default (bug#17545).
758 * progmodes/js.el (js-indent-line): Don't mix columns and chars
761 * subr.el (set-transient-map): Don't wait for some "nested"
762 transient-map to finish if we're only supposed to be active for
763 the next command (bug#17642).
765 2014-06-02 Leo Liu <sdl.web@gmail.com>
767 * emacs-lisp/gv.el (window-buffer, window-display-table)
768 (window-dedicated-p, window-hscroll, window-point, window-start):
769 Fix gv-expander. (Bug#17630)
771 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
773 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
776 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
777 for the single comma, since ", " is *very* common in normal French text
780 2014-06-02 Glenn Morris <rgm@gnu.org>
782 * emacs-lisp/package.el (package-check-signature)
783 (package-unsigned-archives): Fix :version.
785 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
787 * subr.el (sit-for): Don't run input-methods (bug#15614).
789 2014-06-02 Glenn Morris <rgm@gnu.org>
791 * cus-start.el: Fix some :version numbers.
793 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
795 * simple.el (deactivate-mark): Set mark-active to nil even if
796 deactivation is done via setting transient-mark-mode to nil,
797 since one is buffer-local and the other is global.
799 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
800 there can't be more than 2 arguments (bug#17584).
802 2014-06-02 Glenn Morris <rgm@gnu.org>
804 * simple.el (filter-buffer-substring-functions)
805 (filter-buffer-substring-function, buffer-substring-filters)
806 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
808 * minibuffer.el (completion-in-region-functions, completion-in-region)
809 (completion--in-region): Doc fixes.
811 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
812 (expand-abbrev, abbrev--default-expand): Doc fixes.
814 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
816 Include sources used to create macuvs.h.
817 * international/README: Refer to the Unicode Terms of Use rather
818 than copying it bodily here, as that simplifies maintenance.
820 2014-06-01 Glenn Morris <rgm@gnu.org>
822 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
824 2014-05-31 Glenn Morris <rgm@gnu.org>
826 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
828 2014-05-30 Glenn Morris <rgm@gnu.org>
830 * loadup.el: Treat `command-line-args' more flexibly.
832 2014-05-30 Alan Mackenzie <acm@muc.de>
834 Guard (looking-at "\\s!") from XEmacs.
835 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
837 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
839 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
840 The argument COUNT is now optional, to be more backward-compatible.
843 2014-05-29 Reuben Thomas <rrt@sc3d.org>
845 * whitespace.el (whitespace-report-region):
846 Simplify documentation.
847 (whitespace-report-region): Allow report-if-bogus to take the
848 value `never', for non-interactive use.
849 (whitespace-report): Refer to whitespace-report-region's
852 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
854 * whitespace.el: Use font-lock-flush. Minimize refontifications.
855 Side benefit: it works without jit-lock.
856 (whitespace-point--used): New buffer-local var.
857 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
858 (whitespace-color-off): Use font-lock-flush.
859 (whitespace-point--used, whitespace-point--flush-used): New functions.
860 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
861 (whitespace-empty-at-eob-regexp): Use them.
862 (whitespace-post-command-hook): Rewrite.
864 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
865 (font-lock-fontify-buffer): Mark interactive-only.
866 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
868 (font-lock-specified-p): Remove redundant boundp check.
869 (font-lock-flush-function, font-lock-ensure-function): New vars.
870 (font-lock-turn-on-thing-lock): Set them.
871 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
872 (font-lock-after-change-function): Make `old-len' optional.
873 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
874 Call font-lock-flush, just in case.
875 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
877 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
878 (vera-mode-map, vera-mode-menu): Remove bindings to it.
879 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
880 and with-syntax-table.
881 * textmodes/conf-mode.el (conf-quote-normal):
882 * progmodes/sh-script.el (sh-set-shell):
883 * progmodes/prog-mode.el (prettify-symbols-mode):
884 * progmodes/f90.el (f90-font-lock-n):
885 * progmodes/cwarn.el (cwarn-mode):
886 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
887 * progmodes/compile.el (compilation-setup, compilation--unsetup):
888 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
889 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
890 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
891 font-lock-fontify-buffer-function and
892 font-lock-unfontify-buffer-function.
893 (rmail-unfontify-buffer-function, rmail-fontify-message):
894 Use with-silent-modifications.
895 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
896 and font-lock-ensure.
897 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
899 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
901 * emacs-lisp/package.el (package-generate-autoloads):
902 Inhibit backup files.
904 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
906 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
909 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
911 * textmodes/tildify.el (tildify-buffer, tildify-region):
914 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
916 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
917 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
919 * subr.el (internal--funcall-interactively): New.
920 (internal--call-interactively): Remove.
921 (called-interactively-p): Detect funcall-interactively instead of
923 * simple.el (repeat-complex-command): Use funcall-interactively.
924 (repeat-complex-command--called-interactively-skip): Remove.
926 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
928 * register.el (register-read-with-preview): Don't burp on
929 frame switches (e.g. due to the frame we just popped).
931 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
932 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
934 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
936 * cus-face.el (custom-face-attributes): Add :distant-foreground.
938 2014-05-26 Martin Rudalics <rudalics@gmx.at>
940 * window.el (window--dump-frame): Remove interactive specification.
942 2014-05-26 Glenn Morris <rgm@gnu.org>
944 * hippie-exp.el (he-line-search-regexp):
945 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
947 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
949 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
950 to avoid errors when trying to create or visit a file foo.todo
951 located outside to todo-directory, and to allow having such files
952 without them being tied to Todo mode (bug#17482).
953 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
954 (todo-archive-done-item, todo-find-filtered-items-file)
955 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
956 (todo-category-completions, todo-read-category): When visiting a
957 Todo file, make sure we're in the right mode and the buffer local
959 (todo-make-categories-list, todo-reset-nondiary-marker)
960 (todo-reset-done-string, todo-reset-comment-string):
961 After processing all Todo files, kill the buffers of those files that
962 weren't being visited before the processing.
963 (todo-display-as-todo-file, todo-add-to-buffer-list)
964 (todo-visit-files-commands): Comment out.
965 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
966 (auto-mode-alist): Remove add-to-list calls making Todo file
967 extensions unrestrictedly tied to Todo modes.
969 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
971 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
972 (advice-function-member-p): Tell it to check both names and functions
974 (advice--add-function): Adjust call accordingly.
976 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
978 * calendar/todo-mode.el: Miscellaneous bug fixes.
979 (todo-delete-file): When deleting an archive but not its todo
980 file, make sure to update the todo file's category sexp.
981 (todo-move-category): Keep the moved category's name unless the
982 file moved to already has a category with that name. If the
983 numerically last category of the source file was moved, make the
984 first category current to avoid selecting a nonexisting category.
985 (todo-merge-category): Fix implementation to make merging to a
986 category in another file work as documented. Eliminate now
987 insufficient and unnecessary renaming of archive category, correct
988 document string accordingly, and clarify it. If the numerically
989 last category of the source file was merged, make the first
990 category current to avoid selecting a nonexisting category.
991 (todo-archive-done-item): When there are marked items and point
992 happens to be on an unmarked item, ignore the latter. Don't leave
993 point below last item after archiving marked items.
994 (todo-unarchive-items): Fix logic to ensure unarchiving an item
995 from an archive with only one category deletes the archive only
996 when the category is empty after unarchiving. Make sure the todo
997 file's category sexp is updated.
998 (todo-read-file-name): Allow an existing file name even when it is
999 not required (todo-move-category needs this to work as documented).
1000 (todo-add-file): Call todo-validate-name to reject the name of an
1001 existing todo file (needed due to fix in todo-read-file-name).
1002 (todo-reset-nondiary-marker): Also reset in filtered items files.
1003 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1004 regexp filtered items files.
1005 (todo-reset-highlight-item): Also reset in filtered items files.
1006 Fix incorrect variable reference in document string.
1008 2014-05-26 Glenn Morris <rgm@gnu.org>
1010 * window.el (window--dump-frame): Avoid error in --without-x builds.
1012 2014-05-26 Glenn Morris <rgm@gnu.org>
1014 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1016 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1018 * frame.el (set-frame-font): Doc fix.
1020 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1022 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1024 * emacs-lisp/package.el (package--download-one-archive):
1025 Use `write-region' instead of `save-buffer' to avoid running various
1027 (describe-package-1): Same. Insert newline at the end of the
1028 buffer if appropriate.
1030 2014-05-26 Juri Linkov <juri@jurta.org>
1032 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1033 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1034 Add more modifiers: meta, control, shift, hyper, super, alt.
1037 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1038 to allow changing its value with `set-variable'.
1040 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1044 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1046 (scheme-mode-variables): Set syntax-propertize-function instead of
1047 font-lock-syntactic-face-function.
1048 (scheme-font-lock-syntactic-face-function): Delete.
1050 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1052 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1055 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1057 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1058 for a temporary file name.
1060 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1062 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1064 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1066 * net/dbus.el (dbus-init-bus, dbus-call-method)
1067 (dbus-call-method-asynchronously, dbus-send-signal)
1068 (dbus-method-return-internal, dbus-method-error-internal):
1069 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1071 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1073 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1074 methods which do not have a doc string. (Bug#17490)
1076 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1078 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1079 also for AMS Math's \eqref macro.
1081 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1083 Arrange to never byte-compile the generated -pkg.el file.
1085 * emacs-lisp/package.el (package-generate-description-file):
1086 Output first-line comment to set buffer-local var `no-byte-compile'.
1087 Suggested by Dmitry Gutov:
1088 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1090 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1092 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1094 * emacs-lisp/package.el (package-generate-description-file):
1095 Inline `package--alist-to-plist'; rewrite to selectively
1096 quote alist values that are not self-quoting.
1097 (package--alist-to-plist): Delete func.
1099 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1101 * term/xterm.el (xterm-function-map): Add mapping for shifted
1104 2014-05-24 Daniel Colascione <dancol@dancol.org>
1106 * progmodes/subword.el (subword-find-word-boundary): Move point to
1107 correct spot before search. (Bug#17580)
1109 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1112 2014-05-24 Leo Liu <sdl.web@gmail.com>
1114 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1116 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1118 * minibuffer.el (completion--sreverse): Remove.
1119 (completion--common-suffix): Use `reverse' instead.
1120 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1122 2014-05-22 Glenn Morris <rgm@gnu.org>
1124 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1126 2014-05-21 Daniel Colascione <dancol@dancol.org>
1128 * files.el (interpreter-mode-alist): Add mksh.
1130 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1132 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1133 mksh. Improve custom spec; allow regular expressions.
1134 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1135 (sh-after-hack-local-variables): New function.
1136 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1137 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1139 (sh-canonicalize-shell): Rewrite to support regexes.
1141 2014-05-21 Leo Liu <sdl.web@gmail.com>
1143 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1145 2014-05-19 Leo Liu <sdl.web@gmail.com>
1147 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1149 2014-05-18 Glenn Morris <rgm@gnu.org>
1152 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1154 2014-05-14 Sam Steingold <sds@gnu.org>
1156 * progmodes/python.el (python-shell-get-or-create-process):
1157 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1158 back unless requested.
1160 2014-05-14 Glenn Morris <rgm@gnu.org>
1162 * subr.el (with-file-modes): New macro.
1163 * printing.el (pr-save-file-modes): Make obsolete.
1164 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1165 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1166 Add with-file-modes.
1167 * doc-view.el (doc-view-make-safe-dir):
1168 * epg.el (epg--start):
1169 * files.el (locate-user-emacs-file, make-temp-file)
1170 (backup-buffer-copy, move-file-to-trash):
1171 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1172 * eshell/esh-util.el (eshell-with-private-file-modes)
1173 (eshell-make-private-directory):
1174 * net/browse-url.el (browse-url-mosaic):
1175 * obsolete/mailpost.el (post-mail-send-it):
1176 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1177 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1178 Use with-file-modes.
1180 * vc/emerge.el (emerge-make-temp-file): Simplify.
1182 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1183 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1188 2014-05-14 Glenn Morris <rgm@gnu.org>
1190 * vc/emerge.el (emerge-temp-file-prefix):
1191 Make pointless option obsolete.
1192 (emerge-temp-file-mode): Make non-functional option obsolete.
1194 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1196 * net/browse-url.el (browse-url):
1197 Use `unhandled-file-name-directory' when setting `default-directory',
1198 in order to circumvent stalled remote connections. (Bug#17425)
1200 2014-05-14 Glenn Morris <rgm@gnu.org>
1202 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1203 Optimize on Emacs, which has the relevant functions for ages.
1205 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1207 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1209 2014-05-12 Sam Steingold <sds@gnu.org>
1211 * calendar/time-date.el (seconds-to-string): New function to
1212 pretty print time delay in seconds.
1214 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * mpc.el (mpc-format): Trim Date to the year.
1217 (mpc-songs-hashcons): Shorten the Date field.
1219 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1220 into autoloading just because of a silly indirection.
1222 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1224 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1226 2014-05-12 Glenn Morris <rgm@gnu.org>
1228 * emacs-lisp/find-gc.el: Move to ../admin.
1230 * printing.el (pr-version):
1231 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1233 * net/browse-url.el (browse-url-mosaic):
1234 Create /tmp/Mosaic.PID as a private file.
1236 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1239 (advice--member-p): If name is given, only compare the name.
1240 (advice--remove-function): Don't stop at the first match.
1241 (advice--normalize-place): New function.
1242 (add-function, remove-function): Use it.
1243 (advice--add-function): Pass the name, if any, to
1244 advice--remove-function.
1246 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1248 * electric.el (electric-indent-post-self-insert-function): Don't use
1249 `pos' after modifying the buffer (bug#17449).
1251 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1253 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1254 Correct argument list to conform to todo-insert-item--basic.
1256 2014-05-12 Glenn Morris <rgm@gnu.org>
1258 * files.el (cd-absolute): Test if directory is accessible
1259 rather than executable. (Bug#17330)
1261 * progmodes/compile.el (recompile):
1262 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1264 * net/browse-url.el (browse-url-mosaic):
1265 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1266 This is CVE-2014-3423.
1268 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * mouse.el: Use the normal toplevel loop while dragging.
1271 (mouse-set-point): Handle multi-clicks.
1272 (mouse-set-region): Handle multi-clicks for drags.
1273 (mouse-drag-region): Update call accordingly.
1274 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1275 Use the normal event loop instead of a local while/read-event loop.
1276 (global-map): Remove redundant bindings for double/triple-mouse-1.
1277 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1278 Generate synthetic down events when the protocol only sends up events.
1279 (xterm-mouse-last): Remove.
1280 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1281 terminal parameter instead.
1282 (xterm-mouse--set-click-count): New function.
1283 (xterm-mouse-event): Detect/generate double/triple clicks.
1284 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1286 * info.el (Info-quoted): New face.
1287 (Info-mode-font-lock-keywords): New var.
1288 (Info-mode): Use it.
1290 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1291 are a hindrance for C-x C-e.
1293 2014-05-11 Leo Liu <sdl.web@gmail.com>
1295 * net/rcirc.el (rcirc-sentinel): Fix last change.
1297 2014-05-08 Sam Steingold <sds@gnu.org>
1299 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1300 (rcirc-sentinel): Auto-reconnect to the server if
1301 `rcirc-reconnect-delay' is non-0 (but not more often than its
1302 value in case the host is off-line).
1304 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1306 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1308 2014-05-09 Glenn Morris <rgm@gnu.org>
1310 * files.el (file-expand-wildcards):
1311 * man.el (Man-support-local-filenames):
1312 * printing.el (pr-i-directory, pr-interface-directory):
1313 * progmodes/grep.el (lgrep, rgrep):
1314 * textmodes/ispell.el (ispell-call-process)
1315 (ispell-call-process-region, ispell-start-process)
1316 (ispell-init-process): Use file-accessible-directory-p.
1318 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1321 (xterm-mouse--read-event-sequence-1000): Return nil if something
1323 (xterm-mouse-event): Propagate it.
1324 (xterm-mouse-translate-1): Handle it.
1326 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1328 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1329 four slots of the parameter list are filled, make sure to pass it
1330 to the argument list of todo-insert-item--basic.
1332 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1334 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1335 Add optional `seen' argument to detect and break infinite loops.
1337 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1339 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1340 (trace-unsafe, trace-use-tree): Make parentheses style be
1341 according to Emacs style.
1343 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1345 * net/tramp-sh.el (tramp-remote-process-environment):
1346 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1348 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1349 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1350 extra "PSx=..." commands.
1351 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1354 (tramp-uudecode): Replace the hard-coded temporary file name by a
1356 (tramp-remote-coding-commands): Enhance docstring.
1357 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1359 This is CVE-2014-3424.
1361 2014-05-08 Glenn Morris <rgm@gnu.org>
1363 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1364 (find-gc-source-files): Update some names.
1365 (trace-call-tree): Simplify and update.
1366 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1367 This is CVE-2014-3422.
1369 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * minibuffer.el (completion--try-word-completion): Revert fix for
1372 Bug#15980 (bug#17375).
1374 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1375 Always store button numbers in the same way in xterm-mouse-last;
1376 Don't burp is xterm-mouse-last is not set as expected.
1377 Never return negative indices.
1379 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1381 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1382 Backtrack one char if the global/char-literal var matcher hits
1383 inside a string. The next char could be the beginning of an
1384 expression expansion.
1386 2014-05-08 Glenn Morris <rgm@gnu.org>
1388 * help-fns.el (describe-function-1): Test for an autoload before a
1389 macro, since `macrop' works on autoloads. (Bug#17410)
1391 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1393 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1395 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1396 Make sure the new point we return is within the new string (bug#17239).
1398 2014-05-05 Daniel Colascione <dancol@dancol.org>
1400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1401 Port `gnu' pattern to rx.
1403 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1405 Remove unneeded prompt when closing a buffer with active
1406 emacsclient ("Buffer ... still has clients"), #16548.
1407 * server.el (server-start): Remove the only call to:
1408 (server-kill-buffer-query-function): Remove.
1410 2014-05-04 Leo Liu <sdl.web@gmail.com>
1412 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1413 Defvar to pacify compiler.
1415 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1417 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1419 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1421 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1422 Use nil rather than `default' for the "default" appearance (bug#17388).
1423 * vc/ediff-util.el (ediff-inferior-compare-regions)
1424 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1425 a misleading `default' value when it's really a boolean.
1426 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1427 overlay is not visible.
1429 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1431 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1432 (todo-menu): Uncomment and update.
1434 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1436 * calendar/todo-mode.el: Reimplement item editing to have the same
1437 basic user interface as item insertion, and make small UI and
1438 larger internal improvements to the latter.
1439 (todo-insert-item): Add reference to the Todo mode user manual to
1440 the documentation string.
1441 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1442 adjust all callers. Change signature to combine diary and
1443 nonmarking arguments. Incorporate functionality of deleted item
1444 copying command and add error checking. Remove detailed
1445 descriptions of the arguments from the documentation string, since
1446 this is treated in the Todo mode user manual.
1447 (todo-copy-item, todo-edit-multiline-item)
1448 (todo-edit-done-item-comment, todo-edit-item-header)
1449 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1450 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1451 (todo-edit-item-date-year, todo-edit-item-date-month)
1452 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1454 (todo-edit-item): Reimplement as wrapper command for
1455 todo-edit-item--next-key and make it distinguish done and not done
1457 (todo-edit-item--text): New function, replacing old command
1458 todo-edit-item and incorporating deleted commands
1459 todo-edit-multiline-item and todo-edit-done-item-comment.
1460 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1461 Use only numeric value of prefix argument. Remove detailed
1462 descriptions of the arguments from the documentation string, since
1463 this is treated in the Todo mode user manual.
1464 (todo-edit-item--diary-inclusion): New function, replacing old
1465 command todo-edit-item-diary-inclusion and incorporating and fixing
1466 functionality of deleted command todo-edit-item-diary-nonmarking,
1467 making sure to remove todo-nondiary-marker when adding
1468 diary-nonmarking-symbol.
1469 (todo-edit-category-diary-inclusion): Make sure to delete
1470 diary-nonmarking-symbol when adding todo-nondiary-marker.
1471 (todo-edit-category-diary-nonmarking): Fix indentation.
1472 (todo-insert-item--parameters): Group diary and nonmarking
1473 parameters together.
1474 (todo-insert-item--apply-args): Adjust to signature of
1475 todo-insert-item--basic and incorporate copy parameter.
1476 Make small code improvements.
1477 (todo-insert-item--next-param): Improve prompt and adjust it to
1478 new parameter grouping. Remove obsolete code.
1479 (todo-edit-item--param-key-alist)
1480 (todo-edit-item--date-param-key-alist)
1481 (todo-edit-done-item--param-key-alist): New defconsts.
1482 (todo-edit-item--prompt): New variable.
1483 (todo-edit-item--next-key): New function.
1484 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1485 Remove bindings of deleted commands.
1487 2014-05-04 Leo Liu <sdl.web@gmail.com>
1489 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1491 2014-05-04 Glenn Morris <rgm@gnu.org>
1493 * allout-widgets.el (allout-widgets-tally)
1494 (allout-decorate-item-guides):
1495 * menu-bar.el (menu-bar-positive-p):
1496 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1497 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1498 * progmodes/js.el (js--inside-param-list-p)
1499 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1500 * progmodes/prolog.el (region-exists-p):
1501 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1502 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1503 Doc fixes (replace `iff').
1505 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1507 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1509 2014-05-04 Leo Liu <sdl.web@gmail.com>
1511 Support Chinese diary entries in calendar and diary. (Bug#17393)
1512 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1513 (calendar-chinese-from-absolute-for-diary)
1514 (calendar-chinese-to-absolute-for-diary)
1515 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1516 (diary-chinese-list-entries): New functions to list and mark
1517 Chinese diary entries in the calendar window.
1518 (diary-chinese-anniversary)
1519 (diary-chinese-insert-anniversary-entry)
1520 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1521 (diary-chinese-insert-yearly-entry): New commands to insert
1522 Chinese diary entries.
1524 * calendar/diary-lib.el (diary-font-lock-keywords):
1525 Support font-locking Chinese dates.
1527 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1528 inserting Chinese diary entries.
1530 * calendar/calendar.el (diary-chinese-entry-symbol):
1531 New customizable variable.
1532 (calendar-mode-map): Add bindings for inserting Chinese diary
1535 2014-05-03 Juri Linkov <juri@jurta.org>
1537 * dired.el (dired-check-switches, dired-switches-recursive-p):
1538 New functions. (Bug#17218)
1539 (dired-switches-escape-p, dired-move-to-end-of-filename):
1540 Use `dired-check-switches'.
1541 (dired-insert-old-subdirs, dired-build-subdir-alist)
1542 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1544 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1546 * simple.el (undo-make-selective-list): New algorithm fixes
1547 incorrectness of position adjustments when undoing in region.
1549 (undo-elt-crosses-region): Make obsolete.
1550 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1551 New functions to adjust positions using undo-deltas.
1553 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1556 the last consecutive closing paren (bug#17345).
1558 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1560 * dired.el (dired-mode): make terminology for eXpunge command
1561 consistent. (Bug#17276)
1563 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1565 * dired.el (dired-initial-position-hook, dired-initial-position):
1568 2014-04-30 Glenn Morris <rgm@gnu.org>
1570 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1572 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1574 * faces.el (face-spec-recalc): Apply X resources only after the
1575 defface spec has been applied. Thus, X resources are no longer
1576 overriden by the defface spec which also fixes issues on win32 where
1577 the toolbar coloring was wrong because it is set through X resources
1578 and was (wrongfully) overriden. (Bug#16694)
1580 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * textmodes/rst.el (electric-pair-pairs): Declare.
1583 (rst-mode): Set it (bug#17131).
1585 2014-04-30 Juri Linkov <juri@jurta.org>
1587 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1588 and `print-level' to nil. (Bug#17351)
1590 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1592 * battery.el (battery-update): Handle the case where battery
1593 status is "N/A" (bug#17319).
1595 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1598 to syntax-propertize.
1599 (ps-mode-auto-indent): Mark as obsolete.
1600 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1601 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1602 word regexp operators.
1603 (ps-mode-map): Move initialization into declaration. Remove binding
1604 for TAB, RET, >, ], and }.
1605 (ps-mode-syntax-table): Move initialization into declaration.
1606 Don't give word syntax to non-word chars.
1607 (ps-run-mode-map): Move initialization into declaration.
1608 (ps-mode-menu-main): Remove auto-indent entry.
1609 (ps-mode-smie-rules): New function.
1610 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1611 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1612 (ps-mode--string-syntax-table): New const.
1613 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1615 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1616 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1618 2014-04-27 Daniel Colascione <dancol@dancol.org>
1620 * term/xterm.el (xterm-paste): Use large finite timeout when
1621 reading event to avoid putting keys in this-command-keys.
1623 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1625 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1626 (perl-syntax-propertize-function): Use it. Extend handling of
1627 here-docs to the unquoted case.
1629 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1631 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1632 Use equal-including-properties to compare help-echo strings (bug#17331).
1634 2014-04-25 Leo Liu <sdl.web@gmail.com>
1636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1637 Fix syntax for @. (Bug#17325)
1639 2014-04-25 Daniel Colascione <dancol@dancol.org>
1641 * emacs-lisp/cl.el (gv): Require gv early to break eager
1642 macro-expansion cycles.
1644 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1646 * simple.el (region-active-p): Check there's a mark (bug#17324).
1648 * simple.el (completion-list-mode-map): Use choose-completion for the
1649 mouse binding as well (bug#17302).
1650 (completion-list-mode, completion-setup-function): Adjust docstring and
1651 echo area message accordingly.
1652 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1653 calling convention of choose-completion.
1654 * comint.el (comint-dynamic-list-completions):
1655 * term.el (term-dynamic-list-completions): Accept choose-completion.
1657 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1658 &, |, +, - and * can't be a division (bug#17317).
1660 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1661 features on gnome-terminal (bug#16988).
1663 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1665 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1667 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1668 the declared object, ignore zero or more parens, not zero or one.
1670 2014-04-24 Leo Liu <sdl.web@gmail.com>
1672 * progmodes/xscheme.el (xscheme-expressions-ring)
1673 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1674 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1675 (xscheme-allow-output-p, xscheme-prompt)
1676 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1678 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1679 Comment out unused functions.
1681 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * info.el: Use lexical-binding and cl-lib.
1684 Use defvar-local and setq-local instead of make-local-variable.
1685 (Info-apropos-matches): Avoid add-to-list.
1686 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1688 2014-04-24 Daniel Colascione <dancol@dancol.org>
1690 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1692 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1696 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1698 * dired.el (dired-insert-set-properties): Do not consider
1699 subdirectory headings and empty lines to be information that
1700 `dired-hide-details-mode' should hide. (Bug#17228)
1702 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1704 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1705 Remove test messages.
1706 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1709 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1712 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1714 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1716 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1718 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1719 Set "IFS=" when using read builtin, in order to preserve spaces in
1720 the file name. Add test messages for hunting a bug on hydra.
1721 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1723 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1726 Don't prettify a word within a symbol.
1728 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1730 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1733 2014-04-22 Daniel Colascione <dancol@dancol.org>
1735 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1736 use defun to define `function-put'.
1738 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1740 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1741 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1742 (lisp-mode-variables): Set font-lock-extra-managed-props.
1744 * emacs-lisp/byte-run.el (function-put): New function.
1745 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1746 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1747 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1750 2014-04-22 Daniel Colascione <dancol@dancol.org>
1752 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1753 Add `full-p' parameter; when nil, call `macroexpand' instead of
1756 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1759 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1760 Use lambda function values, not quoted lambdas.
1761 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1763 * emacs-lisp/cl-macs.el
1764 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1765 (cl-struct-slot-value): Conditionally use aref or nth so that the
1766 compiler produces optimal code.
1768 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1771 (inline): Don't inline cl--set-elt.
1772 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1773 Define as inlinable instead.
1774 (cl-struct-set-slot-value): Remove.
1776 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1777 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1780 2014-04-21 Daniel Colascione <dancol@dancol.org>
1782 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1783 last two parameters after all.
1784 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1785 (cl--compiler-macro-assoc,cl-struct-slot-value)
1786 (cl-struct-set-slot-value): Stop using them.
1788 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1790 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1791 entry in image-mode-winprops-alist.
1793 2014-04-21 Daniel Colascione <dancol@dancol.org>
1795 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1796 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1797 (byte-compile-toplevel-file-form): Use it.
1799 * emacs-lisp/cl-macs.el:
1800 (cl--loop-let): Properly destructure `while' clauses.
1802 2014-04-20 Daniel Colascione <dancol@dancol.org>
1804 * vc/vc.el (vc-root-dir): New public autoloaded function for
1805 generically finding the current VC root.
1806 * vc/vc-hooks.el (vc-not-supported): New error.
1807 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1809 2014-04-20 Daniel Colascione <dancol@dancol.org>
1811 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1813 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1814 argument in case we're inside a symbol-macrolet.
1815 (cl--do-arglist, cl--compiler-macro-typep)
1816 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1817 environment to `cl--const-expr-val'.
1818 (cl-struct-sequence-type,cl-struct-slot-info)
1819 (cl-struct-slot-offset, cl-struct-slot-value)
1820 (cl-struct-set-slot-value): New functions.
1822 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1824 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1825 assignments such as "case=hello" (bug#17297).
1827 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1829 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1831 (tramp-file-name-handler, tramp-completion-file-name-handler):
1832 Revert patch from 2014-04-10, it isn't necessary anymore.
1833 (tramp-autoload-file-name-handler)
1834 (tramp-register-autoload-file-name-handlers): New defuns.
1835 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1836 (tramp-register-file-name-handlers): Remove also
1837 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1838 Do not autoload its invocation, but eval it after loading of 'tramp.
1840 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1842 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1844 2014-04-17 Daniel Colascione <dancol@dancol.org>
1846 Add support for bracketed paste mode; add infrastructure for
1847 managing terminal mode enabling and disabling automatically.
1850 (xterm-mouse-mode): Simplify.
1851 (xterm-mouse-tracking-enable-sequence)
1852 (xterm-mouse-tracking-disable-sequence): New constants.
1853 (turn-on-xterm-mouse-tracking-on-terminal)
1854 (turn-off-xterm-mouse-tracking-on-terminal):
1855 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1856 parameters instead of random hooks.
1857 (turn-on-xterm-mouse-tracking)
1858 (turn-off-xterm-mouse-tracking): Delete.
1860 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1861 (xterm-paste-ending-sequence): New constant.
1862 (xterm-paste): New command used for bracketed paste support.
1864 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1865 (terminal-init-xterm-bracketed-paste-mode): New function.
1866 (terminal-init-xterm): Call it.
1867 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1868 and tty-mode-reset-strings instead of random hooks.
1869 (xterm-turn-on-modify-other-keys)
1870 (xterm-turn-off-modify-other-keys)
1871 (xterm-remove-modify-other-keys): Delete obsolete functions.
1873 * term/screen.el: Rewrite to just use the xterm code.
1874 Add copyright notice. Mention tmux.
1876 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1878 * image-mode.el (image-mode-window-put): Also update the property of
1879 the "default window".
1880 * doc-view.el (doc-view-new-window-function): If no window
1881 exists, move to the last known page.
1883 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1885 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1886 here-documents (bug#17262).
1888 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1890 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1891 Provide doc strings, as required by snarf-documentation.
1893 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1896 arg of overlays-at. Use `invisible-p'.
1898 * obsolete/lucid.el (extent-at):
1899 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1901 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1903 2014-04-16 João Távora <joaotavora@gmail.com>
1905 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1908 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1910 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1911 Use mapc to loop over a vector. (Bug#17257).
1913 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1915 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1916 patch, there are new problems with file names containing spaces.
1917 Get rid of backticks. (Bug#17238)
1919 2014-04-16 João Távora <joaotavora@gmail.com>
1921 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1924 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1926 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1927 (blink-cursor-mode): Mention customization variables and the
1928 effect of 'blink-cursor-blinks'.
1930 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1932 * simple.el (undo): Prevent insertion of identity mapping into
1933 undo-equiv-table so as undo-only does not inf loop in the presence
1934 of consecutive nils in undo list.
1936 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1938 * faces.el (make-face): Deprecate optional argument as it is no
1939 longer needed/used since the conditional X resources handling
1940 has been pushed down to make-face-x-resource-internal itself.
1941 (make-empty-face): Don't pass optional argument to make-face.
1943 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1945 * savehist.el (savehist-save): Remove workaround for a read-passwd
1946 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1947 noticing that the shim was still present.
1949 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1953 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1955 * faces.el (face-set-after-frame-default): Remove unused local variable.
1957 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1959 * progmodes/grep.el: Use lexical-binding.
1960 (grep-expand-template): Pass explicit lexical env to `eval'.
1961 (zrgrep): Let-bind grep-find-template explicitly.
1963 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1964 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1966 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1968 * international/characters.el <standard-case-table>: Add entries
1969 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1970 Set category of Coptic characters be 'g' (Greek).
1972 2014-04-12 Leo Liu <sdl.web@gmail.com>
1974 * progmodes/octave.el (completion-table-with-cache):
1975 Define if not available.
1976 (octave-goto-function-definition, octave-sync-function-file-names)
1977 (octave-find-definition-default-filename):
1978 Backquote upattern for compatibility.
1980 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1982 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1983 name twice due to backticks. (Bug#17238)
1985 2014-04-12 Glenn Morris <rgm@gnu.org>
1987 * term/w32-win.el (x-win-suspend-error):
1988 * term/x-win.el (x-win-suspend-error): Sync docs.
1990 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1992 * faces.el (make-face): Remove deprecated optional argument.
1993 The conditional application of X resources is handled directly by
1994 make-face-x-resource-internal since Emacs 24.4.
1995 (make-empty-face): Don't pass optional argument to make-face.
1997 2014-04-11 Glenn Morris <rgm@gnu.org>
1999 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2001 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2003 Ediff's overlay priorities cause more trouble than they solve.
2004 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2005 (ediff-highest-priority): Remove function (bug#17234).
2006 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2007 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2008 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2011 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2013 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2014 entry; use symbol boundaries to avoid mis-matches.
2016 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2018 * net/tramp.el (tramp-file-name-handler)
2019 (tramp-completion-file-name-handler): Avoid recursive loading.
2021 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2022 Quote result also locally.
2024 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2026 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2027 Remove left-over code.
2029 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2030 Reuse the previous comment's indentation unconditionally if it's on its
2033 2014-04-09 Daniel Colascione <dancol@dancol.org>
2035 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2036 `no-syntax-crossing' arguments. Forward to `up-list'.
2037 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2038 Implement logic for escaping from strings. Use narrowing to deal
2041 2014-04-09 Leo Liu <sdl.web@gmail.com>
2043 * net/rcirc.el (rcirc-connection-info): New variable.
2044 (rcirc-connect): Use it to store connection info.
2045 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2047 (rcirc-cmd-reconnect): New command. (Bug#17045)
2048 (rcirc-mode, set-rcirc-encode-coding-system)
2049 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2051 2014-04-09 Daniel Colascione <dancol@dancol.org>
2053 * emacs-lisp/cl-indent.el: Add comment claiming
2054 facility is also good for elisp.
2055 (lisp-indent-find-method): New function.
2056 (common-lisp-indent-function): Recognize cl-loop.
2057 (common-lisp-indent-function-1): Recognize cl constructs; use
2058 `lisp-indent-find-method' instead of `get' directly.
2059 (if): Use else-body style for elisp.
2061 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2063 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2064 Module methods. (Bug#17216)
2066 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2069 (describe-bindings-internal): Mark obsolete.
2071 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2074 buffer-file-name, and buffer-file-truename any more.
2076 2014-04-08 Leo Liu <sdl.web@gmail.com>
2078 Use lexical-binding and require cl-lib.
2079 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2080 (rcirc-handler-generic, rcirc-fill-paragraph)
2081 (rcirc-format-response-string, rcirc-target-buffer)
2082 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2083 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2084 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2085 (rcirc-markup-timestamp, rcirc-markup-attributes)
2086 (rcirc-markup-my-nick, rcirc-markup-urls)
2087 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2088 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2089 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2090 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2091 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2092 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2093 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2094 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2095 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2096 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2097 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2100 2014-04-07 João Távora <joaotavora@gmail.com>
2102 * elec-pair.el (electric-pair--syntax-ppss):
2103 When inside comments parse from comment beginning.
2104 (electric-pair--balance-info): Fix typo in comment.
2105 (electric-pair--in-unterminated-string-p): Delete.
2106 (electric-pair--unbalanced-strings-p): New function.
2107 (electric-pair-string-bound-function): New var.
2108 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2109 according to `electric-pair--in-unterminated-string-p'
2111 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2112 Inhibit quote pairing if point-max is inside an unterminated string.
2113 (electric-pair--looking-at-unterminated-string-p): Delete.
2114 (electric-pair--in-unterminated-string-p): New function.
2116 2014-04-07 Glenn Morris <rgm@gnu.org>
2118 * shell.el (shell-directory-tracker):
2119 Go back to just ignoring failures. (Bug#17159)
2121 2014-04-07 João Távora <joaotavora@gmail.com>
2123 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2124 backspace. (bug#16981)
2125 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2126 (electric-pair-backward-delete-char-untabify): Delete.
2127 (electric-pair-mode-map): Bind backspace to a menu item filtering
2128 a new `electric-pair-delete-pair' command.
2129 (electric-pair-delete-pair): New command.
2131 * progmodes/python.el (python-electric-pair-string-delimiter):
2132 Fix triple-quoting electricity. (Bug#17192)
2134 * elec-pair.el (electric-pair-post-self-insert-function):
2135 Don't skip whitespace when `electric-pair-text-pairs' and
2136 `electric-pair-pairs' were used. syntax to
2137 electric-pair--skip-whitespace. (Bug#17183)
2139 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2141 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2144 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2147 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2149 2014-04-07 Glenn Morris <rgm@gnu.org>
2151 * help.el (view-lossage): Doc tweak.
2153 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2155 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2156 only when inhibit-x-resources is nil, and do that earlier in the
2157 function. Doc fix. (Bug#16694)
2158 (face-spec-choose): Accept additional optional argument, whose
2159 value is returned if no matching attributes are found.
2160 (face-spec-recalc): Use the new optional argument when calling
2161 face-spec-choose. (Bug#16378)
2162 (make-face-x-resource-internal): Do nothing when
2163 inhibit-x-resources is non-nil. Don't touch the default face if
2164 reversed video is given--as was done in previous versions of Emacs.
2165 (face-set-after-frame-default): Don't call
2166 make-face-x-resource-internal here. (Bug#16434)
2168 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2170 * doc-view.el (doc-view-bookmark-jump):
2171 Use `bookmark-after-jump-hook' to jump to the right page after the
2172 buffer is shown in a window. (bug#16090)
2174 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2176 * international/characters.el (mirroring): Fix last change:
2177 instead of loading uni-mirrored.el explicitly, do that implicitly
2178 by creating the 'mirroring' uniprop table. This avoids announcing
2179 the loading of uni-mirrored.el.
2181 2014-04-07 Glenn Morris <rgm@gnu.org>
2183 * files.el (buffer-stale--default-function)
2184 (buffer-stale-function, revert-buffer--default):
2185 * autorevert.el (auto-revert-buffers): Doc tweaks.
2187 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2189 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2191 2014-04-07 Glenn Morris <rgm@gnu.org>
2193 * files.el (make-backup-file-name-function)
2194 (make-backup-file-name, make-backup-file-name--default-function)
2195 (make-backup-file-name-1, find-backup-file-name)
2196 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2197 (buffer-stale--default-function, buffer-stale-function)
2198 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2199 (revert-buffer, revert-buffer--default)
2200 (revert-buffer-insert-file-contents--default-function):
2201 Doc fixes related to defaults no longer being nil.
2202 (make-backup-file-name-function): Bump :version.
2203 Restore nil as a valid but deprecated custom type.
2205 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2208 Handle $' used as a variable (bug#17174).
2210 * progmodes/perl-mode.el (perl-indent-new-calculate):
2211 Handle forward-sexp failure (bug#16985).
2212 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2213 modifiers introducing expressions (bug#17116).
2215 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2217 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2219 2014-04-05 Leo Liu <sdl.web@gmail.com>
2221 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2222 Add define-compilation-mode.
2224 2014-04-04 João Távora <joaotavora@gmail.com>
2226 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2227 parse from comment beginning.
2228 (electric-pair--balance-info): Fix typo in comment.
2229 (electric-pair--in-unterminated-string-p): Delete.
2230 (electric-pair--unbalanced-strings-p): New function.
2231 (electric-pair-string-bound-function): New var.
2232 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2233 according to `electric-pair--in-unterminated-string-p'.
2235 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2238 Move declaration before first use.
2239 (reftex-move-to-next-arg): Silence compiler warning.
2241 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2243 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2244 Use `window-total-width' instead of `window-width'.
2246 2014-04-03 Daniel Colascione <dancol@dancol.org>
2248 * subr.el (set-transient-map): Remove rms's workaround entirely;
2249 use new `suspicious-object' subr to mark our lambda for closer
2252 2014-04-02 Richard Stallman <rms@gnu.org>
2254 * subr.el (set-transient-map): Comment out previous change.
2256 2014-04-02 Glenn Morris <rgm@gnu.org>
2258 * menu-bar.el (menu-bar-file-menu):
2259 * vc/ediff.el (ediff-current-file):
2260 Update for revert-buffer-function no longer being nil by default.
2262 * simple.el (command-execute): Respect nil disabled-command-function.
2264 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2266 * simple.el (command-execute): Do not execute the command when it
2267 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2269 2014-04-02 Juri Linkov <juri@jurta.org>
2271 * dired-aux.el (dired-compress-file): Don't use string-match-p
2272 because its match data is used afterwards.
2274 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2276 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2279 2014-04-02 João Távora <joaotavora@gmail.com>
2281 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2282 Inhibit quote pairing if point-max is inside an unterminated string.
2283 (electric-pair--looking-at-unterminated-string-p):
2285 (electric-pair--in-unterminated-string-p): New function.
2287 2014-04-01 Daniel Colascione <dancol@dancol.org>
2289 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2290 when trying to complete the prompt.
2292 2014-03-31 Leo Liu <sdl.web@gmail.com>
2294 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2295 Refactor out eldoc-documentation-function-default.
2296 (eldoc-documentation-function-default): New function.
2297 (eldoc-documentation-function): Change value.
2299 2014-03-31 Glenn Morris <rgm@gnu.org>
2301 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2303 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2304 (vhdl-compose-components-package, vhdl-compose-configuration):
2305 Abbreviate default-directory (missing from some previous upstream sync).
2307 2014-03-31 Reto Zimmermann <reto@gnu.org>
2309 Sync with upstream vhdl mode v3.35.2.
2310 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2311 (top-level): No longer require assoc.
2312 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2313 New functions. Use throughout to replace aget etc.
2314 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2315 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2316 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2317 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2318 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2319 except `vhdl-compiler'.
2320 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2323 2014-03-31 Glenn Morris <rgm@gnu.org>
2325 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2326 Revert 2014-03-26 merge goof; go back to using defalias.
2328 2014-03-30 Daniel Colascione <dancol@dancol.org>
2330 * comint.el (comint-send-input):
2331 Deactivate completion-in-region-mode before we send comint input.
2334 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2337 2014-03-29 Glenn Morris <rgm@gnu.org>
2339 * textmodes/reftex.el: Manage most autoloads automatically.
2340 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2341 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2342 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2343 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2344 * textmodes/reftex-toc.el: Set generated-autoload-file,
2345 and add autoload cookies for reftex.el.
2346 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2348 2014-03-28 Glenn Morris <rgm@gnu.org>
2350 * cus-start.el (report-emacs-bug-address): Set custom properties.
2351 * mail/emacsbug.el (report-emacs-bug-address):
2352 Variable is now defined in emacs.c.
2354 * mail/emacsbug.el (report-emacs-bug):
2355 Include system-configuration-features.
2357 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2359 * simple.el (cycle-spacing): Never delete spaces on first run by
2360 default, but do so in a new 'fast mode and if there are already
2361 N spaces (the previous behavior).
2362 Compare N with its value in previous invocation so that changing
2363 prefix argument restarts `cycle-spacing' sequence.
2364 The idea is that with this change, binding M-SPC to
2365 `cycle-spacing' should not introduce any changes in behavior of
2366 the binding so long as users do not type M-SPC twice in a raw with
2367 the same prefix argument or lack thereof.
2369 2014-03-28 Glenn Morris <rgm@gnu.org>
2371 * faces.el (term-file-aliases): New variable.
2372 (tty-run-terminal-initialization): Respect term-file-aliases.
2373 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2374 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2375 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2377 2014-03-27 Glenn Morris <rgm@gnu.org>
2379 * startup.el (inhibit-startup-hooks): Doc tweak.
2380 (normal-top-level): Simplify running of hooks.
2381 For window-setup-hook, respect inhibit-startup-hooks.
2382 (command-line-1): Don't set window-setup-hook to nil.
2384 Allow selective autoloading from obsolete/ directory.
2385 * Makefile.in (obsolete-autoloads): New rule.
2386 (autoloads): Run obsolete-autoloads.
2387 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2388 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2390 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2392 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2393 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2395 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2396 Don't propertize `?' or `!' as symbol constituent when after
2399 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2401 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2402 which is no longer needed and causes trouble in GTK builds (bug#17046).
2404 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2405 Use url-insert-file-contents; package-handle-response no longer exists.
2407 2014-03-26 Daniel Colascione <dancol@dancol.org>
2409 * simple.el (process-menu-mode-map): New variable.
2410 (process-menu-delete-process): New command.
2412 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2414 * emacs-lisp/package.el: Fix bug#16733 (again).
2415 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2416 (url-http-target-url): Remove unused declarations.
2417 (package-handle-response): Remove.
2418 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2419 (package--download-one-archive): Use current-buffer instead of
2420 dynamic binding of `buffer'.
2421 (describe-package-1): Do not decode readme-string.
2423 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2425 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2427 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2428 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2429 `remote-file-name-inhibit-cache' to nil in the second pass.
2430 (tramp-find-executable): Do not call "which" on SunOS.
2431 (tramp-send-command-and-check): Fix docstring.
2432 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2433 check whether source directory has set the sticky bit.
2435 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2437 * simple.el (primitive-undo): Only process marker adjustments
2438 validated against their corresponding (TEXT . POS). Issue warning
2439 for lone marker adjustments in undo history. (Bug#16818)
2440 (undo-make-selective-list): Add marker adjustments to selective
2441 undo list based on whether their corresponding (TEXT . POS) is in
2442 the region. Remove variable adjusted-markers, which was unused
2443 and only non nil during undo-make-selective-list.
2444 (undo-elt-in-region): Return nil when passed a marker adjustment
2445 and explain in function doc.
2447 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2449 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2451 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2453 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2454 Match special global variables without curlies, too.
2455 (ruby-font-lock-keywords): Simplify the matcher for special global
2456 variables. Don't require a non-word character after the variable.
2459 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * simple.el (redisplay-highlight-region-function): Increase priority of
2462 overlay to make sure boundaries are visible (bug#15899).
2464 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2466 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2467 (frameset-restore): Compare display strings with equal.
2469 * frame.el (make-frame): Don't quote display name in error message,
2470 it is already a string.
2472 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2474 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2477 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2479 * emacs-lisp/package.el (package--add-to-archive-contents):
2480 Include already installed and built-in packages in
2481 `package-archive-contents'.
2482 (package-install): Don't include already installed packages in the
2483 options during interactive invocation. (Bug#16762)
2484 (package-show-package-list): If the buffer is already displayed in
2485 another window, switch to that window.
2487 2014-03-26 Reto Zimmermann <reto@gnu.org>
2489 Sync with upstream vhdl mode v3.35.1.
2490 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2491 (vhdl-compiler-alist): Doc fix.
2492 (vhdl-goto-line): Remove.
2493 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2494 (vhdl-mode) <paragraph-start>: Fix value.
2495 (vhdl-fix-statement-region): Not `for' in wait-statement.
2496 (vhdl-beautify-region): Also (un)tabify.
2497 (vhdl-get-visible-signals):
2498 Scan declarative part of generate statements.
2499 (vhdl-template-record): Fix indentation for record type declaration.
2500 (vhdl-expand-abbrev, vhdl-expand-paren):
2501 Revert to using fset again rather than defalias.
2502 (vhdl-scan-directory-contents): Tweak.
2503 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2504 (vhdl-compose-components-package):
2505 Replace vhdl-goto-line with forward-line.
2506 (top-level): Tweak speedbar frame selection.
2507 (vhdl-generate-makefile-1): Support for compilers with no
2508 unit-to-file name mapping (create directory with dummy files).
2510 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2512 Sync with upstream verilog-mode revision 702457d.
2513 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2514 (create-lockfiles): Declare.
2515 (verilog-read-decls): Fix module header imports, bug709.
2516 Reported by Victor Lau.
2517 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2518 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2519 interface-only modules, bug721. Reported by Dean Hoyt.
2521 2014-03-26 Glenn Morris <rgm@gnu.org>
2523 * obsolete/gulp.el: Move here from emacs-lisp/.
2525 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2526 Remove fallback aliases, since they are always defined now.
2528 2014-03-24 Daniel Colascione <dancol@dancol.org>
2530 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2531 instead of cl-loop search function.
2533 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2535 * calendar/parse-time.el (parse-time-iso8601-regexp)
2536 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2539 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2541 * net/dns.el (network-interface-list): Define for XEmacs.
2543 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2545 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2546 the network interfaces changed.
2547 (dns-query): Use it to flush the data.
2549 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2551 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2553 2014-03-23 Daniel Colascione <dancol@dancol.org>
2555 Change subword-mode to use `find-word-boundary-function-table' and
2556 replace `capitalized-words-mode'. Also, convert to lexical
2559 * progmodes/cap-words.el: Delete now-obsolete file.
2560 * progmodes/subword.el: Reimplement using
2561 `find-word-boundary-function-table'.
2562 (subword-mode-map): Hollow out.
2563 (capitalized-words-mode): Define as obsolete alias for
2565 (subword-mode, superword-mode): Tweak documentation to reflect new
2566 implementation; call `subword-setup-buffer'.
2567 (subword-forward, subword-capitalize): Add underscore to indicate
2569 (subword-find-word-boundary-function-table): New constant.
2570 (subword-empty-char-table): New constant.
2571 (subword-setup-buffer): New function.
2572 (subword-find-word-boundary): New function.
2574 2014-03-23 Daniel Colascione <dancol@dancol.org>
2576 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2577 list to look for keyword arguments instead of `memq', fixing
2578 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2579 Please make bootstrap.
2581 2014-03-22 Glenn Morris <rgm@gnu.org>
2583 * dired.el (dired-read-regexp): Make obsolete.
2584 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2585 (dired-flag-files-regexp):
2586 * dired-aux.el (dired-mark-read-regexp):
2587 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2589 * startup.el (fancy-startup-text):
2590 * help.el (describe-gnu-project): Visit online info about GNU project.
2592 * help-fns.el (help-fns--interactive-only): New function.
2593 (help-fns-describe-function-functions): Add the above function.
2594 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2595 (next-line, previous-line): Remove hand-written interactive-only
2596 information from doc strings, it is auto-generated now.
2597 * bookmark.el (bookmark-write):
2598 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2599 (epa-mail-import-keys): Mark interactive-only,
2600 and remove hand-written interactive-only information from doc strings.
2601 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2602 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2603 * files.el (not-modified):
2604 * simple.el (mark-whole-buffer): Mark interactive-only.
2606 * emacs-lisp/byte-run.el (defun-declarations-alist):
2607 Add interactive-only. Doc tweak.
2608 (macro-declarations-alist): Doc tweak.
2609 * subr.el (declare): Doc tweak (add xref to manual).
2610 * comint.el (comint-run):
2611 * files.el (insert-file-literally, insert-file):
2612 * replace.el (replace-string, replace-regexp):
2613 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2614 (delete-forward-char, goto-line, insert-buffer, next-line)
2615 (previous-line): Set interactive-only via declare.
2617 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2619 * emacs-lisp/package.el (package-desc): Use the contents of the
2620 quoted form, not its cdr. (Bug#16873)
2622 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2624 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2625 benefit of doc.c; change parameter profile to match the X function.
2627 2014-03-22 Leo Liu <sdl.web@gmail.com>
2629 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2630 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2632 2014-03-21 Richard Stallman <rms@gnu.org>
2634 * battery.el (battery-linux-sysfs): Search for each field
2635 from the beginning of the buffer.
2637 * subr.el (set-transient-map): Clear out function and value
2638 of the temporary symbol when we're done with it.
2640 * mail/rmailsum.el (rmail-summary-delete-forward):
2641 Optimize case of reaching end and handling count.
2642 (rmail-summary-mark-deleted): Optimize when N is current msg.
2643 Don't create new summary line.
2644 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2645 (rmail-summary-undelete-many): Rewrite for speed.
2646 (rmail-summary-msg-number): New function.
2648 * mail/rmail.el (rmail-delete-message): Update summary.
2649 (rmail-undelete-previous-message): Handle repeat count arg.
2650 (rmail-delete-backward, rmail-delete-forward): Likewise.
2652 2014-03-21 Daniel Colascione <dancol@dancol.org>
2654 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2655 information in bug reports.
2657 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2659 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2660 and `tramp-copy-env'.
2662 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2663 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2665 2014-03-21 Glenn Morris <rgm@gnu.org>
2667 * electric.el (electric-indent-post-self-insert-function): Add doc.
2669 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2671 * emacs-lisp/package.el (package-compute-transaction):
2672 Use `version-list-<=' to compare the requirement version against
2673 the version of package already to be installed. Update the error
2674 message. (Bug#16826)
2676 * progmodes/ruby-mode.el (ruby-smie-rules):
2677 Add indentation rule for ` @ '. (Bug#17050)
2679 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2681 * align.el (align-regexp): Remove superfluous backslash.
2683 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2684 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2685 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2686 Fix docstring typos.
2687 (ffap-next): Use C-u in docstring.
2688 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2689 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2690 Remove superfluous backslashes.
2691 (ffap-string-at-point): Reflow docstring.
2693 * server.el (server-host): Reflow docstring.
2694 (server-unload-function): Fix docstring typo.
2695 (server-eval-at): Remove superfluous backslash.
2697 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2698 (skeleton-insert): Doc fix.
2699 (skeleton-insert): Reflow docstring.
2701 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2702 (tty-color-approximate, tty-color-by-index, tty-color-values)
2703 (tty-color-desc): Remove superfluous backslashes.
2705 2014-03-21 Glenn Morris <rgm@gnu.org>
2707 * cus-start.el (history-length): Bump :version.
2709 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2710 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2711 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2712 Don't set `make-backup-files'.
2714 * info.el (info--prettify-description): New function,
2715 to give info-finder descriptions consistent case, punctuation.
2716 (Info-finder-find-node): Use it. Sort packages.
2717 Refer to "description" rather than "commentary".
2719 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2721 * frameset.el (frameset--print-register): New function.
2722 (frameset-to-register): Use it.
2724 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2726 * progmodes/hideif.el (hif-string-to-number): New function.
2727 (hif-tokenize): Use it to understand non-decimal floats.
2729 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2731 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2733 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * electric.el (electric-newline-and-maybe-indent): New command.
2736 Bind it globally to C-j.
2737 (electric-indent-mode): Don't mess with the global map any more.
2738 Don't drop the post-self-insert-hook is some buffer is still using it
2741 * bindings.el (global-map): Remove C-j binding.
2743 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2744 the docstring of functions advised before dumping (bug#16993).
2746 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2748 * ps-print.el (ps-generate-postscript-with-faces):
2749 Explicitly deactivate the mark (bug#16866).
2750 * simple.el (deactivate-mark): Update region highlight.
2752 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2754 * emacs-lisp/package.el (describe-package-1):
2755 Decode commentary (bug#16733).
2757 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2759 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2760 modification of the value argument of :set (bug#16755).
2762 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2764 * simple.el (newline-and-indent): Do autofill (bug#17031).
2766 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2768 * newcomment.el (comment-normalize-vars): Only add escaping check
2769 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2770 (comment-beginning): Use `narrow-to-region' instead of moving back
2772 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2773 (comment-start-skip): Update the docstring.
2775 2014-03-18 Richard Stallman <rms@gnu.org>
2777 * dired.el (dired-display-file): Force use of other window.
2779 2014-03-18 Daniel Colascione <dancol@dancol.org>
2781 * startup.el (tty-handle-args): Remove debug message from 2007.
2783 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2785 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2786 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2787 (advice--make-1, advice-add, advice-remove):
2788 Remove braindead :advice-pending hack.
2790 2014-03-17 Glenn Morris <rgm@gnu.org>
2792 * calendar/calendar.el (calendar-generate-month): Apply weekend
2793 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2795 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2797 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2798 (tramp-call-process): Trace also DESTINATION.
2800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2801 Quote file names when they are local. Remove superfluous trace.
2803 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2805 * newcomment.el (comment-beginning): If `comment-start-skip'
2806 doesn't match, move back one char and try again. (Bug#16971)
2808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2809 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2810 Set `comment-start-skip' to a simpler value that doesn't try to
2811 check if the semicolon is escaped (this is handled by
2812 `syntax-ppss' now). (Bug#16971)
2814 * progmodes/scheme.el (scheme-mode-variables): Same.
2816 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2818 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2819 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2820 current (Bug#16816, Bug#17007).
2821 (with-current-buffer-window): New macro doing the same as
2822 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2823 * help.el (help-print-return-message): Warn in doc-string to not
2824 use this in `with-help-window'.
2825 (describe-bindings-internal): Call `describe-buffer-bindings'
2826 from within help buffer. See Juanma's scenario in (Bug#16816).
2827 (with-help-window): Update doc-string.
2828 * dired.el (dired-mark-pop-up):
2829 * files.el (save-buffers-kill-emacs):
2830 * register.el (register-preview): Use `with-current-buffer-window'
2831 instead of `with-temp-buffer-window'.
2833 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2835 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2836 Implement inserting into current buffer, documented in their docstrings.
2837 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2838 (rst-section-tree-point, rst-forward-section, rst-indent)
2839 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2840 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2841 (rst-font-lock-handle-adornment-pre-match-form)
2842 (rst-repeat-last-character): Reflow docstrings.
2843 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2844 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2845 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2846 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2847 Fix docstring typos.
2848 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2849 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2850 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2852 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2854 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2855 for compatibility with other ports.
2856 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2857 from the -xrm command line argument, but in the Nextstep port its value
2858 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2860 * progmodes/python.el (defconst, python-syntax-count-quotes)
2861 (python-indent-region, python-indent-shift-right)
2862 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2863 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2864 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2865 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2866 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2867 (python-shell-buffer-substring, python-shell-send-buffer)
2868 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2869 (python-completion-complete-at-point, python-fill-docstring-style)
2870 (python-eldoc-function, python-imenu-format-item-label)
2871 (python-imenu-format-parent-item-label)
2872 (python-imenu-format-parent-item-jump-label)
2873 (python-imenu--build-tree, python-imenu-create-index)
2874 (python-imenu-create-flat-index): Fix docstring typos.
2875 (python-indent-context, python-shell-prompt-regexp, run-python):
2876 Remove superfluous backslashes.
2877 (python-indent-line, python-nav-beginning-of-defun)
2878 (python-shell-get-buffer, python-shell-get-process)
2879 (python-info-current-defun, python-info-current-line-comment-p)
2880 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2881 (python-indent-post-self-insert-function, python-shell-send-file)
2882 (python-shell-completion-get-completions)
2883 (python-shell-completion-complete-or-indent)
2884 (python-eldoc--get-doc-at-point): Reflow docstrings.
2886 2014-03-14 Glenn Morris <rgm@gnu.org>
2888 * emacs-lisp/package.el (package-menu-mode-map):
2889 Replace use of obsolete function alias. Tweak menu item text.
2891 * info.el (Info-finder-find-node):
2892 Ignore the `emacs' metapackage. (Bug#10813)
2894 * finder.el (finder-list-matches): Include unversioned packages
2895 in the result of a keyword search.
2897 * finder.el (finder--builtins-descriptions): New constant.
2898 (finder-compile-keywords): Use finder--builtins-descriptions.
2900 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2902 * simple.el (blink-matching-paren): Describe the new value,
2903 `jump', enabling the old behavior.
2904 (blink-matching-open): Use that value. (Bug#17008)
2906 2014-03-14 Glenn Morris <rgm@gnu.org>
2908 * finder.el (finder-no-scan-regexp): Add leim-list.
2909 (finder-compile-keywords):
2910 Don't skip files with same basename. (Bug#14010)
2911 * Makefile.in (setwins_finder): New, excluding leim.
2912 (finder-data): Use setwins_finder.
2914 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2915 (help-function-arglist, help-make-usage): Move from here...
2916 * help.el (help-split-fundoc, help-add-fundoc-usage)
2917 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2918 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2920 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2922 * net/socks.el (socks, socks-override-functions)
2923 (socks-find-services-entry):
2924 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2925 (hif-find-ifdef-block):
2926 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2928 * net/tls.el (tls-program): Reflow docstring.
2930 * progmodes/pascal.el (pascal-mode-abbrev-table)
2931 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2932 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2933 (pascal-outline-mode): Fix docstring typos.
2934 (pascal-mode): Let define-derived-mode document mode hook.
2935 (pascal-uncomment-area): Reflow.
2936 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2938 * progmodes/opascal.el (opascal-compound-block-indent)
2939 (opascal-case-label-indent): Fix docstring typos.
2940 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2942 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2945 Fontify multiple adjacent negation chars. (Bug#17004)
2947 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2949 * emacs-lisp/package.el (package--prepare-dependencies):
2950 Accept requirements without explicit version (bug#14941).
2952 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2954 * register.el (register-separator, copy-to-register): Doc fixes.
2955 (register-preview-default): Remove unnecessary call to concat.
2957 * frameset.el (frameset-restore): When checking for a visible frame,
2958 use the action map instead of calling visible-frame-list.
2960 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2962 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2964 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2966 * window.el (fit-frame-to-buffer): Get maximum width from
2967 display's width instead of height.
2969 2014-03-12 Glenn Morris <rgm@gnu.org>
2971 * desktop.el (desktop-restore-frames)
2972 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2973 (desktop-restore-reuses-frames): Doc tweaks.
2975 * electric.el (electric-indent-mode): Doc fix.
2977 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2979 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2980 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2981 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2982 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2983 (cvs-dired-use-hook): Fix docstring typos.
2984 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2987 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2988 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2989 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2990 (cvs-execute-single-dir): Fix docstring typos.
2992 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2993 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2995 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2997 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2998 Fix docstring typos.
3000 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3002 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3003 called from jump-to-register after unloading the frameset package.
3005 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3007 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3008 (bug#16975). Deactivate the mark before setting it to nil.
3009 (activate-mark): Do nothing if region is already active.
3011 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3013 * frameset.el (frameset--target-display): Remove definition; declare.
3014 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3016 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3018 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3019 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3020 when the advice is pending.
3021 (advice-remove): Remove this marker when not needed any more.
3023 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3025 * frameset.el: Separate options for reusing frames and cleaning up.
3026 (frameset--reuse-list): Remove definition; declare.
3027 (frameset--action-map): Declare.
3028 (frameset--find-frame-if): Doc fix.
3029 (frameset--restore-frame): Cache frame action.
3030 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3031 how to clean up the frame list after restoring. Remove cleaning
3032 options from REUSE-FRAMES. Change all keyword values to symbols.
3033 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3035 * desktop.el (desktop-restore-forces-onscreen)
3036 (desktop-restore-reuses-frames): Use non-keyword values.
3037 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3039 2014-03-10 Glenn Morris <rgm@gnu.org>
3041 * files.el (find-file): Doc fix: update info node name.
3043 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3044 Doc fix: remove references to deleted info nodes.
3046 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3048 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3049 Do not add `nil' to the environment, when there's no remote `locale'.
3050 (tramp-find-inline-encoding): Check, that the remote host has
3051 installed perl, before sending scripts.
3053 2014-03-10 Leo Liu <sdl.web@gmail.com>
3055 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3056 Clear eldoc-last-message. (Bug#16920)
3058 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3060 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3063 2014-03-09 Juri Linkov <juri@jurta.org>
3065 * ansi-color.el (ansi-color-names-vector): Copy default colors
3066 from `xterm-standard-colors' that look well on the default white
3067 background (and also on the black background) to avoid illegible
3068 color combinations like yellow-on-white and white-on-white.
3069 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3071 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3073 * frameset.el (frameset-restore): When no frame is visible, do not
3074 generate a list of frames, just make visible the selected one.
3076 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3078 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3079 it only contains the repository root. (Bug#16897)
3081 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3083 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3084 only when `remote-file-name-inhibit-cache' is nil.
3085 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3087 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3089 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3091 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3092 fit-frame-to-buffer variable. Fix doc-string.
3093 (fit-window-to-buffer): Set ONLY argument in call of
3094 fit-frame-to-buffer. Fix doc-string.
3096 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3098 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3099 (tramp-action-password): Clear password cache if needed.
3100 (tramp-read-passwd): Do not clear password cache.
3102 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3103 cache unless it is the first password request.
3105 2014-03-06 Glenn Morris <rgm@gnu.org>
3107 * simple.el (newline): Doc tweak.
3109 * emacs-lisp/shadow.el (load-path-shadows-find):
3110 Ignore dir-locals. (Bug#12357)
3112 2014-03-05 Glenn Morris <rgm@gnu.org>
3114 * files.el (interpreter-mode-alist):
3115 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3117 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3119 * frameset.el (frameset--initial-params): Filter out null entries.
3121 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3123 * window.el (window-min-height, window-min-width):
3124 Rewrite doc-strings.
3125 (window-body-size): Add PIXELWISE argument to make it consistent
3128 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3130 * finder.el (finder-mode-map, finder-mode-syntax-table):
3131 Revert part of 2014-02-28 change.
3133 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3135 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3136 (eww-setup-buffer): Clear next/prev/etc more reliably.
3137 (eww-textarea-map): [tab] doesn't work on tty.
3138 Reported by Mario Lang.
3140 * net/shr.el (shr-map): Ditto.
3142 2014-03-04 Glenn Morris <rgm@gnu.org>
3144 * minibuffer.el (completion-hilit-commonality):
3145 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3147 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3149 * hilit-chg.el (hilit-chg-unload-function): New function.
3150 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3151 (hilit-chg-map-changes): Prefer cardinal number to digit.
3152 (hilit-chg-display-changes): Reflow docstring.
3153 (highlight-changes-rotate-faces): Remove superfluous backslash.
3155 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3157 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3158 `tramp-send-command-and-check'.
3160 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3162 * hexl.el (hexl-address-region, hexl-ascii-region)
3163 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3164 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3165 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3166 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3167 (hexl-mode): Doc fix.
3168 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3169 (hexl-mode-ruler): Fix typos in docstrings.
3171 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3172 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3173 Remove superfluous backslashes.
3174 (strokes-last-stroke, strokes-global-map, strokes-mode):
3176 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3177 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3178 (strokes-distance-squared, strokes-global-set-stroke)
3179 (strokes-global-set-stroke-string): Doc fixes.
3180 (strokes-help): Fix typos; reflow docstring.
3182 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3184 * window.el (window-in-direction): Fix doc-string.
3186 2014-03-04 Glenn Morris <rgm@gnu.org>
3188 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3189 Explicit error if no grammar.
3190 (smie-config-save): Doc fix. Fix quote typo.
3192 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3194 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3195 electric-indent-mode-hook if we obey electric-indent-mode.
3196 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3197 decide whether we obey electric-indent-mode.
3198 (c-change-set-fl-decl-start, c-extend-after-change-region):
3200 (c-electric-indent-mode-hook): Assume we do want to obey
3201 electric-indent-mode.
3203 * electric.el (electric-indent-mode-has-been-called): Remove.
3204 (electric-indent-mode): Fix accordingly.
3206 * files.el (hack-local-variables): Mention file name in warning.
3208 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3210 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3212 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3213 * simple.el (delete-forward-char): Mark as interactive-only.
3215 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3217 * icomplete.el (icomplete-completions):
3218 Follow-up to 2014-03-01 change.
3220 * icomplete.el: Miscellaneous doc fixes.
3221 Use Icomplete everywhere instead of icomplete for consistency.
3222 (icomplete-max-delay-chars): Fix typo.
3223 (icomplete-mode): Use \[].
3224 (icomplete-tidy, icomplete-exhibit): Reflow.
3225 (icomplete-minibuffer-setup-hook, icomplete-completions):
3226 Remove superfluous backlashes.
3228 * ido.el: Miscellaneous doc fixes.
3229 Use Ido everywhere instead of ido or `ido' for consistency.
3230 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3231 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3232 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3233 (ido-separator): Extract obsolescence info from docstring and declare
3234 with make-obsolete-variable.
3235 (ido-minibuffer-setup-hook): Simplify example.
3236 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3237 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3238 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3239 (ido-everywhere): Reflow docstring.
3240 (ido-toggle-vc): Doc fix.
3241 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3242 of long list of keybindings.
3244 2014-03-03 Glenn Morris <rgm@gnu.org>
3246 * frame.el (display-pixel-height, display-pixel-width)
3247 (display-mm-dimensions-alist, display-mm-height)
3248 (display-mm-width): Doc tweaks.
3250 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3252 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3253 case of undo in region.
3255 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3257 * window.el (fit-window-to-buffer): Fix argument in window-size
3258 call when window is horizontally combined.
3260 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3262 * icomplete.el (icomplete-completions): Use string-width.
3263 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3265 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3268 Highlight regexp options. (Bug#16914)
3270 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3272 * window.el (window--max-delta-1): Round down when calculating
3273 how many lines/columns we can get from a window.
3275 2014-03-01 Glenn Morris <rgm@gnu.org>
3277 * isearch.el (search-invisible): Doc fix.
3279 * minibuffer.el (completion-hilit-commonality):
3280 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3281 * comint.el (comint-dynamic-list-completions): Doc fix.
3282 * comint.el (comint-dynamic-list-completions):
3283 * filecache.el (file-cache-minibuffer-complete):
3284 * tempo.el (tempo-display-completions):
3285 * eshell/em-hist.el (eshell-list-history):
3286 Replace use of obsolete argument of display-completion-list.
3288 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3290 * icomplete.el (icomplete-completions):
3291 Revert back to using "..." when ?… cannot be displayed.
3293 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3295 * finder.el (finder-unload-function): New function.
3297 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3299 * dframe.el (dframe-detach):
3300 * find-dired.el (find-dired, find-name-dired):
3301 * finder.el (finder-mode-map, finder-mode-syntax-table)
3302 (finder-headmark, finder-select, finder-mouse-select):
3303 Fix docstring typos.
3305 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3307 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3308 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3309 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3310 Fix doc-string based on a suggestion by Nicolas Richard
3311 <theonewiththeevillook@yahoo.fr>.
3312 * help.el (with-help-window): Fix doc-string.
3314 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3316 * net/shr.el (shr-image-animate): New option.
3317 (shr-put-image): Respect shr-image-animate.
3319 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3321 * net/tramp-adb.el (tramp-adb-parse-device-names):
3322 Use `accept-process-output'.
3323 (tramp-adb-handle-file-truename): Cache the localname only.
3324 (tramp-adb-handle-make-directory)
3325 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3326 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3327 modes cannot be changed.
3329 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3330 file properties of symlinks.
3332 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3334 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3335 required/optional fields to match development biblatex. (Bug#16781)
3337 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3339 * saveplace.el (toggle-save-place):
3340 Fix argument handling. (Bug#16673)
3342 2014-02-28 Glenn Morris <rgm@gnu.org>
3344 * minibuffer.el (completions-first-difference)
3345 (completions-common-part, completion-hilit-commonality): Doc fixes.
3347 2014-02-28 Karl Berry <karl@gnu.org>
3349 * info.el (Info-mode-map): Add H for describe-mode,
3350 to synchronize with standalone Info.
3352 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3354 * progmodes/sql.el (sql-interactive-mode):
3355 Avoid setting global comint-input-ring-separator. (Bug#16814)
3357 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3359 * net/dbus.el (dbus--init-bus): Declare function.
3360 (dbus-path-local, dbus-interface-local): New defconst.
3361 (dbus-init-bus): Use them.
3362 (dbus-return-values-table): Extend doc.
3363 (dbus-handle-bus-disconnect): Extend error message.
3365 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3367 * subr.el (y-or-n-p): Fix double space issue in message.
3369 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3371 * net/tramp.el (tramp-call-process): Improve trace message.
3372 (tramp-handle-insert-file-contents): Trace error case.
3374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3375 <insert-directory>: Use `tramp-handle-insert-directory'.
3376 (tramp-adb-handle-insert-directory): Remove function.
3377 (tramp-adb-send-command-and-check): New defun, replacing
3378 `tramp-adb-command-exit-status'. Change all callees.
3379 (tramp-adb-handle-file-attributes)
3380 (tramp-adb-handle-directory-files-and-attributes): Use it.
3381 (tramp-adb-ls-output-name-less-p):
3382 Use `directory-listing-before-filename-regexp'.
3383 (tramp-adb-handle-delete-directory): Flush also file properties of
3384 the truename of directory.
3385 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3386 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3387 (tramp-adb-handle-write-region): Implement APPEND.
3388 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3389 properties correctly.
3390 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3391 variables. Check for connected devices only when needed.
3393 2014-02-27 Glenn Morris <rgm@gnu.org>
3395 * minibuffer.el (completion-table-dynamic)
3396 (completion-table-with-cache): Doc fixes.
3398 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3399 (completing-read-multiple): Doc fixes.
3401 2014-02-27 Daniel Colascione <dancol@dancol.org>
3403 * minibuffer.el (completion--nth-completion): Fix indentation.
3405 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3406 explicit tramp path is empty.
3408 2014-02-27 Glenn Morris <rgm@gnu.org>
3410 * emacs-lisp/crm.el (completing-read-multiple):
3411 Empower help-enable-auto-load.
3413 2014-02-26 Glenn Morris <rgm@gnu.org>
3415 * startup.el (command-line): Don't init the tty in daemon mode.
3417 Avoid calling tty-setup-hook twice, eg if a term file
3418 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3419 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3420 (tty-create-frame-with-faces): Use it.
3421 * startup.el (command-line): Pass run-hook argument
3422 to tty-run-terminal-initialization.
3424 * dired.el (dired-restore-desktop-buffer): Demote errors;
3425 eg in case a glob match fails. (Bug#16884)
3427 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3429 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3430 error from `read-from-string'. (Bug#16850)
3432 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3433 result of `completing-read' in the interactive form. (Bug#16854)
3435 2014-02-25 Glenn Morris <rgm@gnu.org>
3437 * image.el (image-animate, image-animate-timeout):
3438 Stop animating images in dead buffers. (Bug#16878)
3440 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3442 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3444 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3445 * term/sun.el (sun-raw-prefix-hooks):
3446 Use tty-setup-hook instead of term-setup-hook.
3447 (terminal-init-sun): Construct message from bytecomp plist.
3448 * term/wyse50.el (enable-arrow-keys): Doc fix.
3450 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3452 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3453 Fix docstring typos.
3455 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3457 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3459 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3461 * minibuffer.el (completion--try-word-completion):
3462 Fix error when completing M-x commands (bug#16808).
3464 2014-02-24 Leo Liu <sdl.web@gmail.com>
3466 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3468 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3470 * apropos.el (apropos-print): Avoid formatting error when
3471 apropos-do-all and apropos-compact-layout are both t.
3473 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3475 * apropos.el (apropos-property, apropos-all-words-regexp)
3476 (apropos-true-hit, apropos-variable, apropos-print):
3477 Fix docstring typos, and remove obsolete comment.
3479 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3481 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3482 Preserve trailing "/". (Bug#16851)
3484 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3486 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3487 after `=>' (bug#16811).
3488 (ruby-smie-rules): Handle the inconsistent second element of the
3489 list returned by `smie-indent--parent'.
3490 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3493 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3495 * elec-pair.el (electric-pair-text-syntax-table)
3496 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3497 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3498 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3499 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3501 2014-02-22 Glenn Morris <rgm@gnu.org>
3503 * imenu.el (imenu--generic-function): Doc fix.
3505 * register.el (frame-configuration-to-register): Make obsolete.
3507 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3509 * desktop.el (desktop-save-buffer-p): Do not fail when
3510 desktop-files-not-to-save is nil. Return t for true result
3513 2014-02-22 Daniel Colascione <dancol@dancol.org>
3515 * net/secrets.el (secrets-create-item, secrets-search-items):
3516 Check that attribute values are strings, avoiding the construction
3517 of invalid dbus messages.
3519 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3521 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3522 defun-declarations-alist.
3524 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3529 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3531 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3532 (whitespace-newline, whitespace-trailing, whitespace-line)
3533 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3534 (whitespace-space-after-tab): Fix typo in docstrings.
3536 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3538 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3540 * electric.el (electric-indent-functions-without-reindent):
3541 Add `yaml-indent-line'.
3543 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3545 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3546 It has done nothing for years; should be removed after the release.
3548 * simple.el (choose-completion): Fix docstring typo.
3549 (read-quoted-char-radix): Remove unneeded * in docstring.
3550 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3551 Don't escape parentheses unnecessarily in docstrings.
3553 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3555 Fix handling of window-min-height/-width (Bug#16738).
3556 * window.el (window--dump-window, window--dump-frame):
3558 (window--min-size-1): Account for window dividers.
3559 When window-resize-pixelwise is nil, delay rounding till after the
3560 sum of the window components has been calculated.
3561 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3562 nil make sure at least one text line and two text columns remain
3564 (window-resize): Signal an error when window-resize-apply fails.
3565 (window--resize-child-windows): Fix calculation of by how many
3566 pixels a window can still be shrunk via window-new-normal.
3567 (adjust-window-trailing-edge): Call window--resizable with
3568 correct TRAIL argument.
3570 (with-temp-buffer-window): Don't evaluate BODY within
3571 with-current-buffer (Bug#16816).
3573 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3575 * net/tramp.el (tramp-check-cached-permissions):
3576 Call `file-attributes' with `suffix' being a symbol but a string.
3578 2014-02-21 Daniel Colascione <dancol@dancol.org>
3580 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3581 (dbus-init-bus): New function: call into dbus-init-bus-1
3582 and installs a handler for the disconnect signal.
3583 (dbus-call-method): Rewrite to look for result in cons.
3584 (dbus-call-method-handler): Store result in cons.
3585 (dbus-check-event): Recognize events with nil sender as valid.
3586 (dbus-handle-bus-disconnect): New function. React to bus
3587 disconnection signal by synthesizing dbus error for each
3588 pending synchronous or asynchronous call.
3589 (dbus-notice-synchronous-call-errors): New function.
3590 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3591 is true, not all the time.
3593 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3595 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3596 Remove obsolescence declarations, these variables do not exist anymore.
3598 * savehist.el (savehist-save-minibuffer-history)
3599 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3600 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3601 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3602 mostly, refer to "Savehist mode" when talking about the mode,
3603 and not the function.
3605 * saveplace.el (save-place): Remove redundant info in docstring.
3606 (save-place-forget-unreadable-files, toggle-save-place)
3607 (save-place-forget-unreadable-files, save-place-dired-hook):
3608 Fix typos and remove unneeded backslashes.
3610 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3612 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3613 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3616 <insert-directory>: Use `tramp-handle-insert-directory'.
3617 (tramp-gvfs-handle-insert-directory): Remove function.
3619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3620 Call `tramp-handle-insert-directory'.
3622 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3624 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3625 before the start of buffer/region (bug#16799).
3627 2014-02-20 Glenn Morris <rgm@gnu.org>
3629 * isearch.el (search-invisible): Doc fix.
3631 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3633 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3636 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3638 * frameset.el (frameset-restore): Delay removing an old frame's
3639 duplicate id until the new frame has been correctly created.
3641 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3643 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3644 (tramp-check-cached-permissions): Call `file-attributes' if the
3647 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3648 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3650 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3651 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3652 (tramp-gvfs-maybe-open-connection): Set always connection
3653 properties, even if target is mounted already.
3655 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3656 Set tramp-autoload cookie.
3657 (tramp-get-remote-touch): New defun.
3658 (tramp-sh-handle-set-file-times): Use it.
3659 (tramp-sh-handle-directory-files-and-attributes):
3660 Use `tramp-handle-directory-files-and-attributes' if neither stat
3661 nor perl are available on the remote host.
3663 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3664 "/". Write long listing only when "l" belongs to the switches.
3666 * net/trampver.el: Update release number.
3668 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3670 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3672 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3674 * window.el (window-state-put): Allow WINDOW to refer to an
3675 internal window (Bug#16793).
3677 2014-02-19 Glenn Morris <rgm@gnu.org>
3679 * textmodes/remember.el: Move provide statement to end.
3680 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3681 (remember-notes): Doc fixes.
3683 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * delsel.el (delete-char): Restore incorrectly erased property
3688 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3690 * frameset.el (frameset--restore-frame): When a frame is being reused
3691 and its root window is not alive, delete all the frame's windows before
3692 restoring the window state. This works around the issue in bug#16793.
3694 2014-02-18 Glenn Morris <rgm@gnu.org>
3696 * textmodes/remember.el (remember-data-directory)
3697 (remember-directory-file-name-format, remember-store-in-files)
3698 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3699 (remember-notes-save-and-bury-buffer)
3700 (remember-notes--kill-buffer-query): Doc fixes.
3702 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3704 2014-02-17 Alan Mackenzie <acm@muc.de>
3706 Connect electric-indent-mode up with CC Mode. Bug #15478.
3707 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3708 to electric-indent-{,local-}-mode.
3709 (c-basic-common-init): Set electric-indent-inhibit.
3710 Initialise c-electric-flag from electric-indent-mode.
3711 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3712 New hook functions which propagate electric-indent-mode to CC mode.
3714 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3715 hit, toggle electric-indent-local-mode.
3717 * electric.el (electric-indent-mode-has-been-called):
3720 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3722 * frameset.el (frameset-cfg-id): New function.
3723 (frameset--reuse-frame, frameset-restore): Use it.
3724 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3726 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3728 * ido.el (ido-file-internal): Remove unused var `d'.
3729 Use \` for to match BoS. Fit within 80n columns.
3731 2014-02-17 Daniel Colascione <dancol@dancol.org>
3733 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3734 dbus-call-method check for completion using a busy-wait loop with
3737 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3739 Sync with Tramp 2.2.9.
3741 * net/trampver.el: Update release number.
3743 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3745 * ido.el (ido-file-internal): Don't add the name of an existing
3746 directory twice. (Bug#16747)
3748 2014-02-16 Glenn Morris <rgm@gnu.org>
3750 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3751 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3753 2014-02-15 Michael R. Mauger <michael@mauger.com>
3755 * progmodes/sql.el: Version 3.4
3756 (sql-oracle-options): New default value ("-L").
3757 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3758 (sql-placeholders-filter): Correct placeholder pattern.
3759 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3760 (sql-login-delay): New variable.
3761 (sql-product-interactive): Use it.
3763 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3765 * frameset.el (frameset--jump-to-register): Check that buffer is live
3768 2014-02-15 Glenn Morris <rgm@gnu.org>
3770 * info.el (info-initialize): Revert 2014-01-10 change.
3772 2014-02-14 Glenn Morris <rgm@gnu.org>
3774 * replace.el (map-query-replace-regexp)
3775 (read-regexp-defaults-function, read-regexp): Doc fixes.
3777 * dired.el (dired-read-regexp):
3778 * faces.el (list-faces-display):
3779 * misearch.el (multi-isearch-read-matching-buffers)
3780 (multi-isearch-read-matching-files):
3781 * play/cookie1.el (cookie-apropos):
3782 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3784 * textmodes/remember.el (remember): Use frameset-to-register
3785 rather than frame-configuration-to-register.
3787 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3789 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3790 incorrect keybinding.
3792 2014-02-13 Daniel Colascione <dancol@dancol.org>
3794 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3795 when adding overlays so that line numbers from compiler match line
3798 2014-02-13 Glenn Morris <rgm@gnu.org>
3800 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3802 * jit-lock.el (jit-lock-mode): Doc fix.
3804 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3806 * apropos.el (apropos-read-pattern): When the user passes an empty
3807 string, give a more helpful error message than "Wrong type
3808 argument: stringp, nil".
3810 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3814 2014-02-13 Glenn Morris <rgm@gnu.org>
3816 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3818 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3820 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3821 shift-select commands.
3823 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3825 * progmodes/js.el (js-indent-line): Don't widen.
3826 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3828 2014-02-12 Glenn Morris <rgm@gnu.org>
3830 * icomplete.el (icomplete): Add info-link to defgroup.
3831 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3832 (icomplete-minibuffer-map, icomplete-mode)
3833 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3835 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3836 (package-menu-filter): Rename from package-menu-filter-interactive.
3839 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3841 * frameset.el (frameset--jump-to-register): Select the required
3842 window and buffer before restoring position (bug#16696).
3844 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3846 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3848 2014-02-10 Glenn Morris <rgm@gnu.org>
3850 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3852 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3854 * w32-common-fns.el (x-get-selection): Doc fix.
3855 * select.el (x-get-selection): Doc fix. (Bug#15109)
3857 * face-remap.el (face-remap-add-relative)
3858 (face-remap-remove-relative, face-remap-reset-base)
3859 (face-remap-set-base): Call force-mode-line-update to redisplay
3860 the current buffer due to potential change in faces. (Bug#16709)
3862 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3864 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3865 script more robustly.
3867 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3869 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3871 * simple.el (choose-completion): Doc fix (bug#14160).
3873 * subr.el (event-start): Say what a nil EVENT value means.
3875 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3878 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3880 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3882 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3884 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3885 predicate function (bug#15455).
3887 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3889 * ielm.el (inferior-emacs-lisp-mode): Instead of
3890 `comment-use-global-state', set `comment-use-syntax'.
3892 2014-02-10 Glenn Morris <rgm@gnu.org>
3894 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3896 2014-02-09 Alan Mackenzie <acm@muc.de>
3898 Fix c-invalidate-state-cache on narrowed buffers.
3899 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3900 Widen when setting and clearing the CPP delimiter properties.
3902 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3904 * help.el (describe-bindings): Doc fix (bug#9888).
3906 * files.el (save-buffer): Use ARG as the parameter name for
3907 consistency (bug#10346).
3908 (save-buffer): Clarify the 0 argument (bug#10346).
3910 * cus-edit.el (customize-apropos): Fix error string.
3911 (custom-buffer-create): Doc fix (bug#11122).
3912 (custom-sort-items): Doc fix (bug#11121).
3914 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3916 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3917 (icomplete-simple-completing-p): Mention the previous variable.
3919 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3920 meaning of the parameter (bug#12282).
3922 * files.el (find-file-noselect): Clarify prompt when changing
3923 readedness (bug#13261).
3924 (locate-file): Suffixes aren't returned, so don't say that they
3926 (backup-inhibited): Doc clarification (bug#12525).
3928 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3929 before we actually start to delete things (bug#16331).
3931 * subr.el (event-start): Doc fix (bug#14228).
3934 2014-02-09 Glenn Morris <rgm@gnu.org>
3936 * emacs-lisp/warnings.el (lwarn):
3937 Empower help-enable-auto-load. (Bug#15940)
3939 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3941 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3944 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3946 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3947 Insert output at end of buffer. (Bug#16120)
3949 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3951 * simple.el (choose-completion-string-functions): Document new
3952 calling convention (bug#14153).
3953 (execute-extended-command): Clarify doc string (bug#13373).
3955 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3957 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3958 (find-grep-dired): Doc fix (bug#14288).
3960 2014-02-08 Juri Linkov <juri@jurta.org>
3962 * isearch.el (isearch-quote-char): Check character validity
3963 like in `quoted-insert' (bug#16677).
3965 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3967 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3969 * isearch.el (isearch-hide-immediately): Doc clarification
3972 * simple.el (line-move): Document utility function used many
3973 places in the Emacs sources (bug#14843).
3975 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3976 (dired-prev-marked-file): Doc fix (bug#14855).
3977 (dired-up-directory): Doc fix (bug#14848).
3979 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3981 * files.el (file-relative-name): Doc fix (bug#15159).
3983 * fringe.el (fringe-styles): Doc fix (bug#15239).
3985 * isearch.el (isearch-filter-predicate): Documentation typo fix
3988 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3990 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3992 * replace.el (replace-match-maybe-edit): Doc clarification
3995 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3997 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3999 2014-02-08 Glenn Morris <rgm@gnu.org>
4001 * help-fns.el (describe-variable):
4002 Check {file,dir}-local-variables-alist, and buffer-file-name,
4003 in the correct buffer.
4005 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4007 * help-fns.el (describe-variable): Fix the case where
4008 a value is directory-local with no dir-locals file. (Bug#16635)
4010 2014-02-08 Glenn Morris <rgm@gnu.org>
4012 * abbrev.el (edit-abbrevs-mode):
4013 Derive from fundamental-mode. (Bug#16682)
4015 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4017 * simple.el (quoted-insert): Check character validity (bug#16677).
4019 2014-02-07 Juri Linkov <juri@jurta.org>
4021 * desktop.el (desktop-read): Claim the lock when the owner is not
4022 the current process. (Bug#16157)
4024 2014-02-07 Juri Linkov <juri@jurta.org>
4026 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4027 to "\\` ". (Bug#16651)
4029 2014-02-07 Juri Linkov <juri@jurta.org>
4031 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4032 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4033 (desktop-auto-save-cancel-timer): New function with some code from
4034 `desktop-auto-save-set-timer'.
4035 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4036 Instead of setting `desktop-save-mode' to nil, call
4037 `desktop-save-mode' with arg 0. (Bug#16630)
4039 2014-02-07 Glenn Morris <rgm@gnu.org>
4041 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4042 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4043 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4045 * obsolete/iswitchb.el: Move to obsolete/.
4046 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4047 since obsolete/ is not scanned for autoloads.
4048 * emacs-lisp/authors.el (authors-valid-file-names):
4051 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4052 Disable now non-functional find-file-hook.
4054 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4056 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4057 instead of ";" in order to avoid additional prompts. Let heredoc
4058 scripts read from tty. (Bug#16582)
4059 (tramp-send-command): No special handling of heredocs, it isn't
4062 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4065 with a space (bug#16664). Limit the symbols considered to the ones
4066 that are bound or fbound (bug#16646).
4068 2014-02-06 Glenn Morris <rgm@gnu.org>
4070 * epa.el (epa-mail-aliases): Doc fix.
4072 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4074 * emacs-lisp/lisp.el (lisp-completion-at-point):
4075 Use `completion-table-merge' instead of `completion-table-in-turn'
4078 * minibuffer.el (completion-table-merge): New function.
4080 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4082 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4083 (tramp-sh-handle-set-file-acl)
4084 (tramp-sh-handle-start-file-process)
4085 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4086 (tramp-find-executable, tramp-send-command): Use it.
4088 2014-02-05 Glenn Morris <rgm@gnu.org>
4090 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4092 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4094 * progmodes/python.el (python-shell-send-string)
4095 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4097 2014-02-04 Anders Lindgren <andlind@gmail.com>
4099 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4100 the names (bug#16620).
4102 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4104 * faces.el (window-divider): New default value. Rewrite doc-string.
4105 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4107 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4110 `protected' and `public' can also be called without arguments.
4112 2014-02-03 Glenn Morris <rgm@gnu.org>
4114 * register.el (window-configuration-to-register)
4115 (frame-configuration-to-register): Unadvertise unused argument.
4116 * frameset.el (frameset-to-register): Remove unused argument.
4118 * frameset.el (frameset-to-register):
4119 * kmacro.el (kmacro-to-register):
4120 * register.el (increment-register):
4121 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4122 (calc-append-to-register, calc-prepend-to-register):
4123 * play/gametree.el (gametree-layout-to-register)
4124 (gametree-apply-register-layout):
4125 * textmodes/picture.el (picture-clear-rectangle-to-register)
4126 (picture-yank-rectangle-from-register):
4127 * vc/emerge.el (emerge-combine-versions-register):
4128 Use register-read-with-preview to read registers.
4130 2014-02-03 João Távora <joaotavora@gmail.com>
4132 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4133 when at beginning of (possibly narrowed) buffer.
4135 2014-02-02 Daniel Colascione <dancol@dancol.org>
4137 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4138 Also try to display local help from just before point.
4140 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4142 c-parse-state. Don't "append-lower-brace-pair" in certain
4143 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4144 recognised as a comment.
4146 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4147 as well as normal comment starter.
4148 (c-parse-state-get-strategy): Extra return possibility
4150 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4151 return value list to indicate replacement of a brace-pair cons
4153 (c-parse-state-1): With 'back-and-forward, only call
4154 c-append-lower-brace-pair-to state-cache when cons-separated.
4156 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4158 * term/ns-win.el (ns-suspend-error): New function.
4159 (ns-initialize-window-system): Add ns-suspend-error to
4160 suspend-hook (Bug#16612).
4162 2014-02-02 Daniel Colascione <dancol@dancol.org>
4164 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4165 Make loading cc-mode silent.
4167 2014-02-02 Daniel Colascione <dancol@dancol.org>
4169 * comint.el (comint-prompt-read-only): Change doc to suggest
4172 2014-02-02 Glenn Morris <rgm@gnu.org>
4174 * register.el (register-read-with-preview, point-to-register)
4175 (window-configuration-to-register, frame-configuration-to-register)
4176 (jump-to-register, number-to-register, view-register, insert-register)
4177 (copy-to-register, append-to-register, prepend-to-register)
4178 (copy-rectangle-to-register): Doc fixes.
4180 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4183 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4184 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4185 * help-fns.el (describe-function-1): Use it.
4187 2014-02-02 Glenn Morris <rgm@gnu.org>
4189 * register.el (register-preview-default): New function,
4190 split from register-preview.
4191 (register-preview-function): Rename from register-preview-functions,
4193 (register-preview): Use register-preview-function.
4194 (register-read-with-preview): Error on non-character event. (Bug#16595)
4196 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4198 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4199 `:' before binary operators (bug#16609). Don't check for `:'
4200 before `[' and `(', or their syntax status. A percent literal
4201 can't end with either.
4202 (ruby-font-lock-keywords): For built-ins that require arguments,
4203 check that they're followed by something that looks like argument
4206 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4208 * subr.el (butlast): Document what an omitted N means (bug#13437).
4211 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4213 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4214 depth shallower (bug#16587).
4215 (shr-tag-svg): Respect `shr-inhibit-images'.
4216 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4218 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4220 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4221 (ruby-smie-grammar): Make "." right-associative. Make its priority
4222 lower than the ternary and all binary operators.
4223 (ruby-smie-rules): Indent "(" relative to the first non-"."
4224 parent, or the first "." parent at indentation.
4225 Use `ruby-align-chained-calls' for indentation of "." tokens.
4228 2014-01-31 Juri Linkov <juri@jurta.org>
4230 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4231 from `make-hash-table'.
4233 * textmodes/ispell.el (ispell-init-process): Change message format
4234 to be consistent with other messages.
4236 2014-01-31 Glenn Morris <rgm@gnu.org>
4238 * delsel.el (delete-selection-mode): Doc fix.
4240 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4241 (trace-function-background): Doc fixes.
4243 * ido.el (ido-use-virtual-buffers): Doc fix.
4244 Reset :version, since the default value has not changed.
4246 * register.el (register-preview-delay, register-read-with-preview):
4249 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4250 do not mess with mail-buffer position (fixes 2009-11-03 change).
4251 * progmodes/cc-mode.el (c-submit-bug-report):
4252 Check auto-fill-mode is bound. (Bug#16592)
4254 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4256 * startup.el (fancy-splash-image-file): New function,
4257 split from fancy-splash-head.
4258 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4259 so that we are both using the same image. (Bug#16574)
4261 2014-01-30 Glenn Morris <rgm@gnu.org>
4263 * simple.el (eval-expression): Doc fix.
4265 * hexl.el (hexl-mode-hook):
4266 * ielm.el (ielm-mode-hook):
4267 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4268 (lisp-interaction-mode-hook):
4269 * progmodes/cfengine.el (cfengine3-documentation-function):
4270 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4272 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4274 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4275 is a symbol (bug#16584).
4277 2014-01-30 Glenn Morris <rgm@gnu.org>
4279 * help.el (help-for-help-internal): Add "P" to text.
4281 2014-01-29 Glenn Morris <rgm@gnu.org>
4283 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4285 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4287 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4290 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4292 * progmodes/hideif.el: Extend to full CPP expression syntax.
4293 (hif-token-alist): Add missing tokens.
4294 (hif-token-regexp): Add support for float/octal/hex immediates.
4295 (hif-string-literal-regexp): New const.
4296 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4297 (hif-exprlist): New function.
4298 (hif-parse-if-exp): Use it.
4299 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4300 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4301 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4302 (hif-logxor, hif-comma): New functions.
4304 2014-01-28 Glenn Morris <rgm@gnu.org>
4306 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4308 * indent.el (tab-stop-list): Doc fix. Add :version.
4310 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4311 (cvs-append-to-ignore): Add compatibility alias.
4313 2014-01-27 Glenn Morris <rgm@gnu.org>
4315 * dired.el (dired-hide-details-mode): Don't autoload it,
4316 since it cannot be used outside Dired buffers anyway.
4318 * emulation/cua-base.el (cua-mode): Doc fix.
4320 * dired.el (dired-hide-details-hide-symlink-targets)
4321 (dired-hide-details-hide-information-lines)
4322 (dired-hide-details-mode): Doc fixes.
4324 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4325 * strokes.el (strokes-file): Doc fix. Bump :version.
4326 (strokes-help): Doc fix.
4327 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4328 * emulation/viper.el (viper): Doc fix for custom group.
4329 (top-level): Remove oh-so-no-longer-relevant text about vip.
4330 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4332 * ido.el (ido-save-directory-list-file):
4333 * saveplace.el (save-place-file):
4334 * calendar/timeclock.el (timeclock-file):
4335 * net/quickurl.el (quickurl-url-file):
4336 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4337 * progmodes/idlwave.el (idlwave-config-directory):
4338 * textmodes/remember.el (remember-data-file):
4341 2014-01-26 Glenn Morris <rgm@gnu.org>
4343 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4344 Doc fix. Make obsolete.
4345 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4347 * sort.el (delete-duplicate-lines): Doc fix.
4349 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4351 * progmodes/ada-mode.el (ada):
4352 * woman.el (woman): Link to info manual and Commentary section.
4354 * progmodes/flymake.el (flymake):
4355 * nxml/nxml-mode.el (nxml):
4357 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4358 * htmlfontify.el (htmlfontify):
4361 * ido.el (ido): Link to info manual.
4363 2014-01-25 Leo Liu <sdl.web@gmail.com>
4365 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4367 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4369 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4372 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4374 * net/eww.el (eww-download-callback):
4375 Fix reference to eww-download-directory.
4377 * emacs-lisp/bytecomp.el (byte-compile-file):
4378 Remove unused local variable `file-name'.
4380 2014-01-24 Glenn Morris <rgm@gnu.org>
4382 * woman.el (woman-default-faces, woman-monochrome-faces):
4383 Fix obsolescence specification.
4385 * subr.el (with-demoted-errors): Doc fix.
4387 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4390 (cl--macroexp-fboundp): New function.
4391 (cl--make-type-test): Use it.
4393 2014-01-23 Glenn Morris <rgm@gnu.org>
4395 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4396 * simple.el (eval-expression): Doc fixes.
4398 2014-01-22 Glenn Morris <rgm@gnu.org>
4400 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4402 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4404 * emacs-lisp/package.el: Write files silently.
4405 (package-autoload-ensure-default-file, package--write-file-no-coding)
4406 (package-generate-description-file, package--download-one-archive)
4407 (package-install-from-archive): Tell `write-region' to stay quiet.
4408 (package-menu-mode, package-menu--print-info): Omit the Archive column
4409 if there's only one archive.
4410 (package-all-keywords, package--has-keyword-p): Remove dead code.
4412 2014-01-22 Glenn Morris <rgm@gnu.org>
4414 * version.el (emacs-bzr-version-bzr): Fix typo.
4416 * version.el (emacs-repository-get-version):
4417 Check either .bzr or .git, but not both.
4418 Make the git case actually use the DIR argument, and return nil
4419 rather than the empty string.
4420 Avoid error if .git exists but the git executable is not found.
4422 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4424 Fixes in window size functions around Bug#16430 and Bug#16470.
4425 * window.el (window-total-size, window-size): New argument ROUND.
4426 (window--min-delta-1, window-min-delta, window--max-delta-1):
4427 Be more conservative when calculating the numbers of lines or
4428 columns a window can shrink (Bug#16430).
4429 (fit-window-to-buffer): Simplify code.
4430 * term.el (term-window-width): Call window-body-width again.
4432 2014-01-22 Glenn Morris <rgm@gnu.org>
4434 * image.el (image-format-suffixes): Doc fix.
4436 * international/quail.el (quail-define-package): Doc fix.
4438 * emacs-lisp/authors.el (authors-valid-file-names)
4439 (authors-renamed-files-alist): Additions.
4441 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4442 reverts 2014-01-09 change. (Bug#16422)
4444 * calc/calc-embed.el (thing-at-point-looking-at):
4445 * emacs-lisp/map-ynp.el (x-popup-dialog):
4446 * obsolete/lmenu.el (x-popup-dialog):
4447 * emacs-lisp/package.el (url-recreate-url):
4448 * mail/mailclient.el (clipboard-kill-ring-save):
4449 * subr.el (x-popup-dialog): Update declaration.
4450 * mail/rmail.el (rmail-mime-message-p):
4451 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4453 2014-01-21 Daniel Colascione <dancol@dancol.org>
4455 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4456 Correctly detect when we're inside an arithmetic expansion form
4457 containing nested parenthesis.
4458 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4459 to detect cases where we shouldn't expand "<<" to a heredoc
4462 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4464 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4465 (eldoc--message-command-p): New function.
4466 (eldoc-display-message-p): Use it.
4467 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4468 message is not automatically erased for us.
4469 (eldoc-print-current-symbol-info): Erase previous message, if any.
4471 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4473 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4474 specify it's an interactive function.
4476 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4477 Fix regex used for scanning for citation keys which failed for
4478 citations with optional arguments.
4480 2014-01-21 Leo Liu <sdl.web@gmail.com>
4482 * simple.el (read--expression): Don't enable eldoc-mode.
4484 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * simple.el (move-beginning-of-line): Make sure we don't move forward
4489 2014-01-20 Juri Linkov <juri@jurta.org>
4491 * saveplace.el (toggle-save-place, save-place-to-alist)
4492 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4493 'dired-mode) before checking for dired-directory. (Bug#16477)
4495 2014-01-20 Juri Linkov <juri@jurta.org>
4497 * indent.el (indent-line-to): Use backward-to-indentation
4498 instead of back-to-indentation. (Bug#16461)
4500 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4502 Revert some of the CANNOT_DUMP fix (Bug#16494).
4503 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4504 but fixing this can wait until after the next release.
4505 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4507 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4509 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4510 Use `password-word-equivalents'.
4511 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4512 to t. (Bug#5664, Bug#13124)
4514 2014-01-19 Alan Mackenzie <acm@muc.de>
4516 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4518 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4519 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4520 * progmodes/cc-mode.el (c-before-change, c-after-change)
4521 (c-font-lock-fontify-region): Bind it here.
4523 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4525 * term.el (term-window-width): Call window-text-width instead of
4526 window-width (Bug#16470).
4528 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4530 * simple.el (password-word-equivalents): Remove duplicates.
4531 Sort, to make this easier next time.
4532 Downcase. Omit ": " after "jelszó".
4534 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4536 * term/common-win.el (saved-region-selection): Defvar it.
4537 (x-select-text): Set saved-region-selection (Bug#16382).
4539 2014-01-18 Glenn Morris <rgm@gnu.org>
4541 * emacs-lisp/authors.el (authors-aliases)
4542 (authors-renamed-files-alist): Add some entries.
4544 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4546 * net/tramp.el (tramp-password-prompt-regexp):
4547 Use `password-word-equivalents' if available.
4548 (tramp-action-password, tramp-process-one-action)
4549 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4551 2014-01-17 Chong Yidong <cyd@gnu.org>
4553 * simple.el (password-word-equivalents): New defcustom.
4554 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4556 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4559 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4561 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4562 (ruby-align-to-stmt-keywords): Change the default value.
4563 Use `ruby-alignable-keywords' to generate the possible customization
4565 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4566 keywords, check against the value of `ruby-alignable-keywords'
4567 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4569 2014-01-17 Glenn Morris <rgm@gnu.org>
4571 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4573 Make M-x authors return zero *Authors Errors* from current logs.
4574 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4575 (authors-ignored-files): Add some entries, remove others.
4576 (authors-ambiguous-files, authors-valid-file-names):
4578 (authors-renamed-files-alist): Add, remove, and adjust entries.
4579 (authors-renamed-files-regexps): Add some entries.
4580 Remove some very broad ones. Make some entries `lax'.
4581 (authors-lax-changelogs): New constant.
4582 (authors-disambiguate-file-name): Treat top-level specially.
4583 (authors-lax-changelog-p): New function.
4584 (authors-canonical-file-name): Check file as written against
4585 authors-valid-file-names. Do not special-case etc/.
4586 Handle `lax' logs and authors-renamed-files-regexps elements.
4588 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4590 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4591 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4594 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4597 Assume we're already in the proper buffer.
4598 Inspired by Anders Lindgren <andlind@gmail.com>.
4599 (follow-post-command-hook): Call it from the right buffer.
4600 (follow-comint-scroll-to-bottom): Adjust call.
4601 (follow-all-followers): Use get-buffer-window-list.
4603 2014-01-15 Daniel Colascione <dancol@dancol.org>
4605 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4606 `buffer-file-name' in interactive-form so that we don't leave
4607 pathless file names in `file-name-history'.
4609 2014-01-15 Juri Linkov <juri@jurta.org>
4611 * indent.el (indent-rigidly): Set deactivate-mark to nil
4612 in transient indentation mode. (Bug#16438)
4614 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4616 * emacs-lisp/package.el (package-desc-keywords): New function
4618 (describe-package-1, package-all-keywords)
4619 (package--has-keyword-p): Use it.
4621 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4623 * simple.el (define-alternatives): When creating the
4624 COMMAND-alternatives variable, assign COMMAND as its definition
4625 name so that `describe-variable' can relocate it.
4627 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4629 * font-lock.el (font-lock-keywords): Fix typo in docstring
4632 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4634 * ispell.el (ispell-region): Reset `in-comment' for new line
4635 instead of wrongly reset `add-coment' (bug#13577).
4637 2014-01-14 Daiki Ueno <ueno@gnu.org>
4639 * epa-file.el (epa-file-write-region): Encode the region according
4640 to `buffer-file-format'. Problem reported at:
4641 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4643 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4645 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4646 so it applies in the right buffer (bug#16410).
4648 2014-01-13 Daniel Colascione <dancol@dancol.org>
4650 * textmodes/rst.el (rst-define-key): Provide deprecated
4651 keybindings through named functions instead of anonymous ones so
4652 that "??" doesn't appear in describe-mode output.
4654 2014-01-13 Bastien Guerry <bzg@gnu.org>
4656 * simple.el (define-alternatives): Call the selected command
4657 interactively. When setting `COMMAND--implementation' for the
4658 first time, tell the user how to chose another implementation.
4659 Enhance the docstring.
4661 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4664 (log-edit--match-first-line): New function.
4665 (log-edit-font-lock-keywords): Use it.
4666 (log-edit-mode): Make jit-lock-defer-multiline work.
4668 2014-01-13 Bastien Guerry <bzg@gnu.org>
4670 * rect.el (rectangle-mark-mode): When the region is not active,
4671 display a message saying that the mark as been set and that
4672 rectangle mode is in use.
4673 (rectangle--highlight-for-redisplay): Only put an overlay with a
4674 visible vertical bar when (display-graphic-p) is non-nil.
4675 This partially fixes Bug#16403.
4677 2014-01-13 Juri Linkov <juri@jurta.org>
4679 * info.el (Info-find-file): Go to DIR before displaying the error
4680 about a nonexistent file if no previous Info file is visited.
4681 Use `user-error' instead of `error' for "Info file %s does not exist".
4682 (Info-find-node-2): In case of a nonexistent node in unwind forms
4683 go to the Top node if there is no previous node to revert to.
4686 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4688 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4689 * window.el (fit-frame-to-buffer): Fix doc-string.
4690 Respect window-min-height/-width. Fit pixelwise when
4691 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4692 when avoiding that frame goes partially off-screen.
4693 (fit-window-to-buffer): Respect window-min-height/-width
4696 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4699 after an empty line.
4701 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * net/shr.el (shr-render-region): Autoload.
4705 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4707 * net/eww.el (eww-download-directory): Rename from
4708 `eww-download-path' (Bug#16419).
4710 2014-01-12 Leo Liu <sdl.web@gmail.com>
4712 * dired-x.el (dired-mode-map): Fix last change.
4714 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4716 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4719 * emacs-lisp/generic.el (generic--normalize-comments):
4720 Rename from generic--normalise-comments. All uses changed.
4721 * play/bubbles.el (bubbles--neighborhood-score)
4722 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4723 (bubbles--neighborhood-available)
4724 (bubbles--update-neighborhood-score):
4725 Rename from names with 'neighbourhood'. All uses changed.
4727 2014-01-12 Leo Liu <sdl.web@gmail.com>
4729 Re-implement the feature of showing eldoc info after editing.
4730 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4731 (eldoc-edit-message-commands): New function.
4732 (eldoc-print-after-edit): New variable.
4733 (eldoc-pre-command-refresh-echo-area): Emit message only by
4734 eldoc-message-commands.
4735 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4736 if eldoc-print-after-edit is set. (Bug#16346)
4737 * simple.el (read--expression): Enable eldoc-mode.
4738 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4740 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4741 Eric S. Raymond <esr@thyrsus.com>
4743 * version.el (emacs-repository-get-version): Enhance so the
4744 function works correctly in either a Bazaar or Git repo.
4746 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4748 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4749 Goes with removal of the joke manpages from /etc.
4751 2014-01-10 Kenichi Handa <handa@gnu.org>
4753 * mail/rmail.el (rmail-get-coding-system):
4754 Check rmail-get-coding-function before "funcall"ing it.
4756 2014-01-10 Glenn Morris <rgm@gnu.org>
4758 * emacs-lisp/authors.el (authors-fixed-entries):
4759 Update for files that no longer exist.
4761 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4763 * version.el (emacs-bzr-get-version): Restore compatibilty with
4766 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4768 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4771 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4773 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4775 2014-01-10 Chong Yidong <cyd@gnu.org>
4777 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4779 2014-01-10 Anders Lindgren <andlind@gmail.com>
4781 * follow.el (follow-cache-command-list): Include right-char and
4784 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4787 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4788 * woman.el (woman-mark-horizontal-position):
4789 Rename from woman-mark-horizonal-position. Use changed.
4791 2014-01-10 Glenn Morris <rgm@gnu.org>
4793 * info.el (info-initialize): If running uninstalled, ensure our
4794 own info files are always found first, even if INFOPATH is set.
4796 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4798 2014-01-09 David Engster <deng@randomsample.de>
4800 * emacs-lisp/eieio-custom.el:
4801 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4802 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4803 * emacs-lisp/eieio.el: Regenerate autoloads.
4805 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4807 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4808 following renames. (Bug#8756)
4810 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4812 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4814 (activate-mark): Add `no-tmm' argument.
4815 (set-mark, push-mark-command): Use it instead of running
4816 activate-mark-hook by hand.
4818 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4820 In preparation for the move to git, sanitize out some
4821 Bazaar-specific names.
4823 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4825 * version.el (emacs-bzr-version): Name changed to
4826 emacs-repository-version. Obsolete-variable alias made.
4827 * loadup.el: Follow through on this name change.
4828 * mail/emacsbug.el (report-emacs-bug): Factor out any
4829 assumption about the version control system in use.
4831 2014-01-08 David Engster <deng@randomsample.de>
4833 * help-fns.el (help-fns-describe-function-functions):
4834 New variable to call functions for augmenting help buffers.
4835 (describe-function-1): Remove explicit calls to
4836 `help-fns--compiler-macro', `help-fns--parent-mode' and
4837 `help-fns--obsolete'. Put them in above new variable instead, and
4838 call them through `run-hook-with-args'.
4839 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4840 `eieio-describe-class'. Not meant for interactive use anymore,
4841 but to augment existing help buffers. Remove optional second
4842 argument. Create proper button for file location.
4843 Rewrite function to use `insert' instead of `princ' and `prin1' where
4845 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4846 (eieio-method-def, eieio-class-def): Move further up.
4847 (describe-method, describe-generic, eieio-describe-method):
4849 (eieio-help-constructor, eieio-help-generic): Rename from
4850 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4851 Rewrite to use `insert' in the current buffer and use proper help
4853 (eieio-help-find-method-definition)
4854 (eieio-help-find-class-definition): Also accept symbols as
4856 (eieio-help-mode-augmentation-maybee): Remove.
4857 (eieio-describe-class-sb): Use `describe-function'.
4858 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4859 Add `eieio-help-generic' and `eieio-help-constructor'.
4861 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4864 * language/china-util.el (hz-ascii-designation):
4865 Rename from hz-ascii-designnation.
4866 (hz-ascii-designation): Rename from hz-ascii-designnation.
4869 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4871 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4874 2014-01-08 Bastien Guerry <bzg@gnu.org>
4876 * emacs-lisp/package.el (package-delete):
4877 Correctly delete the package from package-alist.
4879 2014-01-08 Daiki Ueno <ueno@gnu.org>
4881 * emacs-lisp/package.el (url-recreate-url): Declare.
4882 (url-http-target-url): Declare.
4883 (package-handle-response): Include requested URL in the error message.
4884 (package--check-signature): Don't re-signal errors from
4885 package--with-work-buffer. Suggested by Stefan Monnier.
4887 2014-01-07 Bastien Guerry <bzg@gnu.org>
4889 * minibuffer.el (completion--try-word-completion): When both a
4890 hyphen and a space are possible candidates for the character
4891 following a word, display both candidates. (Bug#15980)
4893 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4895 * window.el (balance-windows-2): While rounding don't give a
4896 window more than the remainder. Bug#16351, bug#16383.
4898 2014-01-07 Glenn Morris <rgm@gnu.org>
4900 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4901 (menu-bar-help-menu): Use view-external-packages instead.
4903 2014-01-07 Bastien Guerry <bzg@gnu.org>
4905 * emacs-lisp/package.el (package-delete): Also delete the package
4906 name from `package-alist', not its description only.
4908 2014-01-07 Glenn Morris <rgm@gnu.org>
4910 * help.el (view-external-packages):
4911 * menu-bar.el (menu-bar-help-extra-packages):
4912 Visit efaq.info rather than etc/MORE.STUFF.
4914 2014-01-07 Juri Linkov <juri@jurta.org>
4916 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4917 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4919 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4920 that shadows RET. (Bug#16342)
4922 2014-01-07 Chong Yidong <cyd@gnu.org>
4924 * isearch.el (isearch-yank-char, isearch-yank-word)
4925 (isearch-yank-line): Doc fix.
4927 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4929 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4930 * emacs-lisp/elint.el (elint-find-builtins):
4931 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4932 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4933 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4934 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4935 * apropos.el (apropos-safe-documentation):
4936 * subr.el (symbol-file): Remove redundant fboundp.
4937 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4939 2014-01-06 Bastien Guerry <bzg@gnu.org>
4941 * hl-line.el (global-hl-line-overlay): Make a local variable.
4942 (global-hl-line-overlays): New variable to store all overlays.
4943 (global-hl-line-mode): Don't delete overlays from the current
4944 buffer when `global-hl-line-sticky-flag' is non-nil.
4945 (global-hl-line-highlight): Add new overlays to
4946 `global-hl-line-overlays'.
4947 (global-hl-line-unhighlight-all): New function to delete all
4948 overlays when turning off `global-hl-line-mode'.
4949 This fixes Bug#16183.
4951 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * subr.el (set-transient-map): Fix nested case and docstring.
4955 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4957 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4960 2014-01-06 Daniel Colascione <dancol@dancol.org>
4962 Fix defun navigation in vc log view.
4964 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4965 like `beginning-of-defun'.
4966 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4967 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4968 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4969 (log-view-extract-comment): Call `log-view-current-entry' directly
4970 instead of relying on broken `log-view-beginning-of-defun' behavior.
4972 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4975 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4976 * emacs-lisp/debug.el (cancel-debug-on-entry):
4977 * epg.el (epg-error-to-string):
4978 * files.el (recover-file):
4979 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4980 * mail/emacsbug.el (report-emacs-bug-hook):
4981 * mail/sendmail.el (mail-recover):
4982 * ses.el (ses-yank-resize):
4983 * term/ns-win.el (ns-print-buffer):
4984 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4985 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4987 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4989 2014-01-06 Leo Liu <sdl.web@gmail.com>
4991 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4992 to avoid shadowing global key. (Bug#16354)
4994 2014-01-06 Daniel Colascione <dancol@dancol.org>
4996 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4999 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5001 * window.el (balance-windows): Add mising t to fix Bug#16351.
5003 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5005 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5007 (shr-insert): If we have a word that's longer than `shr-width',
5008 break after it anyway. Otherwise we'll do no breaking once we get
5011 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5013 * net/eww.el (eww): Support single/double quote for search.
5014 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5015 (eww-history-quit): Delete and use quit-window.
5016 (eww-history-kill): Delete, because it doesn't work well and
5018 (eww-history-mode-map): Delete some keys and add easy-menu.
5020 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5022 Fix misspelling of 'chinese' in rx (Bug#16237).
5023 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5026 Change subword regexps back to vars (Bug#16296).
5027 * progmodes/subword.el (subword-forward-regexp)
5028 (subword-backward-regexp): Change these back to variables.
5030 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5033 syntax-begin-function (bug#16247).
5035 2014-01-03 Chong Yidong <cyd@gnu.org>
5037 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5038 (advice--docstring): Delete variable.
5039 (advice--make-1): Leave the docstring empty.
5040 (advice-add): Use function-documentation for advised docstring.
5042 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5043 Ignore function-documentation property when getting documentation.
5044 (ad-activate-advised-definition): Use function-documentation
5045 generate the docstring.
5046 (ad-make-advised-definition): Don't call
5047 ad-make-advised-definition-docstring.
5048 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5051 * progmodes/sql.el (sql-help): Use function-documentation instead
5052 of dynamic-docstring-function property. No need to autoload now.
5053 (sql--help-docstring): New variable.
5054 (sql--make-help-docstring): Use it.
5056 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5058 * ielm.el (ielm-tab): Retarget.
5059 (ielm-map): Use ielm-tab for tab.
5060 (ielm-complete-filename): Use comint-filename-completion.
5061 (ielm-complete-symbol): Remove.
5062 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5063 remove ielm-tab from completion-at-point-functions (bug#16224).
5065 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5066 Beware signals raised by predicates (bug#16201).
5068 2014-01-02 Richard Stallman <rms@gnu.org>
5070 * dired-aux.el (dired-do-print): Handle printer-name.
5072 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5073 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5074 (rmail-epa-decrypt): Turn off mime processing.
5076 * mail/rmail.el (rmail-make-in-reply-to-field):
5077 Add parens in message-id.
5079 * mail/rmail.el (rmail-get-coding-function): Variable.
5080 (rmail-get-coding-system): Use it.
5082 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5084 * international/mule-conf.el: Unify the charset indian-is13194.
5085 (indian-is13194): Specify unify-map.
5087 2013-12-31 Leo Liu <sdl.web@gmail.com>
5089 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5091 2013-12-30 Daniel Colascione <dancol@dancol.org>
5093 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5094 of printing a useless when we resume from sleep.
5096 * progmodes/sh-script.el
5097 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5098 in indentation code. (Bug#16233)
5100 2013-12-28 João Távora <joaotavora@gmail.com>
5102 * elec-pair.el (electric-pair-post-self-insert-function):
5103 Don't open extra newlines at beginning of buffer. (Bug#16272)
5105 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5107 * frame.el (window-system-for-display): Don't allow to create a
5108 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5110 2013-12-28 Glenn Morris <rgm@gnu.org>
5112 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5115 * apropos.el (apropos-match-face):
5116 * calculator.el (calculator-displayer):
5117 * dabbrev.el (dabbrev-search-these-buffers-only):
5118 * face-remap.el (buffer-face-mode-face):
5119 * simple.el (yank-handled-properties):
5120 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5121 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5122 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5123 (hashcash-double-spend-database):
5124 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5125 (ruby-deep-indent-paren-style):
5126 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5127 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5128 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5129 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5130 Specify custom types.
5132 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5133 * bookmark.el (bookmark-bmenu-use-header-line):
5134 * doc-view.el (doc-view-scale-internally):
5135 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5136 * register.el (register-preview-delay):
5137 * net/shr.el (shr-bullet):
5138 * progmodes/cfengine.el (cfengine-cf-promises)
5139 (cfengine-parameters-indent):
5140 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5141 * textmodes/reftex-vars.el (reftex-label-regexps):
5142 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5144 * net/tls.el (tls-certtool-program): Fix default value.
5146 * desktop.el (desktop-restore-in-current-display):
5147 * newcomment.el (comment-empty-lines):
5148 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5149 (idlwave-pad-keyword):
5150 * progmodes/tcl.el (tcl-tab-always-indent):
5151 * textmodes/reftex-vars.el (reftex-index-default-tag):
5152 * elec-pair.el (electric-pair-skip-whitespace):
5153 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5155 * emacs-lisp/authors.el (authors-ignored-files)
5156 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5158 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5160 * shell.el (shell-dynamic-complete-command): Doc fix.
5161 (shell--command-completion-data): Shell completion now matches
5162 executable filenames from the current buffer's directory, on
5163 systems in which this behavior is the default (windows-nt, ms-dos).
5165 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5167 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5169 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5171 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5174 * electric.el: Move all electric-pair-* to elec-pair.el.
5175 * elec-pair.el: New file, split from electric.el.
5177 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5179 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5180 indentation level is larger than the width, because that will
5182 (shr-insert): Fill repeatedly long texts, so that Japanese is
5183 formatted correctly (bug#16263).
5184 (shr-find-fill-point): Off by one error in comparison with the
5187 2013-12-26 João Távora <joaotavora@gmail.com>
5189 * electric.el (electric-pair-mode): More flexible engine for skip-
5190 and inhibit predicates, new options for pairing-related functionality.
5191 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5192 if that keeps or improves their balance in buffers.
5193 (electric-pair-delete-adjacent-pairs): Delete the pair when
5194 backspacing over adjacent matched delimiters.
5195 (electric-pair-open-extra-newline): Open extra newline when
5196 inserting newlines between adjacent matched delimiters.
5197 (electric--sort-post-self-insertion-hook):
5198 Sort post-self-insert-hook according to priority values when
5199 minor-modes are activated.
5200 * simple.el (newline-and-indent): Call newline with interactive
5202 (blink-paren-post-self-insert-function): Set priority to 100.
5203 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5204 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5205 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5206 electric-pair-open-newline-between-pairs to nil.
5208 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5210 * progmodes/python.el: Use lexical-binding.
5211 (python-nav-beginning-of-defun): Stop searching ASAP.
5213 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5215 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5216 Fix interactive spec. Doc fix. (Bug#15754)
5218 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5220 * emacs-lisp/byte-run.el (eval-when-compile):
5221 * progmodes/cc-defs.el (cc-eval-when-compile):
5222 Fix edebug spec (bug#16184).
5224 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5226 * net/shr.el (shr-visit-file): Remove debugging function.
5227 (shr-insert): Don't infloop if we can't find a good place to break
5228 the line (bug#16256).
5230 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5232 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5233 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5234 python-nav-lisp-forward-sexp-safe.
5235 (python-nav--forward-sexp): New argument SAFE allows switching
5236 forward sexp movement behavior for parens.
5237 (python-nav-forward-sexp): Throw errors on unterminated parens
5239 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5240 (python-nav-backward-sexp-safe): New functions.
5241 (python-shell-buffer-substring):
5242 Use `python-nav-forward-sexp-safe'.
5244 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5246 * net/shr.el (shr-find-fill-point): Don't break lines before a
5248 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5249 (shr-find-fill-point): Remove the special checks for the quotation
5250 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5252 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5254 * net/eww.el (eww-form-textarea): Use a different face for
5255 textareas than text input since they have different keymaps
5258 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5260 * progmodes/python.el (python-nav-beginning-of-statement):
5261 Speed up (Bug#15295).
5263 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5265 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5266 the window configuration.
5268 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5270 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5271 we run on MS-Windows or MS-DOS.
5273 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5275 * window.el (balance-windows-area): Call window-size instead of
5276 window-height and window-width. Bug#16241.
5278 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5280 * net/eww.el (eww-bookmark-quit): Remove.
5281 (eww-bookmark-browse): Restore the window configuration when you
5282 choose a bookmark (bug#16144).
5284 2013-12-24 Daniel Colascione <dancol@dancol.org>
5286 * icomplete.el: Remove redundant :group arguments to `defcustom'
5288 (icomplete-show-matches-on-no-input): New customizable variable.
5289 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5290 we have something to show.
5291 (icomplete-exhibit): Compute completions even if we have no user input.
5293 2013-12-23 Daniel Colascione <dancol@dancol.org>
5295 * icomplete.el: Move `provide' to end of file.
5297 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5299 * net/gnutls.el (gnutls-verify-error): Add version tag.
5301 2013-12-23 Chong Yidong <cyd@gnu.org>
5303 * subr.el (set-transient-map): Rename from
5304 set-temporary-overlay-map. Doc fix.
5306 * face-remap.el (text-scale-adjust):
5307 * indent.el (indent-rigidly):
5308 * kmacro.el (kmacro-call-macro):
5309 * minibuffer.el (minibuffer-force-complete):
5310 * repeat.el (repeat):
5311 * simple.el (universal-argument--mode):
5312 * calendar/todo-mode.el (todo-insert-item--next-param):
5313 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5315 * indent.el (indent-rigidly): Use substitute-command-keys.
5317 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5319 * net/eww.el (eww-tag-select): Add text-property to jump to next
5321 (eww): Add non-supported ftp error.
5323 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5325 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5326 comments. Handle electric indent after typing `?' and `!'.
5328 2013-12-22 Chong Yidong <cyd@gnu.org>
5330 * faces.el (face-spec-recalc): If the theme specs are not
5331 applicable to a frame, fall back on the defface spec.
5332 This prevents themes from obliterating faces on low-color terminals.
5334 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5336 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5337 after `{'. We need it after block openers, and it doesn't seem
5338 to hurt after hash openers.
5340 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5342 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5343 extracted from `ruby-smie-rules'.
5344 (ruby--electric-indent-chars): New variable.
5345 (ruby--electric-indent-p): New function.
5346 (ruby-mode): Use `electric-indent-functions' instead of
5347 `electric-indent-chars'.
5349 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5351 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5353 (ruby-smie-rules): Indent plus one level after `=>'.
5355 2013-12-21 Richard Stallman <rms@gnu.org>
5357 * simple.el (newline): Doc fix.
5359 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5361 * net/eww.el (eww-list-histories, eww-list-histories)
5362 (eww-history-browse, eww-history-quit, eww-history-kill)
5363 (eww-history-mode-map, eww-history-mode): New command and
5364 functions to list browser histories.
5365 (eww-form-text): Support text form with disabled
5366 and readonly attributes.
5367 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5369 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5371 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5372 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5373 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5374 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5376 (eww-bookmark-mode-map): Add menu.
5377 (eww-render, eww-mode): Use `setq-local'.
5378 (eww-tool-bar-map): New variable.
5379 (eww-mode): Set `tool-bar-map'.
5380 (eww-view-source): Check for `html-mode' with `fboundp'.
5382 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5384 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5385 elements with text inside. Also remove debugging.
5387 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5389 * cus-start.el (all): Add ns-use-srgb-colorspace.
5391 2013-12-21 Chong Yidong <cyd@gnu.org>
5393 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5394 undefined. Thus, theme settings for undefined faces do not take
5395 effect until the faces are defined with defface, the same as with
5398 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5399 (face-spec-reset-face): Don't assign extra properties in temacs.
5400 (face-spec-recalc): Apply X resources too.
5402 2013-12-21 Chong Yidong <cyd@gnu.org>
5404 * faces.el (face-spec-set):
5405 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5406 * custom.el (defface): Doc fixes (Bug#16203).
5408 * indent.el (indent-rigidly-map): Add docstring, and move commands
5409 into named functions.
5410 (indent-rigidly-left, indent-rigidly-right)
5411 (indent-rigidly-left-to-tab-stop)
5412 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5413 indentation direction based on bidi direction, and accumulate
5414 sequential commands in a single undo boundary.
5415 (indent-rigidly--pop-undo): New utility function.
5417 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5419 * faces.el (read-face-name): Require crm.el when using crm-separator.
5421 2013-12-20 Daniel Colascione <dancol@dancol.org>
5423 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5424 so that we don't reflow comments into the shebang line.
5426 2013-12-20 Juri Linkov <juri@jurta.org>
5428 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5429 a position when `dired-directory' is non-nil. Check integer
5430 positions with `integerp'.
5431 (toggle-save-place, save-places-to-alist): Add check for
5433 (save-place-find-file-hook): Check integer positions with
5435 (save-place-dired-hook): Use `dired-goto-file' when
5436 `dired-filename' is found in the assoc list. Check integer
5437 positions with `integerp'.
5438 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5440 * dired.el (dired-initial-position-hook): Rename back from
5441 `dired-initial-point-hook'.
5442 (dired-initial-position): Rename `dired-initial-point-hook' to
5443 `dired-initial-position-hook'.
5444 (dired-file-name-at-point): Doc fix. (Bug#15329)
5446 2013-12-20 Juri Linkov <juri@jurta.org>
5448 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5449 (read-regexp-suggestions): New function.
5450 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5451 Use `read-regexp-suggestions'. Add non-empty default to history
5453 (occur-read-regexp-defaults-function): Remove function.
5454 (occur-read-primary-args): Use `regexp-history-last' instead of
5455 `occur-read-regexp-defaults-function'.
5457 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5458 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5459 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5460 `hi-lock-read-regexp-defaults-function'. Doc fix.
5461 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5462 with `find-tag-default-as-symbol-regexp'. Doc fix.
5463 (hi-lock-read-regexp-defaults): Remove function.
5464 (hi-lock-regexp-okay): Add check for null.
5466 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5467 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5469 * subr.el (find-tag-default-as-symbol-regexp): New function.
5470 (find-tag-default-as-regexp): Move symbol regexp formatting to
5471 `find-tag-default-as-symbol-regexp'.
5473 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5475 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5478 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5480 * calendar/todo-mode.el: New implementation of item insertion
5481 commands and key bindings.
5482 (todo-key-prompt): New face.
5483 (todo-insert-item): New command.
5484 (todo-insert-item--parameters): New defconst, replacing defvar
5485 todo-insertion-commands-args-genlist.
5486 (todo-insert-item--param-key-alist): New defconst, replacing
5487 defvar todo-insertion-commands-arg-key-list.
5488 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5489 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5490 (todo-insert-item--next-param): New functions.
5491 (todo-insert-item--args, todo-insert-item--argleft)
5492 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5494 (todo-key-bindings-t): Change binding of "i" from
5495 todo-insertion-map to todo-insert-item.
5496 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5497 (todo-insertion-command-name, todo-insertion-commands-names)
5498 (todo-define-insertion-command, todo-insertion-commands)
5499 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5501 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5503 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5504 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5506 (todo-move-category): Allow choosing a non-existing todo file to
5507 move the category to, and create that file.
5508 (todo-default-priority): New user option.
5509 (todo-set-item-priority): Use it.
5510 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5511 (desktop-restore-file-buffer): Declare.
5512 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5513 (todo-modes-set-2): Locally set desktop-save-buffer to
5514 todo-desktop-save-buffer.
5515 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5516 (auto-mode-alist): Add autoload cookie.
5518 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5520 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5521 helpers.el was a poor choice of name.
5522 (string-remove-prefix): New function.
5523 (string-remove-suffix): New function.
5525 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5527 Fix assignment for new window total sizes.
5528 * window.el (window--pixel-to-size): Remove function.
5529 (window--pixel-to-total-1, window--pixel-to-total):
5530 Fix calculation of new total sizes.
5532 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5534 * comint.el (comint-output-filter): Fix rear-nonsticky property
5535 placement (Bug#16010).
5537 2013-12-20 Chong Yidong <cyd@gnu.org>
5539 * faces.el (read-color): Minor fix for completion function.
5541 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5543 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5544 New option. (Bug#16182)
5545 (ruby-smie--indent-to-stmt-p): Use it.
5546 (ruby-smie-rules): Revert the logic in the handling of `when'.
5547 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5548 (ruby-deep-arglist, ruby-deep-indent-paren)
5549 (ruby-deep-indent-paren-style): Update docstrings to note that the
5550 vars don't have any effect with SMIE.
5552 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5554 * calc/calc.el (calc-enter, calc-pop): Use the variable
5555 `calc-context-sensitive-enter'.
5557 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5559 * net/shr.el (shr-insert): Protect against infloops in degenerate
5562 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5564 * progmodes/octave.el (octave): Add link to manual and octave
5566 (octave-mode-menu): Link to octave-mode manual.
5568 2013-12-20 Leo Liu <sdl.web@gmail.com>
5570 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5571 insertion using skeleton-end-newline. (Bug#16138)
5573 2013-12-20 Juri Linkov <juri@jurta.org>
5575 * replace.el (occur-engine): Use `add-face-text-property'
5576 to add the face property to matches and titles. (Bug#14645)
5578 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5579 the palette of other hi-lock colors.
5580 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5582 2013-12-19 Juri Linkov <juri@jurta.org>
5584 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5585 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5586 (minibuffer-history-symbol): Move variable declaration closer to
5589 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5592 2013-12-19 Juri Linkov <juri@jurta.org>
5594 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5596 (log-edit-hook): Add it to :options. (Bug#16170)
5598 2013-12-19 Juri Linkov <juri@jurta.org>
5600 * simple.el (eval-expression-print-format): Don't check for
5601 command names and the last command. Always display additional
5602 formats of the integer result in the echo area, and insert them
5603 to the current buffer only with a zero prefix arg.
5604 Display character when char-displayable-p is non-nil.
5605 (eval-expression): With a zero prefix arg, set `print-length' and
5606 `print-level' to nil, and insert the integer values from
5607 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5609 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5610 `eval-last-sexp-arg-internal'. Doc fix.
5611 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5612 `eval-last-sexp-print-value'. Doc fix.
5613 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5614 Set `print-length' and `print-level' to nil when arg is zero.
5615 (eval-last-sexp): Doc fix.
5616 (eval-defun-2): Print the integer values from
5617 `eval-expression-print-format' at the end.
5619 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5620 values from `eval-expression-print-format' at the end.
5622 * ielm.el (ielm-eval-input): Print the integer
5623 values from `eval-expression-print-format' at the end.
5625 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5627 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5628 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5630 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5633 (hl-line-highlight, global-hl-line-highlight): Use it.
5634 (hl-line-overlay): Use defvar-local.
5636 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5638 * term/ns-win.el: Require dnd.
5639 (global-map): Remove drag items.
5640 (ns-insert-text, ns-set-foreground-at-mouse)
5641 (ns-set-background-at-mouse):
5642 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5643 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5646 2013-12-19 Glenn Morris <rgm@gnu.org>
5648 * emacs-lisp/ert.el (ert-select-tests):
5649 Fix string/symbol mixup. (Bug#16121)
5651 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5653 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5654 keywords to their parent.
5656 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5658 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5659 first arg to be a string (fixed dead code), or an operator symbol.
5660 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5662 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5663 did nothing. Don't respond to `(:after ".")', it will be called
5664 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5665 change anything. Only return indentation for binary operators
5666 when they are hanging. De-dent opening paren when its parent is
5667 `.', otherwise it looks bad when the dot is not at bol or eol
5670 2013-12-19 Juri Linkov <juri@jurta.org>
5672 * replace.el (query-replace-read-args): Split a non-negative arg
5673 and a negative arg into separate elements.
5674 (query-replace, query-replace-regexp, replace-string)
5675 (replace-regexp): Add arg `backward'. Doc fix.
5676 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5677 move point to the beginning of the match.
5678 (replace-search, replace-highlight): Use new arg `backward'
5679 to set the value of `isearch-forward'.
5680 (perform-replace): Add arg `backward' and use it to perform
5681 replacement backward. (Bug#14979)
5683 * isearch.el (isearch-query-replace): Use a negative prefix arg
5684 to call `perform-replace' with a non-nil arg `backward'.
5686 2013-12-18 Juri Linkov <juri@jurta.org>
5688 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5689 to the default list. Move `log-edit-show-files' to the end.
5690 Add more available functions to options.
5691 (log-edit): Move default specific settings to
5692 `log-edit-insert-message-template'. Don't move point.
5693 (log-edit-insert-message-template): New function.
5694 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5697 2013-12-18 Juri Linkov <juri@jurta.org>
5699 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5700 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5702 2013-12-18 Leo Liu <sdl.web@gmail.com>
5704 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5707 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5709 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5710 formats for displaying file sizes when the -s switch is given.
5711 Instead, compute a separate format for displaying the size in
5712 blocks, which is displayed in addition to the "regular" size.
5713 When -h is given in addition to -s, produce size in blocks in
5714 human-readable form as well. (Bug#16179)
5716 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5718 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5719 Reference tables with ~\ref{...} instead of only \ref{...}.
5721 2013-12-18 Chong Yidong <cyd@gnu.org>
5723 * cus-edit.el (custom-magic-alist): Fix "themed" description
5726 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5727 is non-nil, do not create a new entry in the symbol's theme-value
5728 or theme-face property; update theme-settings only (Bug#14664).
5729 (custom-available-themes): Doc fix.
5731 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5734 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5736 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5738 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5741 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5743 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5745 2013-12-18 Glenn Morris <rgm@gnu.org>
5747 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5748 * cus-start.el (load-prefer-newer): New option.
5750 2013-12-18 Le Wang <l26wang@gmail.com>
5752 * comint.el (comint-previous-matching-input-from-input):
5753 Retain point (Bug#13404).
5755 2013-12-18 Chong Yidong <cyd@gnu.org>
5757 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5759 2013-12-18 Glenn Morris <rgm@gnu.org>
5761 * mail/emacsbug.el (report-emacs-bug):
5762 Only mention enable-multibyte-characters if non-standard.
5764 2013-12-17 Juri Linkov <juri@jurta.org>
5766 * arc-mode.el (archive-extract-by-file): Check if directory exists
5767 before deletion to not show irrelevant errors if it doesn't exist.
5769 2013-12-17 Juri Linkov <juri@jurta.org>
5771 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5774 * net/eww.el (browse-web): Add alias to `eww'.
5775 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5776 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5778 * net/browse-url.el (browse-url-browser-function): Move `eww'
5779 closer to similar functions.
5781 * startup.el (fancy-startup-screen, fancy-about-screen):
5782 Set browse-url-browser-function to eww-browse-url locally.
5785 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5787 * window.el (window--pixel-to-total): Remove unused `mini' var.
5788 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5789 (split-window): Remove unused `new' var.
5790 (window--display-buffer): Remove unused `frame' and `delta' vars.
5791 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5794 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5796 * dired.el (dired-mark-pop-up):
5797 * register.el (register-preview): Don't bind
5798 split-height-threshold here since it's now done in
5799 display-buffer-below-selected.
5801 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5803 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5804 xterm-rgb-convert-to-16bit.
5805 (rxvt-register-default-colors): Standardize with
5806 xterm-register-default-colors (Bug#14078).
5808 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5810 * simple.el (kill-region): Pass mark first, then point, so that
5811 kill-append works right (Bug#12819).
5812 (copy-region-as-kill, kill-ring-save): Likewise.
5814 2013-12-17 Leo Liu <sdl.web@gmail.com>
5816 * net/rcirc.el (rcirc-add-face):
5817 * eshell/em-prompt.el (eshell-emit-prompt):
5818 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5821 2013-12-17 Chong Yidong <cyd@gnu.org>
5823 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5824 Suggested by Xue Fuqiao.
5826 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5828 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5830 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5832 * net/shr.el (shr-insert-document): Remove unused var
5833 `shr-preliminary-table-render'.
5834 (shr-rescale-image): Remove unused arg `force'.
5835 (shr-put-image): Update calls accordingly.
5836 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5838 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5840 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5841 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5842 :close-all, to see which indentation method to use (Bug#16116).
5843 (smie-rules-function): Document the method :close-all.
5845 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5847 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5849 * net/eww.el (eww-display-html): If we can't find the anchor we're
5850 looking for, then go to point-min.
5852 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5854 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5855 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5856 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5857 Expand dir too, in case it's relative.
5859 2013-12-16 Juri Linkov <juri@jurta.org>
5861 * desktop.el (desktop-auto-save-timeout): Change default to
5862 `auto-save-timeout'. Doc fix.
5863 (desktop-save): Skip the timestamp in desktop-saved-frameset
5864 when checking for auto-save changes.
5865 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5866 `desktop-auto-save' is called repeatedly by the idle timer.
5867 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5868 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5871 2013-12-16 Juri Linkov <juri@jurta.org>
5873 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5875 (isearch-pre-command-hook): Check `this-command' for symbolp.
5877 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5881 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5883 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5884 (cfengine3--current-function): Bring in the current-function
5885 functionality from `cfengine3--current-word'.
5886 (cfengine3-completion-function): Bring in the
5887 bounds-of-current-word functionality from
5888 `cfengine3--current-word'.
5890 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5892 * window.el (display-buffer-below-selected):
5893 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5895 2013-12-16 Leo Liu <sdl.web@gmail.com>
5897 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5898 Remove NOMSG arg and all uses changed.
5900 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5902 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5903 (cua--deactivate-rectangle): Don't deactivate the mark.
5904 (cua-set-rectangle-mark): Don't set mark-active since
5905 cua--activate-rectangle already does it for us.
5906 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5907 non-rectangular region.
5909 * emulation/cua-base.el (cua-repeat-replace-region):
5910 Use with-current-buffer.
5912 * net/gnutls.el: Use cl-lib.
5913 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5915 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5917 * emacs-lisp/package.el (package-built-in-p): Support both
5918 built-in and the package.el converted package descriptions.
5919 (package-show-package-list): Allow keywords.
5920 (package-keyword-button-action): Use it instead of
5921 `finder-list-matches'.
5922 (package-menu-filter-interactive): Interactive filtering (by
5924 (package-menu--generate): Support keywords and change keymappings
5925 and headers when they are given.
5926 (package--has-keyword-p): Helper function.
5927 (package-menu--refresh): Use it.
5928 (package--mapc): Helper function.
5929 (package-all-keywords): Use it.
5930 (package-menu-mode-map): Set up menu items and keybindings to
5931 provide a filtering UI.
5933 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5935 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5936 the behavior when a certificate fails validation. Defaults to
5937 old behavior: never abort, just warn.
5938 (gnutls-negotiate): Use it.
5940 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5942 * window.el (display-buffer-below-selected): Never split window
5943 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5945 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5947 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5948 (package-buffer-info): Use it (bug#15108).
5950 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * icomplete.el (icomplete-completions): Make sure the prefix is already
5953 displayed elsewhere before hiding it (bug#16219).
5955 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5957 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5958 open-paren tokens when preceded by a open-paren, too.
5959 (ruby-smie-rules): Handle virtual indentation after open-paren
5960 tokens specially. If there is code between it and eol, return the
5961 column where is starts (Bug#16118).
5963 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5965 * progmodes/cfengine.el: Fix `add-hook' doc.
5966 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5967 (cfengine3--current-word): Fix parameters.
5968 (cfengine3-make-syntax-cache): Simplify further.
5969 (cfengine3-completion-function, cfengine3--current-function):
5970 Use `assq' for symbols.
5971 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5973 2013-12-13 Glenn Morris <rgm@gnu.org>
5975 * loadup.el (load-path): Warn if site-load or site-init changes it.
5976 No more need to reset it when bootstrapping.
5978 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5980 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5981 locations for cf-promises.
5982 (cfengine-mode-syntax-functions-regex): New caching variable.
5983 (cfengine3-fallback-syntax): Fallback syntax for cases where
5984 cf-promises doesn't run.
5985 (cfengine3--current-word): Reimplement using
5986 `cfengine-mode-syntax-functions-regex'.
5987 (cfengine3-completion-function, cfengine3--current-function):
5988 Use `cfengine3-make-syntax-cache' directly.
5989 (cfengine3-clear-syntax-cache): New function.
5990 (cfengine3-make-syntax-cache): Simplify and create
5991 `cfengine-mode-syntax-functions-regex' on demand.
5992 (cfengine3-format-function-docstring): Don't call
5993 `cfengine3-make-syntax-cache' explicitly.
5995 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5997 Fix windmove-find-other-window broken after pixelwise resizing
5999 * windmove.el (windmove-other-window-loc): Revert change from
6001 (windmove-find-other-window): Call window-in-direction.
6002 * window.el (window-in-direction): New arguments SIGN, WRAP and
6003 MINI to emulate original windmove-find-other-window behavior.
6005 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6007 * simple.el (blink-matching--overlay): New variable.
6008 (blink-matching-open): Instead of moving point, highlight the
6009 matching paren with an overlay
6010 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6012 * faces.el (paren-showing-faces, show-paren-match)
6013 (show-paren-mismatch): Move from paren.el.
6015 2013-12-13 Leo Liu <sdl.web@gmail.com>
6017 * indent.el (indent-region): Disable progress reporter in
6018 minibuffer. (Bug#16108)
6020 * bindings.el (visual-order-cursor-movement): Fix version.
6022 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6024 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6025 Also match after beginning of line.
6026 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6027 files. Thanks to Russell Sim. (Bug#15378)
6029 2013-12-13 Juri Linkov <juri@jurta.org>
6031 * simple.el <Keypad support>: Remove key bindings duplicated
6032 with bindings.el. (Bug#14397)
6034 2013-12-13 Juri Linkov <juri@jurta.org>
6036 * comint.el (comint-mode-map): Replace `delete-char' with
6037 `delete-forward-char'. (Bug#16109)
6039 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6041 * progmodes/python.el (python-indent-calculate-indentation):
6042 Fix de-denters cornercase. (Bug#15731)
6044 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6047 (advice--make): Pay attention to `depth'.
6048 (advice--make-1): Don't autoload commands eagerly.
6049 * emacs-lisp/elp.el (elp-instrument-function):
6050 * emacs-lisp/trace.el (trace-function-internal):
6051 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6053 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6055 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6057 * term/w32-win.el (w32-handle-dropped-file):
6058 * startup.el (normal-top-level):
6059 * net/browse-url.el (browse-url-file-url):
6060 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6061 decode file names using 'utf-8' rather than
6062 file-name-coding-system.
6064 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6066 * progmodes/python.el (python-indent-context)
6067 (python-indent-calculate-indentation): Fix auto-identation
6068 behavior for comment blocks. (Bug#15916)
6070 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6072 * progmodes/python.el (python-indent-calculate-indentation):
6073 When determining indentation, don't treat "return", "pass", etc., as
6074 operators when they are just string constituents. (Bug#15812)
6076 2013-12-12 Juri Linkov <juri@jurta.org>
6078 * uniquify.el (uniquify-buffer-name-style): Change default to
6079 `post-forward-angle-brackets'.
6081 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6082 `uniquify'. Change default to `post-forward-angle-brackets'.
6084 2013-12-11 Glenn Morris <rgm@gnu.org>
6086 * emacs-lisp/package.el (finder-list-matches):
6087 Autoload rather than falsely declaring.
6089 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6091 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6092 (eww-mode-map): Use them.
6094 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6096 * window.el (display-buffer-in-side-window): Fix doc-string
6099 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6101 * vc/vc-git.el: Silence byte-compiler warnings.
6102 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6103 (log-edit-set-header): Declare.
6105 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6107 * Makefile.in (custom-deps, finder-data): Run output file names
6108 through unmsys--file-name. (Bug#16099)
6110 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6112 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6113 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6115 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6116 instead of deleting the selection "by hand" (bug#16098).
6117 Rely on insert-for-yank to yank rectangles.
6118 (cua-highlight-region-shift-only): Mark obsolete.
6119 (cua-mode): Don't enable/disable transient-mark-mode,
6120 shift-select-mode (cua-mode works both with and without them), and
6121 pc-selection-mode (obsolete).
6122 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6123 (cua--deactivate-rectangle): Deactivate it.
6125 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6126 (delete-selection-helper): Make sure yank starts at the top of the
6128 (minibuffer-keyboard-quit): Use region-active-p.
6130 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6132 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6133 to `delete' (bug#16109).
6135 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6137 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6138 info manual and show keybindings and set `:group' keyword.
6140 2013-12-11 Juri Linkov <juri@jurta.org>
6142 * delsel.el (delete-active-region): Let-bind `this-command'
6143 to prevent `kill-region' from changing its original value.
6144 (delete-selection-helper): Handle `overwrite-mode' for the type
6145 `kill' exactly the same way as for the type `t'.
6146 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6147 Support more commands. (Bug#13312)
6149 2013-12-11 Juri Linkov <juri@jurta.org>
6151 * bindings.el: Map kp keys to non-kp keys systematically
6152 with basic modifiers control, meta and shift. (Bug#14397)
6154 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6156 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6157 "Close browser" menu items. Fix wrong function of "List
6160 2013-12-11 Juri Linkov <juri@jurta.org>
6162 * misearch.el (multi-isearch-buffers): Set the value of
6163 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6164 arg of isearch-forward to t.
6165 (multi-isearch-buffers-regexp): Set the value of
6166 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6167 arg of isearch-forward-regexp to t.
6168 (multi-isearch-files): Set the value of
6169 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6170 arg of isearch-forward to t.
6171 (multi-isearch-files-regexp): Set the value of
6172 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6173 arg of isearch-forward-regexp to t. (Bug#16035)
6175 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6176 arg of isearch-forward to t.
6177 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6178 arg of isearch-forward-regexp to t.
6179 (dired-isearch-filter-filenames): Remove unnecessary check for
6180 `dired-isearch-filenames'.
6182 * comint.el (comint-history-isearch-backward):
6183 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6184 (comint-history-isearch-backward-regexp):
6185 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6187 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6189 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6190 unmsys--file-name. (Bug#16099)
6192 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6194 * emacs-lisp/package.el (package-keyword-button-action):
6195 Remove finder.el require dependency.
6197 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6199 * emacs-lisp/package.el: Require finder.el.
6200 (describe-package-1): Add keyword buttons.
6201 (package-make-button): New convenience function.
6202 (package-keyword-button-action): Keyword button action using
6203 `finder-list-matches'.
6205 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6207 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6210 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6212 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6215 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6217 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6218 after the end of a percent literal.
6220 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6222 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6223 Handle caret-delimited strings (Bug#16079).
6225 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6227 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6228 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6229 `ruby-parse-partial' (Bug#16078).
6231 2013-12-09 Leo Liu <sdl.web@gmail.com>
6233 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6235 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6237 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6238 (js-switch-indent-offset): New option.
6239 (js--proper-indentation): Use it. And handle the case when
6240 "default" is actually a key in an object literal.
6241 (js--same-line): New function.
6242 (js--multi-line-declaration-indentation): Use it.
6243 (js--indent-in-array-comp, js--array-comp-indentation):
6245 (js--proper-indentation): Use them, to handle array comprehension
6248 2013-12-08 Leo Liu <sdl.web@gmail.com>
6250 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6251 (flymake-make-overlay): Remove arg MOUSE-FACE.
6252 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6254 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6258 (redisplay-highlight-region-function): Use it.
6260 * emulation/cua-base.el (cua--explicit-region-start)
6261 (cua--last-region-shifted): Remove.
6262 (cua--deactivate): Use deactivate-mark.
6263 (cua--pre-command-handler-1): Don't handle shift-selection.
6264 (cua--post-command-handler-1): Don't change transient-mark-mode.
6265 (cua--select-keymaps): Use region-active-p rather than
6266 cua--explicit-region-start or cua--last-region-shifted.
6267 (cua-mode): Enable shift-select-mode.
6269 2013-12-08 Leo Liu <sdl.web@gmail.com>
6271 * progmodes/flymake.el (flymake-popup-current-error-menu):
6272 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6273 (flymake-posn-at-point-as-event, flymake-popup-menu)
6274 (flymake-make-emacs-menu): Remove. (Bug#16077)
6276 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6278 * rect.el (rectangle-mark-mode): Activate mark even if
6279 transient-mark-mode is off (bug#16066).
6280 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6281 is > mark and at bolp.
6283 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6284 (region-extract-function): Use it.
6285 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6286 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6288 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6289 kill-ring-save, kill-region, delete-char, delete-forward-char.
6290 Ignore self-insert-iso.
6292 * emulation/cua-gmrk.el (cua--init-global-mark):
6293 Ignore `self-insert-iso'.
6295 * emulation/cua-base.el (cua--prefix-copy-handler)
6296 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6297 checking cua--rectangle.
6298 (cua-delete-region): Use region-extract-function.
6299 (cua-replace-region): Delete function.
6300 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6301 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6302 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6303 (cua--init-keymaps): Don't remap delete-selection commands.
6304 (cua-mode): Use delete-selection-mode instead of rolling our own
6307 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6308 Obey region-extract-function.
6310 Make registers and delete-selection-mode work on rectangles.
6311 * register.el (describe-register-1): Don't modify the register's value.
6312 (copy-to-register): Obey region-extract-function.
6313 * delsel.el (delete-active-region): Obey region-extract-function.
6315 2013-12-08 Leo Liu <sdl.web@gmail.com>
6317 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6318 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6319 (flymake-compilation-prevents-syntax-check)
6320 (flymake-start-syntax-check-on-newline)
6321 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6322 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6323 (flymake-xml-program, flymake-master-file-dirs)
6324 (flymake-master-file-count-limit)
6325 (flymake-allowed-file-name-masks): Relocate.
6326 (flymake-makehash, flymake-float-time)
6327 (flymake-replace-regexp-in-string, flymake-split-string)
6328 (flymake-get-temp-dir): Remove.
6329 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6330 (flymake-current-row, flymake-selected-frame)
6331 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6332 related functions. (Bug#16077)
6334 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6336 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6338 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6340 * help-fns.el (describe-function-1): Use new advice-* functions
6341 rather than old ad-* functions. Fix function type description and
6342 source links for advised functions and subrs.
6344 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6348 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6350 * progmodes/compile.el (compilation-start):
6351 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6353 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6354 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6356 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6358 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6359 Touch up the last change.
6361 2013-12-06 Leo Liu <sdl.web@gmail.com>
6363 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6364 (inferior-octave-startup): Always use "octave> " for prompt.
6365 (octave-goto-function-definition)
6366 (octave-sync-function-file-names)
6367 (octave-find-definition-default-filename): Remove redundant backquotes.
6369 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6371 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6373 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6374 where appropriate already.
6375 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6376 end of method names (Bug#15874).
6378 2013-12-06 Juri Linkov <juri@jurta.org>
6380 * isearch.el (isearch--saved-overriding-local-map):
6381 New internal variable.
6382 (isearch-mode): Set it to the initial value of
6383 `overriding-terminal-local-map'.
6384 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6385 with `isearch--saved-overriding-local-map'. (Bug#16035)
6387 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6389 * progmodes/octave.el (inferior-octave-completion-table):
6390 Turn back into function, use `completion-table-with-cache'
6391 (Bug#11906). Update all references.
6393 * minibuffer.el (completion-table-with-cache): New function.
6395 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6397 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6399 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6401 * net/eww.el (eww-current-source): New variable to store page
6403 (eww-display-html, eww-mode, eww-save-history)
6404 (eww-restore-history): Use it.
6405 (eww-view-source): New command to view page source.
6406 Opportunistically uses `html-mode' to highlight the buffer.
6407 (eww-mode-map): Install it.
6409 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6411 * net/dbus.el (dbus-unregister-service)
6412 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6414 (dbus-unregister-service): Skip :serial entries in
6415 `dbus-registered-objects-table'.
6416 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6418 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6420 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6421 around keywords with extra `split-string' argument.
6423 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6425 * windmove.el (windmove-other-window-loc): Handle navigation
6426 between windows (excluding the minibuffer window - Bug#16017).
6428 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6430 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6431 in D-Bus type syntax.
6432 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6433 preserve unibyte strings. (Bug#16048)
6435 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6437 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6438 Call force-mode-line-update is the proper buffer (bug#16042).
6440 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6442 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6443 `log-edit-remember-comment', make argument optional. Adjust all
6445 (log-edit-mode): Add `log-edit-remember-comment' to
6446 `kill-buffer-hook' locally.
6447 (log-edit-kill-buffer): Don't remember comment explicitly since
6448 the buffer is killed anyway.
6450 2013-12-04 Juri Linkov <juri@jurta.org>
6452 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6453 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6455 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6457 * notifications.el (notifications-close-notification): Call the
6458 D-Bus method with ID being a `:uint32'. (Bug#16030)
6460 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6462 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6464 2013-12-03 Juri Linkov <juri@jurta.org>
6466 * progmodes/compile.el (compilation-start): Rename window alist
6467 entry `no-display-ok' to `allow-no-window'.
6469 * simple.el (shell-command): Add window alist entry
6470 `allow-no-window' to `display-buffer'.
6471 (async-shell-command): Doc fix.
6473 * window.el (display-buffer-no-window): New action function.
6474 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6476 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6478 * vc/log-edit.el (log-edit-set-header): Extract from
6479 `log-edit-toggle-header'.
6480 (log-edit-extract-headers): Separate the summary, when extracted
6481 from header, from the rest of the message with an empty line.
6483 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6484 line, if present, to the Summary header.
6486 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6489 in current-buffer (bug#16029).
6491 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6493 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6494 (debugger-mode-map): Bind it.
6495 (debugger--backtrace-base): New function.
6496 (debugger-eval-expression): Use it.
6497 (debugger-frame-number): Skip local vars when present.
6498 (debugger--locals-visible-p, debugger--insert-locals)
6499 (debugger--show-locals, debugger--hide-locals): New functions.
6501 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6503 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6505 (tramp-get-remote-locale): New defun.
6506 (tramp-open-connection-setup-interactive-shell): Use it.
6508 2013-12-02 Leo Liu <sdl.web@gmail.com>
6510 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6512 * progmodes/sh-script.el (sh-shell-process):
6513 * progmodes/octave.el (inferior-octave-process-live-p):
6514 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6515 (gdb-inferior-io-sentinel):
6516 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6518 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6520 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6521 `save-selected-window' to `log-edit-hide-buf'. This makes
6522 `log-edit-show-files' idempotent.
6523 (log-edit-show-files): Mark the new window as dedicated.
6525 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6527 * vc/log-edit.el (log-edit-mode-map): Add binding for
6528 `log-edit-kill-biffer'.
6529 (log-edit-hide-buf): Add a FIXME comment.
6530 (log-edit-add-new-comment): New function, extracted from
6532 (log-edit-done, log-edit-add-to-changelog): Use it.
6533 (log-edit-kill-buffer): New command.
6535 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6537 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6538 instead of killing the buffer.
6540 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6544 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6546 * net/eww.el (eww-form-checkbox-selected-symbol)
6547 (eww-form-checkbox-symbol): New customizable variable.
6548 (eww-form-checkbox, eww-toggle-checkbox):
6549 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6551 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6552 (shr--get-media-pref, shr--extract-best-source): New function.
6553 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6554 no :src tag was specified.
6556 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6557 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6558 Use \\` to match beginning of string instead of ^.
6559 (eww-browse-with-external-browser): Provide optional URL parameter.
6560 (eww-render): Set `eww-current-title' back to "".
6562 * net/shr.el (shr-tag-video): Display content for video if no
6563 poster is available.
6564 (shr-tag-audio): Add support for <audio> tag.
6566 * net/eww.el (eww-text-input-types): New const.
6567 (eww-process-text-input): Treat input types in
6568 `eww-text-input-types' as text.
6570 * net/shr.el (shr-tag-table): Fix comment typo.
6572 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574 * net/eww.el (eww-follow-link): New command to avoid reloading
6575 pages when we follow #target links (bug#15243).
6576 (eww-quit): Special mode buffers shouldn't query before exiting.
6578 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6580 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6583 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6585 * net/eww.el (eww-restore-history): Update the window title after
6586 moving in the history.
6587 (eww-current-dom): New variable used to save the current DOM.
6589 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6591 * vc/log-edit.el (log-edit-mode-map): Add binding for
6592 `log-edit-beginning-of-line'.
6593 (log-edit-setup-add-author): New user option.
6594 (log-edit-beginning-of-line): New command.
6595 (log-edit): Move major mode call above the contents setup so that
6596 the local variable values are already applied.
6597 (log-edit): Only insert "Author: " when
6598 `log-edit-setup-add-author' is non-nil.
6599 (log-edit): When SETUP is non-nil, position point after ": "
6600 instead of point-min.
6602 2013-12-01 Glenn Morris <rgm@gnu.org>
6604 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6606 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6608 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6609 redisplay to make sure the initial frame gets a chance to become
6610 visible. (Bug#16014)
6612 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6614 Support resizing frames and windows pixelwise.
6615 * cus-start.el (frame-resize-pixelwise)
6616 (window-resize-pixelwise): New entries.
6617 * emacs-lisp/debug.el (debug): Use window-total-height instead
6618 of window-total-size.
6619 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6620 * help.el (describe-bindings-internal): Use help-buffer as
6621 argument for with-help-window.
6622 (temp-buffer-max-width): New option.
6623 (resize-temp-buffer-window, help-window-setup)
6624 (with-help-window): Rewrite.
6625 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6627 * window.el (frame-char-size, window-min-pixel-height)
6628 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6629 (window-min-pixel-width, window-safe-min-pixel-size)
6630 (window-combination-p, window-safe-min-size)
6631 (window-resizable-p, window--size-to-pixel)
6632 (window--pixel-to-size, window--resize-apply-p): New functions.
6633 (window-safe-min-height): Fix doc-string.
6634 (window-size, window-min-size, window--min-size-1)
6635 (window-sizable, window-sizable-p, window--min-delta-1)
6636 (window-min-delta, window--max-delta-1, window-max-delta)
6637 (window--resizable, window--resizable-p, window-resizable)
6638 (window-full-height-p, window-full-width-p, window-at-side-p)
6639 (window--in-direction-2, window-in-direction)
6640 (window--resize-reset-1, window--resize-mini-window)
6641 (window-resize, window-resize-no-error)
6642 (window--resize-child-windows-normal)
6643 (window--resize-child-windows, window--resize-siblings)
6644 (window--resize-this-window, window--resize-root-window)
6645 (window--resize-root-window-vertically)
6646 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6647 (maximize-window, minimize-window, delete-window)
6648 (quit-restore-window, window-split-min-size, split-window)
6649 (balance-windows-2, balance-windows)
6650 (balance-windows-area-adjust, balance-windows-area)
6651 (window--state-get-1, window-state-get, window--state-put-1)
6652 (window--state-put-2, window-state-put)
6653 (display-buffer-record-window, window--display-buffer):
6654 Make functions handle pixelwise sizing of windows.
6655 (display-buffer--action-function-custom-type)
6656 (display-buffer-fallback-action):
6657 Add display-buffer-in-previous-window.
6658 (display-buffer-use-some-window): Resize window to height it had
6660 (fit-window-to-buffer-horizontally): New option.
6661 (fit-frame-to-buffer): Describe new values.
6662 (fit-frame-to-buffer-bottom-margin): Replace with
6663 fit-frame-to-buffer-margins.
6664 (window--sanitize-margin): New function.
6665 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6666 using window-text-pixel-size.
6668 2013-11-30 Glenn Morris <rgm@gnu.org>
6670 * emacs-lisp/bytecomp.el (byte-compile-form):
6671 Make the `interactive-only' warning like the `obsolete' one.
6672 * comint.el (comint-run):
6673 * files.el (insert-file-literally, insert-file):
6674 * replace.el (replace-string, replace-regexp):
6675 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6676 (goto-line, insert-buffer, next-line, previous-line):
6677 Tweak `interactive-only' spec.
6679 Stop keeping (most) generated cedet grammar files in the repository.
6680 * Makefile.in (semantic): New.
6681 (compile-main): Depend on semantic.
6683 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6686 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6688 * uniquify.el (uniquify-buffer-name-style): Change default.
6690 * loadup.el: Preload "uniquify".
6692 * time.el (display-time-update): Update all mode lines (bug#15999).
6694 * electric.el (electric-indent-mode): Enable by default.
6695 * loadup.el: Preload "electric".
6697 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6699 * emacs-lisp/helpers.el (string-empty-p): New function.
6700 (string-blank-p): New function.
6702 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6704 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6707 2013-11-29 Andreas Politz <politza@fh-trier.de>
6708 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6709 allow non-lambda lists as functions.
6710 (imenu--in-alist): Don't recurse into non-subalists.
6711 (imenu): Don't pass function itself as an argument (Bug#14029).
6713 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * progmodes/python.el (python-mode-map): Remove binding for ":".
6716 (python-indent-electric-colon): Remove command.
6717 (python-indent-post-self-insert-function): Integrate the previous code
6718 of python-indent-electric-colon. Make it conditional on
6719 electric-indent-mode.
6720 (python-mode): Add ?: to electric-indent-chars.
6721 Move python-indent-post-self-insert-function to the end of
6722 post-self-insert-hook.
6724 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6726 * doc-view.el (doc-view-goto-page): Update mode-line.
6728 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6730 2013-11-27 Glenn Morris <rgm@gnu.org>
6732 * international/charprop.el, international/uni-bidi.el:
6733 * international/uni-category.el, international/uni-combining.el:
6734 * international/uni-comment.el, international/uni-decimal.el:
6735 * international/uni-decomposition.el, international/uni-digit.el:
6736 * international/uni-lowercase.el, international/uni-mirrored.el:
6737 * international/uni-name.el, international/uni-numeric.el:
6738 * international/uni-old-name.el, international/uni-titlecase.el:
6739 * international/uni-uppercase.el:
6740 Remove generated files from VCS repository.
6742 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6744 * filenotify.el (file-notify-add-watch): Don't special-case
6745 w32notify when computing the directory to watch.
6747 2013-11-27 Glenn Morris <rgm@gnu.org>
6749 Make bootstrap without generated uni-*.el files possible again.
6750 * loadup.el: Update command-line-args checking for unidata-gen.
6751 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6752 * composite.el, international/characters.el:
6753 Handle unicode tables being undefined.
6755 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6756 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6757 (compile-main): Depend on leim rule.
6759 * loadup.el: Move leim-list.el to leim/ subdirectory.
6760 * startup.el (normal-top-level): No more leim directory.
6761 * international/ja-dic-cnv.el (skkdic-convert):
6762 Disable version-control and autoloads in output files.
6763 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6764 Disable version-control and autoloads in output files.
6765 * leim/quail: Move here from ../leim.
6766 * leim/quail/hangul.el (hangul-input-method-activate):
6767 Add autoload cookie.
6768 (generated-autoload-load-name): Set file-local value.
6769 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6770 (generated-autoload-load-name): Set file-local value.
6772 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6774 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6775 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6776 (eww-quit): Ask confirmation before quitting eww.
6778 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6780 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6781 reading output from Diff on MS-Windows and MS-DOS.
6783 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6785 * emacs-lisp/helpers.el (string-reverse): New function.
6787 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6789 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6790 names on MS Windows, like "/[::1]:".
6792 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6795 2013-11-26 Glenn Morris <rgm@gnu.org>
6797 * progmodes/python.el (python-indent-guess-indent-offset):
6798 Avoid corner-case error. (Bug#15975)
6800 Preload leim-list.el. (Bug#4789)
6801 * loadup.el: Load leim-list.el when found.
6802 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6804 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6806 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6808 * emacs-lisp/helpers.el (string-join): New function.
6810 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6813 Mark as obsolete and replace it with a symbol property.
6814 (byte-compile-form): Use new 'interactive-only property.
6815 * comint.el, files.el, replace.el, simple.el:
6816 Apply new 'interactive-only properly.
6818 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6820 * window.el (display-buffer-at-bottom): Make sure that
6821 split-window-sensibly creates the new window on bottom
6824 2013-11-23 David Kastrup <dak@gnu.org>
6826 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6827 on the conflict markers when available.
6828 (smerge--get-marker): New function.
6829 (smerge-end-re, smerge-base-re): Add subgroup.
6831 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * frame.el (handle-focus-in, handle-focus-out): Add missing
6836 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6838 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6839 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6841 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6844 (gomoku--last-pos): New var.
6845 (gomoku--intangible-chars): New const.
6846 (gomoku--intangible): New function.
6847 (gomoku-mode): Use it. Derive from special-mode.
6848 (gomoku-move-up): Adjust line count.
6849 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6850 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6851 Simplify accordingly.
6853 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6854 Remove blink-cursor code.
6855 (blink-cursor-timer-function, blink-cursor-suspend):
6856 Don't special-case GUIs.
6857 (blink-cursor-mode): Use focus-in/out-hook.
6859 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6861 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6862 work when annotation is invisible (Bug#13886).
6864 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6866 * json.el (json-alist-p): Only return non-nil if the alist has
6867 simple keys (Bug#13518).
6869 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6871 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6872 when control-statement is the first statement in a buffer (Bug#15956).
6874 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6876 * imenu.el (imenu-generic-skip-comments-and-strings):
6877 New option (Bug#15560).
6878 (imenu--generic-function): Use it.
6880 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6882 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6885 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6887 * emacs-lisp/helpers.el: Add some string helpers.
6888 (string-trim-left): Removes leading whitespace.
6889 (string-trim-right): Removes trailing whitespace.
6890 (string-trim): Removes leading and trailing whitespace.
6892 * subr.el (string-suffix-p): New function.
6894 2013-11-23 Glenn Morris <rgm@gnu.org>
6896 * progmodes/python.el (python-shell-send-file):
6897 Add option to delete file when done. (Bug#15647)
6898 (python-shell-send-string, python-shell-send-region): Use it.
6900 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6902 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6903 to set buffer-read-only to t, never to nil. (Bug#15938)
6905 * textmodes/tex-mode.el (latex-noindent-environments):
6906 Add safe-local-variable property. (Bug#15936)
6908 2013-11-23 Glenn Morris <rgm@gnu.org>
6910 * textmodes/enriched.el (enriched-mode): Doc fix.
6911 * emacs-lisp/authors.el (authors-renamed-files-alist):
6912 Add enriched.doc -> enriched.txt.
6914 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6916 2013-11-22 Leo Liu <sdl.web@gmail.com>
6918 * progmodes/octave.el (inferior-octave-startup): Spit out error
6921 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6923 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6926 (ruby-encoding-magic-comment-style): Add :version.
6928 2013-11-22 Leo Liu <sdl.web@gmail.com>
6930 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6932 (octave-help-mode): Adapt to change to help-mode-finish to use
6933 derived-mode-p on 2013-09-17.
6934 (inferior-octave-prompt): Also match octave-gui.
6935 (octave-kill-process): Don't ask twice. (Bug#10564)
6937 2013-11-22 Leo Liu <sdl.web@gmail.com>
6939 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6940 (inferior-octave-startup, inferior-octave-check-process)
6941 (inferior-octave-track-window-width-change)
6942 (octave-completion-at-point, octave-eldoc-function): Use it.
6943 (octave-kill-process): Provide confirmation. (Bug#10564)
6945 2013-11-21 Leo Liu <sdl.web@gmail.com>
6947 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6948 Fix obsolete variable comment-use-global-state.
6950 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6952 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6953 Add `octave-source-file'.
6954 (octave-source-file): New function. (Bug#15935)
6956 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6958 * net/eww.el (eww-local-regex): New variable.
6959 (eww): Use it to detect localhost and similar.
6961 2013-11-21 Leo Liu <sdl.web@gmail.com>
6963 Add completion for command `ag'.
6964 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6965 (pcomplete/ag): New function.
6966 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6968 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6972 (make-obsolete): Remove interactive spec.
6974 2013-11-21 Glenn Morris <rgm@gnu.org>
6976 * startup.el (command-line-1): Use path-separator with -L.
6978 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6980 * emacs-lisp/package.el (describe-package-1): Add package archive
6983 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6985 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6986 Change default to "# encoding: %s" to differentiate it from the
6987 default Ruby encoding comment template.
6989 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6991 * ses.el (ses-mode): Doc fix. (Bug#14748)
6993 2013-11-20 Leo Liu <sdl.web@gmail.com>
6995 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6997 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6999 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7000 when rebase or bisect are in progress.
7002 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7004 * filenotify.el (file-notify-add-watch): Doc fix.
7006 2013-11-19 Leo Liu <sdl.web@gmail.com>
7008 * obsolete/rcompile.el: Mark obsolete.
7010 * progmodes/compile.el (compilation-start)
7011 (compilation-goto-locus, compilation-find-file):
7012 Pass no-display-ok and handle nil value from display-buffer.
7015 * window.el (display-buffer-alist, display-buffer): Document the
7016 new parameter no-display-ok. Return either a window or nil
7017 but never a non-window value.
7019 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * electric.el (electric-indent-mode-map): Remove.
7022 (electric-indent-mode): Change the global-map instead (bug#15915).
7024 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7027 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * emacs-lisp/nadvice.el (remove-function): Align with
7030 add-function's behavior.
7032 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7033 (gdb--string-regexp): New constant.
7034 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7035 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7036 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7038 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7039 Adjust use accordingly.
7040 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7042 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7044 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7045 interpolation curlies (Bug#15914).
7047 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7049 * calc/calc.el (calc-context-sensitive-enter): New variable.
7050 (calc-enter): Use `calc-context-sensitive-enter'.
7052 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7054 * progmodes/cfengine.el: Version bump.
7055 (cfengine-cf-promises): New defcustom to locate cf-promises.
7056 (cfengine3-vartypes): Add new "data" type.
7057 (cfengine3--current-word): New function to get current name-like
7059 (cfengine3--current-function): New function to look up a CFEngine
7060 function's definition.
7061 (cfengine3-format-function-docstring): New function.
7062 (cfengine3-make-syntax-cache): New function.
7063 (cfengine3-documentation-function): New function: ElDoc glue.
7064 (cfengine3-completion-function): New function: completion glue.
7065 (cfengine3-mode): Set `compile-command',
7066 `eldoc-documentation-function', and add to
7067 `completion-at-point-functions'.
7069 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7072 `tramp-current-connection'.
7074 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7077 nil/self/true/false with "end of symbol".
7079 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7081 * subr.el (version-regexp-alist): Fix a typo.
7083 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7085 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7086 "en_US.utf8" and "LC_CTYPE" to "".
7087 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7088 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7090 2013-11-15 Leo Liu <sdl.web@gmail.com>
7092 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7094 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7096 * progmodes/gud.el (ctl-x-map):
7097 Remove C-x SPC binding. (Bug#12342)
7098 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7100 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7102 * subr.el (version-regexp-alist):
7103 Recognize hg, svn and darcs versions as snapshot versions.
7105 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7106 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7107 (ruby--encoding-comment-required-p): Extract from
7108 `ruby-mode-set-encoding'.
7109 (ruby-mode-set-encoding): Add the ability to always insert an
7110 utf-8 encoding comment. Fix and simplify coding comment update
7113 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7115 * net/tramp-gvfs.el (top): Run init code only when
7116 `tramp-gvfs-enabled' is not nil.
7117 (tramp-gvfs-enabled): Check also :system bus.
7119 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7121 Sync with upstream verilog-mode revision 78e66ba.
7122 * progmodes/verilog-mode.el (verilog-end-of-defun)
7123 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7124 (verilog-get-end-of-defun): Remove unused argument.
7125 (verilog-comment-depth): Remove unused local `e'.
7126 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7127 Don't pass arg to verilog-get-end-of-defun.
7129 2013-11-14 Glenn Morris <rgm@gnu.org>
7131 * obsolete/assoc.el (aget): Prefix dynamic variable.
7133 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7135 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7137 * widget.el, hfy-cmap.el: Remove bogus package version number.
7139 2013-11-13 Glenn Morris <rgm@gnu.org>
7141 * replace.el (replace-eval-replacement):
7142 Try to give more helpful error message. (Bug#15836)
7144 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7145 (archive-7z-update): Avoid custom type mismatches.
7147 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7149 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7151 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7152 address can be empty.
7154 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7155 Accept nil SWITCHES.
7156 (tramp-gvfs-handle-write-region): Implement APPEND.
7158 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7160 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7161 binary "|" operator and closing block args delimiter.
7162 Remove FIXME comment referring to Ruby 1.8-only syntax.
7163 (ruby-smie--implicit-semi-p): Not after "|" operator.
7164 (ruby-smie--closing-pipe-p): New function.
7165 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7166 (ruby-smie-rules): Indent after "|".
7168 2013-11-12 Glenn Morris <rgm@gnu.org>
7170 * ps-print.el (ps-face-attribute-list):
7171 Handle anonymous faces. (Bug#15827)
7173 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7175 * window.el (display-buffer-other-frame): Fix doc-string.
7178 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7180 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7182 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7185 (tramp-sh-handle-file-local-copy): Don't write a message when
7186 saving temporary files.
7188 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7189 both directories are remote.
7190 (tramp-smb-handle-directory-files): Do not return double entries.
7191 Do not expand full file names.
7192 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7193 (tramp-smb-handle-write-region): Implement APPEND.
7194 (tramp-smb-get-stat-capability): Fix a stupid bug.
7196 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7200 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7202 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7203 throwing error over malformed let/let* (bug#15814).
7205 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * iswitchb.el (iswitchb-mode): Mark obsolete.
7209 2013-11-11 Glenn Morris <rgm@gnu.org>
7211 * international/uni-bidi.el, international/uni-category.el:
7212 * international/uni-name.el, international/uni-numeric.el:
7213 Regenerate for Unicode 6.3.0.
7215 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7217 * net/tramp.el (tramp-methods):
7218 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7219 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7221 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7223 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7224 Force highlighting text after Summary keyword in doc face for rpm.
7226 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7228 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7229 available and the word has no wildcards, append one to the grep pattern.
7230 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7231 (ispell-complete-word): Call `ispell-lookup-words' with the value
7232 independent of `ispell-look-p'.
7234 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7236 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7238 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7241 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7244 (ruby-font-lock-keywords): Use backquote.
7246 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7248 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7249 (ruby-smie--backward-token): Only consider full-string matches.
7251 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7253 * faces.el (describe-face): Add distant-foreground.
7255 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7257 * progmodes/ruby-mode.el: Improve encoding comment handling.
7258 (ruby-encoding-magic-comment-style): New option.
7259 (ruby-custom-encoding-magic-comment-template): New option.
7260 (ruby--insert-coding-comment, ruby--detect-encoding):
7261 New functions extracted from `ruby-mode-set-encoding'.
7262 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7263 to control the style of the auto-inserted encoding comment.
7265 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7267 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7268 Use `smie-backward-sexp' with token argument.
7270 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7272 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7273 Remove instrumentation code.
7275 2013-11-08 Glenn Morris <rgm@gnu.org>
7277 * progmodes/autoconf.el (autoconf-mode):
7278 Tweak comment-start-skip. (Bug#15822)
7280 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7283 at bobp (bug#15826).
7284 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7286 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7288 * man.el (Man-start-calling): New macro, extracted from
7289 Man-getpage-in-background.
7290 (Man-getpage-in-background): Use it.
7291 (Man-update-manpage): New command.
7292 (Man-mode-map): Bind it.
7294 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7296 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7297 of "and", "or", "&&" and "||".
7298 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7299 argument. Prohibit opening curly brace because it could only be a
7300 block opener in that position.
7301 (ruby-smie--forward-token, ruby-smie--backward-token):
7302 Separate "|" from "&" or "*" going after it. That can happen in block
7304 (ruby-smie--indent-to-stmt): New function, seeks the end of
7305 previous statement or beginning of buffer.
7306 (ruby-smie-rules): Use it.
7307 (ruby-smie-rules): Check if there's a ":" before a curly block
7308 opener candidate; if there is, it's a hash.
7310 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7312 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7313 (cl--block-wrapper): Fix last accidental change.
7315 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7317 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7318 Instrument, in order to hunt failure on hydra.
7320 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7322 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7323 malformed bindings form (bug#15814).
7325 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7327 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7328 "." compared to " @ ". This incidentally fixes some indentation
7330 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7331 (ruby-smie-grammar): New tokens: "and" and "or".
7332 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7333 Exclude "and" and "or". Remove "do" in order to work around token
7335 (ruby-smie-rules): Add all infix tokens. Handle the case of
7336 beginning-of-buffer.
7338 2013-11-06 Glenn Morris <rgm@gnu.org>
7340 * Makefile.in (setwins_almost, setwins_for_subdirs):
7341 Avoid accidental matches.
7343 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7345 * menu-bar.el (popup-menu): Use key-binding.
7347 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7349 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7350 menus, support also the menus produced by minor modes.
7353 2013-11-06 Leo Liu <sdl.web@gmail.com>
7355 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7356 DISTANCE to bound the search. All uses changed. (Bug#15808)
7358 2013-11-06 Glenn Morris <rgm@gnu.org>
7360 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7361 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7362 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7364 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7366 * electric.el (electric-indent-just-newline): New command.
7367 (electric-indent-mode-map): New keymap.
7368 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7369 Re-add :group which weren't redundant.
7371 * electric.el (electric-indent-local-mode): New minor mode.
7372 (electric-indent-functions-without-reindent): New var.
7373 (electric-indent-post-self-insert-function): Use it.
7374 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7376 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7378 * international/quail.el (quail-help): Be more explicit about the
7379 meaning of the labels shown on the keys. (Bug#15800)
7381 * startup.el (normal-top-level): Load the subdirs.el files before
7382 setting the locale environment. (Bug#15805)
7384 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7386 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7387 via arguments so as to get the right ones (bug#15418).
7389 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7391 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7393 Fix problems found while writing a test suite.
7395 * net/tramp-compat.el (tramp-compat-load): New defun.
7396 * net/tramp.el (tramp-handle-load): Use it.
7398 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7399 "(numberp ok-if-already-exists)" correctly.
7401 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7403 * international/characters.el (glyphless-char-display-control):
7406 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7408 * progmodes/python.el (python-mode):
7409 * progmodes/scheme.el (scheme-mode):
7410 * progmodes/prolog.el (prolog-mode):
7411 * progmodes/ruby-mode.el (ruby-mode):
7412 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7413 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7415 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * rect.el (rectangle--highlight-for-redisplay):
7418 * emacs-lisp/smie.el (smie--next-indent-change):
7419 Use buffer-chars-modified-tick.
7421 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7423 * electric.el (electric-indent-post-self-insert-function):
7424 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7426 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7428 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7430 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7432 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7435 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7437 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7439 * progmodes/python.el: Fix up last change.
7440 (python-shell--save-temp-file): New function.
7441 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7442 `string' comes from the current buffer.
7443 (python-shell-send-string-no-output): Remove `msg' arg.
7444 (python--use-fake-loc): New var.
7445 (python-shell-buffer-substring): Obey it. Try to compensate for the
7446 extra coding line added by python-shell--save-temp-file.
7447 (python-shell-send-region): Use python-shell--save-temp-file and
7448 python-shell-send-file directly. Add `nomain' argument.
7449 (python-shell-send-buffer): Use python-shell-send-region.
7450 (python-electric-pair-string-delimiter): New function.
7451 (python-mode): Use it.
7453 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7455 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7456 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7457 environment and decoding all of the default-directory's to here
7459 (command-line): Decode also argv[0].
7461 * loadup.el: Error out if default-directory is a multibyte string
7462 when we are dumping.
7464 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7466 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7468 * emacs-lisp/package.el (package-menu-mode)
7469 (package-menu--print-info, package-menu--archive-predicate):
7470 Add Archive column to package list.
7472 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7474 Fix problems found while writing a test suite.
7476 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7477 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7478 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7479 to nil when running original file name handler. Otherwise,
7480 there are problems with constructs like "$$FOO".
7482 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7485 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7487 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7489 * subr.el (version<, version<=, version=):
7490 Update docstrings with information for snapshot versions.
7492 * helpers.el: New library for misc helper functions.
7493 (hash-table-keys): New function returning a list of hash keys.
7494 (hash-table-values): New function returning a list of hash values.
7496 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7498 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7499 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7501 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7503 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7504 checking whether point is after a 1-letter word.
7506 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7508 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7509 Don't infloop when expanding region over `multiline' syntax-type that
7510 begins a line (bug#15778).
7512 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7514 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7515 Make it into a proper minor mode.
7516 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7517 (rectangle-mark-mode-map): New keymap.
7518 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7520 2013-11-04 Glenn Morris <rgm@gnu.org>
7522 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7524 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7527 (ruby-smie-rules): Use smie-rule-parent instead.
7529 * emacs-lisp/smie.el (smie-rule-parent): Always call
7530 smie-indent-virtual rather than only for hanging tokens.
7531 (smie--next-indent-change): New helper command.
7533 2013-11-03 Glenn Morris <rgm@gnu.org>
7535 * Makefile.in (abs_srcdir): Remove.
7536 (emacs): Unset EMACSLOADPATH.
7538 2013-11-02 Glenn Morris <rgm@gnu.org>
7540 * Makefile.in (EMACS): Use a relative filename.
7541 (abs_top_builddir): Remove.
7542 (custom-deps, finder-data, autoloads): Use --chdir.
7544 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7546 Use relative filenames in TAGS files.
7547 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7548 (lisptagsfiles4, TAGS): Use relative file names.
7549 (TAGS-LISP): Remove.
7550 (maintainer-clean): No more TAGS-LISP file.
7552 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7553 (lisptagsfiles4): Use absolute filenames again.
7554 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7555 Remove all *loaddefs files, not just the first. Remove esh-groups.
7556 (maintainer-clean): Delete TAGS, TAGS-LISP.
7558 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7560 * emacs-lisp/package.el (package-version-join):
7561 Recognize snapshot versions.
7563 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7565 * subr.el (version-regexp-alist): Add support for snapshot versions.
7567 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7570 New function, replacement for `smie-rule-parent' for when we want to
7571 skip over our direct parent if it's an assignment token..
7572 (ruby-smie-rules): Use it.
7574 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7576 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7577 unconditionally. Remove now unnecessary forward declarations.
7578 Remove XEmacs-specific setup.
7579 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7580 (ruby-font-lock-syntactic-keywords)
7581 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7582 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7583 (ruby-here-doc-end-syntax): Remove.
7584 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7585 defined as function.
7587 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7589 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7591 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7593 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7594 table and abbrev table, `define-derived-mode' does that for us
7597 2013-11-01 Glenn Morris <rgm@gnu.org>
7599 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7600 files is atomic for some time, so no parallel compilation issues).
7602 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7604 * faces.el (face-x-resources): Add :distant-foreground.
7605 (region): Use :distant-foreground for gtk and ns.
7607 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7609 Allow multiple bibliographies when BibLaTeX is used rather than
7611 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7612 (reftex-locate-bibliography-files): Us it.
7614 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7616 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7617 allow comments in pbm files.
7619 * term/w32-win.el (dynamic-library-alist): Support newer versions
7620 of libjpeg starting with v7: look only for the DLL from the
7621 version against which Emacs was built.
7622 Support versions of libpng beyond 1.4.x.
7623 Support libtiff v4.x.
7625 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7627 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7628 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7630 (ruby-deep-arglist): Add property :type.
7632 2013-10-31 Glenn Morris <rgm@gnu.org>
7634 * Makefile.in (custom-deps, finder-data): No need to setq the target
7635 variables, we are in the right directory and the defaults work fine.
7637 2013-10-30 Glenn Morris <rgm@gnu.org>
7639 * Makefile.in (autoloads): Do not use abs_lisp.
7641 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7642 `newline' does not respect `standard-output', so use `princ'.
7644 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7646 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7647 * buff-menu.el (Buffer-menu--unmark): New function.
7648 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7650 2013-10-30 Glenn Morris <rgm@gnu.org>
7652 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7654 * emacs-lisp/package.el (lm-homepage): Declare.
7656 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7659 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7661 * Makefile.in (finder-data, autoloads, update-subdirs)
7662 (compile-main, compile-clean, compile-always, bootstrap-clean):
7663 Check return value of cd.
7664 (compile-calc): Remove.
7666 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7670 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7671 (byte-compile-and-folded): New function.
7672 (=, <, >, <=, >=): Use it.
7674 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7675 (path-separator, null-device, buffer-file-coding-system)
7676 (lpr-headers-switches): Check system-type before modifying them.
7677 (find-buffer-file-type-coding-system): Mark obsolete.
7678 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7679 find-file-not-found-set-buffer-file-coding-system.
7680 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7681 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7682 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7683 (w32-direct-print-region-helper, w32-direct-print-region-function)
7684 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7685 * startup.el (normal-top-level-add-subdirs-to-load-path):
7686 * ps-print.el (ps-print-region-function):
7687 * lpr.el (print-region-function): Use new name.
7689 * subr.el (custom-declare-variable-early): Remove function.
7690 (custom-declare-variable-list): Remove var.
7691 (error, user-error): Remove `while' loop.
7692 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7693 (user-emacs-directory-warning, locate-user-emacs-file):
7695 * simple.el (read-quoted-char-radix, read-quoted-char):
7696 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7698 * custom.el (custom-declare-variable-list): Don't process
7699 custom-declare-variable-list.
7701 * progmodes/python.el (python-shell-get-buffer): New function.
7702 (python-shell-get-process): Use it.
7703 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7704 Python which encoding was used. Don't split-string since we only care
7705 about the first line. Return the temp-file, if applicable.
7706 (python-shell-send-region): Tell compile.el how to turn locations in
7707 the temp-file into locations in the source buffer.
7709 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7711 * subr.el (undefined): Add missing behavior from the C code for
7714 * rect.el: Use lexical-binding. Add new rectangular region support.
7715 (rectangle-mark): New command.
7716 (rectangle--region): New var.
7717 (deactivate-mark-hook): Reset rectangle--region.
7718 (rectangle--extract-region, rectangle--insert-for-yank)
7719 (rectangle--highlight-for-redisplay)
7720 (rectangle--unhighlight-for-redisplay): New functions.
7721 (region-extract-function, redisplay-unhighlight-region-function)
7722 (redisplay-highlight-region-function): Use them to handle
7724 * simple.el (region-extract-function): New var.
7725 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7726 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7727 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7728 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7729 (redisplay-unhighlight-region-function)
7730 (redisplay-highlight-region-function): New vars.
7731 (redisplay--update-region-highlight): New function.
7732 (pre-redisplay-function): Use it.
7733 (exchange-point-and-mark): Don't deactivate the mark before
7734 reactivate-it anyway.
7735 * comint.el (comint-kill-region): Remove yank-handler argument.
7736 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7737 (delete-char): Remove property, since it's now part of their
7739 (self-insert-iso): Remove property since this command doesn't exist.
7741 * emacs-lisp/package.el (package--download-one-archive)
7742 (describe-package-1): Don't query the user about final newline.
7744 2013-10-29 Daniel Colascione <dancol@dancol.org>
7746 * net/tramp.el (tramp-methods): Document new functionality.
7747 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7748 tramp-hostname-checker if method provides one instead of scanning
7749 argument list for "%h" to decide hostname acceptability.
7751 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7753 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7754 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7755 Handle COPY-CONTENTS. (Bug#15737)
7757 2013-10-28 Daiki Ueno <ueno@gnu.org>
7759 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7760 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7762 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7764 * image.el (defimage, image-load-path): Doc fixes.
7766 2013-10-27 Alan Mackenzie <acm@muc.de>
7768 Indent statements in macros following "##" correctly.
7769 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7770 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7772 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7774 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7776 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7778 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7779 after `=' is probably a new expression.
7781 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7783 * man.el (man-imenu-title): New option.
7784 (Man-mode-map): Add menu. (Bug#15722)
7785 (Man-mode): Add imenu to menu.
7787 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7789 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7790 specific in what the first arg can be: a non-keyword word,
7791 string/regexp/percent literal opener, opening paren, or unary
7792 operator followed directly by word.
7794 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7797 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7798 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7799 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7800 Remove vars, they do not apply any more.
7801 (prolog-mode-abbrev-table): Remove redundant declaration.
7802 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7803 (prolog-use-smie): Remove.
7804 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7805 supported by prolog-electric-if-then-else-flag.
7806 (prolog-mode-variables, prolog-menu): Use setq-local.
7807 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7808 Remove binding to `Backspace' since this key doesn't exist anyway.
7809 Remove bindings for electric self-inserting keys.
7810 (prog-mode): Assume it's defined.
7811 (prolog-post-self-insert): New function.
7812 (prolog-mode): Use it.
7813 (prolog-indent-line, prolog-indent-level)
7814 (prolog-find-indent-of-matching-paren)
7815 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7816 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7817 (prolog-goto-next-paren, prolog-in-string-or-comment)
7818 (prolog-tokenize, prolog-inside-mline-comment)
7819 (prolog-find-start-of-mline-comment): Remove functions.
7820 (prolog-find-unmatched-paren, prolog-clause-end)
7821 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7822 (prolog-electric--if-then-else): Rename from
7823 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7824 (prolog-tokenize-searchkey): Remove const.
7825 (prolog-clause-info): Use forward-sexp.
7826 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7827 (prolog-electric-if-then-else): Remove commands.
7828 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7829 for use in post-self-insert-hook.
7830 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7831 for use in post-self-insert-hook.
7832 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7833 for use in post-self-insert-hook.
7834 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7835 adapt it for use in post-self-insert-hook.
7837 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7839 * emacs-lisp/ert.el (ert-run-tests-interactively):
7840 Use `completing-read'. (Bug#9756)
7842 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7844 * simple.el (line-move): Call line-move-1 instead of
7845 line-move-visual when the current window hscroll is zero, but
7846 temporary-goal-column indicates we will need to hscroll as result
7847 of the movement. (Bug#15712)
7849 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7851 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7852 capitalization. Use :visible instead of :active.
7853 Fix `ruby-indent-exp' reference. Add menu items for the generic
7854 commands that are used with SMIE.
7855 (ruby-do-end-to-brace): Insert space after `{'.
7857 2013-10-25 John Anthony <john@jo.hnanthony.com>
7859 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7861 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7863 2013-10-25 Glenn Morris <rgm@gnu.org>
7865 * vc/vc.el (vc-print-log): Don't use a working revision unless
7866 one was explicitly specified. (Bug#15322)
7868 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7870 * subr.el (add-to-list): Preserve return value in compiler-macro
7873 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7875 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7876 result. Ask user to retry using '-all' flag. (Bug#15701)
7878 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * emacs-lisp/smie.el: New smie-config system.
7881 (smie-config): New defcustom.
7882 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7883 (smie-config-guess, smie-config-save): New commands.
7884 (smie-config--mode-local, smie-config--buffer-local)
7885 (smie-config--trace, smie-config--modefuns): New vars.
7886 (smie-config--advice, smie-config--mode-hook)
7887 (smie-config--setter, smie-config-local, smie-config--get-trace)
7888 (smie-config--guess-value, smie-config--guess): New functions.
7889 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7890 text properties. Treat "string fence" syntax like string syntax.
7892 * progmodes/sh-script.el (sh-use-smie): Change default.
7893 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7894 (sh-var-value): Simplify by CSE.
7895 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7896 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7898 (sh-guess-basic-offset): Use cl-incf.
7899 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7901 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7903 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7906 2013-10-24 Glenn Morris <rgm@gnu.org>
7908 * Makefile.in (abs_top_srcdir): Remove.
7909 (update-subdirs): Use relative path to update-subdirs.
7911 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7913 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7914 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7915 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7916 Call unmsys--file-name before expand-file-name, not after it.
7918 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7920 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7921 (ert-test-skipped): New error.
7922 (ert-skip, ert-stats-skipped): New defuns.
7923 (ert--skip-unless): New macro.
7924 (ert-test-skipped): New struct.
7925 (ert--run-test-debugger, ert-test-result-type-p)
7926 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7927 (ert--stats-set-test-and-result, ert-char-for-test-result)
7928 (ert-string-for-test-result, ert-run-tests-batch)
7929 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7930 Handle skipped tests. (Bug#9803)
7932 2013-10-24 Glenn Morris <rgm@gnu.org>
7934 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7936 * Makefile.in (abs_top_srcdir): New, set by configure.
7937 (update-subdirs): Correct build-aux location.
7939 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7941 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7942 value, whether we could auto-deduce `backend', or not.
7944 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7945 with parameters" example. Simplify the "is it block or is it
7946 hash" check, but also make it more thorough.
7948 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7950 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7952 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7954 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7957 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7960 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7962 * progmodes/compile.el (compilation-directory-matcher)
7963 (compilation-page-delimiter):
7964 Support GNU Make-4.0 directory quoting. (Bug#15678)
7966 2013-10-23 Leo Liu <sdl.web@gmail.com>
7968 * ido.el (ido-tidy): Handle read-only text.
7970 2013-10-23 Glenn Morris <rgm@gnu.org>
7972 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7973 (emacs, compile, compile-always):
7974 Quote entities that might contain whitespace.
7975 (custom-deps, finder-data, autoloads): Use abs_lisp.
7976 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7977 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7978 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7980 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7982 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7983 Use `following-char'.
7985 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7988 * progmodes/ruby-mode.el (ruby-smie-rules):
7989 Remove corresponding workaround. Fix indentation rule of ";" so it
7990 also applies when ";" is the parent.
7992 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7994 * frame.el (display-screens, display-pixel-height)
7995 (display-pixel-width, display-mm-width, display-backing-store)
7996 (display-save-under, display-planes, display-color-cells)
7997 (display-visual-class, display-monitor-attributes-list):
7998 Mention the optional ‘display’ argument in doc strings.
8000 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8002 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8003 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8005 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8007 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8008 TODO. Add "." after " @ ".
8009 (ruby-smie--at-dot-call): New function. Checks if point at method
8010 call with explicit target.
8011 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8012 to the method name tokens when it precedes them.
8013 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8014 (ruby-smie-rules): Add rule for indentation before and after "."
8017 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * textmodes/remember.el (remember-diary-extract-entries):
8022 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8025 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8027 * progmodes/ruby-mode.el (ruby-smie-grammar):
8028 Add (almost) all infix operators.
8029 (ruby-smie--implicit-semi-p): Add new operator chars.
8031 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8033 (ruby-smie--args-separator-p): Check that there's no newline
8034 between method call and its arguments.
8036 2013-10-20 Alan Mackenzie <acm@muc.de>
8038 Allow comma separated lists after Java "implements".
8040 * progmodes/cc-engine.el (c-backward-over-enum-header):
8042 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8043 from a "disallowed" list in enum fontification.
8045 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8047 * startup.el (default-frame-background-mode): Remove unused defvar.
8049 * progmodes/verilog-mode.el (verilog-mode): Don't set
8050 comment-indent-function globally.
8052 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8054 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8055 Move Info menu item creation to ns-win.el.
8057 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8060 * menu-bar.el: Move GNUstep specific menus...
8062 * term/ns-win.el (ns-initialize-window-system): ... to here.
8064 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * simple.el (newline): Only run post-self-insert-hook when
8067 called interactively.
8069 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8071 * icomplete.el (icomplete-with-completion-tables): Add :version.
8073 2013-10-19 Alan Mackenzie <acm@muc.de>
8075 Fix fontification bugs with constructors and const.
8077 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8078 CASE 2) Remove the check for the absence of a suffix construct
8079 after a function declaration with only types (no identifiers) in
8080 the parentheses. Also, accept a function declaration with just a
8081 type inside the parentheses, if this type can be positively
8082 recognised as such, or if a prefix keyword like "explicit" nails
8083 down the construct as a declaration.
8085 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8087 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8088 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8089 the problem whereby selecting a menu item that leads to a
8090 minibuffer prompt moves the cursor out of the minibuffer window,
8091 making it hard to type at the prompt. Suggested by Stefan Monnier
8092 <monnier@iro.umontreal.ca>.
8094 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8096 * menu-bar.el: Don't make Services menu.
8098 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8100 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8101 (ffap-alist): Use ffap-c++-mode for c++-mode.
8102 (ffap-c++-path): New variable.
8103 (ffap-c++-mode): New function.
8105 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8107 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8109 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8112 introduced on 2013-09-08, which results in an infinite loop
8113 requesting a password.
8115 2013-10-18 Glenn Morris <rgm@gnu.org>
8117 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8119 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8121 Sync with upstream verilog-mode revision 1a6ecec7.
8122 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8123 (verilog-mode-release-date): Remove.
8124 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8125 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8126 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8127 (verilog-auto-tieoff-ignore-regexp)
8128 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8129 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8130 (verilog-signals-with, verilog-dir-cache-preserving)
8131 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8133 (verilog-case-fold): New option, to control case folding in
8134 regexp searches, bug597.
8135 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8136 (verilog-string-match-fold, verilog-in-paren-count)
8137 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8138 (verilog-at-close-struct-p): New functions.
8139 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8140 (verilog-forward-sexp, verilog-set-auto-endcomments)
8141 (verilog-leap-to-case-head): Handle "unique0" case.
8142 (verilog-in-constraint-re): New constant.
8143 (verilog-keywords, verilog-type-font-keywords):
8144 Add some SystemVerilog 1800-2012 keywords.
8145 (verilog-label-be): Remove unimplemented argument, bug669.
8146 (verilog-batch-execute-func): When batch expanding clear
8147 create-lockfiles to prevent spurious user locks when a file ends
8149 (verilog-calculate-indent, verilog-calc-1)
8150 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8151 (verilog-do-indent): Fix indentation of nested constraints
8153 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8154 (verilog-auto-inst-param): Use verilog-string-match-fold.
8155 (verilog-read-inst-module-matcher):
8156 Fix AUTOINST on gate primitives with #1.
8157 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8158 Reads all user-defined typed variables.
8159 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8160 (verilog-signals-matching-regexp)
8161 (verilog-signals-not-matching-regexp, verilog-auto):
8162 Respect verilog-case-fold.
8163 (verilog-diff-report): Fix line count.
8164 (verilog-auto-assign-modport): Remove unused local `modi'.
8165 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8166 better handle multidimensional arrays.
8167 Fix packed array ports misadding bit index in AUTOINST, bug637.
8168 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8169 to not double-declare existing outputs and inputs, respectively.
8170 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8171 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8172 (verilog-sk-uvm-component): New skeleton.
8173 (verilog-submit-bug-report): Add verilog-case-fold,
8174 remove verilog-mode-release-date.
8176 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8178 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8181 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8183 * textmodes/remember.el (remember): Set buffer-offer-save in
8184 remember buffers (bug#13566).
8186 2013-10-18 Daniel Colascione <dancol@dancol.org>
8188 When evaluating forms in ielm, direct standard output to ielm
8189 buffer. Add new ielm-return-for-effect command. Remove trailing
8190 whitespace throughout.
8192 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8193 (ielm-return-for-effect): New command.
8194 (ielm-send-input): Accept optional `for-effect' parameter.
8195 (ielm-eval-input): Accept optional `for-effect' parameter.
8196 Bind `standard-output' to stream we create using
8197 `ielm-standard-output-impl'. Suppress printing result when
8199 (ielm-standard-output-impl): New function.
8200 (inferior-emacs-lisp-mode): Explain new features in documentation.
8202 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8206 * net/tramp.el (tramp-debug-message): Do not check for connection
8208 (tramp-message): Use "vector" connection property.
8210 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8211 (tramp-equal-remote, tramp-eshell-directory-change)
8212 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8213 (tramp-adb-handle-rename-file)
8214 * net/tramp-cmds.el (tramp-list-remote-buffers)
8215 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8216 * net/tramp-compat.el (tramp-compat-process-running-p)
8217 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8218 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8219 (tramp-gvfs-handle-rename-file)
8220 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8221 (tramp-set-file-uid-gid)
8222 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8223 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8226 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8227 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8228 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8229 (tramp-gw-open-network-stream): Suppress unrelated traces.
8231 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8232 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8234 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8235 connection property.
8237 * net/tramp-cache.el (top): Suppress traces when reading
8240 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8241 Refactor common code. Improve debug message.
8242 (tramp-maybe-open-connection)
8243 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8244 connection buffer too early.
8246 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8247 from `tramp-smb-actions-with-acl'.
8248 (tramp-smb-actions-set-acl): New defconst.
8249 (tramp-smb-handle-copy-directory)
8250 (tramp-smb-action-get-acl): New defun, renamed from
8251 `tramp-smb-action-with-acl'.
8252 (tramp-smb-action-set-acl): New defun.
8253 (tramp-smb-handle-set-file-acl): Rewrite.
8255 2013-10-17 Glenn Morris <rgm@gnu.org>
8257 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8259 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8261 * skeleton.el (skeleton-newline): Remove.
8262 (skeleton-internal-1): Use (insert "\n") instead.
8264 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8267 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8268 forward-sexp-function while we redo its job (bug#15613).
8270 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8272 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8273 represented by lists.
8275 2013-10-16 Glenn Morris <rgm@gnu.org>
8277 * tmm.el (tmm--history): New dynamic variable.
8278 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8280 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8282 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8283 (tramp-smb-errors): Add error messages.
8284 (tramp-smb-actions-with-acl): New defconst.
8285 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8286 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8287 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8288 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8289 (tramp-smb-get-stat-capability): Fix tests.
8291 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8293 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8296 2013-10-16 Glenn Morris <rgm@gnu.org>
8298 * ansi-color.el (ansi-color-drop-regexp):
8299 Add 1J, 1K, 2K. (Bug#15617)
8301 * files.el (hack-local-variables--warned-lexical): New.
8302 (hack-local-variables):
8303 Warn about misplaced lexical-binding. (Bug#15616)
8305 * net/eww.el (eww-render): Always set eww-current-url,
8306 and update header line. (Bug#15622)
8307 (eww-display-html): ... Rather than just doing it here.
8309 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8311 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8312 menu navigations commands.
8314 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8316 * progmodes/subword.el (subword-capitalize): Be careful when
8317 the search for [[:alpha:]] fails (bug#15580).
8319 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8321 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8322 to commands that scroll the menu.
8324 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8326 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8327 Handle methods ending with `?' and `!'.
8329 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8331 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8332 `japanese-cp932' to `cp932' to fix the problem where saving a
8333 source file written in Shift_JIS twice would end up having
8334 `coding: japanese-cp932' which Ruby could not recognize.
8335 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8336 in `ruby-encoding-map'.
8337 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8338 doesn't need to be explicitly declared in magic comment.
8339 (ruby-encoding-map): Add type declaration for better customize UI.
8341 2013-10-13 Glenn Morris <rgm@gnu.org>
8343 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8344 Occur buffers are read-only. http://bugs.debian.org/720775
8346 * emacs-lisp/authors.el (authors-fixed-entries):
8347 Comment out old alpha stuff.
8349 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8351 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8352 to `after-save-hook' instead of `before-save-hook'.
8353 (ruby-mode-set-encoding): Use the value of coding system used to
8354 write the file. Call `basic-save-buffer-1' after modifying the
8357 2013-10-13 Alan Mackenzie <acm@muc.de>
8359 Fix indentation/fontification of Java enum with
8360 "implements"/generic.
8362 * progmodes/cc-engine.el (c-backward-over-enum-header):
8363 Extracted from the three other places and enhanced to handle generics.
8364 (c-inside-bracelist-p): Uses new function above.
8365 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8367 (c-font-lock-enum-tail): Uses new function above.
8369 2013-10-13 Kenichi Handa <handa@gnu.org>
8371 * international/mule-cmds.el (select-safe-coding-system): Remove a
8372 superfluous condition in chekcing whether a coding system is safe
8375 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8377 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8379 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8381 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8383 2013-10-13 Glenn Morris <rgm@gnu.org>
8385 * menu-bar.el (menu-bar-update-buffers):
8386 Unify Buffers menu prompt string. (Bug#15576)
8388 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8390 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8392 (authors-fixed-entries): Use accented form of name.
8394 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8396 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8397 method calls (bug#15594).
8398 (ruby-smie--args-separator-p): New function.
8399 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8400 recognize paren-free method calls.
8402 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8403 internals of universal-argument.
8405 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8407 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8408 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8409 dropped menu on second mouse click on the menu bar.
8411 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8414 (explicit-shell-file-name): Declare.
8415 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8416 (sh-completion-at-point-function): New function.
8418 (sh-smie--keyword-p): Remove unused argument.
8419 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8421 (sh-set-shell): Always setup SMIE, even if we use the
8422 old indentation code.
8424 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8428 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8429 predicate would return nil are almost non-existent.
8430 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8432 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8433 cache also after commands that modify the buffer but don't move
8436 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * env.el (substitute-env-in-file-name): New function.
8439 (substitute-env-vars): Extend the meaning of the optional arg.
8441 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8443 * term/w32-win.el (dynamic-library-alist): Define separate lists
8444 of GIF DLLs for versions before and after 5.0.0 of giflib.
8447 2013-10-10 João Távora <joaotavora@gmail.com>
8449 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8450 not locked, use last revision and current source as
8451 defaults. (Bug#15569)
8453 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8455 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8458 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8460 * window.el (pop-to-buffer-same-window): Fix doc-string.
8463 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8467 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8469 * calendar/icalendar.el (icalendar-import-file):
8470 Fix interactive spec. (Bug#15482)
8472 2013-10-10 Glenn Morris <rgm@gnu.org>
8474 * desktop.el (desktop-save): Default to saving in .emacs.d,
8475 since PWD is no longer in desktop-path by default. (Bug#15319)
8477 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8478 now that text mode has a menu with the same entry.
8479 (menu-bar-text-mode-auto-fill): Remove now unused func.
8480 * textmodes/text-mode.el (text-mode-map):
8481 Use auto-fill help text from menu-bar.el.
8483 2013-10-10 John Anthony <john@jo.hnanthony.com>
8485 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8487 2013-10-09 Juri Linkov <juri@jurta.org>
8489 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8490 instead of this-command-keys. Add universal-argument-more and
8491 universal-argument-minus to the list of prefix commands. (Bug#15568)
8493 2013-10-09 Glenn Morris <rgm@gnu.org>
8495 * vc/vc-svn.el (vc-svn-create-repo):
8496 Expand paths in file://... url. (Bug#15446)
8498 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8500 (authors): Remove unused local variables.
8502 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * profiler.el: Create a more coherent calltree from partial backtraces.
8505 (profiler-format): Hide the tail with `invisible' so that C-s can still
8506 find the hidden elements.
8507 (profiler-calltree-depth): Don't recurse so enthusiastically.
8508 (profiler-function-equal): New hash-table-test.
8509 (profiler-calltree-build-unified): New function.
8510 (profiler-calltree-build): Use it.
8511 (profiler-report-make-name-part): Indent the calltree less.
8512 (profiler-report-mode): Add visibility specs for profiler-format.
8513 (profiler-report-expand-entry, profiler-report-toggle-entry):
8514 Expand the whole subtree when provided with a prefix arg.
8516 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8518 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8520 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8521 hanging iuwu-mod token.
8522 (ruby-smie--forward-token): Do not include a dot after a token in
8524 (ruby-smie--backward-token): Likewise.
8526 2013-10-08 Juri Linkov <juri@jurta.org>
8528 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8529 to isearch-other-control-char.
8530 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8531 and isearch-post-command-hook to post-command-hook.
8532 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8533 and isearch-post-command-hook from post-command-hook.
8534 (isearch-unread-key-sequence)
8535 (isearch-reread-key-sequence-naturally)
8536 (isearch-lookup-scroll-key, isearch-other-control-char)
8537 (isearch-other-meta-char): Remove functions.
8538 (isearch-pre-command-hook, isearch-post-command-hook):
8539 New functions based on isearch-other-meta-char rewritten
8540 relying on the new behavior of overriding-terminal-local-map
8541 that does not replace the local keymaps any more. (Bug#15200)
8543 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8545 Support menus on text-mode terminals.
8546 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8549 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8551 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8552 Move here from mouse.el.
8553 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8555 (tty-menu-navigation-map): New map for TTY menu navigation.
8557 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8559 * frame.el (display-mouse-p): Report text-mode mouse as available
8561 (display-popup-menus-p): Report availability if mouse is
8562 available; don't condition on window-system.
8564 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8565 (tty-menu-selected-face): New faces.
8567 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8569 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8570 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8571 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8572 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8574 (lisp-mode-variables): New `elisp' argument.
8575 (emacs-lisp-mode): Use it.
8576 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8577 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8579 * indent.el: Use lexical-binding.
8580 (indent-region): Add progress reporter.
8581 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8583 (indent--next-tab-stop): New function to implement this behavior.
8584 (tab-to-tab-stop, move-to-tab-stop): Use it.
8586 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8588 * indent.el (indent-rigidly--current-indentation): New function.
8589 (indent-rigidly-map): New var.
8590 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8592 2013-10-08 Bastien Guerry <bzg@gnu.org>
8594 * register.el (insert-register): Fix 2013-10-07 change.
8596 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8598 * progmodes/perl-mode.el: Use lexical-binding.
8599 Remove redundant :group args.
8600 (perl-nochange): Change default to be closer to other major modes's
8602 (perl-indent-line): Don't consider text on current line as a
8603 valid beginning of function from which to indent.
8605 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8606 with more than one argument (bug#15538).
8608 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8610 * vc/pcvs.el: Use lexical-binding.
8611 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8612 environment of `eval'.
8613 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8614 than a list of expressions. Adjust callers.
8615 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8617 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8619 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8620 case of the dot in a chained method call being on the following line.
8622 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8624 * electric.el (electric-indent-inhibit): New var.
8625 (electric-indent-post-self-insert-function): Use it.
8626 * progmodes/python.el (python-mode): Set it.
8628 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8631 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8633 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8634 (css-mode): Use electric-indent-chars.
8636 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8637 (font-lock-beg, font-lock-end): Move before first use.
8638 (nxml-mode): Use syntax-propertize-function.
8639 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8640 (nxml-extend-after-change-region): Remove.
8641 * nxml/xmltok.el: Use lexical-binding.
8642 (xmltok-save): Use `declare'.
8643 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8644 * nxml/nxml-util.el: Use lexical-binding.
8645 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8647 * nxml/nxml-ns.el: Use lexical-binding.
8648 (nxml-ns-save): Use `declare'.
8649 (nxml-ns-prefixes-for): Avoid add-to-list.
8650 * nxml/rng-match.el: Use lexical-binding.
8651 (rng--ipattern): Use cl-defstruct.
8652 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8653 (rng-cons-group-after, rng-subst-group-after)
8654 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8655 Use closures instead of `(lambda...).
8657 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8659 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8663 Use `tramp-handle-insert-file-contents'.
8664 (tramp-gvfs-handle-insert-file-contents): Remove function.
8666 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8667 Use `save-restriction' in order to keep markers.
8669 * net/trampver.el: Update release number.
8671 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * progmodes/compile.el (compilation-parse-errors):
8674 Use compilation--put-prop.
8675 (compilation--ensure-parse): Check compilation-multiline.
8677 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8679 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8682 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8684 * progmodes/ruby-mode.el: Fix recently added tests.
8685 (ruby-smie-grammar): Add - and +.
8686 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8687 (ruby-smie--backward-id): New functions.
8688 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8689 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8692 2013-10-07 Leo Liu <sdl.web@gmail.com>
8694 * register.el (register-preview-delay)
8695 (register-preview-functions): New variables.
8696 (register-read-with-preview, register-preview)
8697 (register-describe-oneline): New functions.
8698 (point-to-register, window-configuration-to-register)
8699 (frame-configuration-to-register, jump-to-register)
8700 (number-to-register, view-register, insert-register)
8701 (copy-to-register, append-to-register, prepend-to-register)
8702 (copy-rectangle-to-register): Use register-read-with-preview to
8703 read register. (Bug#15525)
8705 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8707 * net/network-stream.el (network-stream-open-starttls): Don't add
8708 --insecure if it's already present, because that gnutls-cli
8709 rejects getting that parameter twice.
8711 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8713 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8716 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8718 * newcomment.el (comment-use-global-state): Change default value
8719 to t, mark obsolete (Bug#15251).
8720 (comment-beginning): In addition to `comment-to-syntax', check the
8721 value of `comment-use-global-state'.
8723 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8725 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8726 (ruby-comment-column): Follow the global default, by default.
8727 (ruby-smie-grammar): Add assignment syntax.
8728 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8729 open-paren, a comma, or a \.
8730 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8731 and line continuations.
8732 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8733 followed by implicit semi-colons. Add rule for string concatenation
8734 and for indentation at BOB.
8735 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8737 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8738 calling next-sexp, since next-token may have skipped chars which
8739 next-sexp doesn't know should be skipped!
8741 2013-10-05 Leo Liu <sdl.web@gmail.com>
8743 * progmodes/octave.el (octave-send-region):
8744 Call compilation-forget-errors.
8746 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8748 * vc/vc-svn.el (vc-svn-find-admin-dir):
8749 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8750 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8751 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8752 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8758 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8760 * subr.el (read-passwd): Hide chars even when called within a context
8761 where after-change-functions is disabled (bug#15501).
8762 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8763 until we removed ourself from overriding-terminal-local-map.
8765 2013-10-04 Leo Liu <sdl.web@gmail.com>
8767 * progmodes/octave.el (inferior-octave-mode):
8768 Call compilation-forget-errors.
8770 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8772 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8774 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8776 * net/secrets.el (secrets-create-collection): Add optional
8777 argument ALIAS. Use proper Label keyword. Append ALIAS as
8778 dbus-call-method argument. (Bug#15516)
8780 2013-10-04 Leo Liu <sdl.web@gmail.com>
8782 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8783 (inferior-octave-compilation-font-lock-keywords): New variables.
8784 (compilation-error-regexp-alist)
8785 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8786 (inferior-octave-mode): Use compilation-shell-minor-mode.
8788 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8790 * minibuffer.el (completion--replace): Be careful that `end' might be
8793 2013-10-03 Daiki Ueno <ueno@gnu.org>
8795 Add support for package signature checking.
8796 * emacs-lisp/package.el (url-http-file-exists-p)
8797 (epg-make-context, epg-context-set-home-directory)
8798 (epg-verify-string, epg-context-result-for)
8799 (epg-signature-status, epg-signature-to-string)
8800 (epg-check-configuration, epg-configuration)
8801 (epg-import-keys-from-file): Declare.
8802 (package-check-signature): New user option.
8803 (package-unsigned-archives): New user option.
8804 (package-desc): Add `signed' field.
8805 (package-load-descriptor): Set `signed' field if .signed file exists.
8806 (package--archive-file-exists-p): New function.
8807 (package--check-signature): New function.
8808 (package-install-from-archive): Check package signature.
8809 (package--download-one-archive): Check archive signature.
8810 (package-delete): Remove .signed file.
8811 (package-import-keyring): New command.
8812 (package-refresh-contents): Import default keyring.
8813 (package-desc-status): Add "unsigned" status.
8814 (describe-package-1, package-menu--print-info)
8815 (package-menu-mark-delete, package-menu--find-upgrades)
8816 (package-menu--status-predicate): Support "unsigned" status.
8818 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8821 the new compilation scheme using the new byte-codes.
8823 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8824 (byte-pophandler): New byte codes.
8825 (byte-goto-ops): Adjust accordingly.
8826 (byte-compile--use-old-handlers): New var.
8827 (byte-compile-catch): Use new byte codes depending on
8828 byte-compile--use-old-handlers.
8829 (byte-compile-condition-case--old): Rename from
8830 byte-compile-condition-case.
8831 (byte-compile-condition-case--new): New function.
8832 (byte-compile-condition-case): New function that dispatches depending
8833 on byte-compile--use-old-handlers.
8834 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8837 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8838 Optimize under `condition-case' and `catch' if
8839 byte-compile--use-old-handlers is nil.
8840 (disassemble-offset): Handle new bytecodes.
8842 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * subr.el (error): Use `declare'.
8845 (decode-char, encode-char): Use advertised-calling-convention instead
8846 of the docstring to discourage use of the `restriction' arg.
8848 2013-10-03 Daiki Ueno <ueno@gnu.org>
8850 * epg.el (epg-verify-file): Add a comment saying that it does not
8851 notify verification error as a return value nor a signal.
8852 (epg-verify-string): Ditto.
8854 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8856 * progmodes/compile.el (compilation-start): Try globbing the arg to
8859 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8861 Sync with Tramp 2.2.8.
8863 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8864 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8865 * net/trampver.el: Update release number.
8867 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8869 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8870 and default-process-coding-system for darwin only.
8872 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8876 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8878 * vc/vc-git.el (vc-git-grep): Disable pager.
8880 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8882 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8883 Use :url instead of :homepage, as per
8884 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8886 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8887 non-nil, use `syntax-ppss' (Bug#15251).
8889 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8891 * progmodes/octave.el (inferior-octave-startup-file):
8892 Prefer ~/.emacs.d/init_octave.m.
8894 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8896 * emacs-lisp/package.el (package-desc-from-define):
8897 Accept additional arguments as plist, convert them to an alist and store
8898 them in the `extras' slot.
8899 (package-generate-description-file): Convert extras alist back to
8900 plist and append to the `define-package' form arguments.
8901 (package--alist-to-plist): New function.
8902 (package--ac-desc): Add `extras' slot.
8903 (package--add-to-archive-contents): Check if the archive-contents
8904 vector is long enough, and if it is, pass its `extras' slot value
8905 to `package-desc-create'.
8906 (package-buffer-info): Call `lm-homepage', pass the returned value
8907 to `package-desc-from-define'.
8908 (describe-package-1): Render the homepage button (Bug#13291).
8910 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8911 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8913 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8915 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8916 and default-process-coding-system to utf-8-unix (Bug#15402).
8918 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8920 * subr.el (looking-back): Do not recommend using looking-back.
8922 2013-09-28 Alan Mackenzie <acm@muc.de>
8924 Fix indentation/fontification of Java enum with "implements".
8926 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8927 regexp which matches "implements", etc., in Java.
8928 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8929 specifier clauses coming after "enum".
8930 * progmodes/cc-fonts.el (c-font-lock-declarations)
8931 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8934 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8936 * faces.el (region): Change ns_selection_color to
8937 ns_selection_fg_color, add ns_selection_bg_color.
8939 2013-09-28 Leo Liu <sdl.web@gmail.com>
8941 * progmodes/octave.el (inferior-octave-completion-table)
8942 (inferior-octave-completion-at-point): Minor tweaks.
8944 * textmodes/ispell.el (ispell-lookup-words): Rename from
8945 lookup-words. (Bug#15460)
8946 (lookup-words): Obsolete.
8947 (ispell-complete-word, ispell-command-loop): All uses changed.
8949 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8951 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8952 (octave-mode-menu): Add octave-send-buffer.
8953 (octave-send-buffer): New function.
8955 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8957 * progmodes/octave.el (octave-mode-map): Add key binding for
8959 (octave-mode-menu): Add octave-lookfor.
8960 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8962 (octave-lookfor): New function.
8964 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8967 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8969 (cl--loop-set-iterator-function): New function.
8970 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8971 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8972 Bind `it' with `let' instead of substituting it with `cl-subst'.
8973 (cl--unused-var-p): New function.
8974 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8975 Eliminate some unused variable warnings (bug#15326).
8977 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8979 * doc-view.el (doc-view-scale-reset): Rename from
8980 `doc-view-reset-zoom-level'.
8981 (doc-view-scale-adjust): New command.
8982 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8983 `doc-view-scale-adjust'.
8985 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8987 * doc-view.el (doc-view-reset-zoom-level): New command.
8988 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8989 zoom commands (bug#15466).
8991 2013-09-26 Kenichi Handa <handa@gnu.org>
8993 * international/quail.el (quail-help): Make it not a command.
8995 2013-09-26 Leo Liu <sdl.web@gmail.com>
8997 * minibuffer.el (completion-all-sorted-completions): Make args
8998 optional as they are.
9000 2013-09-25 Daniel Colascione <dancol@dancol.org>
9002 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9003 specs are and that they're not evaluated.
9005 2013-09-24 Sam Steingold <sds@gnu.org>
9007 * midnight.el (clean-buffer-list-kill-regexps)
9008 (clean-buffer-list-kill-buffer-names): Update for the new Man
9009 buffer naming which includes the object name.
9011 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9013 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9014 (eshell-parse-command, eshell-parse-pipeline): Use it since
9015 eshell-separate-commands requires a dynamic scoped var.
9016 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9018 2013-09-23 Leo Liu <sdl.web@gmail.com>
9020 * autoinsert.el (auto-insert-alist): Make the value of
9021 lexical-binding match its file setting.
9023 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9025 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9027 * autoarg.el (autoarg-kp-digit-argument):
9028 * electric.el (Electric-command-loop):
9029 * kmacro.el (kmacro-step-edit-insert):
9030 Do not set universal-argument-num-events.
9032 2013-09-22 Leo Liu <sdl.web@gmail.com>
9034 * files.el (interpreter-mode-alist): Add octave.
9036 2013-09-21 Alan Mackenzie <acm@muc.de>
9038 C++: fontify identifier in declaration following "public:" correctly.
9039 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9040 to match "public", etc.
9041 (c-decl-prefix-re): Add ":" into the C++ value.
9042 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9043 bit. Add a check for a ":" preceded by "public", etc.
9045 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9047 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9048 recognized by GDB 7.5 and later.
9050 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9052 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9054 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * subr.el (internal--call-interactively): New const.
9057 (called-interactively-p): Use it (bug#3984).
9059 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9061 * vc/pcvs.el (cvs-mode-ignore):
9062 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9063 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9065 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9067 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9068 (eshell-ls-orig-insert-directory): Remove.
9069 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9070 (eshell-ls-use-in-dired): Use advice-add/remove.
9071 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9072 Add `orig-fun' arg for use in :around advice.
9073 Make it check (redundantly) eshell-ls-use-in-dired.
9075 2013-09-19 Glenn Morris <rgm@gnu.org>
9077 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9079 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9081 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9083 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9085 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9086 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9087 (tramp-get-remote-python): New defuns.
9088 (tramp-get-remote-uid-with-perl)
9089 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9090 contributed by yary <not.com@gmail.com> (tiny change).
9091 (tramp-get-remote-uid-with-python)
9092 (tramp-get-remote-gid-with-python): New defuns. Python code
9093 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9094 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9096 2013-09-19 Glenn Morris <rgm@gnu.org>
9098 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9100 * eshell/em-unix.el (eshell-remove-entries):
9101 Rename argument to avoid name-clash with global `top-level'.
9103 * eshell/esh-proc.el (eshell-kill-process-function):
9104 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9105 (eshell-reset-after-proc): Remove unused arg `proc'.
9107 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9108 (directory-files-and-attributes): Mark unused arg.
9110 * eshell/em-unix.el (eshell-remove-entries):
9111 Remove unused arg `path'. Update callers.
9113 * eshell/em-hist.el (eshell-hist-parse-arguments):
9114 Remove unused arg `silent'. Update callers.
9116 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9117 Fix (f)boundp mix-up.
9119 * eshell/em-smart.el (eshell-smart-scroll-window)
9120 (eshell-disable-after-change):
9121 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9123 2013-09-18 Alan Mackenzie <acm@muc.de>
9125 Fix fontification of type when followed by "const".
9126 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9127 "known" types from fontification.
9129 2013-09-18 Glenn Morris <rgm@gnu.org>
9131 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9132 (chart-face-list): Drop Emacsen without display-color-p.
9134 * net/eww.el (libxml-parse-html-region): Declare.
9135 (eww-display-html): Explicit error if no libxml2 support.
9137 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9139 * image.el (image-type-from-buffer, image-multi-frame-p):
9140 Remove --without-x warning/error.
9142 * mouse.el (mouse-yank-primary):
9143 * term.el (term-mouse-paste):
9144 Reorder to silence --without-x compilation.
9146 * mpc.el (doc-view-mode): Silence --without-x compilation.
9148 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9149 Silence --without-x compilation.
9151 * progmodes/gud.el (gud-find-file, gud-mode):
9152 Silence --without-x compilation.
9153 (tooltip-mode): Declare.
9155 * wdired.el (dired-backup-overwrite): Remove declaration.
9156 (wdired-mode-map): Add doc string.
9158 * custom.el (x-get-resource): Declare.
9160 * eshell/em-glob.el (ange-cache):
9161 * eshell/em-unix.el (ange-cache): Declare.
9163 * faces.el (x-display-list, x-open-connection, x-get-resource):
9166 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9167 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9170 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9172 * net/gnutls.el (gnutls-log-level): Declare.
9174 * net/shr.el (image-size, image-animate): Declare.
9176 * simple.el (font-info): Declare.
9178 * subr.el (x-popup-dialog): Declare.
9180 * term/common-win.el (x-select-enable-primary)
9181 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9184 * term/ns-win.el (x-handle-args): Declare.
9186 * term/x-win.el (x-select-enable-clipboard): Declare.
9188 * term/w32-win.el (create-default-fontset): Declare.
9190 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9193 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9194 (fit-frame-to-buffer): Explicit error if --without-x.
9195 (mouse-autoselect-window-select): Silence compiler.
9197 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9199 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9200 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9201 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9202 * eshell/esh-util.el (eshell-sublist):
9203 Remove unused local variables.
9205 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9207 * textmodes/two-column.el: Make 2C-split work for --without-x.
9208 (scroll-bar-columns): Autoload.
9209 (top-level): Require fringe when compiling.
9211 2013-09-18 Leo Liu <sdl.web@gmail.com>
9213 * subr.el (add-hook): Robustify to handle closure as well.
9215 2013-09-17 Glenn Morris <rgm@gnu.org>
9217 * simple.el (messages-buffer-mode-map): Unbind "g".
9219 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9221 * help-mode.el (help-mode-finish): Use derived-mode-p.
9222 Remove obsolete highlighting.
9224 * play/life.el (life-mode): Use define-derived-mode. Derive from
9226 (life): Let-bind inhibit-read-only.
9227 (life-setup): Avoid `setq'. Use `life-mode'.
9229 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9230 which should not be needed any more.
9231 (package-menu-refresh, package-menu-describe-package): Use user-error.
9233 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9234 (eshell-post-rewrite-command-hook): Make obsolete.
9235 (eshell-parse-command): Simplify.
9236 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9237 (eshell--cmd): Declare.
9238 (eshell-parse-pipeline): Remove unused var `final-p'.
9239 Pass a dynvar to eshell-post-rewrite-command-hook.
9240 Implement the new eshell-post-rewrite-command-function.
9241 (eshell-invoke-directly): Remove unused arg `input'.
9242 * eshell/esh-io.el (eshell-io-initialize):
9243 Use eshell-post-rewrite-command-function (bug#15399).
9244 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9245 adjust to new calling convention.
9246 (eshell-create-handles): Rename args to avoid clashing with dynvar
9249 2013-09-17 Glenn Morris <rgm@gnu.org>
9251 * simple.el (messages-buffer-mode): New major mode.
9252 (messages-buffer): New function.
9253 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9254 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9255 (ert-run-test): Use `messages-buffer' function.
9256 (ert--force-message-log-buffer-truncation): Ignore read-only.
9257 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9258 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9260 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9264 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9266 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * icomplete.el (icomplete-in-buffer): New var.
9269 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9270 vars and replace them with functions.
9271 (icomplete-minibuffer-setup): Adjust accordingly.
9272 (icomplete--completion-table, icomplete--completion-predicate)
9273 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9275 (icomplete-forward-completions, icomplete-backward-completions)
9276 (icomplete-simple-completing-p, icomplete-exhibit)
9277 (icomplete-completions): Use them.
9278 (icomplete--in-region-buffer): New var.
9279 (icomplete--in-region-setup): New function.
9280 (icomplete-mode): Use it.
9282 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9284 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9285 return args and options.
9286 (eshell-eval-using-options): Use the new return value of
9287 eshell--do-opts to set the options's vars in their scope.
9288 (eshell--set-option): Rename from eshell-set-option.
9290 (eshell--process-option): Rename from eshell-process-option.
9292 (eshell--process-args): Use an `opt-vals' alist to store the options's
9293 values during their processing and return them additionally to the
9296 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9298 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9299 continuation character an operator, as far as indentation is
9300 concerned (Bug#15369).
9302 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9304 * window.el (window--state-put-2): Don't process buffer state
9305 when buffer doesn't exist any more (Bug#15382).
9307 2013-09-15 Glenn Morris <rgm@gnu.org>
9309 * eshell/em-unix.el (eshell/rm):
9310 Make -f ignore missing files. (Bug#15373)
9312 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9313 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9314 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9316 2013-09-14 Glenn Morris <rgm@gnu.org>
9318 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9320 2013-09-13 Glenn Morris <rgm@gnu.org>
9322 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9323 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9325 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9327 * frame.el (x-focus-frame): Mark as declared in frame.c.
9329 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * ls-lisp.el: Use advice-add.
9332 (original-insert-directory): Remove.
9333 (ls-lisp--insert-directory): Rename from insert-directory; add
9334 `orig-fun' argument.
9335 (insert-directory): Advise.
9337 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9339 * term.el (term-emulate-terminal): Decode the command string
9340 before passing it to term-command-hook. (Bug#15337)
9342 2013-09-13 Glenn Morris <rgm@gnu.org>
9344 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9346 * eshell/esh-ext.el (eshell-search-path): Declare.
9348 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9349 Otherwise an error occurs if eshell-dirs module not loaded.
9351 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9353 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9355 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9356 `tramp-check-proper-host'. Check for a valid method name.
9358 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9359 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9360 * net/tramp-sh.el (tramp-maybe-open-connection):
9361 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9363 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9364 also for hash values.
9366 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9368 * term/ns-win.el (parameters): Don't declare as dynamic.
9369 (before-make-frame-hook): Don't add ineffective function.
9371 * eshell/*.el: Use lexical-binding (bug#15231).
9373 2013-09-12 Kenichi Handa <handa@gnu.org>
9375 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9377 2013-09-12 Glenn Morris <rgm@gnu.org>
9379 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9380 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9382 * subr.el (do-after-load-evaluation): Also give compiler warnings
9383 when obsolete files are used (except by obsolete files).
9385 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9386 in the status output, assume `filename' is the first. (Bug#15322)
9388 * vc/vc.el (vc-deduce-fileset): Doc fix.
9390 * calc/calc-help.el (Info-goto-node):
9391 * progmodes/cperl-mode.el (Info-find-node):
9392 * vc/ediff.el (Info-goto-node): Update declarations.
9394 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9396 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9397 (vc-bzr-pull): Require vc-dispatcher.
9398 * vc/vc-git.el (vc-compilation-mode): Declare.
9399 (vc-git-pull): Require vc-dispatcher.
9401 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9403 * progmodes/octave.el (help-button-action): Declare.
9405 * shell.el (shell-directory-tracker): Output error as a message
9406 rather than just returning it as a string.
9407 (shell-process-pushd): Remove useless use of message.
9409 * dframe.el (dframe-timer-fn):
9410 * files.el (dir-locals-read-from-file):
9411 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9413 * reveal.el (reveal-post-command):
9414 * saveplace.el (load-save-place-alist-from-file):
9415 * shell.el (shell-resync-dirs):
9416 * w32-common-fns.el (x-get-selection-value):
9417 * emacs-lisp/copyright.el (copyright-find-copyright):
9418 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9419 * emulation/tpu-edt.el (tpu-copy-keyfile):
9420 * play/bubbles.el (bubbles--mark-neighbourhood):
9421 * progmodes/executable.el
9422 (executable-make-buffer-file-executable-if-script-p):
9423 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9425 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9427 Cleanup Eshell to rely less on dynamic scoping.
9428 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9429 last-value, and ext-command here. Bind `args' closer to `body'.
9430 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9431 (eshell--args): Declare new dynamic var.
9432 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9433 last-value, and ext-command. Pass `args' to `body'.
9434 (eshell-process-args): Bind eshell--args.
9435 (eshell-set-option): Use eshell--args.
9436 * eshell/eshell.el (eshell): Use derived-mode-p.
9437 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9438 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9439 (eshell-glob-function): Declare.
9440 * eshell/esh-util.el: Require cl-lib.
9441 (eshell-read-hosts-file): Avoid add-to-list.
9442 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9444 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9446 (eshell/diff): Remove unused var `err'.
9447 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9449 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9450 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9452 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9453 Move declaration before first use.
9454 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9455 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9458 2013-09-12 Glenn Morris <rgm@gnu.org>
9460 * term/ns-win.el (global-map): Remove binding for ispell-next,
9461 deleted 1999-05-29. (Bug#15357)
9463 2013-09-11 Glenn Morris <rgm@gnu.org>
9465 * echistory.el (electric-command-history): Remove call to deleted func.
9467 * play/landmark.el (landmark-mode): Fix typos.
9469 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9470 Check cvs-sort-ignore-file is bound.
9472 * savehist.el: No need for cl when compiling on Emacs.
9474 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9476 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9478 (eshell-self-insert-command, eshell-send-invisible):
9479 Remove unused argument.
9480 (eshell-handle-control-codes): Remove unused var `orig'.
9481 Avoid delete-backward-char.
9483 * files.el (set-auto-mode): Simplify a bit further.
9485 2013-09-11 Glenn Morris <rgm@gnu.org>
9487 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9488 (set-auto-mode): Don't regexp-quote elements.
9489 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9490 * progmodes/cc-mode.el (interpreter-mode-alist):
9491 * progmodes/ruby-mode.el (interpreter-mode-alist):
9492 Revert previous change.
9494 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * play/snake.el (snake-mode):
9497 * play/mpuz.el (mpuz-mode):
9498 * play/landmark.el (lm-mode):
9499 * play/blackbox.el (blackbox-mode):
9500 * play/5x5.el (5x5-mode):
9501 * obsolete/options.el (Edit-options-mode):
9502 * net/quickurl.el (quickurl-list-mode):
9503 * net/newst-treeview.el (newsticker-treeview-mode):
9504 * mail/rmailsum.el (rmail-summary-mode):
9505 * mail/mspools.el (mspools-mode):
9506 * locate.el (locate-mode):
9507 * ibuffer.el (ibuffer-mode):
9508 * emulation/ws-mode.el (wordstar-mode):
9509 * emacs-lisp/debug.el (debugger-mode):
9510 * array.el (array-mode):
9511 * net/eudc.el (eudc-mode): Use define-derived-mode.
9512 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9513 Move initialization into declaration.
9514 (mairix-searches-mode): Use define-derived-mode.
9515 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9516 (eudc-edit-hotlist): Use dolist.
9517 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9518 (Man-mode): Use define-derived-mode.
9519 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9520 (Info-edit-mode): Use define-derived-mode.
9521 (Info-cease-edit): Use Info-mode.
9522 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9524 (eshell-mode): Use define-derived-mode.
9525 * chistory.el (command-history-mode-map): Rename from
9526 command-history-map.
9527 (command-history-mode): Use define-derived-mode.
9528 (Command-history-setup): Remove function.
9529 * calc/calc.el (calc-trail-mode-map): New var.
9530 (calc-trail-mode): Use define-derived-mode.
9531 (calc-trail-buffer): Set calc-main-buffer manually.
9532 * bookmark.el (bookmark-insert-annotation): New function.
9533 (bookmark-edit-annotation): Use it.
9534 (bookmark-edit-annotation-mode): Make it a proper major mode.
9535 (bookmark-send-edited-annotation): Use derived-mode-p.
9536 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9537 closer to its ideal place. Use \' to match EOS.
9539 * profiler.el (profiler-calltree-find): Use function-equal.
9541 2013-09-10 Glenn Morris <rgm@gnu.org>
9543 * files.el (interpreter-mode-alist): Convert to regexps.
9544 (set-auto-mode): Adapt for this. (Bug#15306)
9545 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9546 Comment out unused variable.
9547 * progmodes/cc-mode.el (interpreter-mode-alist):
9548 * progmodes/python.el (interpreter-mode-alist):
9549 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9550 * progmodes/sh-script.el (sh-set-shell):
9551 No longer use interpreter-mode-alist to get list of shells.
9553 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9555 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * simple.el: Use set-temporary-overlay-map for universal-argument.
9558 (universal-argument-map): Don't use default-bindings (bug#15317).
9559 Bind switch-frame explicitly. Replace universal-argument-minus with
9560 a conditional binding.
9561 (universal-argument-num-events, saved-overriding-map): Remove.
9562 (restore-overriding-map): Remove.
9563 (universal-argument--mode): Rename from save&set-overriding-map,
9565 (universal-argument, universal-argument-more, negative-argument)
9566 (digit-argument): Adjust accordingly.
9567 (universal-argument-minus): Remove.
9568 (universal-argument-other-key): Remove.
9570 * subr.el (with-demoted-errors): Add `format' argument.
9572 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9574 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9575 `tramp-cleanup-connection'.
9577 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9578 parameters KEEP-DEBUG and KEEP-PASSWORD.
9580 * net/tramp.el (tramp-file-name-handler):
9581 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9582 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9583 (tramp-maybe-open-connection):
9584 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9585 Use `tramp-cleanup-connection'.
9587 * net/tramp-sh.el (tramp-maybe-open-connection):
9588 Catch 'uname-changed inside the progress reporter.
9590 2013-09-10 Glenn Morris <rgm@gnu.org>
9592 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9594 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9595 returns "alternate access method" in mode (eg "-rw-r--r--.").
9597 2013-09-08 Glenn Morris <rgm@gnu.org>
9599 * saveplace.el (load-save-place-alist-from-file):
9600 Demote errors. (Bug#15305)
9602 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9604 Improve compatibility with older Emacsen, and XEmacs.
9606 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9607 only if it is bound. It isn't for XEmacs.
9608 (with-tramp-progress-reporter): Do not let-bind `result'.
9609 This yields to scoping errors in XEmacs.
9610 (tramp-handle-make-auto-save-file-name): New function, moved from
9613 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9614 for `make-auto-save-file-name'.
9615 (tramp-adb--gnu-switches-to-ash):
9616 Use `tramp-compat-replace-regexp-in-string'.
9618 * net/tramp-cache.el (tramp-cache-print): Call
9619 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9621 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9622 bound. It isn't for XEmacs.
9624 * net/tramp-compat.el (tramp-compat-copy-file):
9625 Catch `wrong-number-of-arguments' error.
9626 (tramp-compat-replace-regexp-in-string): New defun.
9628 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9629 for `make-auto-save-file-name'.
9630 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9632 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9633 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9634 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9636 * net/tramp-gw.el (tramp-gw-open-network-stream):
9637 Use `tramp-compat-replace-regexp-in-string'.
9639 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9640 Call `tramp-handle-make-auto-save-file-name'.
9641 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9642 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9643 (tramp-sh-file-inotifywait-process-filter):
9644 Use `tramp-compat-replace-regexp-in-string'.
9645 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9647 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9648 for `make-auto-save-file-name'.
9649 (tramp-smb-handle-copy-directory):
9650 Call `tramp-compat-replace-regexp-in-string'.
9651 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9652 (tramp-smb-handle-copy-file): Improve error message.
9653 (tramp-smb-handle-rename-file): Rename directly only in case
9654 `newname' does not exist yet. This is a restriction of smbclient.
9655 (tramp-smb-maybe-open-connection): Rerun the function only when
9656 `auth-sources' is non-nil.
9658 2013-09-08 Kenichi Handa <handa@gnu.org>
9660 * international/characters.el: Set category "^" (Combining) for
9663 2013-09-07 Alan Mackenzie <acm@muc.de>
9665 Correctly fontify Java class constructors.
9666 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9668 (c-recognize-typeless-decls): Set the Java value to t.
9669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9670 While handling a "(", add a check for, effectively, Java, and handle a
9671 "typeless" declaration there.
9673 2013-09-07 Roland Winkler <winkler@gnu.org>
9675 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9676 field subtitle for entry type book.
9678 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9680 * minibuffer.el: Make minibuffer-complete call completion-in-region
9681 rather than other way around.
9682 (completion--some, completion-pcm--find-all-completions):
9683 Don't delay signals when debugging.
9684 (minibuffer-completion-contents): Beware fields within the
9685 minibuffer contents.
9686 (completion-all-sorted-completions): Use defvar-local.
9687 (completion--do-completion, completion--cache-all-sorted-completions)
9688 (completion-all-sorted-completions, minibuffer-force-complete):
9689 Add args `beg' and `end'.
9690 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9691 (minibuffer-complete): Use completion-in-region.
9692 (completion-complete-and-exit): New fun, extracted from
9693 minibuffer-complete-and-exit.
9694 (minibuffer-complete-and-exit): Use it.
9695 (completion--complete-and-exit): Rename from
9696 minibuffer--complete-and-exit.
9697 (completion-in-region--single-word): New function, extracted from
9698 minibuffer-complete-word.
9699 (minibuffer-complete-word): Use it.
9700 (display-completion-list): Make `common-substring' argument obsolete.
9701 (completion--in-region): Call completion--in-region-1 instead of
9702 minibuffer-complete.
9703 (completion-help-at-point): Pass boundaries to
9704 minibuffer-completion-help as args rather than via an overlay.
9705 (completion-pcm--string->pattern): Use `any-delim'.
9706 (completion-pcm--optimize-pattern): New function.
9707 (completion-pcm--pattern->regex): Handle `any-delim'.
9708 * icomplete.el (icomplete-forward-completions)
9709 (icomplete-backward-completions, icomplete-completions):
9710 Adjust calls to completion-all-sorted-completions and
9711 completion--cache-all-sorted-completions.
9712 (icomplete-with-completion-tables): Default to t.
9713 * emacs-lisp/crm.el (crm--current-element): Rename from
9714 crm--select-current-element. Don't put an overlay but return the
9716 (crm--completion-command): Take two new args to bind to the boundaries.
9717 (crm-completion-help): Adjust accordingly.
9718 (crm-complete): Use completion-in-region.
9719 (crm-complete-word): Use completion-in-region--single-word.
9720 (crm-complete-and-exit): Use completion-complete-and-exit.
9722 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9724 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9727 2013-09-06 Juri Linkov <juri@jurta.org>
9729 * info.el (Info-display-images-node): When image file doesn't exist
9730 display text version of the image if it's provided in the Info file.
9731 Otherwise, display the location of missing image from SRC attribute.
9732 Add help-echo text property from ALT attribute. (Bug#15279)
9734 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9736 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9737 (edit-abbrevs-mode): Use define-derived-mode.
9739 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9740 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9742 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9743 Use define-derived-mode.
9745 * epg.el (epg-start-encrypt): Minor CSE simplification.
9747 2013-09-06 William Xu <william.xwl@gmail.com>
9749 * arc-mode.el: Add support for 7za (bug#15264).
9750 (archive-7z-program): New var.
9751 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9752 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9753 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9755 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9759 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9760 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9761 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9762 (tramp-postfix-host-format, tramp-file-name-regexp)
9763 (tramp-completion-file-name-regexp)
9764 (tramp-completion-dissect-file-name)
9765 (tramp-handle-substitute-in-file-name): Remove 'url case.
9766 (tramp-file-name-regexp-url)
9767 (tramp-completion-file-name-regexp-url): Remove constants.
9769 2013-09-06 Glenn Morris <rgm@gnu.org>
9771 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9773 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9775 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9776 keywords" below "here-doc beginnings" (Bug#15270).
9778 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9780 * subr.el (pop): Use `car-safe'.
9781 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9782 to detect unused `pop' return value.
9784 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9786 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9787 (python-fill-string): Remove unused var `marker'.
9788 (python-skeleton-add-menu-items): Remove unused var `items'.
9790 * international/mule-cmds.el: Require CL.
9791 (find-coding-systems-for-charsets): Avoid add-to-list.
9792 (sanitize-coding-system-list): New function, extracted from
9793 select-safe-coding-system-interactively.
9794 (select-safe-coding-system-interactively): Use it.
9795 (read-input-method-name): Accept symbols for `default'.
9797 * emacs-lisp/advice.el (defadvice): Add indent rule.
9799 2013-09-05 Daniel Hackney <dan@haxney.org>
9803 * net/browse-url.el:
9806 * net/eudcb-ldap.el:
9819 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9820 byte compiler. Remove some unused let-bound variables.
9822 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9825 a "ref-cell", since it gets better optimized (bug#14883).
9827 2013-09-05 Glenn Morris <rgm@gnu.org>
9829 * progmodes/cc-awk.el (c-forward-sws): Declare.
9831 2013-09-04 Glenn Morris <rgm@gnu.org>
9833 * generic-x.el [rul-generic-mode]: Require cc-mode.
9834 (c++-mode-syntax-table): Declare.
9835 (rul-generic-mode-syntax-table): Init in the defvar.
9837 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9839 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9840 (vc-do-command, vc-set-async-update):
9841 * vc/vc-mtn.el (vc-mtn-dir-status):
9842 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9843 (vc-hg-pull, vc-hg-merge-branch):
9844 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9845 (vc-git-merge-branch):
9846 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9847 (vc-cvs-dir-status-files):
9848 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9849 (vc-bzr-dir-status-files):
9850 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9851 * vc/vc-annotate.el: Use lexical-binding.
9852 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9853 (vc-sentinel-movepoint): Declare.
9854 (vc-annotate): Don't use `goto-line'.
9855 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9856 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9857 (vc-sentinel-movepoint): Declare.
9858 * vc/vc-svn.el: Use lexical-binding.
9859 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9861 * vc/vc-rcs.el: Use lexical-binding.
9863 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9864 `deleted'. Don't drop errors silently.
9866 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9868 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9870 * vc/vc.el (vc-ignore): Rewrite.
9871 (vc-default-ignore): New function.
9872 (vc-default-ignore-completion-table): Use find-ignore-file.
9874 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9875 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9876 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9877 Remove. Most code moved to vc.el.
9879 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9882 * net/tramp-smb.el (tramp-smb-get-file-entries):
9883 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9884 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9886 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9888 (eww-change-select): Remove unused var `properties'.
9889 (eww-make-unique-file-name): Remove unused var `base'.
9891 * finder.el (finder-compile-keywords): Don't mess with windows.
9893 * calculator.el (calculator-funcall): Fix typo in last change.
9895 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9897 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9898 <pkg>-autoloads.el file stop us.
9900 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9901 warnings, and factor out common code.
9903 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9905 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9906 two-character operators and whether the character preceding them
9907 changes their meaning (Bug#15208).
9909 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9911 Format code sent to Python shell for robustness.
9912 * progmodes/python.el (python-shell-buffer-substring):
9914 (python-shell-send-region, python-shell-send-buffer): Use it.
9916 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9918 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9919 * net/tramp.el (tramp-user-error): ... here.
9920 (tramp-find-method, tramp-check-proper-host)
9921 (tramp-dissect-file-name, tramp-debug-message)
9922 (tramp-handle-shell-command):
9923 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9926 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9928 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9930 * avoid.el (mouse-avoidance-point-position)
9931 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9934 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9936 * progmodes/python.el (python-shell-completion-get-completions):
9937 Drop use of deleted `comint-last-prompt-overlay'.
9938 (python-nav-if-name-main): New command.
9940 2013-09-01 Glenn Morris <rgm@gnu.org>
9942 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9943 Avoid leading space in $wins. Otherwise the sed command used by
9944 eg compile-main ends up containing "/*.el". (Bug#15170)
9946 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9948 2013-08-30 Glenn Morris <rgm@gnu.org>
9950 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9951 Fix is-this-a-directory logic. (Bug#15220)
9953 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * textmodes/css-mode.el: Use SMIE.
9956 (css-smie-grammar): New var.
9957 (css-smie--forward-token, css-smie--backward-token)
9958 (css-smie-rules): New functions.
9959 (css-mode): Use them.
9960 (css-navigation-syntax-table): Remove var.
9961 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9962 (css-indent-calculate, css-indent-line): Remove functions.
9964 Misc changes to reduce use of `(lambda...); and other cleanups.
9965 * cus-edit.el: Use lexical-binding.
9966 (customize-push-and-save, customize-apropos)
9967 (custom-buffer-create-internal): Use closures.
9968 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9969 * progmodes/ada-xref.el: Use setq.
9970 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9971 * dframe.el: Use lexical-binding.
9972 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9973 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9974 * descr-text.el: Use lexical-binding.
9975 (describe-text-widget, describe-text-sexp, describe-property-list):
9977 * comint.el (comint-history-isearch-push-state): Use a closure.
9978 * calculator.el: Use lexical-binding.
9979 (calculator-number-to-string): Make it work with lexical-binding.
9980 (calculator-funcall): Same and use cl-letf.
9982 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9983 (lisp--company-doc-string, lisp--company-location): New functions.
9984 (lisp-completion-at-point): Use them to improve Company support.
9986 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9987 params of lambda expressions.
9988 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9989 (ruby-smie--opening-pipe-p): New function.
9990 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9991 symbols and matched |...| for formal params.
9992 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9993 from being treated as hanging. Handle "rescue".
9995 2013-08-29 Glenn Morris <rgm@gnu.org>
9997 * progmodes/cc-engine.el (c-pull-open-brace):
9998 Move definition before use.
10000 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10002 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10003 are immutable. Don't use `unsafe' any more.
10004 (cl--defsubst-expand): Don't substitute at the same time as keeping
10005 a residual unused let-binding. Don't use `unsafe' any more.
10007 2013-08-29 Glenn Morris <rgm@gnu.org>
10009 * calendar/cal-china.el (calendar-chinese-year-cache):
10012 * nxml/nxml-util.el (nxml-debug-clear-inside):
10013 Use cl-loop rather than loop.
10015 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10017 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10019 2013-08-28 Glenn Morris <rgm@gnu.org>
10021 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10023 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10025 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10027 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10029 * simple.el (repeat-complex-command--called-interactively-skip):
10031 (repeat-complex-command): Use it (bug#14136).
10033 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10034 (c-define-abbrev-table): Add `doc' argument.
10035 (c-mode-abbrev-table, c++-mode-abbrev-table)
10036 (objc-mode-abbrev-table, java-mode-abbrev-table)
10037 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10038 (awk-mode-abbrev-table): Use it.
10039 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10040 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10041 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10042 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10043 Move initialization into the declaration; and remove any
10046 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10047 and dynamic let binding.
10049 * vc/smerge-mode.el: Remove redundant :group args.
10051 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10054 2013-08-28 Juri Linkov <juri@jurta.org>
10056 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10057 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10058 (isearch-other-meta-char): Handle an undefined shifted printing
10059 character by downshifting it. (Bug#15200)
10061 2013-08-28 Juri Linkov <juri@jurta.org>
10063 * isearch.el (isearch-search): Change regexp error message for
10064 non-regexp searches. (Bug#15166)
10066 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10068 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10069 for portability to hosts where /bin/sh has problems.
10071 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10073 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10075 2013-08-27 Juri Linkov <juri@jurta.org>
10077 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10078 in the keyboard macro. (Bug#15126)
10080 2013-08-27 Juri Linkov <juri@jurta.org>
10082 * isearch.el (isearch-quote-char): Comment out converting unibyte
10083 to multibyte, thus syncing with its `quoted-insert' counterpart.
10086 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10088 * window.el (display-buffer-use-some-window): Add missing
10089 argument in call of get-largest-window (Bug#15185).
10090 Reported by Stephen Leake.
10092 2013-08-27 Glenn Morris <rgm@gnu.org>
10094 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10096 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10098 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10099 from a matcher-function unless there's no more matches (bug#15161).
10101 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10103 * minibuffer.el: Revert change from 2013-08-20.
10105 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10106 with text property `tramp-default', if appropriate.
10107 (tramp-check-proper-host): New defun.
10108 (tramp-dissect-file-name): Do not check hostname. Revert change
10110 (tramp-backtrace): Make VEC-OR-PROC optional.
10112 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10113 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10114 * net/tramp-sh.el (tramp-maybe-open-connection):
10115 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10116 Apply `tramp-check-proper-host'.
10118 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10120 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10121 lambda expression in order to have `describe-variable' display it.
10123 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10125 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10126 BUF can be optional. (Bug#15186)
10128 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10130 * progmodes/flymake.el (flymake-get-real-file-name-function):
10131 Fix broken customization. (Bug#15184)
10133 2013-08-25 Alan Mackenzie <acm@muc.de>
10135 Improve indentation of bracelists defined by macros (without "=").
10137 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10138 expansion begins with "{", regard it as bracelist when it doesn't
10141 Parse C++ inher-intro when there's a template split over 2 lines.
10143 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10144 rigorously the search for "class" etc. followed by ":".
10146 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10147 random languages a regexp which never matches rather than nil.
10149 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10151 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10152 (c-awk-regexp-one-line-possibly-open-char-list-re)
10153 (c-awk-one-line-possibly-open-regexp-re)
10154 (c-awk-one-line-non-syn-ws*-re): Remove.
10155 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10156 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10157 (c-awk-space*-unclosed-regexp-/-re): New constants.
10158 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10159 aren't regexp delimiters.
10161 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10162 handling for a rare situation in AWK Mode involving unterminated
10165 2013-08-23 Glenn Morris <rgm@gnu.org>
10167 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10169 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10171 * files.el (create-file-buffer): If the result would begin with
10172 spaces, prepend a "|" instead of removing them. (Bug#15162)
10174 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10176 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10177 text-properties (bug#15155).
10179 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10181 (calc-keypad-redraw): Remove unused var `pad'.
10182 (calc-keypad-press): Remove unused var `menu'.
10184 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10186 * window.el (display-buffer-pop-up-frame):
10187 Call pop-up-frame-function with BUFFER current so `make-frame' will
10188 use it as the new frame's buffer (Bug#15133).
10190 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10192 * calendar/timeclock.el: Minor cleanups.
10193 (timeclock-ask-before-exiting, timeclock-use-display-time):
10195 (timeclock-modeline-display): Define as alias before the
10197 (timeclock-mode-line-display): Use define-minor-mode.
10198 (timeclock-day-list-template): Make it a function, add an argument.
10199 (timeclock-day-list-required, timeclock-day-list-length)
10200 (timeclock-day-list-debt, timeclock-day-list-span)
10201 (timeclock-day-list-break): Adjust calls accordingly.
10203 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10206 Use read--expression so that completion works again.
10208 2013-08-21 Sam Steingold <sds@gnu.org>
10210 Add rudimentary inferior shell interaction
10211 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10212 (sh-set-shell): Reset it.
10213 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10214 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10216 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * align.el: Use lexical-binding.
10219 (align-region): Simplify accordingly.
10221 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10223 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10225 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10226 `non-essential' up.
10228 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10231 * net/tramp-adb.el:
10232 * net/tramp-cmds.el:
10233 * net/tramp-ftp.el:
10234 * net/tramp-gvfs.el:
10236 * net/tramp-sh.el: Don't wrap external variable declarations by
10237 `eval-when-compile'.
10239 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10241 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10242 now that Emacs supports ImageMagick animations.
10244 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10246 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10247 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10249 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10251 * window.el (mouse-autoselect-window-select): Do autoselect when
10252 mouse pointer is on margin.
10254 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10256 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10258 2013-08-16 Glenn Morris <rgm@gnu.org>
10260 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10261 Handle "Remote Directory" response of some clients. (Bug#15058)
10263 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10264 Tweak warning. (Bug#14926)
10266 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10267 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10269 * image-mode.el (image-mode-map): Add menu items to reverse,
10270 increase, decrease, reset animation speed.
10271 (image--set-speed, image-increase-speed, image-decrease-speed)
10272 (image-reverse-speed, image-reset-speed): New functions.
10273 (image-mode-map): Add bindings for speed commands.
10275 * image.el (image-animate-get-speed, image-animate-set-speed):
10277 (image-animate-timeout): Respect image :speed property.
10279 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10282 previous line (bug#15101).
10283 (debugger-eval-expression, debugger-record-expression):
10284 Use read--expression (bug#15102).
10286 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10288 Remove byte compiler warnings, visible when compiling with
10289 `byte-compile-force-lexical-warnings' set to t.
10291 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10292 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10293 (tramp-handle-unhandled-file-name-directory)
10294 (tramp-handle-file-notify-add-watch, tramp-action-login)
10295 (tramp-action-succeed, tramp-action-permission-denied)
10296 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10297 arguments with "_".
10299 * net/tramp-adb.el (tramp-adb-parse-device-names)
10300 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10301 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10302 (tramp-adb-handle-file-truename): Remove unused arguments.
10304 * net/tramp-cache.el (tramp-flush-directory-property)
10305 (tramp-flush-connection-property, tramp-list-connections)
10306 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10308 * net/tramp-compat.el (tramp-compat-make-temp-file):
10309 Rename FILENAME to F.
10311 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10312 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10313 (tramp-zeroconf-parse-workstation-device-names)
10314 (tramp-zeroconf-parse-webdav-device-names)
10315 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10317 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10318 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10320 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10322 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10323 (tramp-sh-handle-insert-file-contents-literally)
10324 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10326 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10327 Remove unused variables.
10329 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10330 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10331 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10333 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10334 Make them a defconst.
10335 (tramp-uuencode-region): Remove unused variable.
10337 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10339 * frameset.el (frameset--prop-setter): New function.
10340 (frameset-prop): Add gv-setter declaration.
10341 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10342 parameter was already set in FILTERED. Doc fix.
10343 (frameset--record-minibuffer-relationships): Allow saving a
10344 minibufferless frame without its corresponding minibuffer frame.
10345 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10346 frame, if the frame id matches.
10347 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10348 frames before orphaned ones.
10349 (frameset-restore): Warn about orphaned windows, instead of error out.
10351 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10353 * window.el (window-make-atom): Don't overwrite parameter
10355 (display-buffer-in-atom-window): Handle special case where we
10356 split an already atomic window.
10357 (window--major-non-side-window, display-buffer-in-side-window)
10358 (window--side-check): Ignore minibuffer window when walking
10360 (window-deletable-p): Return 'frame only if no other frame uses
10361 our minibuffer window.
10362 (record-window-buffer): Run buffer-list-update-hook.
10363 (split-window): Make sure window--check-frame won't destroy an
10364 existing atomic window in case the new window gets nested
10366 (display-buffer-at-bottom): Ignore minibuffer window when
10367 walking window tree. Don't split a side window.
10368 (pop-to-buffer): Don't set-buffer here, the select-window call
10370 (mouse-autoselect-window-select): Autoselect only if we are in the
10371 text portion of the window.
10373 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10375 * net/shr.el (shr-parse-image-data): New function to grab both the
10376 data itself and the Content-Type.
10377 (shr-put-image): Use it.
10379 * net/eww.el (eww-display-image): Ditto.
10381 * image.el (image-content-type-suffixes): New variable.
10383 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10385 * progmodes/python.el (python-imenu--build-tree)
10386 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10388 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10390 * simple.el (backward-word): Mention the optional argument.
10392 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10394 * frameset.el (frameset--make): Rename constructor from make-frameset.
10395 (frameset-p, frameset-valid-p): Don't autoload.
10396 (frameset-valid-p): Use normal accessors.
10398 2013-08-13 Glenn Morris <rgm@gnu.org>
10400 * progmodes/compile.el (compile-command): Tweak example in doc.
10401 * obsolete/scribe.el (scribe-mode):
10402 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10404 * mail/feedmail.el (feedmail-confirm-outgoing)
10405 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10407 * cus-start.el (truncate-partial-width-windows): Fix type.
10409 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10411 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10413 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * emacs-lisp/timer.el (timer--time-setter): New function.
10416 (timer--time): Use it as gv-setter.
10418 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10419 setter is not a symbol.
10421 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10423 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10424 if sending fails. This makes debugging easier.
10426 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10428 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10429 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10430 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10432 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10434 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10436 2013-08-12 Glenn Morris <rgm@gnu.org>
10438 * format.el (format-annotate-function):
10439 Handle read-only text properties in the source. (Bug#14887)
10441 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10443 * net/eww.el (eww-display-html): Ignore coding system errors.
10444 One web site uses "utf-8lias" as the coding system.
10446 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10448 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10450 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10452 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10453 (tutorial--detailed-help): Remove unused local variables.
10454 (tutorial--save-tutorial-to): Use ignore-errors.
10455 (help-with-tutorial): Use looking-at-p.
10457 * view.el (view-buffer-other-window, view-buffer-other-frame):
10458 Mark unused arguments.
10460 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10461 (woman-select-symbol-fonts, woman, woman-find-file)
10462 (woman-insert-file-contents, woman-non-underline-faces):
10463 Use string-match-p.
10464 (woman1-unquote): Move declaration.
10466 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10467 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10468 argument. Remove unused local variable.
10469 (xml-parse-elem-type): Use string-match-p.
10470 (xml-substitute-numeric-entities): Use ignore-errors.
10472 * calculator.el (calculator): Mark unused argument.
10473 (calculator-paste, calculator-quit, calculator-integer-p):
10475 (calculator-string-to-number, calculator-decimal, calculator-exp)
10476 (calculator-op-or-exp): Use string-match-p.
10478 * dired.el (dired-buffer-more-recently-used-p): Declare.
10479 (dired-insert-set-properties, dired-insert-old-subdirs):
10482 * dired-aux.el (dired-compress): Use ignore-errors.
10483 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10484 (dired-do-async-shell-command, dired-do-shell-command)
10485 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10486 (dired-insert-subdir-validate): Use string-match-p.
10487 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10488 (dired-add-entry): Use string-match-p, looking-at-p.
10489 (dired-insert-subdir-newpos): Remove unused local variable.
10491 * filenotify.el (file-notify-callback): Remove unused local variable.
10493 * filesets.el (filesets-error): Mark unused argument.
10494 (filesets-which-command-p, filesets-filter-dir-names)
10495 (filesets-directory-files, filesets-get-external-viewer)
10496 (filesets-ingroup-get-data): Use string-match-p.
10498 * find-file.el (ff-other-file-name, ff-other-file-name)
10499 (ff-find-the-other-file, ff-cc-hh-converter):
10500 Remove unused local variables.
10501 (ff-get-file-name): Use string-match-p.
10502 (ff-all-dirs-under): Use ignore-errors.
10504 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10505 (follow-select-if-visible): Remove unused local variable.
10507 * forms.el (read-file-filter): Move declaration.
10508 (forms--make-format, forms--make-parser, forms-insert-record):
10509 Quote function with #'.
10510 (forms--update): Use string-match-p. Quote function with #'.
10512 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10513 (help-make-xrefs): Use looking-at-p.
10514 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10516 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10517 (ibuffer-confirm-operation-on): Use string-match-p.
10519 * msb.el (msb-item-handler, msb-dired-item-handler):
10520 Mark unused arguments.
10522 * ses.el (ses-decode-cell-symbol)
10523 (ses-kill-override): Remove unused local variable.
10524 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10525 (ses-load): Use ignore-errors, looking-at-p.
10526 (ses-jump-safe): Use ignore-errors.
10527 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10529 * tabify.el (untabify, tabify): Mark unused arguments.
10531 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10532 Mark unused argument.
10533 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10534 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10536 * emacs-lisp/timer.el (timer--time): Define setter with
10537 gv-define-setter to avoid deprecation warning.
10539 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10540 (*record-cmpl-statistics-p*): Remove (was commented out).
10541 (cmpl-statistics-block): Remove (body was commented out).
10542 All callers changed.
10543 (add-completions-from-buffer, load-completions-from-file):
10544 Remove unused variables.
10546 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10548 * filecache.el (file-cache-delete-file-list):
10549 Print message only when told so.
10550 (file-cache-files-matching): Use #' in mapconcat argument.
10552 * ffap.el (ffap-url-at-point): Fix reference to variable
10553 thing-at-point-default-mail-uri-scheme.
10555 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10557 * subr.el (define-error): New function.
10558 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10559 error-file-not-found and define with define-error.
10560 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10561 and define with define-error.
10562 * userlock.el (file-locked, file-supersession):
10563 * simple.el (mark-inactive):
10564 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10565 * progmodes/ada-mode.el (ada-mode-errors):
10566 * play/life.el (life-extinct):
10567 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10568 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10569 * nxml/rng-util.el (rng-error):
10570 * nxml/rng-uri.el (rng-uri-error):
10571 * nxml/rng-match.el (rng-compile-error):
10572 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10573 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10574 * nxml/nxml-rap.el (nxml-scan-error):
10575 * nxml/nxml-outln.el (nxml-outline-error):
10576 * net/soap-client.el (soap-error):
10577 * net/gnutls.el (gnutls-error):
10578 * net/ange-ftp.el (ftp-error):
10579 * mpc.el (mpc-proc-error):
10580 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10581 (json-number-format, json-string-escape, json-string-format)
10582 (json-key-format, json-object-format):
10583 * jka-compr.el (compression-error):
10584 * international/quail.el (quail-error):
10585 * international/kkc.el (kkc-error):
10586 * emacs-lisp/ert.el (ert-test-failed):
10587 * calc/calc.el (calc-error, inexact-result, math-overflow)
10589 * bookmark.el (bookmark-error-no-filename):
10590 * epg.el (epg-error): Define with define-error.
10592 * time.el (display-time-event-handler)
10593 (display-time-next-load-average): Don't call sit-for since it seems
10594 unnecessary (bug#15045).
10596 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10597 Use #' instead of ' to quote functions.
10598 (checkdoc-output-mode): Use setq-local.
10599 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10600 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10601 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10602 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10603 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10604 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10605 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10606 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10608 * ido.el (ido-completion-help): Fix up compiler warning.
10610 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10612 * frameset.el (frameset-p): Add autoload cookie.
10613 (frameset--jump-to-register): New function, based on code moved from
10615 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10617 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10618 (frameset-restore, frameset-save, frameset-session-filter-alist):
10619 Remove declarations.
10620 (register-alist): Doc fix.
10621 (frameset-to-register): Move to frameset.el.
10622 (jump-to-register, describe-register-1): Remove frameset-specific code.
10624 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10626 * allout-widgets.el (allout-widgets-pre-command-business)
10627 (allout-widgets-post-command-business)
10628 (allout-widgets-after-change-handler)
10629 (allout-decorate-item-and-context, allout-set-boundary-marker)
10630 (allout-body-modification-handler)
10631 (allout-graphics-modification-handler): Mark ignored arguments.
10632 (allout-widgets-post-command-business)
10633 (allout-widgets-exposure-change-processor)
10634 (allout-widgets-exposure-undo-processor)
10635 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10636 (allout-parse-item-at-point, allout-decorate-item-guides)
10637 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10638 * allout.el (epa-passphrase-callback-function): Declare.
10639 (allout-overlay-insert-in-front-handler)
10640 (allout-overlay-interior-modification-handler)
10641 (allout-isearch-end-handler, allout-chart-siblings)
10642 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10643 (allout-yank-processing, allout-process-exposed)
10644 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10645 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10646 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10647 (lisp-indent-defform): Mark ignored arguments.
10648 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10649 (calculate-lisp-indent): Remove unused variables.
10650 * international/characters.el (indian-2-column, arabic-2-column)
10651 (tibetan): Mark ignored arguments.
10652 (use-cjk-char-width-table): Mark ignored arguments.
10653 Remove unused variables.
10654 * international/fontset.el (build-default-fontset-data)
10655 (x-compose-font-name, create-fontset-from-fontset-spec):
10656 Mark ignored arguments.
10657 (fontset-plain-name): Remove unused variables.
10658 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10659 (keyboard-coding-system): Mark ignored arguments.
10660 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10661 * help.el (resize-temp-buffer-window):
10662 * window.el (display-buffer-in-major-side-window)
10663 (display-buffer-in-side-window, display-buffer-in-previous-window):
10664 Remove unused variables.
10665 * isearch.el (isearch-forward-symbol):
10666 * version.el (emacs-bzr-version-bzr):
10667 * international/mule-cmds.el (current-language-environment):
10668 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10669 (x-handle-display):
10670 * term/pc-win.el (x-list-fonts, x-display-planes)
10671 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10672 (x-server-version, x-display-screens, x-display-mm-height)
10673 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10674 (x-selection-owner-p, x-own-selection-internal)
10675 (x-disown-selection-internal, x-get-selection-internal)
10676 (msdos-initialize-window-system):
10677 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10678 * term/x-win.el (x-handle-no-bitmap-icon):
10679 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10680 (vc-default-find-file-hook, vc-default-extra-menu):
10681 Mark ignored arguments.
10683 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10686 break-condition in the context of the debugged code (bug#12685).
10688 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10691 Do not use an overlay to highlight the last prompt. (Bug#14744)
10692 (comint-mode): Make comint-last-prompt buffer local.
10693 (comint-last-prompt): New variable.
10694 (comint-last-prompt-overlay): Remove. Superseded by
10695 comint-last-prompt.
10696 (comint-snapshot-last-prompt, comint-output-filter):
10697 Use comint-last-prompt.
10699 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10701 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10702 (frameset-save): Check validity of the resulting frameset.
10704 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10706 * ido.el (ido-record-command): Add doc string.
10708 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10710 * frameset.el (frameset): Do not disable creation of the default
10711 frameset-p predicate. Doc fix.
10712 (frameset-valid-p): New function, copied from the old predicate-p.
10713 Add additional checks.
10714 (frameset-restore): Check with frameset-valid-p.
10715 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10716 (frameset-name, frameset-description, frameset-properties)
10717 (frameset-states): Add docstring.
10718 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10719 (frameset-filter-alist): Doc fixes.
10721 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10723 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10725 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10728 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10729 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10730 (byte-compile-normal-call): Remove obsolescence check.
10732 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10734 * frameset.el (frameset-restore): Doc fix.
10736 * register.el (frameset-frame-id, frameset-frame-with-id)
10737 (frameset-p, frameset-restore, frameset-save): Declare.
10738 (register-alist): Document framesets.
10739 (frameset-session-filter-alist): Declare.
10740 (frameset-to-register): New function.
10741 (jump-to-register): Implement jumping to framesets. Doc fix.
10742 (describe-register-1): Describe framesets.
10744 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10746 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10748 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10749 Use lexical-binding.
10751 * frameset.el (frameset): Use type vector, not list (incompatible
10752 change). Do not declare a new constructor, use the default one.
10753 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10754 `name' and `description', respectively, and add read-only slot
10755 `timestamp'. Doc fixes.
10756 (frameset-copy, frameset-persistent-filter-alist)
10757 (frameset-filter-alist, frameset-switch-to-gui-p)
10758 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10759 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10760 (frameset-filter-iconified, frameset-keep-original-display-p):
10762 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10763 Rename from frameset-filter-(save|restore)-param. All callers changed.
10765 (frameset-p): Adapt to change to vector and be more thorough.
10766 Change arg name to OBJECT. Doc fix.
10767 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10768 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10769 All callers changed.
10770 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10771 All callers changed.
10772 (frameset--record-minibuffer-relationships): Rename from
10773 frameset--process-minibuffer-frames. All callers changed.
10774 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10775 Use new default constructor (again). Doc fix.
10776 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10777 All callers changed.
10778 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10779 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10781 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10782 PARAMETERS and WINDOW-STATE, respectively.
10783 (frameset-restore): Add new keyword argument PREDICATE.
10784 Reset frameset--target-display to nil. Doc fix.
10786 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10789 (bat-mode): Use it.
10790 (bat-mode-syntax-table): Mark \n as end-of-comment.
10791 (bat-font-lock-keywords): Remove comment rule.
10793 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10794 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10796 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10797 (byte-compile-callargs-warn): Use `push'.
10798 (byte-compile-arglist-warn): Ignore higher-order "calls".
10799 (byte-compile-file-form-autoload): Use `pcase'.
10800 (byte-compile-function-form): If quoting a symbol, check that it exists.
10802 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10804 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10805 and add a few popular commands found in batch files.
10806 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10807 (dos-mode): Doc fixes.
10809 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10812 (dos-mode): Use setq-local. Add space after "rem".
10813 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10814 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10816 2013-08-07 Arni Magnusson <arnima@hafro.is>
10818 * progmodes/dos.el: New file.
10819 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10822 2013-08-06 Glenn Morris <rgm@gnu.org>
10824 * calendar/calendar.el: Add new faces, and day-header-array.
10825 (calendar-weekday-header, calendar-weekend-header)
10826 (calendar-month-header): New faces.
10827 (calendar-day-header-construct): New function.
10828 (calendar-day-header-width): Also :set calendar-day-header-array.
10829 (calendar-american-month-header, calendar-european-month-header)
10830 (calendar-iso-month-header): Use calendar- faces.
10831 (calendar-generate-month):
10832 Use calendar-day-header-array for day headers; apply faces to them.
10833 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10834 (calendar-abbrev-construct): Add optional maxlen argument.
10835 (calendar-day-name-array): Doc fix.
10836 (calendar-day-name-array, calendar-abbrev-length)
10837 (calendar-day-abbrev-array):
10838 Also :set calendar-day-header-array, and maybe redraw.
10839 (calendar-day-header-array): New option. (Bug#15007)
10840 (calendar-font-lock-keywords): Set to nil and make obsolete.
10841 (calendar-day-name): Add option to use header array.
10843 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10845 * net/shr.el (shr-render-td): Remove debugging.
10846 (shr-render-td): Make width computation consistent by defaulting
10847 all zero-width columns to 10 characters. This may not be optimal,
10848 but it's at least consistent.
10849 (shr-make-table-1): Redo last change to fix the real problem in
10852 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10854 * files.el (cache-long-line-scans):
10855 Make obsolete alias to `cache-long-scans'.
10857 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10859 * frameset.el (frameset, frameset-filter-alist)
10860 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10861 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10862 (frameset-compute-pos): Rename from frameset--compute-pos,
10864 (frameset-move-onscreen): Use frameset-compute-pos.
10865 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10867 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10868 Fix typos in docstrings.
10870 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10872 * frame.el (get-other-frame): Tiny cleanup.
10874 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10876 * vc/vc.el (vc-default-ignore-completion-table):
10877 Silence byte-compiler warning.
10879 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10880 slot, which can indeed be nil.
10881 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10882 Move entry for `left' from persistent to live filter alist.
10883 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10885 (frameset-filter-params): When restoring a frame, copy items added to
10886 `filtered', to avoid unwittingly modifying the original parameters.
10887 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10888 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10890 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10891 to use looking-at-p instead of looking-at. (Bug#15028)
10893 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10895 Revert introduction of isearch-filter-predicates (bug#14714).
10896 Rely on add-function instead.
10897 * isearch.el (isearch-filter-predicates): Rename it back to
10898 isearch-filter-predicate.
10899 (isearch-message-prefix): Use advice-function-mapc and advice
10900 properties to get the isearch-message-prefix.
10901 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10902 instead of run-hook-with-args-until-failure.
10903 (isearch-filter-visible): Not obsolete any more.
10904 * loadup.el: Preload nadvice.
10905 * replace.el (perform-replace): Revert to funcall
10906 instead of run-hook-with-args-until-failure.
10907 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10908 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10909 dired-isearch-filenames-toggle; make it into a proper minor mode.
10910 Use add/remove-function.
10911 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10912 Call the minor-mode rather than add/remove-hook.
10913 (dired-isearch-filter-filenames):
10914 Remove isearch-message-prefix property.
10915 * info.el (Info--search-loop): New function, extracted from Info-search.
10916 Funcall isearch-filter-predicate instead of
10917 run-hook-with-args-until-failure isearch-filter-predicates.
10918 (Info-search): Use it.
10919 (Info-mode): Use isearch-filter-predicate instead of
10920 isearch-filter-predicates.
10922 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10924 Do not call to `selected-window' where it is assumed by default.
10925 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10926 `window-hscroll', `window-width', `window-height', `window-buffer',
10927 `window-frame', `window-start', `window-point', `next-window'
10928 and `window-display-table'.
10929 * abbrev.el (abbrev--default-expand):
10930 * bs.el (bs--show-with-configuration):
10931 * buff-menu.el (Buffer-menu-mouse-select):
10932 * calc/calc.el (calc):
10933 * calendar/calendar.el (calendar-generate-window):
10934 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10935 (diary-make-entry):
10936 * comint.el (send-invisible, comint-dynamic-complete-filename)
10937 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10938 * completion.el (complete):
10939 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10940 * disp-table.el (describe-current-display-table):
10941 * doc-view.el (doc-view-insert-image):
10942 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10943 * ehelp.el (with-electric-help):
10944 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10945 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10946 * emacs-lisp/helper.el (Helper-help-scroller):
10947 * emulation/cua-base.el (cua--post-command-handler-1):
10948 * eshell/esh-mode.el (eshell-output-filter):
10949 * ffap.el (ffap-gnus-wrapper):
10950 * help-macro.el (make-help-screen):
10951 * hilit-chg.el (highlight-compare-buffers):
10952 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10953 * hl-line.el (global-hl-line-highlight):
10954 * icomplete.el (icomplete-simple-completing-p):
10955 * isearch.el (isearch-done):
10956 * jit-lock.el (jit-lock-stealth-fontify):
10957 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10958 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10959 * mpc.el (mpc-tagbrowser, mpc):
10960 * net/rcirc.el (rcirc-any-buffer):
10961 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10962 * play/landmark.el (landmark-max-width, landmark-max-height):
10963 * play/zone.el (zone):
10964 * progmodes/compile.el (compilation-goto-locus):
10965 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10966 * progmodes/etags.el (find-tag-other-window):
10967 * progmodes/fortran.el (fortran-column-ruler):
10968 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10969 * progmodes/verilog-mode.el (verilog-point-text):
10970 * reposition.el (reposition-window):
10971 * rot13.el (toggle-rot13-mode):
10972 * server.el (server-switch-buffer):
10973 * shell.el (shell-dynamic-complete-command)
10974 (shell-dynamic-complete-environment-variable):
10975 * simple.el (insert-buffer, set-selective-display)
10976 (delete-completion-window):
10977 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10978 (speedbar-recenter):
10979 * startup.el (fancy-splash-head):
10980 * textmodes/ispell.el (ispell-command-loop):
10981 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10982 * tutorial.el (help-with-tutorial):
10983 * vc/add-log.el (add-change-log-entry):
10984 * vc/compare-w.el (compare-windows):
10985 * vc/ediff-help.el (ediff-indent-help-message):
10986 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10987 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10988 (ediff-setup-control-frame):
10989 * vc/emerge.el (emerge-position-region):
10990 * vc/pcvs-util.el (cvs-bury-buffer):
10991 * window.el (walk-windows, mouse-autoselect-window-select):
10992 * winner.el (winner-set-conf, winner-undo): Related users changed.
10994 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10996 * frameset.el (frameset--set-id): Doc fix.
10997 (frameset-frame-id, frameset-frame-id-equal-p)
10998 (frameset-locate-frame-id): New functions.
10999 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11000 (frameset-restore): Use them.
11002 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11004 Do not call to `selected-frame' where it is assumed by default.
11005 Affected functions are `raise-frame', `redraw-frame',
11006 `frame-first-window', `frame-terminal' and `delete-frame'.
11007 * calendar/appt.el (appt-disp-window):
11008 * epg.el (epg-wait-for-completion):
11009 * follow.el (follow-delete-other-windows-and-split)
11010 (follow-avoid-tail-recenter):
11011 * international/mule.el (set-terminal-coding-system):
11012 * mail/rmail.el (rmail-mail-return):
11013 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11014 * progmodes/f90.el (f90-add-imenu-menu):
11015 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11016 * server.el (server-switch-buffer):
11017 * simple.el (delete-completion-window):
11019 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11020 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11021 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11022 * vc/ediff.el (ediff-documentation): Related users changed.
11023 * frame.el (selected-terminal): Remove the leftover.
11025 2013-08-05 Glenn Morris <rgm@gnu.org>
11027 * calendar/calendar.el (calendar-generate-month):
11028 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11029 (calendar-generate-month, calendar-font-lock-keywords):
11030 Fix for calendar-day-header-width > length of any day name.
11032 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11034 * desktop.el (desktop-clear): Use new name of sort predicate.
11036 * frameset.el (frameset): Add docstring. Move :version property to its
11037 own `version' slot.
11038 (frameset-copy): Rename from copy-frameset.
11039 (frameset-p): Check more thoroughly.
11040 (frameset-prop): Do not check for :version, which is no longer a prop.
11041 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11042 Use new :never value instead of t.
11043 (frameset-filter-alist): Expand and clarify docstring.
11044 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11045 (frameset-filter-minibuffer, frameset-filter-save-param)
11046 (frameset-filter-restore-param, frameset-filter-iconified):
11047 Add pointer to docstring of frameset-filter-alist.
11048 (frameset-filter-params): Rename filter values to be more meaningful:
11049 :never instead of t, and reverse the meanings of :save and :restore.
11050 (frameset--process-minibuffer-frames): Clarify error message.
11051 (frameset-save): Avoid unnecessary and confusing call to framep.
11052 Use new BOA constructor for framesets.
11053 (frameset--reuse-list): Doc fix.
11054 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11055 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11056 (frameset-minibufferless-first-p): Doc fix.
11057 Rename from frameset-sort-frames-for-deletion.
11058 (frameset-restore): Doc fixes. Use new function names.
11059 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11061 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11063 * desktop.el (desktop-restore-forces-onscreen)
11064 (desktop-restore-reuses-frames): Document :keyword constant values.
11065 (desktop-filter-parameters-alist): Remove, now identical to
11066 frameset-filter-alist.
11067 (desktop--filter-tty*): Remove, moved to frameset.el.
11068 (desktop-save-frameset, desktop-restore-frameset):
11069 Do not pass :filters argument.
11071 * frameset.el (frameset-live-filter-alist)
11072 (frameset-persistent-filter-alist): New variables.
11073 (frameset-filter-alist): Use them. Add autoload cookie.
11074 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11075 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11076 `frameset--id' (it's supposed to be internal to frameset.el).
11077 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11078 (frameset--initial-params): New function.
11079 (frameset--get-frame): Use it. Doc fix.
11080 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11081 Accept :all, not 'all.
11082 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11083 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11084 with fbound symbols. Fix frame id matching, and remove matching ids if
11085 the frame being restored is deleted. Obey :delete.
11087 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11089 * subr.el (macrop): New function.
11090 (text-clone--maintaining): New var.
11091 (text-clone--maintain): Rename from text-clone-maintain. Use it
11092 instead of inhibit-modification-hooks.
11094 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11095 a proxy, so as handle autoloads and redefinitions of the target.
11096 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11098 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11099 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11100 (pcase--mutually-exclusive-p): New function.
11101 (pcase--split-consp): Use it.
11102 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11103 mutually exclusive with the current predicate.
11105 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11106 (edebug-macrop): Remove. Use `macrop' instead.
11107 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11109 * eshell/esh-cmd.el (eshell-macrop):
11110 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11112 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11115 (advice-mapc): New function, using it.
11116 (advice-function-member-p): New function.
11117 (advice--normalize): Store the cdr in advice--saved-rewrite since
11118 that's the part that will be changed.
11119 (advice--symbol-function): New function.
11120 (advice-remove): Handle removal before the function is defined.
11121 Adjust to new advice--saved-rewrite.
11122 (advice-member-p): Use advice-function-member-p and
11123 advice--symbol-function.
11125 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11127 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11128 (frameset-filter-minibuffer): Doc fix.
11129 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11130 (frameset--set-id, frameset--process-minibuffer-frames)
11131 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11132 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11134 * desktop.el (desktop-clear): Only delete frames when called
11135 interactively and desktop-restore-frames is non-nil. Doc fix.
11136 (desktop-read): Set desktop-saved-frameset to nil.
11138 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11140 * vc/vc.el (vc-ignore): Rewrite.
11141 (vc-default-ignore-completion-table, vc--read-lines)
11142 (vc--add-line, vc--remove-regexp): New functions.
11144 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11145 (vc-svn-ignore-completion-table): New function.
11147 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11148 (vc-hg-ignore-completion-table)
11149 (vc-hg-find-ignore-file): New functions.
11151 * vc/vc-git.el (vc-git-ignore): Rewrite.
11152 (vc-git-ignore-completion-table)
11153 (vc-git-find-ignore-file): New functions.
11155 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11157 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11158 (vc-bzr-ignore-completion-table)
11159 (vc-bzr-find-ignore-file): New functions.
11161 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11163 * frameset.el (frameset-prop): New function and setter.
11164 (frameset-save): Do not modify frame list passed by the caller.
11166 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11170 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11172 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11173 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11175 * custom.el (custom-initialize-default, custom-initialize-set)
11176 (custom-initialize-reset, custom-initialize-changed): Affect the
11177 toplevel-default-value (bug#6275, bug#14586).
11178 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11181 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11183 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11184 Add cl-def* expressions.
11186 * frameset.el (frameset-filter-params): Fix order of arguments.
11188 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11190 Move code related to saving frames to frameset.el.
11191 * desktop.el: Require frameset.
11192 (desktop-restore-frames): Doc fix.
11193 (desktop-restore-reuses-frames): Rename from
11194 desktop-restoring-reuses-frames.
11195 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11196 (desktop-clear): Clear frames too.
11197 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11198 (desktop--filter-tty*, desktop-save, desktop-read):
11199 Use frameset functions.
11200 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11201 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11202 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11203 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11204 (desktop--process-minibuffer-frames, desktop-save-frames)
11205 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11206 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11207 (desktop--sort-states, desktop-restoring-frames-p)
11208 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11209 (desktop-restoring-frameset-p, desktop-restore-frameset)
11210 (desktop--check-dont-save, desktop-save-frameset): New functions.
11211 (desktop--app-id): New constant.
11212 (desktop-first-buffer, desktop-buffer-ok-count)
11213 (desktop-buffer-fail-count): Move before first use.
11214 * frameset.el: New file.
11216 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * files.el: Use lexical-binding.
11219 (dir-locals-read-from-file): Remove unused `err' variable.
11220 (hack-dir-local-variables--warned-coding): New var.
11221 (hack-dir-local-variables): Use it to avoid repeated warnings.
11222 (make-backup-file-name--default-function): New function.
11223 (make-backup-file-name-function): Use it as default.
11224 (buffer-stale--default-function): New function.
11225 (buffer-stale-function): Use it as default.
11226 (revert-buffer-insert-file-contents--default-function): New function.
11227 (revert-buffer-insert-file-contents-function): Use it as default.
11228 (insert-directory): Avoid add-to-list.
11230 * autorevert.el (auto-revert-handler): Simplify.
11231 Use buffer-stale--default-function.
11233 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11235 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11237 * whitespace.el (whitespace-ensure-local-variables): New function.
11238 (whitespace-cleanup-region): Call it.
11239 (whitespace-turn-on): Call it.
11241 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11243 Complete file name handlers.
11245 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11246 (tramp-handle-verify-visited-file-modtime)
11247 (tramp-handle-file-notify-rm-watch): New functions.
11248 (tramp-call-process): Do not bind `default-directory'.
11250 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11251 Order alphabetically.
11252 <access-file, add-name-to-file, dired-call-process>:
11253 <dired-compress-file, file-acl, file-notify-rm-watch>:
11254 <file-ownership-preserved-p, file-selinux-context>:
11255 <make-directory-internal, make-symbolic-link, set-file-acl>:
11256 <set-file-selinux-context, set-visited-file-modtime>:
11257 <verify-visited-file-modtime>: Add handler.
11258 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11260 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11261 <file-notify-add-watch, file-notify-rm-watch>:
11262 <set-file-times, set-visited-file-modtime>:
11263 <verify-visited-file-modtime>: Add handler.
11264 (with-tramp-gvfs-error-message)
11265 (tramp-gvfs-handle-set-visited-file-modtime)
11266 (tramp-gvfs-fuse-file-name): Remove.
11267 (tramp-gvfs-handle-file-notify-add-watch)
11268 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11269 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11271 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11272 Order alphabetically.
11273 <file-notify-rm-watch>: Use default Tramp handler.
11274 <executable-find>: Remove private handler.
11275 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11276 `default-directory'.
11277 (tramp-sh-handle-executable-find)
11278 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11279 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11280 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11281 Do not use `format' in `tramp-message'.
11283 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11284 <file-notify-rm-watch, set-visited-file-modtime>:
11285 <verify-visited-file-modtime>: Add handler.
11286 (tramp-smb-call-winexe): Do not bind `default-directory'.
11288 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11290 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11292 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11294 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11296 (log-view-diff-changeset): Same.
11297 (log-view-diff-common): Call backend command `previous-revision'
11298 to find out the previous revision, in both cases. Swap the
11299 variables `to' and `fr', so that `fr' usually refers to the
11300 earlier revision (Bug#14989).
11302 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11304 * ibuf-ext.el (ibuffer-filter-by-filename):
11305 Make it work with dired buffers too.
11307 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11309 * emacs-lisp/re-builder.el (reb-color-display-p):
11310 * files.el (save-buffers-kill-terminal):
11311 * net/browse-url.el (browse-url):
11312 * server.el (server-save-buffers-kill-terminal):
11313 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11314 Prefer nil to selected-frame for the first arg of frame-parameter.
11316 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11318 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11320 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11322 * minibuffer.el (completion--twq-all): Try and preserve each
11323 completion's case choice (bug#14907).
11325 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11327 * net/network-stream.el (open-network-stream): Mention the new
11328 :nogreeting parameter.
11329 (network-stream-open-starttls): Use the :nogreeting parameter
11332 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11334 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11335 more natural than popping.
11337 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11338 (shr-urlify): Highlight under mouse.
11340 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11342 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11344 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11346 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11349 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11350 point-min==1. Fix search string. Fix parentheses missing.
11352 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11353 assume point-min==1. Fix search string. Fix parentheses missing.
11355 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11357 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11360 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11362 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11363 initial frame is minibuffer-less. (Bug#14841)
11365 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11367 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11371 (tramp-maybe-open-connection): Use it.
11373 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11375 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11376 minimal set of parameters passed when creating a frame, because
11377 the minibuffer status of a frame cannot be changed later.
11379 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11381 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11382 replace-regexp-in-string and inadvertent omissions in previous change.
11383 (todo-filter-items): Ensure only file names are comma-separated in
11384 name of filtered items buffer.
11386 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11388 * desktop.el: Optionally force offscreen frames back onscreen.
11389 (desktop-restoring-reuses-frames): New option.
11390 (desktop--compute-pos, desktop--move-onscreen): New functions.
11391 (desktop--make-frame): Use desktop--move-onscreen.
11393 2013-07-27 Alan Mackenzie <acm@muc.de>
11395 Fontify a Java generic method as a function.
11396 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11399 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11401 * calendar/todo-mode.el: Add command to rename todo files.
11402 (todo-rename-file): New command.
11403 (todo-key-bindings-t): Add key binding for it. Change the
11404 bindings of todo-filter-regexp-items(-multifile) to use `x'
11405 instead of `r', since the latter is better suited to the new
11408 2013-07-27 Alan Mackenzie <acm@muc.de>
11410 Make Java try-with-resources statement parse properly.
11411 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11412 (c-block-stmt-1-2-key): New language constants/variables.
11413 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11414 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11415 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11416 with c-block-stmt-1-2-key.
11418 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11420 * desktop.el (desktop--make-frame): Apply most frame parameters after
11421 creating the frame to force (partially or totally) offscreen frames to
11422 be restored as such.
11424 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11426 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11429 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11431 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11432 `base' arg of backtrace-frame.
11434 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11436 * simple.el (list-processes): Doc fix.
11438 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11440 * desktop.el (desktop--select-frame):
11441 Try harder to reuse existing frames.
11443 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11445 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11446 (edebug-eval): Use backtrace-eval.
11447 (edebug--display, edebug--recursive-edit): Don't let-bind the
11448 edebug-outer-* vars that keep track of variables we locally let-bind.
11449 (edebug-outside-excursion): Don't restore outside values of locally
11451 (edebug--display): Use user-error.
11452 (cl-lexical-debug, cl-debug-env): Remove.
11454 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11456 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11457 are restored to be sure that they are visible before deleting any
11460 2013-07-26 Matthias Meulien <orontee@gmail.com>
11462 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11463 vc-print-root-log. (Bug#14948)
11465 2013-07-26 Richard Stallman <rms@gnu.org>
11467 Add aliases for encrypting mail.
11468 * epa.el (epa-mail-aliases): New option.
11469 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11470 Bind inhibit-read-only so read-only text doesn't ruin everything.
11471 (epa-mail-default-recipients): New subroutine broken out.
11472 Handle epa-mail-aliases.
11474 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11476 Add support for lexical variables to the debugger's `e' command.
11477 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11478 vars, except for debugger-outer-match-data.
11479 (debugger-frame-number): Move check for "on a function call" from
11480 callers into it. Add `skip-base' argument.
11481 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11482 (debugger-env-macro): Only reset the state stored in non-variables,
11483 i.e. current-buffer and match-data.
11484 (debugger-eval-expression): Rewrite using backtrace-eval.
11485 * subr.el (internal--called-interactively-p--get-frame): Remove.
11486 (called-interactively-p):
11487 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11488 `base' arg of backtrace-frame instead.
11490 2013-07-26 Glenn Morris <rgm@gnu.org>
11492 * align.el (align-regexp): Doc fix. (Bug#14857)
11493 (align-region): Explicit error if subexpression missing/does not match.
11495 * simple.el (global-visual-line-mode):
11496 Do not duplicate the mode lighter. (Bug#14858)
11498 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11500 * window.el (display-buffer): In display-buffer bind
11501 split-window-keep-point to t, bug#14829.
11503 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11505 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11506 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11507 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11508 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11509 Change accordingly.
11510 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11511 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11513 2013-07-25 Glenn Morris <rgm@gnu.org>
11515 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11517 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11519 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11520 parameter to modify-frame-parameters if the value has not changed;
11521 this is a workaround for bug#14949.
11522 (desktop--make-frame): On cl-delete-if call, check parameter name,
11523 not full parameter.
11525 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11527 * vc/vc.el (vc-ignore): New function.
11529 * vc/vc-svn.el (vc-svn-ignore): New function.
11531 * vc/vc-hg.el (vc-hg-ignore): New function.
11533 * vc/vc-git.el (vc-git-ignore): New function.
11535 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11536 (vc-dir-ignore): New function.
11538 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11539 (cvs-append-to-ignore): Move here from pcvs.el.
11541 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11543 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11545 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11547 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11548 (desktop-restore-frames): Warn when deleting an existing frame failed.
11550 2013-07-24 Glenn Morris <rgm@gnu.org>
11552 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11554 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11556 * filenotify.el (file-notify-supported-p):
11557 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11560 * autorevert.el (auto-revert-use-notify)
11561 (auto-revert-notify-add-watch):
11562 * net/tramp.el (tramp-file-name-for-operation):
11563 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11566 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11567 Remove `file-notify-supported-p' entry.
11569 2013-07-24 Glenn Morris <rgm@gnu.org>
11571 * printing.el: Replace all uses of deleted ps-windows-system,
11572 ps-lp-system, ps-flatten-list with lpr- versions.
11574 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11576 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11577 checked with memq (bug#14935).
11579 * files.el (revert-buffer-function): Use a non-nil default.
11580 (revert-buffer-preserve-modes): Declare var to
11581 provide access to the `preserve-modes' argument.
11582 (revert-buffer): Let-bind it.
11583 (revert-buffer--default): New function, extracted from revert-buffer.
11585 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11587 * lpr.el: Signal print errors more prominently.
11588 (print-region-function): Don't default to nil.
11589 (lpr-print-region): New function, extracted from print-region-1.
11590 Check lpr's return value and signal an error in case of problem.
11591 (print-region-1): Use it.
11592 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11594 (ps-printer-name): Default to nil.
11595 (ps-printer-name-option): Default to lpr-printer-switch.
11596 (ps-print-region-function): Don't default to nil.
11597 (ps-postscript-code-directory): Simplify default.
11598 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11599 (ps-string-list, ps-eval-switch, ps-flatten-list)
11600 (ps-flatten-list-1): Remove.
11601 (ps-multibyte-buffer): Avoid setq.
11602 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11603 (print-region-function, ps-print-region-function): Don't set them here.
11605 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11607 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11608 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11609 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11610 (ido-decorations): Doc fix.
11612 * ansi-color.el: Fix old URL.
11614 2013-07-23 Michael R. Mauger <michael@mauger.com>
11616 * progmodes/sql.el: Version 3.3
11617 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11618 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11619 (sql-interactive-remove-continuation-prompt): Rewrite, use
11620 functions above. Fix continuation prompt and complete output line
11622 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11623 redirected output buffer.
11624 (sql-mode): Restore deleted code (Bug#13591).
11626 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11628 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11630 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11632 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11635 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11636 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11638 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11640 * desktop.el (desktop-clear): Simplify; remove useless checks
11641 against invalid buffer names.
11642 (desktop-list*): Use cl-list*.
11643 (desktop-buffer-info, desktop-create-buffer): Simplify.
11645 2013-07-23 Leo Liu <sdl.web@gmail.com>
11647 * bookmark.el (bookmark-make-record): Restore NAME as a default
11650 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11652 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11653 extracted from autoload--insert-text.
11654 (autoload--insert-text): Remove.
11655 (autoload--print-cookie-text): New function, extracted from
11656 autoload--insert-cookie-text.
11657 (autoload--insert-cookie-text): Remove.
11658 (autoload-generate-file-autoloads): Adjust calls accordingly.
11660 * winner.el (winner-hook-installed-p): Remove.
11661 (winner-mode): Simplify accordingly.
11663 * subr.el (add-to-list): Fix compiler-macro when `append' is
11664 not constant. Don't use `cl-member' for the base case.
11666 * progmodes/subword.el: Fix boundary case (bug#13758).
11667 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11669 (subword-backward-regexp): Make it a constant.
11670 (subword-forward-internal): Don't treat a trailing capital as the
11671 beginning of a word.
11673 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11675 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11676 global value of tabulated-list-revert-hook (bug#14930).
11678 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11680 * desktop.el: Require 'cl-lib.
11681 (desktop-before-saving-frames-functions): New hook.
11682 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11683 for frames being saved. Rename from desktop--save-minibuffer-frames.
11684 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11685 Do not save frames with non-nil `desktop-dont-save' parameter.
11686 Filter out deleted frames.
11687 (desktop--find-frame): Use cl-find-if.
11688 (desktop--select-frame): Use cl-(first|second|third) to access values
11690 (desktop--make-frame): Use cl-delete-if.
11691 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11692 (desktop-restore-frames): Use cl-(first|second|third) to access values
11693 of desktop-mini. Look for visible frame at the end, not while
11696 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11697 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11698 Use string-match-p, looking-at-p (bug#14927).
11700 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11702 * desktop.el (desktop-saved-frame-states):
11703 Rename from desktop--saved-states; all users changed.
11704 (desktop-save-frames): Rename from desktop--save-frames.
11705 Do not save state to desktop file.
11706 (desktop-save): Save desktop-saved-frame-states to desktop file
11708 (desktop-restoring-frames-p): New function.
11709 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11710 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11711 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11713 * desktop.el: Correctly restore iconified frames.
11714 (desktop--filter-iconified-position): New function.
11715 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11717 2013-07-20 Glenn Morris <rgm@gnu.org>
11719 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11720 Let `message' do the formatting.
11721 (def-gdb-preempt-display-buffer): Add explicit format.
11723 * image-dired.el (image-dired-track-original-file):
11724 Use with-current-buffer.
11725 (image-dired-track-thumbnail): Use with-current-buffer.
11726 Avoid changing point of wrong window.
11728 * image-dired.el (image-dired-track-original-file):
11729 Avoid changing point of wrong window. (Bug#14909)
11731 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11733 * progmodes/gdb-mi.el (gdb-done-or-error):
11734 Guard against "%" in gdb output. (Bug#14127)
11736 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11738 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11741 * international/mule.el (coding-system-iso-2022-flags): Fix last
11744 2013-07-20 Kenichi Handa <handa@gnu.org>
11746 * international/mule.el (coding-system-iso-2022-flags):
11747 Add `8-bit-level-4'. (Bug#8522)
11749 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11754 * net/eww.el (eww-process-text-input): Allow inputting when the
11755 point is at the start of the line, as the properties aren't
11758 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11761 2013-07-19 Richard Stallman <rms@gnu.org>
11763 * epa.el (epa-popup-info-window): Doc fix.
11765 * subr.el (split-string): New arg TRIM.
11767 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11769 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11770 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11772 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11774 * filenotify.el (file-notify--library): Rename from
11775 `file-notify-support'. Do not autoload. Adapt all uses.
11776 (file-notify-supported-p): New defun.
11778 * autorevert.el (auto-revert-use-notify):
11779 Use `file-notify-supported-p' instead of `file-notify-support'.
11781 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11783 * net/tramp.el (tramp-file-name-for-operation):
11784 Add `file-notify-supported-p'.
11786 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11788 (tramp-sh-file-name-handler-alist): Add it as handler for
11789 `file-notify-supported-p '.
11791 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11793 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11794 Add `ignore' as handler for `file-notify-*' functions.
11796 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11798 * simple.el (line-move-partial, line-move): Don't start vscroll or
11799 scroll-up if the current line is not taller than the window.
11802 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11804 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11805 highlight question marks in the method names as strings.
11806 (ruby-block-beg-keywords): Inline.
11807 (ruby-font-lock-keyword-beg-re): Extract from
11808 `ruby-font-lock-keywords'.
11810 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11812 * frame.el (blink-cursor-blinks): New defcustom.
11813 (blink-cursor-blinks-done): New defvar.
11814 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11815 (blink-cursor-timer-function): Check if number of blinks has been
11817 (blink-cursor-suspend, blink-cursor-check): New defuns.
11819 2013-07-15 Glenn Morris <rgm@gnu.org>
11821 * edmacro.el (edmacro-format-keys): Fix previous change.
11823 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11825 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11826 The hack didn't work outside English locales anyway.
11828 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11830 * simple.el (define-alternatives): Rename from alternatives-define,
11831 per RMS' suggestion.
11833 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11835 * desktop.el (desktop-restore-frames): Change default to t.
11836 (desktop-restore-in-current-display): Now offer more options.
11837 (desktop-restoring-reuses-frames): New customization option.
11838 (desktop--saved-states): Doc fix.
11839 (desktop-filter-parameters-alist): New variable, renamed and expanded
11840 from desktop--excluded-frame-parameters.
11841 (desktop--target-display): New variable.
11842 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11843 (desktop--filter-tty*, desktop--filter-*-color)
11844 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11845 (desktop--filter-save-desktop-parm)
11846 (desktop-restore-in-original-display-p): New functions.
11847 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11848 (desktop--save-minibuffer-frames): New function, inspired by a similar
11849 function from Martin Rudalics.
11850 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11851 (desktop--restore-in-this-display-p): Remove.
11852 (desktop--find-frame): Rename from desktop--find-frame-in-display
11853 and add predicate argument.
11854 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11855 (desktop--reuse-list): New variable.
11856 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11858 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11860 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11862 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11864 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11866 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11867 Highlight conversion methods on Kernel.
11869 2013-07-13 Alan Mackenzie <acm@muc.de>
11871 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11872 and comment it out. This out-commenting enables certain C++
11873 declarations to be parsed correctly.
11875 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11877 * international/mule.el (define-coding-system): Doc fix.
11879 * simple.el (default-font-height): Don't call font-info if the
11880 frame's default font didn't change since the frame was created.
11883 2013-07-13 Leo Liu <sdl.web@gmail.com>
11885 * ido.el (ido-read-file-name): Guard against non-symbol value.
11887 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11889 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11892 2013-07-13 Leo Liu <sdl.web@gmail.com>
11894 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11895 ido-set-matches call. (Bug#6852)
11897 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11899 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11900 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11902 (ruby-font-lock-keywords): Distinguish calls to functions with
11903 module-like names from module references. Highlight character
11906 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11908 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11909 (gdb-send): Handle continued commands. (Bug#14847)
11911 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11913 * desktop.el (desktop--v2s): Remove unused local variable.
11914 (desktop-save-buffer): Make defvar-local; adjust docstring.
11915 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11916 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11918 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11920 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11922 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11924 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11927 2013-07-12 Glenn Morris <rgm@gnu.org>
11929 * doc-view.el: Require cl-lib at runtime too.
11930 (doc-view-remove-if): Remove.
11931 (doc-view-search-next-match, doc-view-search-previous-match):
11934 * edmacro.el: Require cl-lib at runtime too.
11935 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11936 (edmacro-mismatch, edmacro-subseq): Remove.
11938 * shadowfile.el: Require cl-lib.
11939 (shadow-remove-if): Remove.
11940 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11943 * wid-edit.el: Require cl-lib.
11944 (widget-choose): Use cl-remove-if.
11945 (widget-remove-if): Remove.
11947 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11948 (ebrowse-delete-if-not): Remove.
11949 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11950 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11951 Use cl-delete-if-not.
11953 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11955 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11956 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11958 2013-07-12 Leo Liu <sdl.web@gmail.com>
11960 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11962 2013-07-11 Glenn Morris <rgm@gnu.org>
11964 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11965 (edebug-gensym-index, edebug-gensym):
11966 Remove reimplementation of cl-gensym.
11967 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11969 * thumbs.el: Require cl-lib at run-time too.
11970 (thumbs-gensym-counter, thumbs-gensym):
11971 Remove reimplementation of cl-gensym.
11972 (thumbs-temp-file): Use cl-gensym.
11974 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11975 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11976 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11977 (ert--union, ert--gensym-counter, ert--gensym-counter)
11978 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11979 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11980 (ert-make-test-unbound, ert--expand-should-1)
11981 (ert--expand-should, ert--should-error-handle-error)
11982 (should-error, ert--explain-equal-rec)
11983 (ert--plist-difference-explanation, ert-select-tests)
11984 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11985 Use cl-lib functions rather than reimplementations.
11987 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11989 * net/tramp.el (tramp-methods): Extend docstring.
11990 (tramp-connection-timeout): New defcustom.
11991 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11992 (with-tramp-progress-reporter): Simplify.
11993 (tramp-process-actions): Improve messages.
11995 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11996 * net/tramp-sh.el (tramp-maybe-open-connection):
11997 Use `tramp-connection-timeout'.
11998 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12001 2013-07-11 Leo Liu <sdl.web@gmail.com>
12003 * ido.el (ido-read-file-name): Conform to the requirements of
12004 read-file-name. (Bug#11861)
12005 (ido-read-directory-name): Conform to the requirements of
12006 read-directory-name.
12008 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12010 * subr.el (delay-warning): New function.
12012 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12014 * simple.el (default-line-height): New function.
12015 (line-move-partial, line-move): Use it instead of computing the
12016 line height inline.
12017 (line-move-partial): Always compute ROWH. If the last line is
12018 partially-visible, but its text is completely visible, allow
12019 cursor to enter such a partially-visible line.
12021 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12023 Improve error messages. (Bug#14808)
12025 * net/tramp.el (tramp-current-connection): New defvar, moved from
12027 (tramp-message-show-progress-reporter-message): Remove, not
12029 (tramp-error-with-buffer): Show message in minibuffer.
12030 Discard input before waiting. Reset connection timestamp.
12031 (with-tramp-progress-reporter): Improve messages.
12032 (tramp-process-actions): Use progress reporter. Delete process in
12033 case of error. Improve messages.
12035 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12036 Call `tramp-error-with-buffer' with vector and buffer.
12037 (tramp-current-connection): Remove.
12038 (tramp-maybe-open-connection): The car of
12039 `tramp-current-connection' are the first 3 slots of the vector.
12041 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12043 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12044 inside continued strings.
12046 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12048 Timestamp fixes for undo (Bug#14824).
12049 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12051 2013-07-10 Leo Liu <sdl.web@gmail.com>
12053 * files.el (require-final-newline): Allow safe local value.
12056 2013-07-09 Leo Liu <sdl.web@gmail.com>
12058 * ido.el (ido-read-directory-name): Handle fallback.
12059 (ido-read-file-name): Update DIR to ido-current-directory.
12061 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12063 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12066 "autoload". Remove "warn lower camel case" section, previously
12067 commented out. Highlight negation char. Do not highlight the
12068 target in singleton method definitions.
12070 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12072 * faces.el (tty-setup-hook): Declare the hook.
12074 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12075 and detect when a guard/pred depends on local vars (bug#14773).
12076 (pcase--u1): Adjust caller.
12078 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12080 * simple.el (line-move-partial, line-move): Account for
12082 (line-move-partial): Avoid setting vscroll when the last
12083 partially-visible line in window is of default height.
12085 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12087 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12090 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12092 * subr.el (read-quoted-char): Remove unused local variable `char'.
12094 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12096 * ediff.el (ediff-version): Version update.
12097 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12098 (ediff-merge-with-ancestor-command, ediff-directories-command)
12099 (ediff-directories3-command, ediff-merge-directories-command)
12100 (ediff-merge-directories-with-ancestor-command): New functions.
12101 All are command-line interfaces to ediff: to facilitate calling
12102 Emacs with the appropriate ediff functions invoked.
12104 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12105 (viper-save-kill-buffer): Check if buffer is modified.
12107 * viper.el (viper-version): Version update.
12108 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12110 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12112 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12113 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12114 (viper-intercept-ESC-key): Simplify.
12115 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12116 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12117 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12118 (viper-setup-ESC-to-escape): New functions.
12119 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12120 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12122 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12124 * simple.el (default-font-height, window-screen-lines):
12126 (line-move, line-move-partial): Use them instead of
12127 frame-char-height and window-text-height. This makes scrolling
12128 text smoother when the buffer's default face uses a font that is
12129 different from the frame's default font.
12131 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12133 * files.el (write-file): Do not display confirm dialog for NS,
12134 it does its own dialog, which can't be canceled (Bug#14578).
12136 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12138 * simple.el (line-move-partial): Adjust the row returned by
12139 posn-at-point for the current window-vscroll. (Bug#14567)
12141 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12143 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12144 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12147 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12149 * window.el (window-state-put-stale-windows): New variable.
12150 (window--state-put-2): Save list of windows without matching buffer.
12151 (window-state-put): Remove "bufferless" windows if possible.
12153 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12155 * simple.el (alternatives-define): Remove leftover :group keyword.
12158 2013-07-06 Leo Liu <sdl.web@gmail.com>
12160 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12161 (ido-enable-virtual-buffers): New variable.
12162 (ido-buffer-internal, ido-toggle-virtual-buffers)
12163 (ido-make-buffer-list): Use it.
12164 (ido-exhibit): Support turning on and off virtual buffers
12167 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12169 * simple.el (alternatives-define): New macro.
12171 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12173 * subr.el (read-quoted-char): Use read-key.
12174 (sit-for): Let read-event decode tty input (bug#14782).
12176 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12178 * calendar/todo-mode.el: Add handling of file deletion, both by
12179 mode command and externally. Fix various related bugs.
12180 Clarify Commentary and improve some documentation strings and code.
12181 (todo-delete-file): New command.
12182 (todo-check-file): New function.
12183 (todo-show): Handle external deletion of the file we're trying to
12184 show (bug#14688). Replace called-interactively-p by an optional
12185 prefix argument to avoid problematic interaction with catch form
12186 when byte compiled (bug#14702).
12187 (todo-quit): Handle external deletion of the archive's todo file.
12188 Make sure the buffer that was visiting the archive file is still
12189 live before trying to bury it.
12190 (todo-category-completions): Handle external deletion of any
12191 category completion files.
12192 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12193 of todo files, in case of external deletion.
12194 (todo-add-file): Replace unnecessary setq by let-binding.
12195 (todo-find-archive): Check whether there are any archives.
12196 Replace unnecessary setq by let-binding.
12197 (todo-archive-done-item): Use find-file-noselect to get the
12198 archive buffer whether or not the archive already exists.
12199 Remove superfluous code. Use file size instead of buffer-file-name to
12200 check if the archive is new; if it is, update list of archives.
12201 (todo-default-todo-file): Allow nil to be a valid value for when
12202 there are no todo files.
12203 (todo-reevaluate-default-file-defcustom): Use corrected definition
12204 of todo-default-todo-file.
12205 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12206 (todo-delete-category, todo-show-categories-table)
12207 (todo-category-number): Clarify comment.
12208 (todo-filter-items): Clarify documentation string.
12209 (todo-show-current-file, todo-display-as-todo-file)
12210 (todo-reset-and-enable-done-separator): Tweak documentation string.
12211 (todo-done-separator): Make separator length window-width, since
12212 bug#2749 is now fixed.
12214 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12216 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12217 Support both "gvfs-monitor-dir" and "inotifywait".
12218 (tramp-sh-file-inotifywait-process-filter): Rename from
12219 `tramp-sh-file-notify-process-filter'.
12220 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12221 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12223 2013-07-05 Leo Liu <sdl.web@gmail.com>
12225 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12227 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12229 * frame.el (display-pixel-height, display-pixel-width)
12230 (display-mm-height, display-mm-width): Mention behavior on
12231 multi-monitor setups in docstrings.
12232 (w32-display-monitor-attributes-list): Declare function.
12233 (display-monitor-attributes-list): Use it.
12235 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12237 * filenotify.el: New package.
12239 * autorevert.el (top): Require filenotify.el.
12240 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12242 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12243 (auto-revert-notify-handler): Use `file-notify-*' functions.
12245 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12247 * net/tramp.el (tramp-file-name-for-operation):
12248 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12250 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12251 for `file-notify-add-watch' and `file-notify-rm-watch'.
12252 (tramp-process-sentinel): Improve trace.
12253 (tramp-sh-handle-file-notify-add-watch)
12254 (tramp-sh-file-notify-process-filter)
12255 (tramp-sh-handle-file-notify-rm-watch)
12256 (tramp-get-remote-inotifywait): New defuns.
12258 2013-07-03 Juri Linkov <juri@jurta.org>
12260 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12261 call of `occur-read-primary-args' to interactive spec.
12263 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12264 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12266 2013-07-03 Matthias Meulien <orontee@gmail.com>
12268 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12269 `Buffer-menu-multi-occur'. Add it to the menu.
12270 (Buffer-menu-mode): Document it in docstring.
12271 (Buffer-menu-multi-occur): New command. (Bug#14673)
12273 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12275 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12276 keywords and built-ins.
12278 2013-07-03 Glenn Morris <rgm@gnu.org>
12280 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12282 Make info-xref checks case-sensitive by default
12283 * info.el (Info-find-node, Info-find-in-tag-table)
12284 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12285 Add option for exact case matching of nodes.
12286 * info-xref.el (info-xref): New custom group.
12287 (info-xref-case-fold): New option.
12288 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12290 2013-07-03 Leo Liu <sdl.web@gmail.com>
12292 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12294 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12296 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12297 middle of block statement initially, lower the depth. Remove
12298 FIXME comment, not longer valid. Remove middle of block statement
12299 detection, no need to do that anymore since we've been using
12300 `ruby-parse-region' here.
12302 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12304 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12306 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12308 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12310 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12312 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12313 (desktop-restore-in-current-display): New customization option.
12314 (desktop--excluded-frame-parameters): Add `font'.
12315 (desktop--save-frames): Rename from desktop--save-windows.
12316 (desktop--restore-in-this-display-p): New function.
12317 (desktop--make-full-frame): Remove unwanted width/height from
12318 full(width|height) frames.
12319 (desktop--restore-frames): Rename from desktop--restore-windows.
12320 Obey desktop-restore-current-display. Do not delete old frames or
12321 select a new frame unless we were able to restore at least one frame.
12323 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12325 * files.el (find-file-noselect): Simplify conditional expression.
12327 * textmodes/remember.el (remember-append-to-file):
12328 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12330 Add `remember-notes' function to store random notes across Emacs
12332 * textmodes/remember.el (remember-data-file): Add :set callback to
12333 affect notes buffer (if any).
12334 (remember-notes): New command.
12335 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12336 New defcustoms for the `remember-notes' function.
12337 (remember-notes-save-and-bury-buffer): New command.
12338 (remember-notes-mode-map): New variable.
12339 (remember-mode): New minor mode.
12340 (remember-notes--kill-buffer-query): New function.
12341 * startup.el (initial-buffer-choice): Add notes to custom type.
12343 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12345 * bindings.el (right-char, left-char): Don't call sit-for, this is
12346 no longer needed. Use arithmetic comparison only for numerical
12349 * international/mule-cmds.el (select-safe-coding-system):
12350 Handle the case of FROM being a string correctly. (Bug#14755)
12352 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12355 progression on degenerate tables.
12356 (shr-rescale-image): ImageMagick animated images currently don't work.
12358 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12360 Some fixes and improvements for desktop frame restoration.
12361 It is still experimental and disabled by default.
12362 * desktop.el (desktop--save-windows): Put the selected frame at
12363 the head of the list.
12364 (desktop--make-full-frame): New function.
12365 (desktop--restore-windows): Try to re-select the frame that was
12366 selected upon saving. Do not abort if some frames fail to restore,
12367 just show an error message and continue. Set up maximized frames
12368 so they have default non-maximized dimensions.
12370 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12372 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12373 Don't start heredoc inside a string or comment.
12375 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12377 * bindings.el (visual-order-cursor-movement): New defcustom.
12378 (right-char, left-char): Provide visual-order cursor motion by
12379 calling move-point-visually. Update the doc strings.
12381 2013-06-28 Kenichi Handa <handa@gnu.org>
12383 * international/mule.el (define-coding-system): New coding system
12384 properties :inhibit-null-byte-detection,
12385 :inhibit-iso-escape-detection, and :prefer-utf-8.
12386 (set-buffer-file-coding-system): If :charset-list property of
12387 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12388 appropriate for setting.
12390 * international/mule-cmds.el (select-safe-coding-system):
12391 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12392 multibyte characters, return utf-8 (or one of its siblings).
12394 * international/mule-conf.el (prefer-utf-8): New coding system.
12395 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12398 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12400 * net/shr.el (shr-render-region): New function.
12402 * net/eww.el: Autoload `eww-browse-url'.
12404 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12406 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12407 Adapt to `package-desc-version' being a list.
12408 Use `package--ac-desc-version' to retrieve version from a package
12411 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12413 New experimental feature to save&restore window and frame setup.
12414 * desktop.el (desktop-save-windows): New defcustom.
12415 (desktop--saved-states): New var.
12416 (desktop--excluded-frame-parameters): New defconst.
12417 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12418 (desktop--restore-windows, desktop--save-windows): New functions.
12419 (desktop-save): Call `desktop--save-windows'.
12420 (desktop-read): Call `desktop--restore-windows'.
12422 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12424 * net/shr.el (add-face-text-property): Remove compat definition.
12426 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12428 * info.el (Info-try-follow-nearest-node): Move search for footnote
12429 above search for node name to prevent missing a footnote (bug#14717).
12431 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12433 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12435 2013-06-27 Leo Liu <sdl.web@gmail.com>
12437 * net/eww.el (eww-read-bookmarks): Check file size.
12439 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12441 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12442 advice--pending if newdef is nil or an autoload (bug#13820).
12443 (advice-mapc): New function.
12445 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12447 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12449 (eww-mode-map): Add a menu bar.
12450 (eww-add-bookmark): New command.
12451 (eww-bookmark-mode): New mode and commands.
12452 (eww-add-bookmark): Remove newlines from the title.
12453 (eww-bookmark-browse): Don't bug out if it's the only window.
12455 2013-06-26 Glenn Morris <rgm@gnu.org>
12457 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12458 (hfy-size): Handle ttys. (Bug#14668)
12460 * info-xref.el: Update for Texinfo 5 change in *note format.
12461 (info-xref-node-re, info-xref-note-re): New constants.
12462 (info-xref-check-buffer): Use info-xref-note-re.
12464 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12466 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12468 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12469 nil terminate the loop (bug#14718).
12471 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12473 * net/eww.el: Rework history traversal. When going forward/back,
12474 put these actions into the history, too, so that they can be
12476 (eww-render): Move the history reset to the correct buffer.
12478 2013-06-25 Juri Linkov <juri@jurta.org>
12480 * files-x.el (modify-dir-local-variable): Change the header comment
12481 in the file with directory local variables. (Bug#14692)
12483 * files-x.el (read-file-local-variable-value): Add `default'.
12486 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12488 * net/eww.el (eww-make-unique-file-name): Create a unique file
12489 name before saving to entering `y' accidentally asynchronously.
12491 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12493 * net/eww.el (eww-download): New command and keystroke.
12495 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12497 * net/eww.el (eww-copy-page-url): Change name of command.
12499 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12500 be more consistent with Info and dired.
12502 * net/eww.el (eww-mode-map): Ditto.
12504 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12507 packages from archives.
12508 (package-archive-contents): Change format; include obsolete packages.
12509 (package-desc): Use `dir' to mark builtin packages.
12510 (package--from-builtin): Set the `dir' field to `builtin'.
12511 (generated-autoload-file, version-control): Declare.
12512 (package-compute-transaction): Change first arg and return value to be
12513 lists of package-descs. Adjust to new package-archive-contents format.
12514 (package--add-to-archive-contents): Adjust to new
12515 package-archive-contents format.
12516 (package-download-transaction): Arg is now a list of package-descs.
12517 (package-install): If `pkg' is a package name, pass it as
12518 a requirement, so it is subject to the usual (e.g. disabled) checks.
12519 (describe-package): Accept package-desc as well.
12520 (describe-package-1): Describe a specific package-desc. Add links to
12521 other package-descs for the same package name.
12522 (package-menu-describe-package): Pass the actual package-desc.
12523 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12525 (package-desc-status): New function.
12526 (package-menu--refresh): New function, extracted
12527 from package-menu--generate.
12528 (package-menu--generate): Use it.
12529 (package-delete): Update package-alist.
12530 (package-menu-execute): Don't call package-initialize.
12532 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12533 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12534 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12535 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12536 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12537 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12539 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12541 * window.el (window--state-get-1): Workaround for bug#14527.
12542 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12544 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12546 * net/eww.el (eww-back-url): Implement the history by stashing all
12547 the data into a list.
12548 (eww-forward-url): Allow going forward in the history, too.
12550 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12552 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12553 for values and use read--expression for expressions (bug#14710).
12554 (read-file-local-variable): Avoid setq.
12555 (read-file-local-variable-mode): Use minor-mode-list.
12557 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12559 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12562 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12564 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12565 Update imenu-support when dialect changes.
12567 2013-06-25 Leo Liu <sdl.web@gmail.com>
12569 * ido.el (ido-read-internal): Allow forward slash on windows.
12571 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12573 * net/eww.el (eww): Start of strings is \\`, not ^.
12575 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12577 * net/shr.el (shr-browse-url): Fix interactive spec.
12579 * net/eww.el (eww): Add a trailing slash to domain names.
12581 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12583 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12585 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12587 * net/shr.el (shr-browse-url): Use an external browser if given a
12590 * net/eww.el (eww-external-browser): Move to shr.
12592 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12594 * net/eww.el (eww): Work more correctly for file: URLs.
12595 (eww-detect-charset): Allow quoted charsets.
12596 (eww-yank-page-url): New command and keystroke.
12598 2013-06-24 Daiki Ueno <ueno@gnu.org>
12600 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12601 file name of gpg executable.
12602 (epg-context-program): New function.
12603 (epg-context-home-directory): New function.
12604 (epg-context-set-program): New function.
12605 (epg-context-set-home-directory): New function.
12606 (epg--start): Use `epg-context-program' instead of
12608 (epg--list-keys-1): Likewise.
12610 2013-06-24 Leo Liu <sdl.web@gmail.com>
12612 * ido.el (ido-read-internal): Fix bug#14620.
12614 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12616 * faces.el (face-documentation): Simplify.
12617 (read-face-attribute, tty-find-type, x-resolve-font-name):
12618 Use `string-match-p'.
12619 (list-faces-display): Use `string-match-p'. Simplify.
12620 (face-spec-recalc): Check face to avoid face alias loops.
12621 (read-color): Use `string-match-p' and non-capturing parenthesis.
12623 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625 * net/shr.el (shr-rescale-image): Use the new
12626 :max-width/:max-height functionality.
12628 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12630 * net/eww.el (eww-search-prefix): New variable.
12632 (eww-external-browser): New variable.
12633 (eww-mode-map): New keystroke.
12634 (eww-browse-with-external-browser): New command.
12636 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12638 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12640 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12641 Don't skip aligning the next header field when padding is 0;
12642 otherwise, field width is not respected unless the title is as
12645 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12647 * emacs-lisp/package.el (package-el-version): Remove.
12648 (package-process-define-package): Fix inf-loop.
12649 (package-install): Allow symbols as arguments again.
12651 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12653 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12654 add some more keyword-like methods.
12655 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12657 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12659 * bs.el (bs-buffer-show-mark): Make defvar-local.
12660 (bs-mode): Use setq-local.
12662 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12663 (emacs-lock--try-unlocking): Make defvar-local.
12665 2013-06-22 Glenn Morris <rgm@gnu.org>
12667 * play/cookie1.el (cookie-apropos): Minor simplification.
12669 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12671 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12673 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12674 `regexp-opt', it breaks the build during dumping.
12676 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12678 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12679 Highlight keyword-like methods on Kernel and Module with
12680 font-lock-builtin-face.
12681 (auto-mode-alist): Consolidate different entries into one regexp
12682 and add more *file-s.
12684 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12686 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12688 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12689 (diary-entry): Use it in the action of this button type instead of
12692 * calendar/todo-mode.el: New version.
12693 (todo-add-category): Append new category to end of file and give
12694 it the highest number, instead of putting it at the beginning and
12695 giving it 0. Incorporate noninteractive functionality.
12696 (todo-forward-category): Adapt to 1-based category numbering.
12697 Allow skipping over archived categories.
12698 (todo-backward-category): Derive from todo-forward-category.
12699 (todo-backward-item, todo-forward-item): Make noninteractive and
12700 delegate interactive part to new commands. Make sensitive to done items.
12701 (todo-categories): Make value an alist of category names and
12702 vectors of item counts.
12703 (todo-category-beg): Make a defconst.
12704 (todo-category-number): Use 1 instead of 0 as initial value.
12705 (todo-category-select): Make sensitive to overlays, optional item
12706 highlighting and done items.
12707 (todo-delete-item): Make sensitive to overlays and marked and done items.
12708 (todo-edit-item): Make sensitive to overlays and editing of
12709 date/time header optional. Add format checks.
12710 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12711 no-op if point is not on an item. Advertise using todo-edit-quit.
12712 (todo-edit-mode): Make sensitive to new format, font-locking, and
12713 multiple todo files.
12714 (todo-insert-item, todo-insert-item-here): Derive from
12715 todo-basic-insert-item and extend functionality.
12716 (todo-item-end, todo-item-start): Make sensitive to done items.
12717 (todo-item-string): Don't return text properties. Restore point.
12718 (todo-jump-to-category): Make sensitive to multiple todo files and
12719 todo archives. Use extended category completion.
12720 (todo-lower-item, todo-raise-item): Rename to *-priority and
12721 derive from todo-set-item-priority.
12722 (todo-mode): Derive from special-mode. Make sensitive to new
12723 format, font-locking and multiple todo files. Make read-only.
12724 (todo-mode-map): Don't suppress digit keys, so they can supply
12725 prefix arguments. Add many new key bindings.
12726 (todo-prefix): Insert as an overlay instead of file text.
12727 Change semantics from diary date expression to purely visual mark.
12728 (todo-print): Rename to todo-print-buffer. Make buffer display
12729 features printable. Remove option to restrict number of items
12730 printed. Add option to print to file.
12731 (todo-print-function): Rename to todo-print-buffer-function.
12732 (todo-quit): Extend to handle exiting new todo modes.
12733 (todo-remove-item): Make sensitive to overlays.
12734 (todo-save): Extend to buffers of filtered items.
12735 (todo-show): Make sensitive to done items, multiple todo files and
12736 new todo modes. Offer to convert legacy todo file before creating
12737 first new todo file.
12738 (todo-show-priorities): Rename to todo-top-priorities.
12739 Change semantics of value 0.
12740 (todo-top-priorities): Rename to todo-filter-top-priorities,
12741 derive from todo-filter-items and extend functionality.
12742 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12743 and extend functionality to other types of filtered items.
12744 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12745 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12746 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12747 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12748 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12749 (todo-edit-mode-hook, todo-entry-prefix-function)
12750 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12751 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12752 (todo-initials, todo-insert-threshold, todo-item-string-start)
12753 (todo-line-string, todo-menu, todo-mode-hook)
12754 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12755 (todo-print-priorities, todo-remove-separator)
12756 (todo-save-top-priorities-too, todo-string-count-lines)
12757 (todo-string-multiline-p, todo-time-string-format)
12758 (todo-tmp-buffer-name): Remove.
12759 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12760 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12761 (todo-edit-category-diary-inclusion)
12762 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12763 (todo-edit-file, todo-edit-item-date-day)
12764 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12765 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12766 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12767 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12768 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12769 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12770 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12771 (todo-filter-top-priorities-multifile, todo-find-archive)
12772 (todo-find-filtered-items-file, todo-go-to-source-item)
12773 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12774 (todo-jump-to-archive-category, todo-lower-category)
12775 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12776 (todo-move-category, todo-move-item, todo-next-button)
12777 (todo-next-item, todo-padded-string, todo-powerset)
12778 (todo-previous-button, todo-previous-item)
12779 (todo-print-buffer-to-file, todo-raise-category)
12780 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12781 (todo-set-category-number, todo-set-item-priority)
12782 (todo-set-top-priorities-in-category)
12783 (todo-set-top-priorities-in-file, todo-show-categories-table)
12784 (todo-sort-categories-alphabetically-or-numerically)
12785 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12786 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12787 (todo-toggle-item-header, todo-toggle-item-highlighting)
12788 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12789 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12790 (todo-unarchive-items, todo-unmark-category): New commands.
12791 (todo-absolute-file-name, todo-add-to-buffer-list)
12792 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12793 (todo-basic-insert-item, todo-category-completions)
12794 (todo-category-number, todo-category-string-matcher-1)
12795 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12796 (todo-check-format, todo-clear-matches)
12797 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12798 (todo-current-category, todo-date-string-matcher)
12799 (todo-define-insertion-command, todo-diary-expired-matcher)
12800 (todo-diary-goto-entry, todo-diary-item-p)
12801 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12802 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12803 (todo-done-item-section-p, todo-done-separator)
12804 (todo-done-string-matcher, todo-files, todo-filter-items)
12805 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12806 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12807 (todo-insert-category-line, todo-insert-item-from-calendar)
12808 (todo-insert-sort-button, todo-insert-with-overlays)
12809 (todo-insertion-command-name, todo-insertion-key-bindings)
12810 (todo-label-to-key, todo-longest-category-name-length)
12811 (todo-make-categories-list, todo-mode-external-set)
12812 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12813 (todo-modes-set-3, todo-multiple-filter-files)
12814 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12815 (todo-read-category, todo-read-date, todo-read-dayname)
12816 (todo-read-file-name, todo-read-time)
12817 (todo-reevaluate-category-completions-files-defcustom)
12818 (todo-reevaluate-default-file-defcustom)
12819 (todo-reevaluate-filelist-defcustoms)
12820 (todo-reevaluate-filter-files-defcustom)
12821 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12822 (todo-reset-done-separator, todo-reset-done-separator-string)
12823 (todo-reset-done-string, todo-reset-global-current-todo-file)
12824 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12825 (todo-reset-prefix, todo-set-categories)
12826 (todo-set-date-from-calendar, todo-set-show-current-file)
12827 (todo-set-top-priorities, todo-short-file-name)
12828 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12829 (todo-total-item-counts, todo-update-buffer-list)
12830 (todo-update-categories-display, todo-update-categories-sexp)
12831 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12833 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12835 (todo-categories, todo-display, todo-edit, todo-faces)
12836 (todo-filtered): New defgroups.
12837 (todo-archived-only, todo-button, todo-category-string, todo-date)
12838 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12839 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12840 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12841 (todo-add-item-if-new-category, todo-always-add-time-string)
12842 (todo-categories-align, todo-categories-archived-label)
12843 (todo-categories-category-label, todo-categories-diary-label)
12844 (todo-categories-done-label, todo-categories-number-separator)
12845 (todo-categories-todo-label, todo-categories-totals-label)
12846 (todo-category-completions-files, todo-completion-ignore-case)
12847 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12848 (todo-done-separator-string, todo-done-string)
12849 (todo-files-function, todo-filter-done-items, todo-filter-files)
12850 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12851 (todo-initial-category, todo-initial-file, todo-item-mark)
12852 (todo-legacy-date-time-regexp, todo-mode-line-function)
12853 (todo-nondiary-marker, todo-number-prefix)
12854 (todo-print-buffer-function, todo-show-current-file)
12855 (todo-show-done-only, todo-show-first, todo-show-with-done)
12856 (todo-skip-archived-categories, todo-top-priorities-overrides)
12857 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12858 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12860 (todo-category-done, todo-date-pattern, todo-date-string-start)
12861 (todo-diary-items-buffer, todo-done-string-start)
12862 (todo-filtered-items-buffer, todo-item-start)
12863 (todo-month-abbrev-array, todo-month-name-array)
12864 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12865 (todo-top-priorities-buffer): New defconsts.
12866 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12867 (todo-categories-with-marks, todo-category-string-face)
12868 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12869 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12870 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12871 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12872 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12873 (todo-font-lock-keywords, todo-global-current-todo-file)
12874 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12875 (todo-insertion-commands-args)
12876 (todo-insertion-commands-args-genlist)
12877 (todo-insertion-commands-names, todo-insertion-map)
12878 (todo-key-bindings-t, todo-key-bindings-t+a)
12879 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12880 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12881 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12882 (todo-visited): New variables.
12884 2013-06-21 Glenn Morris <rgm@gnu.org>
12886 * play/cookie1.el (cookie-apropos): Add optional display argument.
12887 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12888 (psychoanalyze-pinhead): Use cookie-doctor.
12890 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12892 * emacs-lisp/package.el (tar-get-file-descriptor)
12893 (tar--extract): Declare.
12895 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12897 Extend flymake's warning predicate to be a function (bug#14217).
12898 * progmodes/flymake.el (flymake-warning-predicate): New.
12899 (flymake-parse-line): Use it.
12900 (flymake-warning-re): Make obsolete alias to
12901 `flymake-warning-predicate'.
12903 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12905 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12906 (package-obsolete-list): Remove.
12907 (package-activate): Remove min-version argument. Add `force' argument.
12908 Adjust to new package-alist format.
12909 (package-mark-obsolete): Remove.
12910 (package-unpack): Force reload of the package's autoloads.
12911 (package-installed-p): Check builtins if the installed package is not
12913 (package-initialize): Don't reset package-obsolete-list.
12914 Don't specify which package version to activate.
12915 (package-process-define-package, describe-package-1)
12916 (package-menu--generate): Adjust to new package-alist format.
12918 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12920 * allout-widgets.el (allout-widgets-mode-off)
12921 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12922 (allout-widgets-post-command-business)
12923 (allout-widgets-after-copy-or-kill-function)
12924 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12925 (allout-decorate-item-and-context)
12926 (allout-graphics-modification-handler): Fix typos in docstrings.
12927 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12929 * cmuscheme.el (scheme-start-file): Doc fix.
12930 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12931 (scheme-input-filter): Use `string-match-p'.
12933 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12935 * dired-x.el: Use Dired consistently in docstrings.
12937 * dired.el: Use Dired consistently in docstrings.
12938 (dired-readin, dired-mode): Use `setq-local'.
12939 (dired-switches-alist): Make defvar-local.
12940 (dired-buffers-for-dir): Use `zerop'.
12941 (dired-safe-switches-p, dired-switches-escape-p)
12942 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12943 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12944 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12945 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12946 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12947 (dired-toggle-marks, dired-mark-files-containing-regexp)
12948 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12949 (dired-flag-auto-save-files, dired-flag-backup-files):
12950 Use `looking-at-p'.
12951 (dired-mark-files-regexp, dired-build-subdir-alist):
12952 Use `string-match-p', `looking-at-p'.
12954 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12955 (direct-print-region-helper): Use `string-match-p'.
12957 2013-06-21 Leo Liu <sdl.web@gmail.com>
12959 * comint.el (comint-redirect-results-list-from-process):
12962 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12964 * net/eww.el (eww-update-header-line-format): Quote % characters.
12966 2013-06-21 Glenn Morris <rgm@gnu.org>
12968 * play/cookie1.el (cookie): New custom group.
12969 (cookie-file): New option.
12970 (cookie-check-file): New function.
12971 (cookie): Make it interactive. Make start and end messages optional.
12972 Interactively, display the result. Default to cookie-file.
12973 (cookie-insert): Default to cookie-file.
12974 (cookie-snarf): Make start and end messages optional.
12975 Default to cookie-file. Use with-temp-buffer.
12976 (cookie-read): Rename from read-cookie.
12977 Make start and end messages optional. Default to cookie-file.
12978 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12979 Do not autoload it.
12980 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12981 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12983 2013-06-21 Leo Liu <sdl.web@gmail.com>
12985 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12987 2013-06-21 Glenn Morris <rgm@gnu.org>
12989 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12991 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12992 Daniel Hackney <dan@haxney.org>
12994 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12995 Consolidate the single-file vs tarball code.
12996 (package-desc-suffix): New function.
12997 (package-desc-full-name): Don't bother inlining it.
12998 (package-load-descriptor): Return the new package-desc.
12999 (package-mark-obsolete): Remove unused arg `package'.
13000 (package-unpack): Make it work for single files as well.
13001 Make it update package-alist.
13002 (package--make-autoloads-and-stuff): Rename from
13003 package--make-autoloads-and-compile. Don't compile any more.
13004 (package--compile): New function.
13005 (package-generate-description-file): New function, extracted from
13006 package-unpack-single.
13007 (package-unpack-single): Remove.
13008 (package--with-work-buffer): Add indentation and debugging info.
13009 (package-download-single): Remove.
13010 (package-install-from-archive): Rename from package-download-tar, make
13011 it take a pkg-desc, and make it work for single files as well.
13012 (package-download-transaction): Simplify.
13013 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13014 external tar program.
13015 (package-install-from-buffer): Remove `pkg-desc' argument.
13016 Use package-tar-file-info for tar-mode buffers.
13017 (package-install-file): Simplify accordingly.
13018 (package-archive-base): Change to take a pkg-desc.
13019 * tar-mode.el (tar--check-descriptor): New function, extracted from
13020 tar-get-descriptor.
13021 (tar-get-descriptor): Use it.
13022 (tar-get-file-descriptor): New function.
13023 (tar--extract): New function, extracted from tar-extract.
13024 (tar--extract): Use it.
13025 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13026 case the summary uses non-ascii. Adjust to new calling convention of
13027 package-tar-file-info.
13029 2013-06-21 Leo Liu <sdl.web@gmail.com>
13031 * comint.el (comint-redirect-results-list-from-process):
13032 Fix random delay. (Bug#14681)
13034 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13036 * profiler.el (profiler-format-number): Use log, not log10.
13038 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13040 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13042 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13045 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13047 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13048 (AUTOGENEL): ... here.
13049 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13050 (cl--defsubst-expand): Use it.
13052 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13054 * subr.el (log10): Move here from C code, and declare as obsolete.
13055 All uses of (log10 X) replaced with (log X 10).
13057 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13059 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13060 Declare with `defvar-local'.
13061 (tabulated-list-use-header-line, tabulated-list-entries)
13062 (tabulated-list-padding, tabulated-list-printer)
13063 (tabulated-list-sort-key): Declare with `defvar-local'.
13064 (tabulated-list-init-header, tabulated-list-print-fake-header):
13067 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13069 * arc-mode.el (archive-mode): Add `archive-write-file' to
13070 `write-contents-functions' also for remote files. (Bug#14652)
13072 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13074 * cus-edit.el (custom-commands): Fix typos.
13075 (custom-display): Fix tooltip text.
13076 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13077 Fix typos in docstrings.
13078 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13079 (custom-unlispify-menu-entry, custom-magic-value-create)
13080 (custom-add-see-also, custom-group-value-create): Use ?\s.
13081 (custom-guess-type, customize-apropos, editable-field)
13082 (custom-face-value-create): Use `string-match-p'.
13083 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13085 * custom.el (custom-load-symbol): Use `string-match-p'.
13087 * ansi-color.el: Convert to lexical binding.
13088 (ansi-colors): Fix URL.
13089 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13090 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13091 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13093 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13095 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13097 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13099 2013-06-19 Tom Tromey <tromey@redhat.com>
13101 * net/eww.el (eww-top-url): Remove.
13102 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13103 (eww-render): Set new variables. Don't set eww-top-url.
13104 (eww-handle-link): Handle "prev", "home", and "contents".
13105 Downcase the rel text.
13106 (eww-top-url): Choose best top URL.
13108 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13111 relying in widget.el. Using widget.el leads to too many
13112 user interface inconsistencies.
13113 (eww-self-insert): Implement entering commands in text fields.
13114 (eww-process-text-input): New function to make text input field editing
13116 (eww-submit): Rewrite to use the new-style form methods.
13117 (eww-select-display): Display the correct selected item.
13118 (eww-change-select): Implement changing the select value.
13119 (eww-toggle-checkbox): Implement radio/checkboxes.
13120 (eww-update-field): Fix compilation error.
13121 (eww-tag-textarea): Implement <textarea>.
13123 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13124 we don't shadow mode-specific bindings.
13126 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13129 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13131 2013-06-19 Glenn Morris <rgm@gnu.org>
13133 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13135 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13137 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13140 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13142 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13144 * net/browse-url.el (browse-url-browser-function):
13145 `eww-browse-url' has the right calling signature, `eww' does not.
13147 2013-06-19 Glenn Morris <rgm@gnu.org>
13149 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13150 Only eval autoloaded macros.
13151 (byte-compile-autoload): Only give the macro warning for macros.
13153 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13154 (ps-underlined-faces): Declare.
13156 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13157 (speedbar-add-supported-extension): Declare.
13159 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13160 Don't include a date stamp in the header of the generated file;
13161 it leads to needless differences between output files.
13163 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13165 * net/secrets.el (secrets-struct-secret-content-type):
13166 Replace check of introspection data by a test call of "CreateItem".
13167 Some servers do not offer introspection.
13169 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * electric.el (electric-pair-mode): Improve interaction with
13172 electric-layout-mode.
13173 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13174 (electric-pair-syntax): Use text-mode-syntax-table in comments
13176 (electric-pair--insert): New function.
13177 (electric-pair-post-self-insert-function): Use it and
13178 electric--after-char-pos.
13180 2013-06-19 Leo Liu <sdl.web@gmail.com>
13182 * progmodes/octave.el (octave-help): Fix regexp.
13184 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13186 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13187 (shr-table-horizontal-line): Allow nil as a value, and change the
13189 (shr-insert-table-ruler): Respect the nil value.
13191 2013-06-18 Tom Tromey <tromey@barimba>
13193 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13195 (eww-open-file): New defun.
13196 (eww-render): Initialize new variables.
13197 (eww-display-html): Handle "link" and "a".
13198 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13199 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13200 (eww-back-url): Rename from eww-previous-url.
13201 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13204 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13206 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13207 Distinguish ternary operator tokens from slash symbol and slash
13210 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13212 Convert symbol prettification into minor mode and global minor mode.
13214 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13215 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13216 (prettify-symbols--keywords): Rename from
13217 `prog-prettify-symbols-alist' and make a local defvar.
13218 (prettify-symbols--compose-symbol): Rename from
13219 `prog--prettify-font-lock-compose-symbol'.
13220 (prettify-symbols--make-keywords): Rename from
13221 `prog-prettify-font-lock-symbols-keywords' and simplify.
13222 (prog-prettify-install): Remove.
13223 (prettify-symbols-mode): New minor mode, based on
13224 `prog-prettify-install'.
13225 (turn-on-prettify-symbols-mode): New function.
13226 (global-prettify-symbols-mode): New globalized minor mode.
13228 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13229 * progmodes/cfengine.el (cfengine3-mode):
13230 * progmodes/perl-mode.el (perl-mode): Don't call
13231 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13233 2013-06-18 Juri Linkov <juri@jurta.org>
13235 * files-x.el (modify-file-local-variable-message): New function.
13236 (modify-file-local-variable)
13237 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13238 and call `modify-file-local-variable-message' when it's non-nil.
13239 (add-file-local-variable, delete-file-local-variable)
13240 (add-file-local-variable-prop-line)
13241 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13242 and use it. (Bug#9820)
13244 2013-06-18 Juri Linkov <juri@jurta.org>
13246 * emulation/vi.el (vi-shell-op):
13247 * emulation/vip.el (vip-execute-com, ex-command):
13248 * emulation/viper-cmd.el (viper-exec-bang):
13249 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13250 the call of `shell-command-on-region'. (Bug#14637)
13252 * simple.el (shell-command-on-region): Doc fix.
13254 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13256 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13259 2013-06-18 Glenn Morris <rgm@gnu.org>
13261 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13263 * newcomment.el (comment-search-forward, comment-search-backward):
13264 Doc fix. (Bug#14376)
13266 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13268 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13269 (buffer-face-mode-invoke): Doc fix.
13271 2013-06-18 Matthias Meulien <orontee@gmail.com>
13273 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13274 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13276 2013-06-18 Glenn Morris <rgm@gnu.org>
13278 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13279 Replace obsolete function generic-make-keywords with its expansion.
13281 * progmodes/python.el (ffap-alist): Declare.
13283 * textmodes/reftex.el (bibtex-mode-map): Declare.
13285 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13287 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13288 (package-unpack, package-unpack-single): Return the pkg-dir.
13289 (package-download-transaction): Use it to update package-alist.
13291 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13293 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13296 2013-06-17 Juri Linkov <juri@jurta.org>
13298 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13300 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13302 * emacs-lisp/package.el (package-load-descriptor):
13303 Remove `with-syntax-table' call, `read' doesn't need it.
13304 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13306 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13308 * startup.el (command-line): Expand package name returned by
13309 `package--description-file' (bug#14639).
13311 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13313 * emacs-lisp/package.el (package-load-descriptor): Do not call
13314 `emacs-lisp-mode', just use its syntax table.
13316 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13318 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13319 `font-lock-extra-managed-props' if any prettifying keyword is added.
13320 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13321 (prog-mode): Use `setq-local'.
13323 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13325 * international/characters.el (standard-case-table): Set syntax of ?»
13326 and ?« to punctuation.
13328 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13330 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13331 Save relevant match data before calling `syntax-ppss' (bug#14595).
13333 2013-06-15 Juri Linkov <juri@jurta.org>
13335 * files-x.el (modify-file-local-variable-prop-line): Add local
13336 variables to the end of the existing comment on the first line.
13337 Use `file-auto-mode-skip' to skip interpreter magic line,
13338 and also skip XML declaration.
13340 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13342 * startup.el (package--builtin-versions): New var.
13343 (package-subdirectory-regexp): Remove.
13344 (package--description-file): Hard code its value instead.
13346 * emacs-lisp/package.el: Don't activate packages older than builtin.
13347 (package-obsolete-list): Rename from package-obsolete-alist, and make
13348 it into a simple list of package-desc.
13349 (package-strip-version): Remove.
13350 (package-built-in-p): Use package--builtin-versions.
13351 (package-mark-obsolete): Simplify.
13352 (package-process-define-package): Mark it obsolete if older than the
13354 (package-handle-response): Use line-end-position.
13355 (package-read-archive-contents, package--download-one-archive):
13357 (package--add-to-archive-contents): Skip if older than the builtin or
13359 (package-menu-describe-package): Fix last change.
13360 (package-list-unversioned): New var.
13361 (package-menu--generate): Use it.
13363 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13364 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13365 (autoload-builtin-package-versions): New variable.
13366 (autoload-generate-file-autoloads): Use them.
13367 Remove the list of autoloaded functions/macros from the
13368 (autoload...) comments.
13370 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13372 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13374 * simple.el (line-move-partial): Don't jump to the next screen
13375 line as soon as it becomes visible. Instead, continue enlarging
13376 the vscroll until the portion of a tall screen line that's left on
13377 display is about the height of the frame's default font.
13380 2013-06-15 Glenn Morris <rgm@gnu.org>
13382 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13383 compilation-error-regexp-alist void, or local while let-bound.
13385 * progmodes/make-mode.el (makefile-mode-syntax-table):
13386 Treat "=" as punctuation. (Bug#14614)
13388 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13390 * help-fns.el (describe-variable):
13391 Add extra line for permanent-local variables.
13393 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13395 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13396 Add export, import, library. (Bug#9164)
13397 (library): Set indent function.
13399 2013-06-14 Glenn Morris <rgm@gnu.org>
13401 * term/xterm.el (xterm--query):
13402 Stop after first matching handler. (Bug#14615)
13404 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13406 Add support for dired in saveplace.
13407 * dired.el (dired-initial-position-hook): New variable.
13408 (dired-initial-position): Call hook to place cursor position.
13409 * saveplace.el (save-place-to-alist): Add dired position.
13410 (save-place-dired-hook): New function.
13412 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13415 through a symbol rather than letrec.
13417 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13418 (package-desc): Add `dir' field.
13419 (package-desc-full-name): New function.
13420 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13421 (package-maybe-load-descriptor): Remove.
13422 (package-load-all-descriptors): Just call package-load-descriptor.
13423 (package--disabled-p): New function.
13424 (package-desc-vers, package-desc-doc): Remove aliases.
13425 (package--dir): Remove function.
13426 (package-activate): Check if a package is disabled.
13427 (package-process-define-package): New function, extracted from
13429 (define-package): Turn into a place holder.
13430 (package-unpack-single, package-tar-file-info):
13431 Use package--description-file.
13432 (package-compute-transaction): Use package--disabled-p.
13433 (package-download-transaction): Don't call
13434 package-maybe-load-descriptor since they're all loaded anyway.
13435 (package-install): Change argument to be a pkg-desc.
13436 (package-delete): Use a single pkg-desc argument.
13437 (describe-package-1): Use package-desc-dir instead of package--dir.
13438 Use package-desc property instead of package-symbol.
13439 (package-install-button-action): Adjust accordingly.
13440 (package--push): Rewrite.
13441 (package-menu--print-info): Adjust accordingly. Change the ID format
13443 (package-menu-describe-package, package-menu-get-status)
13444 (package-menu--find-upgrades, package-menu-mark-upgrades)
13445 (package-menu-execute, package-menu--name-predicate):
13446 Adjust accordingly.
13447 * startup.el (package--description-file): New function.
13448 (command-line): Use it.
13449 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13450 Use package-desc-version.
13452 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13453 (byte-compile-preprocess): Use it.
13454 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13455 can't quite recognize.
13456 (byte-compile-add-to-list): Remove.
13457 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13458 (cconv-closure-convert): Add assertion.
13460 * emacs-lisp/map-ynp.el: Use lexical-binding.
13461 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13462 Factor out some repeated code.
13464 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13466 * subr.el (with-eval-after-load): New macro.
13467 (eval-after-load): Allow form to be a function.
13468 take advantage of lexical-binding.
13469 (do-after-load-evaluation): Use dolist and adjust to new format.
13470 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13472 2013-06-13 Juri Linkov <juri@jurta.org>
13474 * replace.el (perform-replace): Display "symbol " and other search
13475 modes from `isearch-message-prefix' in the *Help* buffer.
13477 * isearch.el (isearch-query-replace): Add " symbol" and other
13478 possible search modes from `isearch-message-prefix' to the prompt.
13479 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13480 when reading a regexp to collect.
13482 2013-06-13 Juri Linkov <juri@jurta.org>
13484 * isearch.el (word-search-regexp): Match whitespace if the search
13485 string begins or ends in whitespace. The LAX arg is applied to
13486 both ends of the search string. Use `regexp-quote' and explicit
13487 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13488 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13489 boundaries are replaced with symbol boundaries, and characters
13490 between symbols match non-word non-symbol syntax. (Bug#14602)
13492 2013-06-13 Juri Linkov <juri@jurta.org>
13494 * isearch.el (isearch-del-char): Don't exceed the length of
13495 `isearch-string' by the prefix arg. (Bug#14563)
13497 2013-06-13 Juri Linkov <juri@jurta.org>
13499 * isearch.el (isearch-yank-word, isearch-yank-line)
13500 (isearch-char-by-name, isearch-quote-char)
13501 (isearch-printing-char, isearch-process-search-char):
13502 Add optional count prefix arg. (Bug#14563)
13504 * international/isearch-x.el
13505 (isearch-process-search-multibyte-characters):
13506 Add optional count prefix arg.
13508 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13510 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13511 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13514 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13516 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13518 2013-06-13 Glenn Morris <rgm@gnu.org>
13520 * startup.el (tty-handle-args):
13521 Don't just discard "--" and anything after. (Bug#14608)
13523 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13525 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13527 Implement changes in Secret Service API. Make it backward compatible.
13528 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13529 (secrets-create-item): Use it. Prefix properties with interface.
13531 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13533 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13534 (term-emulate-terminal): Respect term-suppress-hard-newline.
13536 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13538 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13539 Only remove a `thumb-file' overlay. (Bug#14548)
13541 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13543 * mail/reporter.el (reporter-submit-bug-report):
13544 Handle missing package-name. (Bug#14600)
13546 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13548 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13549 (reftex-citation-prompt, reftex-default-bibliography)
13550 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13551 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13552 (reftex-bib-sort-author, reftex-bib-sort-year)
13553 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13554 (reftex-extract-bib-entries-from-thebibliography)
13555 (reftex-get-bibkey-default, reftex-get-bib-names)
13556 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13557 (reftex-format-bib-entry, reftex-parse-bibitem)
13558 (reftex-format-bibitem, reftex-do-citation)
13559 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13560 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13561 (reftex-insert-bib-matches, reftex-format-citation)
13562 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13563 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13564 existing comments into docstrings.
13566 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13568 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13570 2013-06-12 Andreas Schwab <schwab@suse.de>
13572 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13573 for auto-save files.
13575 2013-06-12 Glenn Morris <rgm@gnu.org>
13577 * ido.el (ido-delete-ignored-files): Remove.
13578 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13579 Go back to calling ido-ignore-item-p directly.
13581 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13583 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13585 * ido.el (ido-delete-ignored-files): New function,
13586 split from ido-make-file-list-1.
13587 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13588 (ido-make-file-list-1): Use ido-delete-ignored-files.
13590 2013-06-12 Leo Liu <sdl.web@gmail.com>
13592 * progmodes/octave.el (inferior-octave-startup)
13593 (inferior-octave-completion-table)
13594 (inferior-octave-track-window-width-change)
13595 (octave-eldoc-function-signatures, octave-help)
13596 (octave-find-definition): Use single quoted strings.
13597 (inferior-octave-startup-args): Change default value.
13598 (inferior-octave-startup): Do not hard code "-i" and
13599 "--no-line-editing".
13600 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13601 (inferior-octave-directory-tracker): Use it.
13602 (octave-goto-function-definition): Robustify.
13603 (octave-help): Support highlighting operators in 'See also'.
13604 (octave-find-definition): Find subfunctions only in Octave mode.
13606 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13608 * help-fns.el (help-fns--compiler-macro): If the handler function is
13609 named, then put a link to it.
13610 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13611 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13612 (cl-typep): Use it.
13613 (cl-eval-when): Simplify debug spec.
13614 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13615 compiler-macro function instead of setting `compiler-macro-file'.
13617 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13619 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13620 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13622 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13623 Daniel Hackney <dan@haxney.org>
13625 First part of Daniel Hackney's patch to package.el.
13626 * emacs-lisp/package.el: Use defstruct.
13627 (package-desc): New, main struct.
13628 (package--bi-desc, package--ac-desc): New structs, used to describe the
13629 format in external files.
13630 (package-desc-vers): Replace with package-desc-version accessor.
13631 (package-desc-doc): Replace with package-desc-summary accessor.
13632 (package-activate-1): Remove `package' arg since the pkg-vec now
13634 (define-package): Use package-desc-from-define.
13635 (package-unpack-single): Change file-name arg to be a symbol.
13636 (package--add-to-archive-contents): Use package-desc-create and new
13637 accessor functions to package--ac-desc.
13638 (package-buffer-info, package-tar-file-info): Return a package-desc.
13639 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13640 arg to be a package-desc.
13641 (package-install-file): Adjust accordingly. Use \' to match EOS.
13642 (package--from-builtin): New function.
13643 (describe-package-1, package-menu--generate): Use it.
13644 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13645 (package-generate-autoloads): Idem and return the name of the file.
13646 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13647 Change pkg-info arg to be a package-desc.
13648 Use package-make-ac-desc.
13649 (package-upload-file): Use \' to match EOS.
13650 * finder.el (finder-compile-keywords): Use package-make-builtin.
13652 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13654 * vc/vc.el (vc-deduce-fileset): Change error message.
13655 (vc-read-backend): New function.
13656 (vc-next-action): Use it.
13658 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13660 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13661 (prolog-font-lock-keywords): Use regexp-opt instead.
13662 Don't manually highlight strings.
13663 (prolog-mode-variables): Simplify comment-start-skip.
13664 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13666 * emacs-lisp/generic.el (generic--normalise-comments)
13667 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13668 (generic-mode-set-comments): Use them.
13669 (generic-bracket-support): Use setq-local.
13670 (generic-make-keywords-list): Declare obsolete.
13672 2013-06-11 Glenn Morris <rgm@gnu.org>
13674 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13675 Prettify after setting font-lock-defaults. (Bug#14574)
13677 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13679 * replace.el (query-replace, occur-read-regexp-defaults-function)
13681 * subr.el (declare-function, number-sequence, local-set-key)
13682 (substitute-key-definition, locate-user-emacs-file)
13683 (with-silent-modifications, split-string, eval-after-load):
13684 Fix typos, remove unneeded backslashes and reflow some docstrings.
13686 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13688 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13689 default for Elisp files.
13691 2013-06-11 Glenn Morris <rgm@gnu.org>
13693 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13694 although define-derived-mode was doing this anyway. (Bug#14583)
13696 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13698 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13699 Fix make-variable-buffer-local call to refer to the correct variable.
13701 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13703 * eshell/em-term.el (eshell-visual-commands)
13704 (eshell-visual-subcommands, eshell-visual-options):
13705 Add summary line to docstrings. Add cross-references.
13707 2013-06-10 Glenn Morris <rgm@gnu.org>
13709 * epa.el (epa-read-file-name): New function. (Bug#14510)
13710 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13712 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13714 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13715 output redirection to be ignored with visual commands.
13717 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13719 * eshell/em-term.el (eshell-visual-command-p): New function.
13720 (eshell-term-initialize): Move long lambda to separate function
13721 eshell-visual-command-p.
13722 * eshell/em-dirs.el (eshell-dirs-initialize):
13723 * eshell/em-script.el (eshell-script-initialize):
13724 Add missing #' to lambda.
13726 2013-06-08 Leo Liu <sdl.web@gmail.com>
13728 * progmodes/octave.el (octave-add-log-current-defun): New function.
13729 (octave-mode): Set add-log-current-defun-function.
13730 (octave-goto-function-definition): Do not move point if not found.
13731 (octave-find-definition): Enhance to try subfunctions first.
13733 2013-06-08 Glenn Morris <rgm@gnu.org>
13735 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13736 (byte-compile-backward-char, byte-compile-backward-word):
13737 Improve previous change, to handle non-explicit nil.
13739 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13741 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13742 (smie--opener/closer-at-point): New function.
13743 (smie--matching-block-data): Use it. Don't match from right after an
13744 opener or right before a closer. Obey smie-blink-matching-inners.
13745 Don't signal a mismatch for repeated inners like "switch..case..case".
13747 2013-06-07 Leo Liu <sdl.web@gmail.com>
13749 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13751 (octave-function-header-regexp): Fix. (Bug#14570)
13752 (octave-help-mode-finish-hook, octave-help-mode-finish):
13753 Remove. Just use temp-buffer-show-hook.
13755 * newcomment.el (comment-search-backward): Revert last change.
13758 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13760 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13762 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13763 through xargs, to avoid failure due to MS-Windows limitations on
13764 command-line length.
13766 2013-06-06 Glenn Morris <rgm@gnu.org>
13768 * font-lock.el (lisp-font-lock-keywords-2):
13769 Treat user-error like error.
13771 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13772 (byte-compile-backward-char, byte-compile-backward-word):
13773 Handle explicit nil arguments. (Bug#14565)
13775 2013-06-05 Alan Mackenzie <acm@muc.de>
13777 * isearch.el (isearch-allow-prefix): New user option.
13778 (isearch-other-meta-char): Don't exit isearch when a prefix
13779 argument is typed whilst `isearch-allow-prefix' is non-nil.
13782 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13784 * autorevert.el (auto-revert-notify-handler): Use memq.
13785 Hide assertion failure.
13787 * skeleton.el: Use cl-lib.
13788 (skeleton-further-elements): Use defvar-local.
13789 (skeleton-insert): Use cl-progv.
13791 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13793 * progmodes/prog-mode.el (prog-prettify-symbols)
13794 (prog-prettify-install): Update docstrings.
13796 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13798 * simple.el: Move all the prog-mode code to prog-mode.el.
13799 * progmodes/prog-mode.el: New file.
13800 * loadup.el: Add prog-mode.el.
13802 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13804 * simple.el (prog-prettify-symbols): Add version.
13805 (prog-prettify-install): Add convenience function to prettify symbols.
13807 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13808 (perl--augmented-font-lock-keywords-1)
13809 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13810 variables and use it.
13812 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13813 (cfengine3-mode): Remove unneeded variable and use it.
13815 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13816 (lisp--augmented-font-lock-keywords-1)
13817 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13818 Remove unneeded variables and use it.
13820 2013-06-05 João Távora <joaotavora@gmail.com>
13822 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13823 to point when opening the connection. (Bug#14380)
13825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13827 * subr.el (load-history-regexp, load-history-filename-element)
13828 (eval-after-load, after-load-functions, do-after-load-evaluation)
13829 (eval-next-after-load, display-delayed-warnings)
13830 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13831 definition of save-match-data.
13832 (overriding-local-map): Remove accidental obsolescence declaration.
13834 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13836 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13838 Generalize symbol prettify support to prog-mode and implement it
13839 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13840 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13841 (prog--prettify-font-lock-compose-symbol)
13842 (prog-prettify-font-lock-symbols-keywords): New variables and
13843 functions to support symbol prettification.
13844 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13845 (lisp--augmented-font-lock-keywords-1)
13846 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13847 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13848 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13849 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13850 Implement prettify of -> => :: strings.
13851 * progmodes/perl-mode.el (perl-prettify-symbols)
13852 (perl--font-lock-compose-symbol)
13853 (perl--font-lock-symbols-keywords): Move to prog-mode.
13854 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13855 (perl-font-lock-keywords-1)
13856 (perl-font-lock-keywords-2): Remove explicit prettify support.
13857 (perl--augmented-font-lock-keywords)
13858 (perl--augmented-font-lock-keywords-1)
13859 (perl--augmented-font-lock-keywords-2, perl-mode):
13860 Implement prettify support.
13862 2013-06-05 Leo Liu <sdl.web@gmail.com>
13864 Re-implement SMIE matching block highlight using
13865 show-paren-data-function. (Bug#14395)
13866 * emacs-lisp/smie.el (smie-matching-block-highlight)
13867 (smie--highlight-matching-block-overlay)
13868 (smie--highlight-matching-block-lastpos)
13869 (smie-highlight-matching-block)
13870 (smie-highlight-matching-block-mode): Remove.
13871 (smie--matching-block-data-cache): New variable.
13872 (smie--matching-block-data): New function.
13873 (smie-setup): Use smie--matching-block-data for
13874 show-paren-data-function.
13876 * progmodes/octave.el (octave-mode-menu): Fix.
13877 (octave-find-definition): Skip garbage lines.
13879 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13881 Fix compilation error with simultaneous dynamic+lexical scoping.
13882 Add warning when a defvar appears after the first let-binding.
13883 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13884 (byte-compile-close-variables): Initialize it.
13885 (byte-compile--declare-var): New function.
13886 (byte-compile-file-form-defvar)
13887 (byte-compile-file-form-define-abbrev-table)
13888 (byte-compile-file-form-custom-declare-variable): Use it.
13889 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13890 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13891 (byte-compile-bind): Handle dynamic bindings that shadow
13893 (byte-compile-unbind): Make arg non-optional.
13894 (byte-compile-let): Simplify.
13895 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13896 (cconv--analyse-function, cconv-analyse-form): Populate it.
13897 Protect byte-compile-bound-variables to limit the scope of defvars.
13898 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13899 Remove unneeded rule for `declare'.
13901 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13902 so as to avoid depending on cl-adjoin at run-time.
13903 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13905 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13906 (macroexp--warn-and-return): Use it.
13908 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13910 * subr.el: Convert to lexical binding.
13911 (overriding-local-map): Make obsolete.
13912 (add-to-list): Doc fix. Add compiler macro.
13913 (read-key): Swap values of local maps.
13915 2013-06-05 Leo Liu <sdl.web@gmail.com>
13917 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13919 2013-06-04 Leo Liu <sdl.web@gmail.com>
13921 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13922 (compilation-auto-jump): Suppress the "Mark set" message to give
13923 way to exit message.
13925 2013-06-04 Alan Mackenzie <acm@muc.de>
13927 Remove faulty optimisation from indentation calculation.
13928 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13929 search limit based on 2000 characters back from indent-point.
13931 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13933 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13935 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * emacs-lisp/lisp.el: Use lexical-binding.
13938 (lisp--local-variables-1, lisp--local-variables): New functions.
13939 (lisp--local-variables-completion-table): New var.
13940 (lisp-completion-at-point): Use it complete let-bound vars.
13942 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13943 eagerly (bug#14422).
13945 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13947 * autorevert.el (auto-revert-notify-enabled)
13948 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13949 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13950 (auto-revert-notify-handler): Handle also gfilenotify.
13952 * subr.el (file-notify-handle-event): New defun. Replacing ...
13953 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13956 2013-06-03 Juri Linkov <juri@jurta.org>
13958 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13959 `M-s h .'. (Bug#14427)
13961 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13962 command `hi-lock-face-symbol-at-point'.
13963 (hi-lock-face-symbol-at-point): New command.
13964 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13965 (hi-lock-menu): Add `highlight-symbol-at-point'.
13966 (hi-lock-mode): Doc fix.
13968 * isearch.el (isearch-forward-symbol-at-point): New command.
13969 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13970 (isearch-highlight-regexp): Add a regexp which matches
13971 words/symbols for word/symbol mode.
13973 * subr.el (find-tag-default-bounds): New function with the body
13974 mostly moved from `find-tag-default'.
13975 (find-tag-default): Move most code to `find-tag-default-bounds',
13976 call it and apply `buffer-substring-no-properties' afterwards.
13978 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13980 * eshell/em-term.el (eshell-term-initialize):
13981 Use `cl-intersection' rather than `intersection'.
13983 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13985 * vc/log-view.el: Doc fix.
13986 (log-view-mode-map): Copy keymap from `special-mode-map'.
13988 2013-06-02 Eric Ludlam <zappo@gnu.org>
13990 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13991 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13992 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13993 (eieio-unbound, eieio-default-superclass)
13994 (eieio--define-field-accessors, method-static, method-before)
13995 (method-primary, method-after, method-num-lists)
13996 (method-generic-before, method-generic-primary)
13997 (method-generic-after, method-num-slots)
13998 (eieio-specialized-key-to-generic-key)
13999 (eieio--check-type, class-v, class-p)
14000 (eieio-class-name, define-obsolete-function-alias)
14001 (eieio-class-parents-fast, eieio-class-children-fast)
14002 (same-class-fast-p, class-constructor, generic-p)
14003 (generic-primary-only-p, generic-primary-only-one-p)
14004 (class-option-assoc, class-option, eieio-object-p)
14005 (class-abstract-p, class-method-invocation-order)
14006 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14007 (eieio-class-un-autoload, eieio-defclass)
14008 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14009 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14010 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14011 (eieio-defgeneric-reset-generic-form)
14012 (eieio-defgeneric-form-primary-only)
14013 (eieio-defgeneric-reset-generic-form-primary-only)
14014 (eieio-defgeneric-form-primary-only-one)
14015 (eieio-defgeneric-reset-generic-form-primary-only-one)
14016 (eieio-unbind-method-implementations)
14017 (eieio--defmethod, eieio--typep)
14018 (eieio-perform-slot-validation, eieio-validate-slot-value)
14019 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14020 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14021 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14022 (eieio-slot-name-index, eieio-class-slot-name-index)
14023 (eieio-set-defaults, eieio-initarg-to-attribute)
14024 (eieio-attribute-to-initarg, eieio-c3-candidate)
14025 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14026 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14027 (eieio-class-precedence-list, eieio-generic-call-methodname)
14028 (eieio-generic-call-arglst, eieio-generic-call-key)
14029 (eieio-generic-call-next-method-list)
14030 (eieio-pre-method-execution-functions, eieio-generic-call)
14031 (eieio-generic-call-primary-only, eieiomt-method-list)
14032 (eieiomt-optimizing-obarray, eieiomt-install)
14033 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14034 (eieio-generic-form, eieio-defmethod, make-obsolete)
14035 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14036 (defclass): Remove `eval-and-compile' from macro.
14037 (call-next-method, shared-initialize): Instead of using
14038 `scoped-class' variable, use new eieio--scoped-class, and
14039 eieio--with-scoped-class.
14040 (initialize-instance): Rename local variable 'scoped-class' to
14041 'this-class' to remove ambiguitity from old global.
14043 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14045 (eieio--scoped-class-stack): New variable.
14046 (eieio--scoped-class): New fcn.
14047 (eieio--with-scoped-class): New scoping macro.
14048 (eieio-defclass): Use pushnew instead of add-to-list.
14049 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14050 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14051 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14052 `scoped-class' variable, use new eieio--scoped-class, and
14053 eieio--with-scoped-class.
14055 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14057 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14059 * eshell/esh-ext.el (eshell-external-command): Pass args to
14060 `eshell-find-interpreter'.
14061 (eshell-find-interpreter): Add new second parameter ARGS.
14063 * eshell/em-script.el (eshell-script-initialize): Add second arg
14064 to the function added as MATCH to `eshell-interpreter-alist'.
14066 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14067 the function added as MATCH to `eshell-interpreter-alist'.
14069 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14070 (eshell-visual-options): New defcustom.
14071 (eshell-escape-control-x): Adapt docstring.
14072 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14073 `eshell-visual-options' in addition to `eshell-visual-commands'.
14074 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14076 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14078 * progmodes/python.el (python-indent-block-enders): Add break,
14079 continue and raise keywords.
14081 2013-06-01 Glenn Morris <rgm@gnu.org>
14083 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14085 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14086 * progmodes/cc-cmds.el (delete-forward-p):
14087 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14088 * progmodes/cc-engine.el (buffer-syntactic-context):
14089 * progmodes/cc-fonts.el (face-property-instance):
14090 * progmodes/cc-mode.el (set-keymap-parents):
14091 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14092 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14093 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14094 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14095 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14097 * progmodes/cc-vars.el (other): Emacs has this widget since
14098 at least 21.1, so don't (re)define it.
14100 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14101 Replace the obsolete alias pcomplete-arg-quote-list.
14103 2013-06-01 Leo Liu <sdl.web@gmail.com>
14105 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14106 punctuation syntax.
14107 (inferior-octave-minimal-columns)
14108 (inferior-octave-last-column-width): New variables.
14109 (inferior-octave-track-window-width-change): New function.
14110 (inferior-octave-mode): Adjust column width so that Octave output,
14111 for example from 'ls', can fit into the window nicely.
14113 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14115 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14116 Highlight expansions inside regexp literals.
14118 2013-05-31 Glenn Morris <rgm@gnu.org>
14120 * obsolete/sym-comp.el (symbol-complete):
14121 Replace obsolete completion-annotate-function.
14123 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14125 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14127 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14128 New function, checks if point is inside a literal that allows
14129 expression expansion.
14130 (ruby-syntax-propertize-expansion): Use it.
14131 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14134 2013-05-30 Juri Linkov <juri@jurta.org>
14136 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14138 (isearch-invisible): New variable.
14139 (isearch-forward): Doc fix.
14140 (isearch-mode): Set `isearch-invisible'
14141 to the value of `search-invisible'.
14142 (isearch-toggle-case-fold): Doc fix.
14143 (isearch-toggle-invisible): New command.
14144 (isearch-query-replace): Let-bind `search-invisible'
14145 to the value of `isearch-invisible'.
14146 (isearch-search): Use `isearch-invisible' instead of
14147 `search-invisible'. Let-bind `search-invisible'
14148 to the value of `isearch-invisible'. (Bug#11378)
14150 2013-05-30 Juri Linkov <juri@jurta.org>
14152 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14153 call when `query-flag' is nil and `search-invisible' is non-nil.
14156 2013-05-30 Glenn Morris <rgm@gnu.org>
14158 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14160 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14161 (cc-require): Suppress spurious "noruntime" warnings.
14162 (cc-require-when-compile): Use fboundp, for sake of compiler.
14164 * progmodes/cc-mode.el: Move load of cc-vars before that of
14165 cc-langs (which in turn loads cc-vars), to quieten compiler.
14167 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14169 * paren.el: Simplify the code.
14170 (show-paren-mode): Always start the timer.
14171 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14172 (show-paren--overlay, show-paren--overlay-1): Rename from
14173 show-paren-overlay and show-paren-overlay-1, and initialize to an
14174 overlay rather than to nil.
14175 (show-paren-function): Misc cleanup and simplifications.
14177 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14179 * paren.el (show-paren-data-function): New hook.
14180 (show-paren--default): New function, extracted from show-paren-function.
14181 (show-paren-function): Use show-paren-data-function.
14183 2013-05-30 Glenn Morris <rgm@gnu.org>
14185 * ielm.el (ielm-map, ielm-complete-symbol):
14186 Use completion-at-point rather than obsolete functions.
14187 (inferior-emacs-lisp-mode): Doc fix.
14188 Set completion-at-point-functions, rather than
14189 comint-dynamic-complete-functions.
14191 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14192 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14193 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14195 * image.el (image-animated-p): Tweak definition.
14197 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14198 (rlogin-process-connection-type): Tweak default. Add set-after.
14199 (rlogin-host): Doc fix.
14200 (rlogin): Tweak prompt.
14201 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14203 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14204 * progmodes/tcl.el (inferior-tcl-mode-map):
14205 Use completion-at-point rather than obsolete alias.
14207 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14209 * minibuffer.el (read-file-name-completion-ignore-case):
14210 Move before completion--in-region, for eager macro expansion.
14212 2013-05-29 Juri Linkov <juri@jurta.org>
14214 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14215 for total count of matching lines. Add `global-matches' for total
14216 count of matches. Rename `matches' to `lines' for count of
14217 matching lines. Add `matches' for count of matches.
14218 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14219 to `prev-line' for line number of prev match endpt.
14220 Increment `matches' for every match. Print the number of
14221 matching lines in the header.
14222 (occur-context-lines): Rename `lines' to `curr-line'.
14223 Rename `prev-lines' to `prev-line'. (Bug#14017)
14225 2013-05-29 Juri Linkov <juri@jurta.org>
14227 * replace.el (perform-replace): Add `skip-read-only-count',
14228 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14229 Increment them for corresponding conditions and report the number
14230 of skipped occurrences in the final message. (Bug#11746)
14231 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14232 (replace-string, replace-regexp): Doc fix.
14234 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14236 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14238 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14239 prog-mode-map (bug#14504).
14241 2013-05-29 Leo Liu <sdl.web@gmail.com>
14243 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14244 (octave-help): Small simplification.
14246 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14247 off the highlight first.
14249 2013-05-29 Glenn Morris <rgm@gnu.org>
14251 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14252 Handle idlwave-last-system-routine-info-cons-cell being nil.
14254 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14255 (idlwave-write-paths): Simplify via with-temp-buffer.
14257 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14258 * emulation/cua-rect.el: Also load cua-base at run time.
14260 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14261 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14262 (cperl-imenu-on-info): Require imenu.
14264 2013-05-28 Alan Mackenzie <acm@muc.de>
14266 Handle "capitalised keywords" correctly.
14267 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14269 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14271 * eshell/em-unix.el: Add -r option to cp.
14273 2013-05-28 Glenn Morris <rgm@gnu.org>
14275 * vc/vc-arch.el (vc-exec-after): Declare.
14276 (vc-switches): Autoload.
14277 * vc/vc-bzr.el: No need to require vc when compiling.
14278 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14279 (vc-resynch-buffer, vc-dir-refresh): Declare.
14280 (vc-setup-buffer, vc-switches): Autoload.
14281 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14282 (vc-resynch-buffer): Declare.
14283 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14284 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14285 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14286 (grep-read-regexp, grep-read-files, grep-expand-template)
14287 (vc-dir-refresh): Declare.
14288 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14289 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14290 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14291 * vc/vc-mtn.el (vc-exec-after): Declare.
14292 (vc-switches): Autoload.
14293 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14294 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14295 (vc-file-tree-walk): Declare.
14296 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14297 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14298 (vc-tag-precondition, vc-rename-master): Autoload.
14299 * vc/vc-svn.el (vc-exec-after): Declare.
14300 (vc-switches, vc-setup-buffer): Autoload.
14301 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14303 (vc-resynch-buffer): Declare.
14305 * obsolete/fast-lock.el (byte-compile-warnings):
14306 Don't warn about obsolete features in this obsolete file.
14308 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14309 Move definition before use.
14311 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14312 (dun-unix-verbs): Remove dun-zippy.
14313 (dun-zippy): Remove function.
14315 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14317 2013-05-27 Juri Linkov <juri@jurta.org>
14319 * replace.el (replace-search): New function with code moved out
14320 from `perform-replace'.
14321 (replace-highlight, replace-dehighlight): Move function definitions
14322 up closer to `replace-search'. (Bug#11746)
14324 2013-05-27 Juri Linkov <juri@jurta.org>
14326 * replace.el (perform-replace): Ignore invisible matches.
14327 In addition to checking `query-replace-skip-read-only', also
14328 filter out matches by calling `run-hook-with-args-until-failure'
14329 on `isearch-filter-predicates', and also check `search-invisible'
14330 for t or call `isearch-range-invisible'.
14331 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14333 2013-05-27 Juri Linkov <juri@jurta.org>
14335 * isearch.el (isearch-filter-predicates): Rename from
14336 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14337 (isearch-message-prefix): Display text from the property
14338 `isearch-message-prefix' of the currently active filters.
14339 (isearch-search): Don't compare `isearch-filter-predicate' with
14340 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14341 on `isearch-filter-predicates'. Also check `search-invisible' for t
14342 or call `isearch-range-invisible'.
14343 (isearch-filter-visible): Make obsolete.
14344 (isearch-lazy-highlight-search):
14345 Call `run-hook-with-args-until-failure' on
14346 `isearch-filter-predicates' and use `isearch-range-invisible'.
14348 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14349 `isearch-filter-predicates' instead of `funcall'ing
14350 `isearch-filter-predicate'.
14351 (Info-mode): Set `Info-isearch-filter' to
14352 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14354 * dired-aux.el (dired-isearch-filter-predicate-orig):
14356 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14357 (dired-isearch-filenames-end): Add and remove
14358 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14359 instead of changing the value of `isearch-filter-predicate'.
14360 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14361 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14362 Put property `isearch-message-prefix' to "filename " on
14363 `dired-isearch-filter-filenames'.
14365 * wdired.el (wdired-change-to-wdired-mode):
14366 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14367 locally instead of changing `isearch-filter-predicate'.
14368 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14370 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14372 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14373 return the commit hash (Bug#14459). Also set the
14374 `vc-git-detached' property.
14375 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14376 (vc-git-mode-line-string): Use the same help-echo format whether
14377 in detached mode or not, because we know the actual revision now.
14378 When in detached mode, shorten the revision to 7 chars.
14380 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14382 * emacs-lisp/easy-mmode.el (define-minor-mode):
14383 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14384 mode hook and provide a docstring.
14386 2013-05-27 Alan Mackenzie <acm@muc.de>
14388 Remove spurious syntax-table text properties inserted by C-y.
14389 * progmodes/cc-mode.el (c-after-change): Also clear hard
14390 syntax-table property with value nil.
14392 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14394 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14395 when reading the events; the buffer layout shall not be changed.
14397 2013-05-27 Leo Liu <sdl.web@gmail.com>
14399 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14401 (inferior-octave-directory-tracker): Automatically re-sync
14403 (octave-help): Improve handling of 'See also'.
14405 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14407 * doc-view.el: Minor naming convention tweaks.
14408 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14410 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14411 even if there's no `display' property yet (bug#14435).
14413 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14415 * subr.el (unmsys--file-name): Rename from reveal-filename.
14417 * Makefile.in (custom-deps, finder-data, autoloads)
14418 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14419 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14420 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14422 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14424 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14425 error-completion on the first 2 args of condition-case (bug#14446).
14428 2013-05-25 Leo Liu <sdl.web@gmail.com>
14430 * comint.el (comint-previous-matching-input): Do not flood the
14431 *Messages* buffer with trivial messages.
14433 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14435 * progmodes/flymake.el (flymake-nop): Don't return a string.
14436 (flymake-set-at): Fix typo.
14438 * simple.el (read--expression): New function, extracted from
14439 eval-expression. Set completion-at-point-functions (bug#14465).
14440 (eval-expression, eval-minibuffer): Use it.
14442 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14444 * progmodes/flymake.el (flymake-save-buffer-in-file)
14445 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14446 (flymake-selected-frame, flymake-log, flymake-ins-after)
14447 (flymake-set-at, flymake-get-buildfile-from-cache)
14448 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14449 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14450 Refine the doc string.
14451 (flymake-get-file-name-mode-and-masks): Reformat.
14452 (flymake-get-real-file-name-function): Fix a minor bug.
14454 2013-05-24 Juri Linkov <juri@jurta.org>
14456 * progmodes/grep.el (grep-mode-font-lock-keywords):
14457 Support =linenumber= format used by git-grep for lines with
14458 function names. (Bug#13549)
14460 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14462 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14463 0 after a semi-colon; it works better for smie-auto-fill.
14464 (octave--indent-new-comment-line): New function.
14465 (octave-indent-new-comment-line): Use it (indirectly).
14466 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14467 modify comment-line-break-function.
14469 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14470 (smie-setup): Use add-function to set it.
14472 2013-05-24 Sam Steingold <sds@gnu.org>
14474 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14475 argument (before the `interactive' argument).
14477 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14479 * image-mode.el (image-mode-winprops): Add winprops to
14480 image-mode-winprops-alist before running
14481 image-mode-new-window-functions.
14482 * doc-view.el (doc-view-new-window-function): Don't delay
14483 doc-view-goto-page via timers (bug#14435).
14485 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14487 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14488 (doc-view-desktop-save-buffer): New function.
14489 (doc-view-restore-desktop-buffer): New function.
14490 (desktop-buffer-mode-handlers):
14491 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14493 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14494 `desktop-save-buffer' function.
14496 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14498 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14499 (tramp-gvfs-file-name-handler): Raise a user error when
14500 `tramp-gvfs-enabled' is nil.
14501 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14502 Do not raise a user error when loading package. (Bug#14447)
14504 * net/xesam.el: Move to obsolete/.
14506 2013-05-24 Glenn Morris <rgm@gnu.org>
14508 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14510 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14512 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14513 (Info-find-node, Man-getpage-in-background): Declare.
14515 * mail/unrmail.el (unrmail):
14516 Replace obsolete detect-coding-with-priority.
14518 * net/socks.el (socks-split-string): Use this rather than split-string.
14519 (socks-nslookup-host): Update for above change.
14520 (dynamic-choice, s5-dynamic-choice-match)
14521 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14522 Comment out unused code.
14524 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14525 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14526 (gud-tooltip-echo-area): Make obsolete.
14527 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14529 * progmodes/js.el (js--optimize-arglist): Declare.
14531 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14533 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14534 (ediff-window-C): Declare.
14536 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14537 Tweak requires to silence compiler.
14539 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14540 (he-search-string, he-tried-table, he-expand-list)
14541 (he-init-string, he-string-member, he-substitute-string)
14542 (he-reset-string): Declare.
14544 * obsolete/options.el (list-options): Use custom-variable-p,
14545 rather than obsolete alias.
14547 2013-05-23 Sam Steingold <sds@gnu.org>
14549 * simple.el (shell-command-on-region): Pass the `replace' argument
14550 down to `call-process-region' to comply with the doc as reported on
14551 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14553 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14555 * emacs-lisp/smie.el (smie-indent-forward-token)
14556 (smie-indent-backward-token): Handle string tokens (bug#14381).
14558 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14560 * ielm.el (ielm-menu): New menu.
14561 (inferior-emacs-lisp-mode): Set comment-start.
14563 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14565 * textmodes/reftex.el (reftex-ref-style-toggle):
14566 Fix deactivate action.
14568 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14569 Add cleveref macros.
14571 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14572 Accept options for bibliography commands.
14573 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14574 Add addbibresource. Basic Biblatex support.
14576 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14578 * net/tramp-gvfs.el (top):
14579 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14580 when loading package. (Bug#14447)
14582 2013-05-23 Glenn Morris <rgm@gnu.org>
14584 * progmodes/js.el: No need to load comint when compiling.
14585 (ring-insert, comint-send-string, comint-send-input)
14586 (comint-last-input-end, ido-chop): Declare.
14588 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14589 * vc/ediff-mult.el: Adjust requires.
14590 (ediff-directories-internal, ediff-directory-revisions-internal)
14591 (ediff-patch-file-internal): Declare.
14592 * vc/ediff-ptch.el: Adjust requires.
14593 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14594 (ediff-find-file): Autoload.
14595 * vc/ediff-util.el: No need to load ediff when compiling.
14596 (ediff-regions-internal): Declare.
14597 * vc/ediff-wind.el: Adjust requires.
14598 (ediff-compute-toolbar-width): Define when compiling.
14599 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14600 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14601 (dired-get-filename, dired-get-marked-files)
14602 (ediff-last-dir-patch, ediff-patch-default-directory)
14603 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14604 (ediff-patch-buffer-internal): Declare.
14606 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14607 (ispell-process, ispell-buffer-local-words, lm-summary)
14608 (lm-section-start, lm-section-end): Declare.
14609 (checkdoc-ispell-init): Simplify.
14611 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14612 (he-string-member, he-reset-string, he-substitute-string): Declare.
14614 * eshell/em-ls.el: Adjust requires.
14615 (eshell-glob-regexp): Declare.
14616 * eshell/em-tramp.el: Adjust requires.
14617 (eshell-parse-command): Autoload.
14618 * eshell/em-xtra.el: Adjust requires.
14619 (eshell-parse-command): Autoload.
14620 * eshell/esh-ext.el: Adjust requires.
14621 (eshell-parse-command, eshell-close-handles): Autoload.
14622 * eshell/esh-io.el: Adjust requires.
14623 (eshell-output-filter): Autoload.
14624 * eshell/esh-util.el: No need to load tramp when compiling.
14625 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14627 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14628 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14629 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14630 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14631 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14632 * eshell/esh-opt.el, eshell/esh-proc.el:
14633 * eshell/esh-var.el: Adjust requires.
14634 * eshell/eshell.el: Do not require esh-util twice.
14635 (eshell-add-input-to-history): Declare.
14636 (eshell-command): Check history module is active before using it.
14638 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14640 2013-05-22 Leo Liu <sdl.web@gmail.com>
14642 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14644 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14646 * autorevert.el (auto-revert-notify-add-watch)
14647 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14648 it indicates changes in file modification time.
14650 2013-05-22 Glenn Morris <rgm@gnu.org>
14652 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14653 Always delete the autoloaded function from the noruntime and
14654 unresolved functions lists.
14656 * allout.el: No need to load epa, epg, overlay when compiling.
14657 (epg-context-set-passphrase-callback, epg-list-keys)
14658 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14659 (epg-key-user-id-list): Declare.
14661 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14662 (viper-set-parsing-style-toggling-macro)
14663 (viper-set-emacs-state-searchstyle-macros):
14664 Use called-interactively-p on Emacs.
14665 (viper-looking-back): Make it an obsolete alias. Update callers.
14666 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14667 Use looking-back rather than viper-looking-back.
14668 (viper-tmp-insert-at-eob, viper-enlarge-region)
14669 (viper-read-string-with-history, viper-register-to-point)
14670 (viper-append-to-register, viper-change-state-to-vi)
14671 (viper-backward-char-carefully, viper-forward-char-carefully)
14672 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14673 (viper-change-state-to-emacs): Declare.
14674 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14675 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14676 * emulation/viper-mous.el: Do not load viper-cmd.
14677 (viper-backward-char-carefully, viper-forward-char-carefully)
14678 (viper-forward-word, viper-adjust-window): Declare.
14680 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14682 * progmodes/idlw-help.el (idlwave-help-fontify):
14683 Use called-interactively-p.
14685 * term/w32console.el (w32-get-console-codepage)
14686 (w32-get-console-output-codepage): Declare.
14688 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14689 Remove unnecessary declarations.
14690 (dframe-message): Doc fix.
14692 * info.el (dframe-select-attached-frame, dframe-current-frame):
14695 * speedbar.el (speedbar-message): Make it an obsolete alias.
14696 Update all callers.
14697 (speedbar-with-attached-buffer)
14698 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14699 (speedbar-with-writable): Use backquote.
14700 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14701 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14702 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14703 rather than speedbar- aliases.
14704 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14705 (speedbar-make-specialized-keymap, speedbar-insert-button)
14706 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14707 (speedbar-do-function-pointer): Declare.
14708 (rmail-speedbar-button, rmail-speedbar-find-file)
14709 (rmail-speedbar-move-message):
14710 Use dframe-with-attached-buffer rather than speedbar- alias.
14711 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14712 (dframe-message, speedbar-make-specialized-keymap)
14713 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14714 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14715 (speedbar-insert-button, dframe-select-attached-frame)
14716 (dframe-maybee-jump-to-attached-frame)
14717 (speedbar-change-initial-expansion-list)
14718 (speedbar-previously-used-expansion-list-name): Declare.
14719 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14720 Use dframe-message, dframe-with-attached-buffer rather than
14722 (gud-sentinel): Silence compiler.
14723 * progmodes/vhdl-mode.el (speedbar-refresh)
14724 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14725 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14726 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14727 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14728 (speedbar-file-lists, speedbar-make-tag-line)
14729 (speedbar-line-directory, speedbar-goto-this-file)
14730 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14731 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14732 (speedbar-make-button, speedbar-reset-scanners)
14733 (speedbar-files-item-info, speedbar-line-text)
14734 (speedbar-find-file-in-frame, speedbar-set-timer)
14735 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14736 (speedbar-with-writable): Do not (re)define it.
14737 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14738 rather than speedbar- alias.
14740 2013-05-21 Leo Liu <sdl.web@gmail.com>
14742 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14744 (octave-mode): Tweak fill-nobreak-predicate.
14745 (inferior-octave-startup): Check process to avoid infinite loop.
14746 (inferior-octave): Pop to buffer first to show abornmal process
14749 2013-05-21 Glenn Morris <rgm@gnu.org>
14751 * printing.el (pr-menu-bar): Define when compiling.
14753 2013-05-21 Leo Liu <sdl.web@gmail.com>
14755 * progmodes/octave.el (octave-auto-fill): Remove.
14756 (octave-indent-new-comment-line): Improve.
14757 (octave-mode): Use auto fill mode through
14758 comment-line-break-function and fill-nobreak-predicate.
14759 (octave-goto-function-definition): Support DEFUN_DLD.
14760 (octave-beginning-of-defun): Small tweak.
14761 (octave-help): Show parent directory.
14763 2013-05-21 Glenn Morris <rgm@gnu.org>
14765 * files.el (dired-unmark):
14766 * progmodes/gud.el (gdb-input): Update declarations.
14768 * calculator.el (electric, ehelp): No need to load when compiling.
14769 (Electric-command-loop, electric-describe-mode): Declare.
14771 * doc-view.el (doc-view-current-converter-processes): Move before use.
14773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14774 Move MODE-set-explicitly definition before use.
14776 * international/mule-diag.el (mule-diag):
14777 Don't use obsolete window-system-version.
14779 * mail/feedmail.el (smtpmail): No need to load when compiling.
14780 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14782 * mail/mail-utils.el (rfc822): No need to load when compiling.
14783 (rfc822-addresses): Autoload it.
14784 (mail-strip-quoted-names): Trivial simplification.
14786 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14787 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14789 * net/snmp-mode.el (tempo): Don't duplicate requires.
14791 * progmodes/prolog.el (info): No need to load when compiling.
14792 (comint): Require before shell requires it.
14793 (Info-goto-node): Autoload it.
14794 (Info-follow-nearest-node): Declare.
14795 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14797 * textmodes/artist.el (picture-mode-exit): Declare.
14799 * textmodes/reftex-parse.el (reftex-parse-from-file):
14800 Trivial rewrite so the compiler can parse it better.
14802 2013-05-20 Leo Liu <sdl.web@gmail.com>
14804 * progmodes/octave.el (octave-help-mode-map)
14805 (octave-help-mode-finish-hook): New variables.
14806 (octave-help-mode, octave-help-mode-finish): New functions.
14807 (octave-help): Use octave-help-mode.
14809 2013-05-20 Glenn Morris <rgm@gnu.org>
14811 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14813 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14815 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14816 start at point, so that expansion starting right after opening
14817 slash in a regexp is recognized.
14818 (ruby-syntax-before-regexp-re): New defvar, extracted from
14819 ruby-syntax-propertize-function. Since the value of this regexp
14820 is looked up at runtime now, we should be able to turn
14821 `ruby-syntax-methods-before-regexp' into a defcustom later.
14822 (ruby-syntax-propertize-function): Split regexp matching into two
14823 parts, for opening and closing slashes. That allows us to skip
14824 over string interpolations and support multiline regexps.
14825 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14826 for them, which calls `ruby-syntax-propertize-expansion'.
14827 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14828 call to `ruby-syntax-propertize-function'.
14829 (ruby-syntax-propertize-expansion): Extracted from
14830 `ruby-syntax-propertize-expansions'. Handles one expansion.
14831 (ruby-syntax-propertize-percent-literal): Leave point right after
14832 the percent symbol, so that the expression expansion rule can
14833 propertize the contents.
14834 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14836 (ruby-syntax-propertize-expansions): Remove.
14838 2013-05-18 Juri Linkov <juri@jurta.org>
14840 * man.el (Man-default-man-entry): Remove `-' from the end
14841 of the default value. (Bug#14400)
14843 2013-05-18 Glenn Morris <rgm@gnu.org>
14845 * comint.el (comint-password-prompt-regexp):
14846 Allow "password for XXX" where XXX contains colons (eg https://...).
14848 2013-05-18 Leo Liu <sdl.web@gmail.com>
14850 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14851 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14852 (octave-source-directories): Don't check process.
14853 (octave-source-directories, octave-find-definition): Doc fix.
14855 2013-05-18 Glenn Morris <rgm@gnu.org>
14857 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14858 Remove backspace/delete bindings. (Bug#14392)
14860 * cus-dep.el (custom-make-dependencies): Sort the output.
14861 (custom-versions-load-alist): Convert comment to doc.
14863 2013-05-17 Leo Liu <sdl.web@gmail.com>
14865 * newcomment.el (comment-search-backward): Stricter in finding
14866 comment start. (Bug#14303)
14868 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14869 (octave-comment-start-skip): Properly anchored.
14871 2013-05-17 Leo Liu <sdl.web@gmail.com>
14873 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14874 Clean up when turned off. (Bug#14395)
14875 (smie--highlight-matching-block-overlay): No longer buffer-local.
14876 (smie-highlight-matching-block): Adjust.
14878 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14880 Doc string fix for "nanoseconds" (Bug#14406).
14881 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14882 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14884 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14886 * calc/calc-units.el (math-extract-units): Preserve powers
14889 2013-05-17 Leo Liu <sdl.web@gmail.com>
14891 * subr.el (delete-consecutive-dups): New function.
14892 * ido.el (ido-set-matches-1): Use it.
14893 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14894 * ido.el (ido-remove-consecutive-dups): Remove.
14896 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14899 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14900 regexp-opt's `words'.
14902 2013-05-16 Leo Liu <sdl.web@gmail.com>
14904 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14905 (smie--highlight-matching-block-overlay)
14906 (smie--highlight-matching-block-lastpos)
14907 (smie--highlight-matching-block-timer): New variables.
14908 (smie-highlight-matching-block): New function.
14909 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14910 (smie-setup): Conditionally enable smie-blink-matching-open.
14912 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14914 Sync with upstream verilog-mode r840.
14915 * progmodes/verilog-mode.el (verilog-mode-version)
14916 (verilog-mode-release-date): Update.
14917 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14918 (verilog-sig-tieoff): Fix string error on
14919 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14920 (verilog-read-decls): Fix parameters confusing
14921 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14923 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14925 * subr.el (reveal-filename): New function.
14927 * loadup.el: Compute Emacs executable versions on MS-Windows,
14928 where executables have the .exe extension. Add a hard link
14929 emacs-XX.YY.ZZ.exe on MS-Windows.
14931 * Makefile.in (XARGS_LIMIT): New variable.
14932 (custom-deps, finder-data, autoloads)
14933 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14934 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14935 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14936 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14938 2013-05-16 Leo Liu <sdl.web@gmail.com>
14940 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14941 (octave-mode-menu, octave-mode-map): Remove its uses.
14943 2013-05-16 Reto Zimmermann <reto@gnu.org>
14945 Sync with upstream vhdl mode v3.34.2.
14946 * progmodes/vhdl-mode.el: Use `push' throughout.
14947 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14948 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14949 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14950 (vhdl-actual-generic-name): New option to derive actual generic name.
14951 (vhdl-port-paste-signals): Replace formal by actual generics.
14952 (vhdl-beautify): New name for old group vhdl-align. Update users.
14953 (vhdl-beautify-options): New option.
14954 (vhdl-last-input-event): New compat alias. Use throughout.
14955 (vhdl-goto-line): Replace user level function `goto-line'.
14956 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14957 vhdl-fix-statement-buffer.
14958 (vhdl-create-mode-menu): Add some entries.
14959 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14960 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14961 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14962 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14963 to force statements on one line.
14964 (vhdl-remove-trailing-spaces-region):
14965 New, split from vhdl-remove-trailing-spaces.
14966 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14967 Respect vhdl-beautify-options.
14968 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14969 (vhdl-update-sensitivity-list): Not add with index if exists without.
14970 Not include array index with signal. Ignore keywords in comments.
14971 (vhdl-get-visible-signals): Regexp tweaks.
14972 (vhdl-template-component-inst): Handle empty library.
14973 (vhdl-template-type): Add template for 'enum' type.
14974 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14975 Use vhdl-replace-string.
14976 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14977 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14978 (vhdl-speedbar-initialize): Update for above name change.
14979 (vhdl-compose-wire-components): Fix in handling of constants.
14980 (vhdl-error-regexp-emacs-alist): New variable.
14981 (vhdl-error-regexp-add-emacs): New function;
14982 adds support for new compile.el (Emacs 22+)
14983 (vhdl-generate-makefile-1): Change target order for single lib. units.
14984 Allow use of absolute file names.
14986 2013-05-16 Leo Liu <sdl.web@gmail.com>
14988 * simple.el (prog-indent-sexp): Indent enclosing defun.
14990 2013-05-15 Glenn Morris <rgm@gnu.org>
14992 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14993 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14994 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14995 (whitespace-highlight): Move to whitespace group.
14997 * comint.el (comint-source):
14998 * pcmpl-linux.el (pcmpl-linux):
14999 * shell.el (shell-faces):
15000 * eshell/esh-opt.el (eshell-opt):
15001 * international/ccl.el (ccl): Remove empty custom groups.
15003 * completion.el (dynamic-completion-mode):
15004 * jit-lock.el (jit-lock-debug-mode):
15005 * minibuffer.el (completion-in-region-mode):
15006 * type-break.el (type-break-mode-line-message-mode)
15007 (type-break-query-mode):
15008 * emulation/tpu-edt.el (tpu-edt-mode):
15009 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15011 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15013 * term/xterm.el (xterm): Change parent group to terminals.
15015 * master.el (master): Remove empty custom group.
15016 (master-mode): Remove unused :group argument.
15017 * textmodes/refill.el (refill): Remove empty custom group.
15018 (refill-mode): Remove unused :group argument.
15020 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15022 * cus-dep.el: Provide a feature.
15023 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15024 Don't mistakenly ignore files whose basenames match a basename
15025 from preloaded-file-list (eg cedet/ede/simple.el).
15026 Add a fallback method for getting :group.
15028 2013-05-15 Juri Linkov <juri@jurta.org>
15030 * isearch.el (isearch-char-by-name): Rename from
15031 `isearch-insert-char-by-name'. Doc fix.
15032 (isearch-forward): Mention `isearch-char-by-name' in
15033 the docstring. (Bug#13348)
15035 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15036 `exit-minibuffer' instead of
15037 `isearch-nonincremental-exit-minibuffer'.
15038 (isearch-edit-string): Remove mention of
15039 `isearch-nonincremental-exit-minibuffer' from docstring.
15040 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15041 (isearch-forward-exit-minibuffer)
15042 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15046 * loadup.el: Just use unversioned DOC.
15048 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15049 literals as extending to EOB.
15050 (nxml-last-fontify-end): Remove unused variable.
15051 (nxml-after-change1): Use with-silent-modifications.
15052 (nxml-extend-after-change-region): Simplify.
15053 (nxml-extend-after-change-region1): Remove function.
15054 (nxml-after-change1): Don't adjust for dependent regions.
15055 (nxml-fontify-matcher): Simplify.
15056 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15057 (xmltok-add-dependent): Remove function.
15058 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15059 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15060 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15061 unclosed <[[, <?, comment, and other literals as extending to EOB.
15062 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15063 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15065 (rng-do-some-validation-1): Don't mark dependent regions.
15066 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15067 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15068 (nxml-clear-dependent-regions): Remove functions.
15069 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15070 (nxml-ensure-scan-up-to-date):
15071 Don't clear&mark dependent regions.
15073 2013-05-15 Leo Liu <sdl.web@gmail.com>
15075 * progmodes/octave.el (octave-goto-function-definition):
15076 Improve and fix callers.
15078 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15080 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15081 the setter (bug#14387).
15083 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15084 surrounding group (bug#14402).
15086 2013-05-14 Juri Linkov <juri@jurta.org>
15088 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15091 2013-05-14 Glenn Morris <rgm@gnu.org>
15093 * progmodes/f90.el (f90-imenu-generic-expression):
15094 Fix typo in 2013-05-08 change. (Bug#14402)
15096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15098 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15099 Remove signals for which replies are never received.
15101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15103 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15104 (gdb-handler-alist, gdb-handler-number): Remove variables.
15105 (gdb-handler-list): New variable.
15106 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15107 (gdb-pending-handler-p, gdb-handle-reply)
15108 (gdb-remove-all-pending-triggers): New functions.
15109 (gdb-discard-unordered-replies): New defcustom.
15110 (gdb-handler): New defstruct.
15111 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15112 instead of gdb-pending-triggers. Update docstring.
15113 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15114 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15115 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15116 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15117 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15118 (gdb-frame-handler): Pending triggers are now automatically managed.
15119 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15121 (gdb-input): Automatically handles pending triggers. Update docstring.
15122 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15123 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15125 (gdb-done-or-error): Now use gdb-handle-reply.
15127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15129 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15132 2013-05-14 Glenn Morris <rgm@gnu.org>
15134 * subr.el (user-emacs-directory-warning): New option.
15135 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15137 2013-05-14 Leo Liu <sdl.web@gmail.com>
15139 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15141 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15142 (octave-font-lock-texinfo-comment): Fix invalid search bound
15143 error: wrong side of point.
15145 2013-05-14 Glenn Morris <rgm@gnu.org>
15147 * progmodes/flymake.el (flymake-xml-program): New option.
15148 (flymake-xml-init): Use it.
15150 * term/xterm.el: Provide a feature.
15152 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15154 2013-05-13 Glenn Morris <rgm@gnu.org>
15156 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15157 Add compat aliases as a hack workaround. (Bug#14384)
15159 2013-05-13 Leo Liu <sdl.web@gmail.com>
15161 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15163 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15165 (octave-comment-start-skip): Include %!.
15166 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15168 2013-05-12 Leo Liu <sdl.web@gmail.com>
15170 * progmodes/octave.el (inferior-octave-startup): Store the value
15171 of __octave_srcdir__ for octave-source-directories.
15172 (inferior-octave-check-process): New function refactored out of
15173 inferior-octave-send-list-and-digest.
15174 (octave-source-directories)
15175 (octave-find-definition-filename-function): New variables.
15176 (octave-source-directories)
15177 (octave-find-definition-default-filename): New functions.
15178 (octave-find-definition): Improve to find functions implemented in C++.
15180 2013-05-12 Glenn Morris <rgm@gnu.org>
15182 * calendar/diary-lib.el (diary-outlook-format-1):
15183 Don't include dayname in the output. (Bug#14349)
15185 2013-05-11 Glenn Morris <rgm@gnu.org>
15187 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15189 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15190 Treat cc-provide like provide.
15192 2013-05-11 Kevin Ryde <user42@zip.com.au>
15194 * cus-dep.el (custom-make-dependencies):
15195 Use generated-autoload-load-name for the sake of files such
15196 such cedet/semantic/bovine/c.el, where the base file name
15197 is not in load-path. (Bug#5277)
15199 2013-05-11 Glenn Morris <rgm@gnu.org>
15201 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15204 2013-05-11 Leo Liu <sdl.web@gmail.com>
15206 * progmodes/octave.el (octave-indent-comment): Improve.
15207 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15208 (octave-eldoc-function-signatures, octave-eldoc-function):
15210 (octave-mode, inferior-octave-mode): Add eldoc support.
15212 2013-05-11 Richard Stallman <rms@gnu.org>
15214 * epa.el (epa-decrypt-file): Take output file name as argument
15215 and read it using `interactive'.
15217 2013-05-11 Leo Liu <sdl.web@gmail.com>
15219 * progmodes/octave.el (octave-beginning-of-line)
15220 (octave-end-of-line): Check before using up-list because it jumps
15221 out of more syntactic contructs since moving to smie.
15222 (octave-indent-comment): New function.
15223 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15224 (octave-begin-keywords, octave-end-keywords)
15225 (octave-reserved-words, octave-smie-bnf-table)
15226 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15228 2013-05-11 Glenn Morris <rgm@gnu.org>
15230 * faces.el (internal-face-x-get-resource):
15231 * frame.el (ns-display-monitor-attributes-list):
15232 * calc/calc-aent.el (math-to-radians-2):
15233 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15236 * calc/calc-menu.el: Make it loadable in isolation.
15238 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15239 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15240 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15241 (eudc-bbdb-query-internal): Require 'bbdb.
15243 * lpr.el (lpr-headers-switches):
15244 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15246 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15248 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15250 * term.el (term-set-escape-char): Make it idempotent.
15252 2013-05-10 Leo Liu <sdl.web@gmail.com>
15254 * progmodes/octave.el (inferior-octave-completion-table):
15255 No longer a function and all uses changed. Use cache to speed up
15256 completion due to bug#11906.
15257 (octave-beginning-of-defun): Re-write to be more general.
15259 2013-05-10 Glenn Morris <rgm@gnu.org>
15261 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15263 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15265 * comint.el (comint-redirect-send-command-to-process): Use :around
15266 rather than :override for comint-redirect-filter.
15267 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15268 Call it instead of comint-redirect-original-filter-function (which
15269 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15271 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15273 * frame.el (display-monitor-attributes-list): Add NS case.
15274 (ns-display-monitor-attributes-list): Declare.
15276 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15278 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15280 2013-05-09 Glenn Morris <rgm@gnu.org>
15282 * international/fontset.el (vertical-centering-font-regexp):
15283 Set standard-value.
15285 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15287 * bookmark.el (bookmark-search-delay):
15288 * cus-start.el (vertical-centering-font-regexp):
15289 * ps-mule.el (ps-mule-font-info-database-default):
15290 * ps-print.el (ps-default-fg, ps-default-bg):
15291 * type-break.el (type-break-good-break-interval):
15292 * whitespace.el (whitespace-indentation-regexp)
15293 (whitespace-space-after-tab-regexp):
15294 * emacs-lisp/testcover.el (testcover-1value-functions)
15295 (testcover-noreturn-functions, testcover-progn-functions)
15296 (testcover-prog1-functions):
15297 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15298 * eshell/em-glob.el (eshell-glob-translate-alist):
15299 * play/tetris.el (tetris-tty-colors):
15300 * progmodes/cpp.el (cpp-face-default-list):
15301 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15302 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15303 (idlwave-help-browser-generic-args):
15304 * progmodes/make-mode.el (makefile-special-targets-list):
15305 * progmodes/python.el (python-shell-virtualenv-path):
15306 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15307 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15308 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15309 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15310 * textmodes/reftex-vars.el (reftex-format-label-function):
15311 * textmodes/remember.el (remember-diary-file): Fix custom types.
15313 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15316 2013-05-09 Leo Liu <sdl.web@gmail.com>
15318 * progmodes/octave.el (inferior-octave-completion-at-point):
15319 Restore file completion. (Bug#14300)
15320 (inferior-octave-startup): Fix incorrect highlighting for the
15323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15325 * progmodes/ruby-mode.el: First cut at SMIE support.
15326 (ruby-use-smie): New var.
15327 (ruby-smie-grammar): New constant.
15328 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15329 (ruby-smie--forward-token, ruby-smie--backward-token)
15330 (ruby-smie-rules): New functions.
15331 (ruby-mode-variables): Setup SMIE if applicable.
15333 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15335 * simple.el (line-move-visual): Signal beginning/end of buffer
15336 only if vertical-motion moved less than it was requested. Avoids
15337 silly incorrect error messages when there are display strings with
15338 multiple newlines at EOL.
15340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15342 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15343 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15344 (prolog-char-quote-workaround):
15345 * progmodes/cperl-mode.el (cperl-under-as-char):
15346 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15348 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15350 (vhdl-mode-syntax-table-init): Remove.
15352 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15355 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15357 (ld-script-font-lock-keywords):
15358 Change regexps to use things like \_< and \_>.
15360 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15361 Change all regexps to use things like \_< and \_>.
15363 * progmodes/autoconf.el (autoconf-definition-regexp)
15364 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15365 Handle a _ with symbol syntax.
15366 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15368 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15369 Consolidate declaration.
15370 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15372 (ada-create-syntax-table): Remove.
15373 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15374 already has the right syntax nowadays.
15375 (ada-goto-next-word): Don't change the syntax of "_".
15377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15380 2013-05-08 Sam Steingold <sds@gnu.org>
15382 * thingatpt.el (thing-at-point): Accept optional second argument
15383 NO-PROPERTIES to strip the text properties from the return value.
15384 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15385 to `thing-at-point' instead of stripping the properties ourselves.
15386 Also, when `thing-at-point' fails to find a url, prepend "http://"
15387 to the filename at point on the assumption that the user is
15388 pointing at something like gnu.org/gnu.
15390 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15393 * faces.el (crm-separator):
15394 Silence byte-compiler.
15396 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15397 (tool-bar-map): Remove unneeded defvars.
15399 2013-05-08 Leo Liu <sdl.web@gmail.com>
15401 Re-work a fix for bug#10994 based on Le Wang's patch.
15402 * ido.el (ido-remove-consecutive-dups): New helper.
15403 (ido-completing-read): Use it.
15404 (ido-chop): Revert fix for bug#10994.
15406 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15408 * cus-edit.el (custom-save-variables):
15409 Pretty-print long values. (Bug#14187)
15411 2013-05-08 Glenn Morris <rgm@gnu.org>
15413 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15414 (m4-mode-syntax-table): Init in the defvar.
15415 (m4-mode-abbrev-table): Let define-derived-mode define it.
15417 2013-05-08 Tom Tromey <tromey@redhat.com>
15419 * progmodes/m4-mode.el (m4-mode-syntax-table):
15420 Do not treat "_" as word constituent. (Bug#14167)
15422 2013-05-07 Glenn Morris <rgm@gnu.org>
15424 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15425 Remove explicit eshell-isearch-cancel-map.
15427 * progmodes/f90.el (f90-smart-end-names): New option.
15428 (f90-smart-end): Doc fix.
15429 (f90-end-block-optional-name): New constant.
15430 (f90-block-match): Respect f90-smart-end-names.
15432 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15434 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15435 about implicit semi-colons (bug#14218).
15437 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15439 * frame.el (display-monitor-attributes-list)
15440 (frame-monitor-attributes): New functions.
15442 2013-05-06 Leo Liu <sdl.web@gmail.com>
15444 * progmodes/octave.el (octave-syntax-propertize-function): Change
15445 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15446 (octave-font-lock-keywords): Use octave-operator-regexp.
15447 (octave-completion-at-point): Rename from
15448 octave-completion-at-point-function.
15449 (inferior-octave-directory-tracker): Robustify.
15450 (octave-text-functions): Remove and fix its uses. No such things
15453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15455 * emacs-lisp/trace.el (trace--display-buffer): New function.
15456 (trace-make-advice): Use it.
15458 2013-05-06 Juri Linkov <juri@jurta.org>
15460 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15461 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15463 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15464 in the help string. (Bug#12985)
15466 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15468 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * progmodes/perl-mode.el: Add support for here documents.
15473 (perl-syntax-propertize-function): Match here-doc markers.
15474 (perl-syntax-propertize-special-constructs): Find their end.
15475 (perl-imenu-generic-expression): Use [:alnum:].
15477 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15478 (advice--add-function): Refresh the advice if already present
15481 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15483 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15485 2013-05-06 Glenn Morris <rgm@gnu.org>
15487 * w32-fns.el (w32-charset-info-alist): Declare.
15489 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15490 of its defcustom properties.
15491 (eshell-cmpl-initialize): No need to load pcomplete.
15493 * generic-x.el: No need to require comint when compiling.
15495 * net/eudc-export.el: Make it loadable without bbdb.
15496 (top-level): Use require rather than load-library.
15497 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15498 (eudc-batch-export-records-to-bbdb)
15499 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15504 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15505 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15506 some tweaks, instead.
15508 2013-05-05 Leo Liu <sdl.web@gmail.com>
15510 * progmodes/octave.el (octave-font-lock-keywords)
15511 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15512 (inferior-octave-send-list-and-digest): Improve error message.
15513 (octave-mode, inferior-octave-mode): Use setq-local.
15514 (octave-help): Set info-lookup-mode.
15516 2013-05-05 Richard Stallman <rms@gnu.org>
15518 * vc/compare-w.el (compare-windows-whitespace):
15519 Treat no-break space as whitespace.
15521 * mail/rmailsum.el (rmail-summary-rmail-update):
15522 Detect empty summary and don't change selected message.
15523 (rmail-summary-goto-msg): Likewise.
15525 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15526 Doc fixes, rename args.
15528 2013-05-05 Alan Mackenzie <acm@muc.de>
15530 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15532 2013-05-05 Juri Linkov <juri@jurta.org>
15534 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15535 to not add the length of the summary segment to the return value.
15538 2013-05-05 Leo Liu <sdl.web@gmail.com>
15540 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15541 (inferior-octave-output-filter): Remove.
15542 (octave-send-region, inferior-octave-startup): Fix callers.
15543 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15544 (octave-binary-file-extensions): New user variable.
15545 (octave-find-definition): Confirm if opening binary files.
15546 (octave-help-file): Use octave-find-definition to get the binary
15548 (octave-help): Adjust for octave-help-file change.
15550 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15552 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15553 Merge the two entries that handle function definitions.
15554 (pascal--syntax-propertize): New const.
15555 (pascal-mode): Use it. Use setq-local.
15557 2013-05-04 Glenn Morris <rgm@gnu.org>
15559 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15560 (diary-from-outlook): Respect diary-from-outlook-function.
15562 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15564 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15565 Move the declaration from C.
15566 (read-minibuffer, eval-minibuffer): Move from C.
15567 (completion-setup-function): Avoid minibuffer-completion-contents.
15569 2013-05-03 Leo Liu <sdl.web@gmail.com>
15571 * progmodes/octave.el (octave-font-lock-keywords): Do not
15572 dehighlight 'end' in comments or strings.
15573 (octave-completing-read, octave-goto-function-definition):
15575 (octave-help-buffer): New user variable.
15576 (octave-help-file, octave-help-function): New button types.
15577 (octave-help): New command and bind it to C-h ;.
15578 (octave-find-definition): New command and bind it to M-.
15579 (user-error): Alias to error if not defined.
15581 2013-05-02 Leo Liu <sdl.web@gmail.com>
15583 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15585 (octave-font-lock-keywords): Include [ and {.
15587 2013-05-02 Leo Liu <sdl.web@gmail.com>
15589 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15590 (inferior-octave): Remove calling comint-mode and return the buffer.
15591 (inferior-octave-startup): Cosmetic changes.
15593 2013-05-02 Leo Liu <sdl.web@gmail.com>
15595 * progmodes/octave.el (octave-syntax-propertize-function):
15596 Include the case when ' is at line beginning. (Bug#14336)
15598 2013-05-02 Glenn Morris <rgm@gnu.org>
15600 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15601 * desktop.el (vc-dir-mode): Just autoload it here.
15603 2013-05-02 Alan Mackenzie <acm@muc.de>
15605 Eliminate variable c-standard-font-lock-fontify-region-function.
15606 * progmodes/cc-mode.el
15607 (c-standard-font-lock-fontify-region-function): Remove.
15608 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15610 2013-05-01 Leo Liu <sdl.web@gmail.com>
15612 * progmodes/octave.el: Compatible with older emacs-24 releases.
15613 (inferior-octave-has-built-in-variables): Remove. Built-in
15614 variables were removed from Octave in 2007.
15615 (inferior-octave-startup): Fix uses.
15616 (comint-line-beginning-position): Remove compatibility code for
15619 2013-05-01 Juri Linkov <juri@jurta.org>
15621 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15623 2013-05-01 Juri Linkov <juri@jurta.org>
15625 * comint.el (comint-previous-matching-input): Don't print message
15626 "History item: %d" when `isearch-mode' is active.
15627 (comint-history-isearch-message): Print message "History item: %d"
15628 when `comint-input-ring-index' is not empty and this function is
15629 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15631 2013-05-01 Leo Liu <sdl.web@gmail.com>
15633 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15634 definitions. Use completion-at-point to insert keywords.
15635 (octave-abbrev-start): Remove.
15636 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15638 2013-04-30 Leo Liu <sdl.web@gmail.com>
15640 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15643 2013-04-30 Alan Mackenzie <acm@muc.de>
15645 Handle arbitrarily long C++ member initialisation lists.
15646 * progmodes/cc-engine.el (c-back-over-member-initializers):
15648 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15649 (most) member init lists.
15651 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15653 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15656 2013-04-30 Leo Liu <sdl.web@gmail.com>
15658 * progmodes/octave.el (octave-variables): Remove. No builtin
15659 variables any more. All converted to functions.
15660 (octave-font-lock-keywords, octave-completion-at-point-function):
15662 (octave-font-lock-texinfo-comment): New user variable.
15663 (octave-texinfo-font-lock-keywords): New variable for texinfo
15665 (octave-function-comment-block): New face.
15666 (octave-font-lock-texinfo-comment): New function.
15667 (octave-mode): Font lock texinfo comment block.
15669 2013-04-29 Leo Liu <sdl.web@gmail.com>
15671 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15672 indexing expression.
15673 (octave-continuation-string): Do not use \.
15674 (inferior-octave-complete-impossible): Remove.
15675 (inferior-octave-completion-table)
15676 (inferior-octave-completion-at-point): Remove its uses.
15677 (inferior-octave-startup): completion_matches was introduced to
15678 Octave in 1996 so safe to assume it.
15679 (octave-function-file-comment): Improve to follow how Octave does it.
15680 (octave-update-function-file-comment): Tweak.
15682 2013-04-29 Leo Liu <sdl.web@gmail.com>
15684 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15685 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15686 (octave-function-file-comment): Fix typo.
15687 (octave-sync-function-file-names): Use read-char-choice.
15689 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15691 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15692 to t for the less important warnings.
15694 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15696 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15698 2013-04-27 Glenn Morris <rgm@gnu.org>
15700 * vc/log-view.el (log-view-current-entry):
15701 Treat "---" separator lines as part of the following rev. (Bug#14169)
15703 2013-04-27 Juri Linkov <juri@jurta.org>
15705 * subr.el (read-number): Doc fix about using it by interactive
15706 code letter `n'. (Bug#14254)
15708 2013-04-27 Juri Linkov <juri@jurta.org>
15710 * desktop.el (desktop-auto-save-timeout): New option.
15711 (desktop-file-checksum): New variable.
15712 (desktop-save): Add optional arg `auto-save' and don't auto-save
15713 if nothing changed.
15714 (desktop-auto-save-timer): New variable.
15715 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15716 (after-init-hook): Call `desktop-auto-save-set-timer'.
15717 Suggested by Reuben Thomas <rrt@sc3d.org> in
15718 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15720 2013-04-27 Leo Liu <sdl.web@gmail.com>
15722 * progmodes/octave.el (octave-function-file-p)
15723 (octave-skip-comment-forward, octave-function-file-comment)
15724 (octave-update-function-file-comment): New functions.
15725 (octave-mode-map): Bind C-c ; to
15726 octave-update-function-file-comment.
15727 (octave-mode-menu): Add octave-update-function-file-comment.
15728 (octave-mode, inferior-octave-mode): Fix doc-string.
15729 (octave-insert-defun): Conform to Octave's coding convention.
15732 * files.el (basic-save-buffer): Don't let errors in
15733 before-save-hook prevent saving buffer.
15735 2013-04-20 Roland Winkler <winkler@gnu.org>
15737 * faces.el (read-face-name): Use completing-read if arg multiple
15740 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15742 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15743 displayed, move point to after the totals line.
15744 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15747 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15749 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15750 Add current dir to the load-path.
15751 (package-generate-autoloads): Don't rely on
15752 autoload-ensure-default-file.
15754 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15756 * textmodes/remember.el (remember-store-in-files): Document that
15757 the file name format is passed to `format-time-string'.
15759 2013-04-26 Leo Liu <sdl.web@gmail.com>
15761 * progmodes/octave.el (octave-sync-function-file-names): New function.
15762 (octave-mode): Use it in before-save-hook.
15764 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15769 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15770 \n and comment, even if it's not an implicit ; (bug#14218).
15772 2013-04-26 Glenn Morris <rgm@gnu.org>
15774 * subr.el (read-number): Once more use `read' rather than
15775 `string-to-number', to trap non-numeric input. (Bug#14254)
15777 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15779 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15780 Use `syntax-multiline' text property consistently instead of
15781 `font-lock-multiline'. (Bug#14237)
15783 2013-04-26 Glenn Morris <rgm@gnu.org>
15785 * emacs-lisp/shadow.el (list-load-path-shadows):
15786 No longer necessary to check for duplicate simple.el, since
15787 2012-07-07 change to init_lread to not include installation lisp
15788 directories in load-path when running uninstalled. (Bug#14270)
15790 2013-04-26 Leo Liu <sdl.web@gmail.com>
15792 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15793 (octave-mode, inferior-octave-mode): Use setq-local.
15794 (octave-not-in-string-or-comment-p): Rename to
15795 octave-in-string-or-comment-p.
15796 (octave-in-comment-p, octave-in-string-p)
15797 (octave-in-string-or-comment-p): Replace defsubst with defun.
15799 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15801 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15803 2013-04-25 Bastien Guerry <bzg@gnu.org>
15805 * textmodes/remember.el (remember-data-directory)
15806 (remember-directory-file-name-format): Fix custom types.
15808 2013-04-25 Leo Liu <sdl.web@gmail.com>
15810 * progmodes/octave.el (octave-completion-at-point-function):
15811 Make use of inferior octave process.
15812 (octave-initialize-completions): Remove.
15813 (inferior-octave-completion-table): New function.
15814 (inferior-octave-completion-at-point): Use it.
15815 (octave-completion-alist): Remove.
15817 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15820 (opascal-mode-syntax-table): New var.
15821 (opascal-literal-kind, opascal-is-literal-end)
15822 (opascal-literal-token-at): Rewrite.
15823 (opascal--literal-start-re, opascal-font-lock-keywords)
15824 (opascal--syntax-propertize): New constants.
15825 (opascal-font-lock-defaults): Adjust.
15826 (opascal-mode): Use them. Set comment-<foo> variables as well.
15827 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15828 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15829 (delphi-other-face, opascal-other-face): Remove face variables.
15830 (opascal-save-state): Remove macro.
15831 (opascal-fontifying-progress-step): Remove constant.
15832 (opascal--ignore-changes): Remove var.
15833 (opascal-set-token-property, opascal-parse-next-literal)
15834 (opascal-is-stable-literal, opascal-complete-literal)
15835 (opascal-is-literal-start, opascal-face-of)
15836 (opascal-parse-region, opascal-parse-region-until-stable)
15837 (opascal-fontify-region, opascal-after-change)
15838 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15839 (opascal-debug-parse-region, opascal-debug-parse-window)
15840 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15841 (opascal-debug-fontify-buffer): Remove.
15842 (opascal-debug-mode-map): Adjust accordingly.
15844 2013-04-25 Leo Liu <sdl.web@gmail.com>
15846 Merge octave-mod.el and octave-inf.el into octave.el with some
15848 * progmodes/octave.el: New file renamed from octave-mod.el.
15849 * progmodes/octave-inf.el: Merged into octave.el.
15850 * progmodes/octave-mod.el: Renamed to octave.el.
15852 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15854 * textmodes/reftex-vars.el
15855 (reftex-label-ignored-macros-and-environments): New defcustom.
15857 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15862 (smie-indent-keyword): Improve the check to ensure that the next
15863 comment is really on the same line.
15864 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15866 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15867 semi-colons if the line is not otherwise empty (bug#14218).
15869 2013-04-25 Glenn Morris <rgm@gnu.org>
15871 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15873 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15875 * progmodes/opascal.el (opascal-set-token-property): Rename from
15876 opascal-set-text-properties and only set `token' (bug#14134).
15877 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15878 (opascal-literal-text-properties): Remove.
15879 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15882 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15884 * textmodes/remember.el (remember-handler-functions): Add an
15885 option for a new handler `remember-store-in-files'.
15886 (remember-data-directory, remember-directory-file-name-format):
15888 (remember-store-in-files): New function to store remember notes
15889 as separate files within a directory.
15891 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15893 * progmodes/compile.el (compilation-next-error-function):
15894 Pass "formats" to compilation-find-file (bug#11777).
15896 2013-04-24 Glenn Morris <rgm@gnu.org>
15898 * vc/vc-bzr.el (vc-bzr-print-log):
15899 * vc/vc-hg.el (vc-hg-print-log):
15900 * vc/vc-svn.el (vc-svn-print-log):
15901 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15903 * vc/vc-bzr.el (vc-bzr-print-log):
15904 * vc/vc-cvs.el (vc-cvs-print-log):
15905 * vc/vc-git.el (vc-git-print-log):
15906 * vc/vc-hg.el (vc-hg-print-log):
15907 * vc/vc-mtn.el (vc-mtn-print-log):
15908 * vc/vc-rcs.el (vc-rcs-print-log):
15909 * vc/vc-sccs.el (vc-sccs-print-log):
15910 * vc/vc-svn.el (vc-svn-print-log):
15911 * vc/vc.el (vc-print-log-internal): Doc fixes.
15913 2013-04-23 Glenn Morris <rgm@gnu.org>
15915 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15916 Remove venerable code attempting to avoid substitute-command-keys.
15918 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15920 * textmodes/reftex-vars.el (reftex-label-regexps):
15921 Call `reftex-compile-variables' after changes to this variable.
15923 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15925 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15926 Use lexical-binding.
15927 (jit-lock-force-redisplay): Use markers, check buffer's continued
15928 existence and beware narrowed buffers.
15929 (jit-lock-fontify-now): Adjust call accordingly.
15931 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15933 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15934 to avoid misleading the user.
15936 2013-04-22 Leo Liu <sdl.web@gmail.com>
15938 * info-look.el: Prefer latex2e.info. (Bug#14240)
15940 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15942 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15944 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15945 * net/tramp.el (tramp-call-process): ... here.
15946 (tramp-set-completion-function, tramp-parse-putty):
15947 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15948 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15949 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15950 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15951 (tramp-call-local-coding-command): Use `tramp-call-process'
15952 instead of `tramp-compat-call-process'.
15954 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15955 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15956 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15957 (tramp-find-inline-compress): Improve traces.
15958 (tramp-maybe-send-script): Check for Perl binary.
15959 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15961 2013-04-22 Daiki Ueno <ueno@gnu.org>
15963 * epg.el (epg-context-pinentry-mode): New function.
15964 (epg-context-set-pinentry-mode): New function.
15965 (epg--start): Pass --pinentry-mode option to gpg command.
15967 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15969 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15970 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15971 `completion-at-point'. (Bug#13774)
15973 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15974 default key binding for `describe-distribution' has been moved to
15975 `C-h C-o'. (Bug#13970)
15977 2013-04-21 Glenn Morris <rgm@gnu.org>
15979 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15981 (vc-print-log): Clarify interactive prompt.
15983 2013-04-20 Glenn Morris <rgm@gnu.org>
15985 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15986 No longer include timestamp etc information.
15988 2013-04-20 Roland Winkler <winkler@gnu.org>
15990 * faces.el (read-face-name): Bug fix, return just one face if arg
15991 multiple is nil. (Bug#14209)
15993 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15995 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15996 (remove-function): Autoload.
15998 * comint.el (comint-redirect-original-filter-function): Remove.
15999 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16000 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16001 (vc-cvs-annotate-command):
16002 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16003 * progmodes/prolog.el (prolog-consult-compile):
16004 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16005 Use add/remove-function instead.
16006 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16007 (gud-tooltip-process-output, gud-tooltip-tips):
16008 Use add/remove-function instead.
16009 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16010 (scheme-interaction-mode, exit-scheme-interaction-mode):
16011 Use add/remove-function instead.
16013 * vc/vc-dispatcher.el: Use lexical-binding.
16014 (vc--process-sentinel): Rename from vc-process-sentinel.
16015 Change last arg to be the code to run. Don't use vc-previous-sentinel
16016 and vc-sentinel-commands any more.
16017 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16018 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16020 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16022 * progmodes/sh-script.el (sh-imenu-generic-expression):
16023 Handle function names with a single character. (Bug#14111)
16025 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16027 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16028 for subroutines defined in an eval (bug#14182).
16030 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16032 * bookmark.el (bookmark-completing-read): Improve handling of empty
16033 string (bug#14176).
16035 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16037 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16039 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16041 New faster Imenu implementation (bug#14058).
16042 * progmodes/python.el (python-imenu-prev-index-position)
16043 (python-imenu-format-item-label-function)
16044 (python-imenu-format-parent-item-label-function)
16045 (python-imenu-format-parent-item-jump-label-function):
16047 (python-imenu-format-item-label)
16048 (python-imenu-format-parent-item-label)
16049 (python-imenu-format-parent-item-jump-label)
16050 (python-imenu--put-parent, python-imenu--build-tree)
16051 (python-imenu-create-index, python-imenu-create-flat-index)
16052 (python-util-popn): New functions.
16053 (python-mode): Set imenu-create-index-function to
16054 python-imenu-create-index.
16056 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16058 * winner.el (winner-active-region): Use region-active-p, activate-mark
16059 and deactivate-mark (bug#14225).
16061 * simple.el (deactivate-mark): Don't inline it.
16063 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16065 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16067 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16069 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16070 file extensions from the archive-mode entry in order to prefer
16071 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16073 2013-04-18 Leo Liu <sdl.web@gmail.com>
16075 * bindings.el (help-event-list): Add ?\?.
16077 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16079 * subr.el (with-wrapper-hook): Declare obsolete.
16080 * simple.el (filter-buffer-substring-function): New hook.
16081 (filter-buffer-substring): Use it.
16082 (filter-buffer-substring-functions): Mark obsolete.
16083 * minibuffer.el (completion-in-region-function): New hook.
16084 (completion-in-region): Use it.
16085 (completion-in-region-functions): Mark obsolete.
16086 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16087 * abbrev.el (abbrev-expand-function): New hook.
16088 (expand-abbrev): Use it.
16089 (abbrev-expand-functions): Mark obsolete.
16090 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16091 and :filter-return.
16093 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16095 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16096 and do not care about match data.
16098 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16100 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16101 completion tables when completing error conditions and
16102 `declare' arguments.
16103 (lisp-complete-symbol, field-complete): Mark as obsolete.
16104 (check-parens): Unmatched parens are user errors.
16105 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16107 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16109 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16110 command changed buffer (ie. `flyspell-pre-buffer' is not current
16111 buffer), which prevents making decisions based on invalid value of
16112 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16113 cause an error when `flyspell-pre-point' was nil after switching
16115 (flyspell-post-command-hook): No longer needs to change buffers when
16116 checking pre-word. While at it remove unnecessary progn.
16118 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16120 * textmodes/ispell.el (ispell-add-per-file-word-list):
16121 Fix `flyspell-correct-word-before-point' error when accepting
16122 words and `coment-padding' is an integer by using
16123 `comment-normalize-vars' (Bug #14214).
16125 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16127 New defun movement commands.
16128 * progmodes/python.el (python-nav--syntactically)
16129 (python-nav--forward-defun, python-nav-backward-defun)
16130 (python-nav-forward-defun): New functions.
16132 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16134 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16135 (python-syntax-context): Use named compiler-macro for backwards
16136 compatibility with Emacs 24.x.
16138 2013-04-17 Leo Liu <sdl.web@gmail.com>
16140 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16141 octave-hide-process-buffer.
16143 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16145 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16148 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16150 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16151 Fix adjustment of offset when receiving incomplete responses from GDB
16154 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16156 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16157 python-mode-abbrev-table.
16158 (python-skeleton-define): Adjust accordingly.
16159 (python-mode-abbrev-table): New table that inherits from it so that
16160 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16162 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16163 (abbrev-symbol): Use it.
16164 (abbrev--before-point): Use it since we already handle inheritance.
16166 2013-04-16 Leo Liu <sdl.web@gmail.com>
16168 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16169 binding to info-lookup-symbol.
16171 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16173 * minibuffer.el (completion--twq-all):
16174 * term/ns-win.el (ns-initialize-window-system):
16175 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16177 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16179 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16182 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16184 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16186 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16187 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16189 (ruby-end-of-defun): Remove the unused arg, change the docstring
16190 to reflect that this function is only used as the value of
16191 `end-of-defun-function'.
16192 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16193 to reflect an earlier change that beginning/end-of-defun functions
16194 jump between methods in a class definition, as well as top-level
16197 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16199 * minibuffer.el (minibuffer-complete): Don't just scroll
16200 a *Completions* that's been iconified.
16201 (minibuffer-force-complete): Make sure repetitions do cycle when going
16202 through completion-in-region -> minibuffer-complete.
16204 2013-04-15 Alan Mackenzie <acm@muc.de>
16206 Correct the placement of c-cpp-delimiters when there're #s not at
16209 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16210 place a submatch around the #.
16211 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16212 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16215 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16217 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16218 (advice--member-p): New arg `name'.
16219 (advice--add-function, advice-member-p): Use it (bug#14202).
16221 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16223 Reformulate java imenu-generic-expression.
16224 The old expression contained ill formed regexps.
16226 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16227 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16228 (cc-imenu-java-method-arg-regexp): New defconsts.
16229 (cc-imenu-java-build-type-args-regex): New defun.
16230 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16231 handling of spaces in the regexp.
16233 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16235 * textmodes/ispell.el (ispell-command-loop): Remove
16236 flyspell highlight of a word when ispell accepts it (bug #14178).
16238 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16240 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16241 uses code from the previous `ange-ftp-run-real-handler'.
16242 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16243 only in case that function exist. This is needed for proper
16244 unloading of Tramp.
16246 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16248 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16250 * textmodes/reftex.el (reftex-compile-variables): Use it.
16252 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16254 * files.el (normal-mode): Only use default major-mode if no other mode
16257 * emacs-lisp/trace.el (trace-values): New function.
16259 * files.el: Allow : in local variables (bug#14089).
16260 (hack-local-variable-regexp): New var.
16261 (hack-local-variables-prop-line, hack-local-variables): Use it.
16263 2013-04-13 Roland Winkler <winkler@gnu.org>
16265 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16266 data before it gets modified by bibtex-beginning-of-entry.
16268 2013-04-13 Roland Winkler <winkler@gnu.org>
16270 * textmodes/bibtex.el (bibtex-url): Doc fix.
16272 2013-04-13 Roland Winkler <winkler@gnu.org>
16274 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16275 does not visit a BibTeX file, exclude it from the list of buffers
16276 returned by bibtex-initialize.
16278 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16280 * window.el (split-window): Remove interactive form, since as a
16281 command this function is a special case of split-window-below.
16282 Correct doc string.
16284 2013-04-12 Roland Winkler <winkler@gnu.org>
16286 * faces.el (read-face-name): Do not override value of arg default.
16287 Allow single faces and strings as default values. Remove those
16288 elements from return value that are not faces.
16289 (describe-face): Simplify.
16290 (face-at-point): New optional args thing and multiple so that this
16291 function can provide the same functionality previously provided by
16293 (make-face-bold, make-face-unbold, make-face-italic)
16294 (make-face-unitalic, make-face-bold-italic, invert-face)
16295 (modify-face, read-face-and-attribute): Use face-at-point.
16297 * cus-edit.el (customize-face, customize-face-other-window)
16298 * cus-theme.el (custom-theme-add-face)
16299 * face-remap.el (buffer-face-set)
16300 * facemenu.el (facemenu-set-face): Use face-at-point.
16302 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16304 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16306 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16308 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16309 off leading { and trailing } from field values.
16311 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16313 * emacs-lisp/timer.el (timer--check): New function.
16314 (timer--time, timer-set-function, timer-event-handler): Use it.
16315 (timer-set-idle-time): Simplify.
16316 (timer--activate): CSE.
16317 (timer-event-handler): Give more info in error message.
16318 (internal-timer-start-idle): New function, moved from C.
16320 * mpc.el (mpc-proc): Add `restart' argument.
16321 (mpc-proc-cmd): Use it.
16322 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16323 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16326 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16328 * progmodes/sh-script.el: Implement `sh-mode' own
16329 `add-log-current-defun-function' (bug#14112).
16330 (sh-current-defun-name): New function.
16331 (sh-mode): Use the function.
16333 2013-04-09 Bastien Guerry <bzg@gnu.org>
16335 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16337 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16339 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16341 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16344 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16346 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16349 2013-04-07 Leo Liu <sdl.web@gmail.com>
16351 * pcmpl-x.el: New file.
16353 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16355 Do not set x-display-name until X connection is established.
16356 This is needed to prevent from weird situation described at
16357 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16358 * frame.el (make-frame): Set x-display-name after call to
16359 window system initialization function, not before.
16360 * term/x-win.el (x-initialize-window-system): Add optional
16361 display argument and use it.
16362 * term/w32-win.el (w32-initialize-window-system):
16363 * term/ns-win.el (ns-initialize-window-system):
16364 * term/pc-win.el (msdos-initialize-window-system):
16365 Add compatible optional display argument.
16367 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16369 * files.el (normal-backup-enable-predicate): On MS-Windows and
16370 MS-DOS compare truenames of temporary-file-directory and of the
16371 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16372 don't fail comparison by compare-strings. Also, compare file
16373 names case-insensitively on MS-Windows and MS-DOS.
16375 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16377 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16378 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16380 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16382 * whitespace.el (whitespace-color-on, whitespace-color-off):
16383 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16385 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16387 * ispell.el (ispell-set-spellchecker-params):
16388 Really set `ispell-args' for all equivs.
16390 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * ido.el (ido-completions): Use extra elements of ido-decorations
16394 (ido-decorations): Update docstring.
16396 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16398 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16399 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16400 nil during initialization, in order not to miss changes since the
16401 file was opened. (Bug#14140)
16403 2013-04-05 Leo Liu <sdl.web@gmail.com>
16405 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16407 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16409 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16411 2013-04-04 Glenn Morris <rgm@gnu.org>
16413 * electric.el (electric-pair-inhibit-predicate): Add :version.
16415 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16417 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16418 when a package is required several times (bug#14082).
16420 2013-04-04 Roland Winkler <winkler@gnu.org>
16422 * faces.el (read-face-name): Behave as promised by the docstring.
16423 Assume that arg default is a list of faces.
16424 (describe-face): Call read-face-name with list of default faces.
16426 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16428 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16429 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16430 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16432 (bookmark-exit-hook-internal): Save even if list is empty.
16434 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16436 * emacs-lisp/package.el (package-pinned-packages): New var.
16437 (package--add-to-archive-contents): Obey it (bug#14118).
16439 2013-04-03 Alan Mackenzie <acm@muc.de>
16441 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16442 Also adapt to the new values of element 7 of a parse state.
16444 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16445 parameter `not-in-delimiter'. Handle being inside comment opener.
16446 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16447 character in case we're typing a '*' after a '/'.
16448 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16449 instead by passing the parameter to c-state-pp-to-literal.
16451 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16452 for elt. 7 of a parse state.
16454 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16456 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16457 * international/latin1-disp.el, international/mule-util.el:
16458 * language/cyril-util.el, language/european.el, language/ind-util.el:
16459 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16460 * language/tibetan.el, language/viet-util.el:
16461 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16463 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16465 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16466 (electric-pair-post-self-insert-function): Use it.
16467 (electric-pair-default-inhibit): New function, extracted from
16468 electric-pair-post-self-insert-function.
16470 2013-03-31 Roland Winkler <winkler@gnu.org>
16472 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16474 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16476 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16478 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16480 Un-indent after "pass" and "return" statements (Bug#13888)
16481 * progmodes/python.el (python-indent-block-enders): New var.
16482 (python-indent-calculate-indentation): Use it.
16484 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16486 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16487 defun. Defining it as defalias could introduce too eager
16488 byte-compiler optimization. (Bug#14030)
16490 2013-03-30 Chong Yidong <cyd@gnu.org>
16492 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16494 2013-03-30 Leo Liu <sdl.web@gmail.com>
16496 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16497 (kmacro-execute-from-register): Pass the keyboard macro to
16498 kmacro-call-macro or repeating won't work correctly.
16500 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16502 * progmodes/subword.el: Back to using `forward-symbol'.
16504 * subr.el (forward-whitespace, forward-symbol)
16505 (forward-same-syntax): Move from thingatpt.el.
16507 2013-03-29 Leo Liu <sdl.web@gmail.com>
16509 * kmacro.el (kmacro-to-register): New command.
16510 (kmacro-execute-from-register): New function.
16511 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16513 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * mpc.el: Use defvar-local and setq-local.
16516 (mpc--proc-connect): Connection failures are not bugs.
16517 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16518 (mpc-volume-map): Bind to the up-events.
16520 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16522 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16523 instead of `forward-symbol'.
16525 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16527 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16528 (edebug--recursive-edit): Use it.
16529 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16530 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16532 2013-03-28 Leo Liu <sdl.web@gmail.com>
16534 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16536 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16538 * facemenu.el (list-colors-callback): New defvar.
16539 (list-colors-redisplay): New function.
16540 (list-colors-display): Install list-colors-redisplay as the
16541 revert-buffer-function. (Bug#14063)
16543 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16545 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16546 and suffixes don't overlap (bug#14061).
16548 * case-table.el: Use lexical-binding.
16549 (case-table-get-table): New function.
16550 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16552 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16554 * progmodes/subword.el: Add `superword-mode' to do word motion
16555 over symbol_words (parallels and leverages `subword-mode' which
16556 does word motion inside MixedCaseWords).
16558 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16560 * eshell/em-unix.el: Move su and sudo to...
16561 * eshell/em-tramp.el: ...Eshell tramp module.
16563 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16565 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16566 Change return value to be a sexp. Delay `get-buffer' to after
16567 restoring the desktop (bug#13951).
16569 2013-03-26 Leo Liu <sdl.web@gmail.com>
16571 * register.el: Move semantic tag handling back to
16572 cedet/semantic/senator.el. (Bug#14052)
16574 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16576 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16577 into the prompt either (bug#13963).
16579 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16581 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16582 part of "(error-foo)".
16584 2013-03-24 Juri Linkov <juri@jurta.org>
16586 * replace.el (list-matching-lines-prefix-face): New defcustom.
16587 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16588 `occur-engine' if `face-differs-from-default-p' returns t.
16589 (occur-engine): Add `,' inside backquote construct to evaluate
16590 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16591 Pass `prefix-face' to the functions `occur-context-lines' and
16592 `occur-engine-add-prefix'.
16593 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16594 `prefix-face' and propertize the prefix with `prefix-face'.
16597 2013-03-24 Leo Liu <sdl.web@gmail.com>
16599 * nxml/rng-valid.el (rng-validate-while-idle)
16600 (rng-validate-quick-while-idle): Guard against deleted buffer.
16603 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16604 is the last entry in kill-buffer-hook.
16606 * files.el (kill-buffer-hook): Doc fix.
16608 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16610 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16611 Make it safe-local.
16613 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16615 2013-03-23 Leo Liu <sdl.web@gmail.com>
16617 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16620 * nxml/rng-valid.el (rng-validate-mode)
16621 (rng-after-change-function, rng-do-some-validation):
16622 * nxml/rng-maint.el (rng-validate-buffer):
16623 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16624 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16625 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16626 (nxml-extend-after-change-region): Use with-silent-modifications.
16628 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16631 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16632 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16633 timer-idle-list. (Bug#13999)
16635 2013-03-23 Juri Linkov <juri@jurta.org>
16637 * info.el (info-index-match): New face.
16638 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16639 main pattern and add text properties with the new face to matches
16640 in index entries relative to the beginning of the index entry.
16643 2013-03-21 Eric Ludlam <zappo@gnu.org>
16645 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16646 Inhibit read only while inserting objects.
16648 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16650 * progmodes/cfengine.el: Update docs to mention
16651 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16652 symbol motion. Remove "_" from the word syntax.
16654 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16656 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16657 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16659 2013-03-20 Juri Linkov <juri@jurta.org>
16661 * info.el (Info-next-reference-or-link)
16662 (Info-prev-reference-or-link): New functions.
16663 (Info-next-reference, Info-prev-reference): Use them.
16664 (Info-try-follow-nearest-node): Handle footnote navigation.
16665 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16667 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16669 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16670 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16672 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16674 Suppress unnecessary non-ASCII chatter during build process.
16675 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16676 (batch-skkdic-convert): Suppress most of the chatter.
16677 It's not needed so much now that machines are faster,
16678 and its non-ASCII component was confusing; see Dmitry Gutov in
16679 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16681 2013-03-20 Leo Liu <sdl.web@gmail.com>
16683 * ido.el (ido-chop): Fix bug#10994.
16685 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16687 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16689 (whitespace-color-on, whitespace-color-off):
16690 Use `font-lock-fontify-buffer' (Bug#13817).
16692 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16694 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16695 remapping in mode-line.
16696 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16698 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16700 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16701 value for `whitespace-line' face (Bug#13875).
16702 (whitespace-font-lock-keywords): Change description.
16703 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16704 the constructed keywords instead.
16705 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16707 2013-03-19 Leo Liu <sdl.web@gmail.com>
16709 * progmodes/compile.el (compilation-display-error): New command.
16710 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16713 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16715 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16717 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16719 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16721 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16723 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16725 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16726 * net/tramp-gvfs.el (top):
16727 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16728 (tramp-handle-shell-command): Use it.
16729 (tramp-dissect-file-name): Raise an error when hostname is a
16730 method name, and neither method nor user is specified.
16732 * net/trampver.el: Update release number.
16734 2013-03-18 Leo Liu <sdl.web@gmail.com>
16736 Make sure eldoc can be turned off properly.
16737 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16739 (eldoc-display-message-p): Revert last change.
16740 (eldoc-display-message-no-interference-p)
16741 (eldoc-print-current-symbol-info): Tweak.
16743 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16745 * doc-view.el (doc-view-new-window-function): Check the new window
16746 overlay's display property instead the char property of the
16747 buffer's first char. Use `with-selected-window' instead of
16748 `save-window-excursion' with `select-window'.
16749 (doc-view-document->bitmap): Check the current doc-view overlay's
16750 display property instead the char property of the buffer's first char.
16752 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16754 Automate the build of ja-dic.el (Bug#13984).
16755 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16756 from the input, rather than assume that it's been done for us by the
16757 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16758 the current date into a ja-dic.el comment, as that complicates
16759 regression testing.
16761 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16763 * whitespace.el: Fix double evaluation.
16764 (whitespace-space, whitespace-hspace, whitespace-tab)
16765 (whitespace-newline, whitespace-trailing, whitespace-line)
16766 (whitespace-space-before-tab, whitespace-indentation)
16767 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16769 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16770 (whitespace-color-on): Use a single font-lock-add-keywords call.
16771 Fix double-evaluation of face variables.
16773 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16775 * net/tramp-adb.el (tramp-adb-parse-device-names):
16776 Use `start-process' instead of `call-process'. Otherwise, the
16777 function might be blocked under MS Windows. (Bug#13299)
16779 2013-03-17 Leo Liu <sdl.web@gmail.com>
16781 Extend eldoc to display info in the mode-line. (Bug#13978)
16782 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16783 (eldoc-mode-line-string): New variable.
16784 (eldoc-minibuffer-message): New function.
16785 (eldoc-message-function): New variable.
16786 (eldoc-message): Use it.
16787 (eldoc-display-message-p)
16788 (eldoc-display-message-no-interference-p):
16789 Support eldoc-post-insert-mode.
16791 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16792 (eval-expression): Run it.
16794 2013-03-17 Roland Winkler <winkler@gnu.org>
16796 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16797 strings in the list of return values.
16799 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16801 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16802 radix before checking for HMS forms.
16804 2013-03-16 Leo Liu <sdl.web@gmail.com>
16806 * progmodes/scheme.el: Add indentation and font-locking for λ.
16809 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16811 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16812 token before point (bug#13942).
16814 2013-03-16 Leo Liu <sdl.web@gmail.com>
16816 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16818 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16820 * startup.el (command-line-normalize-file-name): Fix handling of
16821 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16822 <xfq.free@gmail.com> in
16823 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16825 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16827 Sync with Tramp 2.2.7.
16829 * net/trampver.el: Update release number.
16831 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16833 * doc-view.el: Fix bug#13887.
16834 (doc-view-insert-image): Don't modify overlay associated to
16835 non-live windows, and implement horizontal centering of image in
16836 case it's smaller than the window.
16837 (doc-view-new-window-function): Force redisplay of new windows on
16840 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16842 * saveplace.el (save-place-alist-to-file): Don't sort
16843 `save-place-alist', just pretty-print it (bug#13882).
16845 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16847 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16848 Check whether `default-file-name-coding-system' is bound.
16849 It isn't in XEmacs.
16851 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16853 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16854 backquotes for `obsolete' (bug#13929).
16856 * international/mule.el (find-auto-coding): Include file name in
16857 obsolescence warning (bug#13922).
16859 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16861 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16862 for CFEngine 3-specific indentation.
16863 (cfengine3-indent-line): Use it. Fix up category regex.
16864 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16866 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16868 * type-break.el (type-break-file-name):
16869 * textmodes/remember.el (remember-data-file):
16870 * strokes.el (strokes-file):
16871 * shadowfile.el (shadow-initialize):
16872 * saveplace.el (save-place-file):
16873 * ps-bdf.el (bdf-cache-file):
16874 * progmodes/idlwave.el (idlwave-config-directory):
16875 * net/quickurl.el (quickurl-url-file):
16876 * international/kkc.el (kkc-init-file-name):
16877 * ido.el (ido-save-directory-list-file):
16878 * emulation/viper.el (viper-custom-file-name):
16879 * emulation/vip.el (vip-startup-file):
16880 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16881 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16883 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16885 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16886 * language/thai-word.el: Switch to UTF-8.
16888 See ChangeLog.16 for earlier changes.
16890 ;; Local Variables:
16894 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16896 This file is part of GNU Emacs.
16898 GNU Emacs is free software: you can redistribute it and/or modify
16899 it under the terms of the GNU General Public License as published by
16900 the Free Software Foundation, either version 3 of the License, or
16901 (at your option) any later version.
16903 GNU Emacs is distributed in the hope that it will be useful,
16904 but WITHOUT ANY WARRANTY; without even the implied warranty of
16905 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16906 GNU General Public License for more details.
16908 You should have received a copy of the GNU General Public License
16909 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.