1 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 * play/landmark.el: Use lexical-binding and avoid `intangible'.
4 (landmark--last-pos): New var.
5 (landmark--intangible-chars): New const.
6 (landmark--intangible): New function.
7 (landmark-mode, landmark-move): Use it.
8 (landmark-mode): Remove properties.
9 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
10 (landmark-cross-qtuple):
11 Don't worry about `intangible' any more.
12 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
13 (landmark-init-display): Don't set `intangible' and `point-entered'.
14 (square): Remove. Inline it instead.
15 (landmark--distance): Rename from `distance'.
16 (landmark-calc-distance-of-robot-from): Rename from
17 calc-distance-of-robot-from.
18 (landmark-calc-smell-internal): Rename from calc-smell-internal.
20 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
22 * files.el (dir-locals-find-file, file-relative-name):
23 * info.el (Info-complete-menu-item):
24 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
25 to compare-strings to avoid out-of-range errors.
26 * subr.el (string-prefix-p): Adjust to match strict range
27 checking in compare-strings.
29 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
31 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
32 for comment lines non-greedy and stopping at newlines to fix stack
33 overflows with large files.
35 2014-06-24 Eli Barzilay <eli@barzilay.org>
37 * calculator.el (calculator-last-input): Drop 'ascii-character property
40 2014-06-24 Leo Liu <sdl.web@gmail.com>
42 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
43 tab-stop-list to nil. (Bug#16381)
45 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
46 (indent-rigidly-left-to-tab-stop)
47 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
48 (move-to-tab-stop): Change callers.
50 2014-06-24 Eli Zaretskii <eliz@gnu.org>
52 * skeleton.el (skeleton-insert): Yet another fix of the doc string
53 wrt behavior of \n as the first/last element of a skeleton.
55 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
57 * net/tramp-adb.el (tramp-adb-handle-process-file):
58 * net/tramp-sh.el (tramp-sh-handle-process-file):
59 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
60 the output buffer when DISPLAY is non-nil. (Bug#17815)
62 2014-06-24 Glenn Morris <rgm@gnu.org>
64 * play/landmark.el (landmark-move-down, landmark-move-up):
65 Fix 2007-10-20 change - preserve horizontal position.
67 2014-06-23 Sam Steingold <sds@gnu.org>
69 * simple.el (kill-append): Remove undo boundary depending on ...
70 (kill-append-merge-undo): New user option.
72 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
74 * simple.el (handle-shift-selection, exchange-point-and-mark)
75 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
76 (transient-mark-mode): Use&set the global value.
77 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
78 * emulation/edt.el (edt-emulation-off): Save&restore the global
79 transient-mark-mode setting.
80 * obsolete/pc-select.el (pc-selection-mode): Use the
81 transient-mark-mode function.
83 2014-06-23 Eli Zaretskii <eliz@gnu.org>
85 * international/fontset.el (script-representative-chars):
86 Add representative characters for scripts added in Unicode 7.0.
87 (otf-script-alist): Synchronize with the latest registry of OTF
90 * international/characters.el (char-script-table): Update for
91 scripts added and codepoint ranges changed in Unicode 7.0.
93 2014-06-23 Eli Barzilay <eli@barzilay.org>
95 * calculator.el (calculator-standard-displayer): Fix bug in use of
96 `calculator-groupize-number'.
97 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
98 `eval' code, so it works in v24.3.1 too.
99 (calculator-last-input): Comment to clarify purpose.
101 2014-06-22 Mario Lang <mlang@delysid.org>
103 * textmodes/rst.el (rst-comment-region): From from -> from.
105 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
107 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
109 * electric.el (electric-layout-post-self-insert-function):
110 * emacs-lisp/ert.el (ert--insert-infos):
111 * obsolete/vi.el (vi-set-mark):
112 * term.el (term-handle-scroll):
113 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
114 * wid-edit.el (widget-editable-list-value-create):
115 Prefer point-marker to copy-marker of point.
117 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
119 Fix completion retrieval parsing (bug#17209).
120 * progmodes/python.el (python-mode):
121 (python-util-strip-string): New function.
122 (python-shell-completion-get-completions): Use it.
124 2014-06-21 Eli Zaretskii <eliz@gnu.org>
126 * skeleton.el (skeleton-insert): Fix last change.
128 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
130 Enhancements for outline integration (bug#17796).
131 * progmodes/python.el (python-mode): Properly set
132 outline-heading-end-regexp so that comments after colons for
133 defuns are supported.
135 2014-06-21 Eli Zaretskii <eliz@gnu.org>
137 * skeleton.el (skeleton-insert): Doc fix.
139 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
141 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
142 (smie-config-guess): Use smie-config-local so the rules are obeyed
145 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
146 since it's already done inside the loop (bug#17819).
148 2014-06-21 Martin Rudalics <rudalics@gmx.at>
150 * mouse.el (mouse-drag-line): Re-remove code initially removed
151 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
154 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
156 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
157 align with the surrounding parent (bug#17721).
159 2014-06-21 Eli Zaretskii <eliz@gnu.org>
161 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
163 (texinfo-insert-block, texinfo-insert-@end)
164 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
165 local setting of skeleton-end-newline by adding an explicit \n to
166 the skeletons where appropriate. (Bug#17801)
168 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
170 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
171 (smie-indent--hanging-p): Use it.
172 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
174 2014-06-21 Leo Liu <sdl.web@gmail.com>
176 * simple.el (read-quoted-char): Don't let help chars pop up help
179 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
181 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
184 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
185 Drop unknown events instead of burping.
187 2014-06-21 Eli Zaretskii <eliz@gnu.org>
189 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
190 and later. (Bug#17790)
192 2014-06-21 Juri Linkov <juri@jurta.org>
194 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
195 to `soft'. (Bug#17554)
197 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
199 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
202 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
204 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
205 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
207 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
209 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
210 `unread-command-events'.
212 2014-06-19 William Xu <william.xwl@gmail.com>
214 * progmodes/hideif.el (hif-string-to-number): Don't return float for
215 hex integer constants (bug#17807).
217 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
219 * international/mule-util.el (truncate-string-ellipsis): New var.
220 (truncate-string-to-width): Use it.
222 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
224 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
225 (lisp-string-in-doc-position-p): New function, extracted from
226 lisp-font-lock-syntactic-face-function.
227 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
229 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
231 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
233 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
235 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
236 (bubbles--game-over): Don't add `intangible' properties since they
239 2014-06-18 Juri Linkov <juri@jurta.org>
241 * vc/ediff-init.el (ediff-current-diff-Ancestor)
242 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
243 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
244 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
245 Add `min-colors 88' version with removed black/white foregrounds.
248 2014-06-18 Juri Linkov <juri@jurta.org>
250 * vc/diff-mode.el (diff-changed): Empty face definition to use
251 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
252 (diff-context): Use darker color on light background and
253 lighter color on dark background.
255 2014-06-18 Juri Linkov <juri@jurta.org>
257 * vc/diff-mode.el (diff-refine-changed): Rename from
258 `diff-refine-change' for consistency with `diff-changed'.
259 (diff-refine-change): Add obsolete face alias. (Bug#10181)
261 * vc/smerge-mode.el (smerge-refined-changed): Rename from
262 `smerge-refined-change'.
263 (smerge-refined-change): Add obsolete face alias.
265 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
267 * rect.el (rectangle-preview): New custom.
268 (rectangle): New group.
269 (rectangle--pos-cols): Add `window' argument.
270 (rectangle--string-preview-state, rectangle--string-preview-window):
272 (rectangle--string-flush-preview, rectangle--string-erase-preview)
273 (rectangle--space-to, rectangle--string-preview): New functions.
274 (string-rectangle): Use them.
275 (rectangle--inhibit-region-highlight): New var.
276 (rectangle--highlight-for-redisplay): Obey it. Make sure
277 `apply-on-region' uses the point-crutches of the right window.
278 Use :align-to rather than multiple spaces.
280 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
282 * ruler-mode.el (ruler-mode-window-col)
283 (ruler-mode-mouse-set-left-margin)
284 (ruler-mode-mouse-set-right-margin): Fix calculation of column
285 from mouse position (Bug#17768).
287 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
289 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
290 without varname or rhs causes crash.
291 (dun-ftp): Fix bug where blank ftp password is allowed, making it
292 impossible to win endgame.
293 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
295 (dun-help): Bump version number; update contact info.
297 2014-06-15 Eli Barzilay <eli@barzilay.org>
299 * calculator.el (calculator-prompt, calculator-remove-zeros)
300 (calculator-mode-hook, calculator-operators, calculator-stack)
301 (calculator-mode): Tweak docstring.
302 (calculator-user-operators): Tweak docstring, fix a bug in the last
304 (calculator-displayer): `std' case has an optional boolean.
305 (calculator-displayers): Use the new boolean to group in decimal mode.
306 (calculator-mode-map, calculator, calculator-message)
307 (calculator-op-arity, calculator-add-operators)
308 (calculator-string-to-number, calculator-displayer-prev)
309 (calculator-displayer-next, calculator-remove-zeros)
310 (calculator-eng-display, calculator-number-to-string)
311 (calculator-update-display, calculator-last-input)
312 (calculator-clear-fragile, calculator-digit, calculator-decimal)
313 (calculator-exp, calculator-saved-move, calculator-clear)
314 (calculator-copy, calculator-put-value, calculator-help)
315 (calculator-expt, calculator-truncate): Minor code improvements.
316 (calculator-need-3-lines): New function pulling out code from
318 (calculator-get-display): Rename from `calculator-get-prompt', and
320 (calculator-push-curnum): Rename from `calculator-curnum-value', and
321 extended for all uses of it. All callers changed.
322 (calculator-groupize-number): New utility for splitting a number into
324 (calculator-standard-displayer): Improve code, new optional argument to
325 use comma-split groups, make second argument optional too to use with
326 'left/'right inputs. All callers changed.
327 (calculator-reduce-stack-once): New utility, doing the meat of what
328 `calculator-reduce-stack' used to do, much improved (mostly using
329 `pcase' for conciseness and clarity).
330 (calculator-reduce-stack): Now doing just the reduction loop using
331 `calculator-reduce-stack-once'.
332 (calculator-funcall): Improve code, make it work in v24.3.1 too.
333 (calculator-last-input): Improve code, remove some old cruft.
334 (calculator-quit): Kill `calculator-buffer' in electric mode too.
335 (calculator-integer-p): Remove.
336 (calculator-fact): Improve code, make it work on non-integer values
337 too (using truncated numbers).
339 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
341 Sync with Tramp 2.2.10.
343 * net/tramp.el (tramp-methods): Tweak docstring.
344 (tramp-handle-file-accessible-directory-p): Check for
345 `file-readable-p' instead of `file-executable-p'.
346 (tramp-check-cached-permissions):
347 Use `tramp-compat-file-attributes'.
348 (tramp-call-process): Add new argument VEC. Adapt callees in all
351 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
352 (tramp-adb-maybe-open-connection): Don't set
353 `tramp-current-*' variables.
355 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
356 file properties of temporary buffers.
358 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
360 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
361 (tramp-gvfs-handle-delete-file): Flush file
362 properties, not directory properties.
363 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
364 reading "unix::mode".
365 (tramp-gvfs-handle-file-name-all-completions):
366 Use "-h" option for "gvfs-ls".
367 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
368 (tramp-gvfs-send-command): Simplify traces.
370 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
371 (vc-git-program, vc-hg-program): Declare.
372 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
373 (tramp-methods) <nc>: Add new method.
374 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
375 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
377 (tramp-default-user-alist): Add "nc".
378 (top): Remove completion function for "sftp". Add completion
379 functions for "nc" and "psftp".
380 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
381 Implement support for "nc" method.
382 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
383 (tramp-remote-coding-commands, tramp-call-local-coding-command):
385 (tramp-sh-handle-write-region): Tweak error message.
386 (tramp-sh-handle-vc-registered): Remove backends when the remote
387 binary does not exist.
388 (tramp-find-inline-encoding): Do not raise an error.
389 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
390 the "nc" case. Quote result also locally.
392 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
393 (tramp-smb-handle-set-file-acl): Use `start-process'.
394 (tramp-smb-handle-insert-directory): Use progress reporter.
395 (tramp-smb-handle-rename-file): Flush also file properties of
398 * net/trampver.el: Update release number.
400 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
402 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
404 (ses-localvars): Remove ses--local-printer-list, unused.
405 (ses--metaprogramming): New macro. Use it to defvar variables.
406 (ses-set-localvars): Simplify.
407 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
408 property-list into an alist.
409 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
410 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
411 Remove; use defstruct accessors/setters instead.
412 (ses-cell-formula-aset, ses-cell-printer-aset)
413 (ses-cell-references-aset): Remove, use setf instead.
414 (ses--alist-get): New function.
415 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
416 Use an alist instead of a plist and don't do move-to-front since the
417 list is always short.
418 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
419 (ses-cell-property-set-fun, ses-cell-property-set)
420 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
421 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
422 (ses--letref): New macro.
423 (ses-cell-property-pop): Rewrite.
424 (ses--cell): Rename from ses-cell and make it into a function.
425 Make `formula' fallback on `value' if nil.
426 (ses--local-printer): Rename from ses-local-printer and make it into
428 (ses-set-cell): Turn it into a macro so finding the accessor from the
429 field name is done at compile time.
430 (ses-repair-cell-reference-all): Test presence of `sym' rather than
431 `ref' before adding `sym' to :ses-repair-reference.
432 (ses-calculate-cell): Use ses--letref rather than
433 ses-cell-property-get-handle.
434 (ses-write-cells): Use a single prin1-to-string.
435 (ses-setter-with-undo): New function.
436 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
437 (ses-unset-with-undo): Remove.
438 (ses-load): Prefer apply' over `eval'.
439 (ses-read-printer, ses-set-column-width): Use standard "(default
442 2014-06-15 Glenn Morris <rgm@gnu.org>
444 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
446 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
447 Replace delete-duplicates and mapcan by cl- versions throughout.
448 And cl-macroexpand-all by macroexpand-all.
449 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
451 2014-06-15 Eli Zaretskii <eliz@gnu.org>
453 * subr.el (posn-col-row): Doc fix. (Bug#17768)
455 2014-06-15 Juri Linkov <juri@jurta.org>
457 * bindings.el: Put `ascii-character' property on keypad keys
458 mapped to characters. (Bug#17759)
460 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
462 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
463 bumping forward into a closing paren (bug#17761).
465 * term/xterm.el (xterm--version-handler): Work around for OSX
466 Terminal.app (bug#17607).
468 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
470 * play/dunnet.el (dun-describe-room, dun-mode):
471 If a lamp is in the room, you won't be eaten by a grue.
473 2014-06-13 Glenn Morris <rgm@gnu.org>
475 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
476 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
477 (compile-always): GNU make automatically passes
478 command-line arguments to sub-makes.
480 * calendar/calendar.el (calendar-generate-window):
481 Remove pointless call to font-lock-fontify-buffer.
483 2014-06-13 Matthias Meulien <orontee@gmail.com>
485 * simple.el (completion-list-mode-map): Navigate with tab and backtab
488 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
490 * simple.el (set-mark-command): Simplify a bit.
492 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
494 * help.el (help--key-binding-keymap): New function.
495 (help--binding-locus): New function.
496 (describe-key): Mention the keymap in which the binding was
499 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
501 * hippie-exp.el (he--all-buffers): New function.
502 (try-expand-line-all-buffers, try-expand-list-all-buffers)
503 (try-expand-dabbrev-all-buffers): Use it.
505 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
507 * hippie-exp.el (try-expand-line-all-buffers)
508 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
509 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
510 original buffer, in case they're buffer-local.
512 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
514 * ses.el (ses-initial-global-parameters-re): New defconst, a
515 specific regexp is needed now that ses.el can handle both
516 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
518 (ses-localvars): Add local variables needed for local printer handling.
519 (ses-set-localvars): Handle hashmap initialisation.
520 (ses-paramlines-plist): Add param-line for number of local printers.
521 (ses-paramfmt-plist): New defconst, needed for code factorization
522 between functions `ses-set-parameter' and
523 `ses-file-format-extend-paramter-list'
524 (ses-make-local-printer-info): New defsubst.
525 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
526 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
527 (ses-cell-printer-aset): New defmacro.
528 (ses-local-printer-compile): New defun.
529 (ses-local-printer): New defmacro.
530 (ses-printer-validate, ses-call-printer): Add support for local
532 (ses-file-format-extend-paramter-list): New defun.
533 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
535 (ses-load): Add support for local printer functions.
536 (ses-read-printer): Update docstring and add support for local printer
538 (ses-refresh-local-printer, ses-define-local-printer): New defun.
539 (ses-safe-printer): Add support for local printer functions.
541 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
543 * ffap.el (ffap-lax-url): New var (bug#17723).
544 (ffap-url-at-point): Use it.
545 (ffap-file-at-point): Avoid returning just "/".
547 2014-06-12 Matthias Meulien <orontee@gmail.com>
549 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
550 (python-mode-map): Bind it.
552 * progmodes/python.el (class skeleton): Don't erase last char of class
555 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
557 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
559 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
561 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
564 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
566 * international/mule-cmds.el: Use lexical-binding.
567 (ucs-names): Simplify.
569 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
571 * progmodes/python.el (run-python): Use read-shell-command.
573 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
575 * rect.el: Make it possible to move bounds past EOL or into TABs.
576 (operate-on-rectangle): Use apply-on-rectangle.
577 (rectangle--mark-crutches): New var.
578 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
579 (rectangle--crutches, rectangle--reset-crutches): New functions.
580 (apply-on-rectangle): Obey crutches. Avoid setq.
581 Fix missing final iteration if end is at EOB&BOL.
582 (rectangle-mark-mode-map): Add remap bindings for
583 exchange-point-and-mark and char/line movements.
584 (rectangle--*-char): New function.
585 (rectangle-exchange-point-and-mark, rectangle-right-char)
586 (rectangle-left-char, rectangle-forward-char)
587 (rectangle-backward-char, rectangle-next-line)
588 (rectangle-previous-line): New commands.
589 (rectangle--place-cursor): New function.
590 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
592 2014-06-08 Glenn Morris <rgm@gnu.org>
594 * startup.el (initial-buffer-choice): Doc fix.
595 Reset :version (adding an option does not merit a :version bump).
597 * bookmark.el (bookmark-load):
598 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
600 2014-06-08 Juri Linkov <juri@jurta.org>
602 * desktop.el: Activate auto-saving on window configuration changes.
603 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
604 `desktop-auto-save-set-timer' to/from
605 `window-configuration-change-hook'.
606 (desktop-auto-save-set-timer): Change REPEAT arg of
607 `run-with-idle-timer' from t to nil.
608 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
610 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
612 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
613 vc-hg-command (bug#17570).
615 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
617 * international/mule-cmds.el (ucs-names): Add special entry for BEL
620 2014-06-08 Glenn Morris <rgm@gnu.org>
622 * startup.el (window-setup-hook): Doc fix.
624 * emacs-lisp/package.el (package-check-signature)
625 (package-unsigned-archives): Doc fixes.
627 2014-06-08 Martin Rudalics <rudalics@gmx.at>
629 * window.el (display-buffer-use-some-window): Don't make window
630 used smaller than it was before (Bug#17671).
632 2014-06-08 Eli Zaretskii <eliz@gnu.org>
634 * menu-bar.el (menu-bar-open): Fix last change: use the PC
635 'redisplay' instead of '(sit-for 0)'.
637 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
639 * net/tramp.el (tramp-ssh-controlmaster-options):
640 Improve search regexp. (Bug#17653)
642 2014-06-08 Glenn Morris <rgm@gnu.org>
644 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
646 2014-06-08 Eli Zaretskii <eliz@gnu.org>
648 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
650 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
652 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
655 * vc/vc-hg.el (vc-hg-log-graph): New var.
656 (vc-hg-print-log): Use it.
657 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
658 graph output (bug#17515).
660 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
662 * mouse.el (mouse-posn-property): Ignore buffer position info when the
663 even happened elsewhere.
665 2014-06-06 Mario Lang <mlang@delysid.org>
667 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
668 `recenter' if `current-buffer' is equal to `window-buffer'.
670 2014-06-05 Leo Liu <sdl.web@gmail.com>
672 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
674 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
676 * textmodes/tildify.el (tildify-foreach-region-outside-env):
677 New function which calls a callback on portions of the buffer that are
678 outside of ignored environments.
679 (tildify-build-regexp): Remove function since it is now
680 incorporated in `tildify-foreach-region-outside-env' where it is
681 optimised and simplified by the use of `mapconcat'.
682 (tildify-tildify): Return number of substitutions made so that…
683 (tildify-count): …can be removed.
684 (tildify-find-env): Accept a new PAIRS argument which was
685 previously looked up in `tildify-ignored-environments-alist' each
686 time the function was called. With this change, the lookup is
687 performed only once in `tildify-foreach-region-outside-env'.
688 (tildify-region): Greatly simplify the function since now most of
689 the work is done by `tildify-foreach-region-outside-env'.
690 (tildify-mode-alist): Simplify slightly by avoiding if and setq
691 and instead using or.
693 * textmodes/tildify.el (tildify-ignored-environments-alist):
694 Optimise environments regexes
696 Each time beginning of an environment to ignore is found,
697 `tildify-find-env' needs to identify regexp for the ending
698 of the environment. This is done by trying all the opening
699 regexes on matched text in a loop, so to speed that up, this
700 loop should have fewer things to match, which can be done by
701 using alternatives in the opening regexes.
703 Coincidentally, this should make matching of the opening
704 regexp faster as well thanks to the use of `regexp-opt' and
705 having common prefix pulled from many regexes.
707 * textmodes/tildify.el (tildify-string-alist)
708 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
709 of supported modes since `xml-mode' is no longer a thing but just
710 an alias to the former. Also include comments and insides of tags
711 in `tildify-ignored-environments-alist' for XML modes. Finally,
712 since XML does not define “ ”[1], use a numeric reference for
713 a no-break space (namely “ ”)
715 [1] XML specification defines only a handful of predefined entities.
716 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
717 and includes only <, >, &, ' and " (meaning <,
718 >, &, ' and " respectively). This is in contrast to HTML and even
719 XHTML which defined a whole bunch of entities including “ ”.
721 * textmodes/tildify.el (tildify-pattern-alist)
722 (tildify-string-alist, tildify-ignored-environments-alist):
723 Improve defcustom's types by adding more tags explaining what each
724 value means and replace “sexp” used in
725 `tildify-ignored-environments-alist' with a full type declaration.
727 * textmodes/tildify.el (tildify-find-env): Fix matched group
728 indexes in end-regex building
730 When looking for a start of an ignore-environment, the regex is built
731 by concatenating regexes of all the environments configured in
732 `tildify-ignored-environments-alist'. So for example, the following
733 list could be used to match TeX's \verb and \verb* commands:
735 (("\\\\verb\\(.\\)" . (1))
736 ("\\\\verb\\*\\(.\\)" . (1)))
738 This would result in the following regex being used to find the start
739 of any of the variants of the \verb command:
741 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
743 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
744 won't match anything, and thus (match-string 1) will be nil, which
745 will cause building of the end-matching regex to fail.
747 Fix this by using capture groups from the time when the opening
748 regexes are matched individually.
750 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
751 in `tildify-find-env'
753 The `tildify-ignored-environments-alist' allows the end-regex to
754 be provided not as a static string but mix of strings and indexes
755 of groups matched the begin-regex. For example, the “\verb!…!”
756 TeX-command (where “!” is an arbitrary character) is handled
759 ("\\\\verb\\*?\\(.\\)" . (1))
761 In the same way, the following should be supported as well:
763 ("open-\\(.\\)" . ("end-" 1))
765 However the tildify-find-env function fails at
768 (if (stringp (setq aux (car expression)))
769 expression ; BUG: expression is a list
770 (regexp-quote (match-string aux))))
772 where the string part is handled incorrectly.
774 The most trivial fix would be to replace `expression' in the
775 true-part of the if-statement with `aux', but instead, this commit
776 optimises `tildify-find-env' by changing it to use `mapconcat'
777 rather than open-coded while-loop.
779 2014-06-05 Mario Lang <mlang@delysid.org>
781 * woman.el (woman-mapcan): Remove.
782 (woman-parse-colon-path): Use cl-mapcan instead.
784 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
786 * register.el: Add link to Emacs manual in Commentary.
788 2014-06-02 Sam Steingold <sds@gnu.org>
790 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
791 (popup-menu): ...here.
792 (menu-bar-open): Use it to avoid an error when `lookup-key'
795 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
797 * net/tramp.el (tramp-call-process): Add traces.
798 (tramp-handle-unhandled-file-name-directory): Return "/".
800 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
802 Sync with upstream verilog-mode revision 3cd8144.
803 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
804 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
805 (verilog-type-font-keywords): Add nor.
806 (verilog-batch-execute-func): Force reading of Local Variables.
807 Fix printing "no changes to be saved" with verilog-batch.
808 (verilog-auto-arg-ports): Doc fix.
809 Add verilog-auto-arg-format to support newlines in AUTOARG.
810 (verilog-auto-arg): Doc fix.
812 2014-06-02 Glenn Morris <rgm@gnu.org>
814 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
815 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
816 * emulation/ws-mode.el: Move to obsolete/.
817 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
819 2014-06-02 Eli Zaretskii <eliz@gnu.org>
821 * simple.el (keyboard-quit): Force update of mode lines, to remove
822 the "Def" indicator, if we were defining a macro. (Bug#17615)
824 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
826 * minibuffer.el (minibuffer-force-complete-and-exit):
827 Obey minibuffer-default (bug#17545).
829 * progmodes/js.el (js-indent-line): Don't mix columns and chars
832 * subr.el (set-transient-map): Don't wait for some "nested"
833 transient-map to finish if we're only supposed to be active for
834 the next command (bug#17642).
836 2014-06-02 Leo Liu <sdl.web@gmail.com>
838 * emacs-lisp/gv.el (window-buffer, window-display-table)
839 (window-dedicated-p, window-hscroll, window-point, window-start):
840 Fix gv-expander. (Bug#17630)
842 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
844 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
847 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
848 for the single comma, since ", " is *very* common in normal French text
851 2014-06-02 Glenn Morris <rgm@gnu.org>
853 * emacs-lisp/package.el (package-check-signature)
854 (package-unsigned-archives): Fix :version.
856 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
858 * subr.el (sit-for): Don't run input-methods (bug#15614).
860 2014-06-02 Glenn Morris <rgm@gnu.org>
862 * cus-start.el: Fix some :version numbers.
864 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
866 * simple.el (deactivate-mark): Set mark-active to nil even if
867 deactivation is done via setting transient-mark-mode to nil,
868 since one is buffer-local and the other is global.
870 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
871 there can't be more than 2 arguments (bug#17584).
873 2014-06-02 Glenn Morris <rgm@gnu.org>
875 * simple.el (filter-buffer-substring-functions)
876 (filter-buffer-substring-function, buffer-substring-filters)
877 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
879 * minibuffer.el (completion-in-region-functions, completion-in-region)
880 (completion--in-region): Doc fixes.
882 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
883 (expand-abbrev, abbrev--default-expand): Doc fixes.
885 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
887 Include sources used to create macuvs.h.
888 * international/README: Refer to the Unicode Terms of Use rather
889 than copying it bodily here, as that simplifies maintenance.
891 2014-06-01 Glenn Morris <rgm@gnu.org>
893 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
895 2014-05-31 Glenn Morris <rgm@gnu.org>
897 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
899 2014-05-30 Glenn Morris <rgm@gnu.org>
901 * loadup.el: Treat `command-line-args' more flexibly.
903 2014-05-30 Alan Mackenzie <acm@muc.de>
905 Guard (looking-at "\\s!") from XEmacs.
906 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
908 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
910 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
911 The argument COUNT is now optional, to be more backward-compatible.
914 2014-05-29 Reuben Thomas <rrt@sc3d.org>
916 * whitespace.el (whitespace-report-region):
917 Simplify documentation.
918 (whitespace-report-region): Allow report-if-bogus to take the
919 value `never', for non-interactive use.
920 (whitespace-report): Refer to whitespace-report-region's
923 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
925 * whitespace.el: Use font-lock-flush. Minimize refontifications.
926 Side benefit: it works without jit-lock.
927 (whitespace-point--used): New buffer-local var.
928 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
929 (whitespace-color-off): Use font-lock-flush.
930 (whitespace-point--used, whitespace-point--flush-used): New functions.
931 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
932 (whitespace-empty-at-eob-regexp): Use them.
933 (whitespace-post-command-hook): Rewrite.
935 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
936 (font-lock-fontify-buffer): Mark interactive-only.
937 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
939 (font-lock-specified-p): Remove redundant boundp check.
940 (font-lock-flush-function, font-lock-ensure-function): New vars.
941 (font-lock-turn-on-thing-lock): Set them.
942 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
943 (font-lock-after-change-function): Make `old-len' optional.
944 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
945 Call font-lock-flush, just in case.
946 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
948 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
949 (vera-mode-map, vera-mode-menu): Remove bindings to it.
950 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
951 and with-syntax-table.
952 * textmodes/conf-mode.el (conf-quote-normal):
953 * progmodes/sh-script.el (sh-set-shell):
954 * progmodes/prog-mode.el (prettify-symbols-mode):
955 * progmodes/f90.el (f90-font-lock-n):
956 * progmodes/cwarn.el (cwarn-mode):
957 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
958 * progmodes/compile.el (compilation-setup, compilation--unsetup):
959 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
960 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
961 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
962 font-lock-fontify-buffer-function and
963 font-lock-unfontify-buffer-function.
964 (rmail-unfontify-buffer-function, rmail-fontify-message):
965 Use with-silent-modifications.
966 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
967 and font-lock-ensure.
968 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
970 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
972 * emacs-lisp/package.el (package-generate-autoloads):
973 Inhibit backup files.
975 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
977 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
980 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
982 * textmodes/tildify.el (tildify-buffer, tildify-region):
985 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
987 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
988 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
990 * subr.el (internal--funcall-interactively): New.
991 (internal--call-interactively): Remove.
992 (called-interactively-p): Detect funcall-interactively instead of
994 * simple.el (repeat-complex-command): Use funcall-interactively.
995 (repeat-complex-command--called-interactively-skip): Remove.
997 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
999 * register.el (register-read-with-preview): Don't burp on
1000 frame switches (e.g. due to the frame we just popped).
1002 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1003 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1005 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
1007 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1009 2014-05-26 Martin Rudalics <rudalics@gmx.at>
1011 * window.el (window--dump-frame): Remove interactive specification.
1013 2014-05-26 Glenn Morris <rgm@gnu.org>
1015 * hippie-exp.el (he-line-search-regexp):
1016 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1018 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1020 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1021 to avoid errors when trying to create or visit a file foo.todo
1022 located outside to todo-directory, and to allow having such files
1023 without them being tied to Todo mode (bug#17482).
1024 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1025 (todo-archive-done-item, todo-find-filtered-items-file)
1026 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1027 (todo-category-completions, todo-read-category): When visiting a
1028 Todo file, make sure we're in the right mode and the buffer local
1030 (todo-make-categories-list, todo-reset-nondiary-marker)
1031 (todo-reset-done-string, todo-reset-comment-string):
1032 After processing all Todo files, kill the buffers of those files that
1033 weren't being visited before the processing.
1034 (todo-display-as-todo-file, todo-add-to-buffer-list)
1035 (todo-visit-files-commands): Comment out.
1036 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1037 (auto-mode-alist): Remove add-to-list calls making Todo file
1038 extensions unrestrictedly tied to Todo modes.
1040 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1043 (advice-function-member-p): Tell it to check both names and functions
1045 (advice--add-function): Adjust call accordingly.
1047 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1049 * calendar/todo-mode.el: Miscellaneous bug fixes.
1050 (todo-delete-file): When deleting an archive but not its todo
1051 file, make sure to update the todo file's category sexp.
1052 (todo-move-category): Keep the moved category's name unless the
1053 file moved to already has a category with that name. If the
1054 numerically last category of the source file was moved, make the
1055 first category current to avoid selecting a nonexisting category.
1056 (todo-merge-category): Fix implementation to make merging to a
1057 category in another file work as documented. Eliminate now
1058 insufficient and unnecessary renaming of archive category, correct
1059 document string accordingly, and clarify it. If the numerically
1060 last category of the source file was merged, make the first
1061 category current to avoid selecting a nonexisting category.
1062 (todo-archive-done-item): When there are marked items and point
1063 happens to be on an unmarked item, ignore the latter. Don't leave
1064 point below last item after archiving marked items.
1065 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1066 from an archive with only one category deletes the archive only
1067 when the category is empty after unarchiving. Make sure the todo
1068 file's category sexp is updated.
1069 (todo-read-file-name): Allow an existing file name even when it is
1070 not required (todo-move-category needs this to work as documented).
1071 (todo-add-file): Call todo-validate-name to reject the name of an
1072 existing todo file (needed due to fix in todo-read-file-name).
1073 (todo-reset-nondiary-marker): Also reset in filtered items files.
1074 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1075 regexp filtered items files.
1076 (todo-reset-highlight-item): Also reset in filtered items files.
1077 Fix incorrect variable reference in document string.
1079 2014-05-26 Glenn Morris <rgm@gnu.org>
1081 * window.el (window--dump-frame): Avoid error in --without-x builds.
1083 2014-05-26 Glenn Morris <rgm@gnu.org>
1085 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1087 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1089 * frame.el (set-frame-font): Doc fix.
1091 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1093 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1095 * emacs-lisp/package.el (package--download-one-archive):
1096 Use `write-region' instead of `save-buffer' to avoid running various
1098 (describe-package-1): Same. Insert newline at the end of the
1099 buffer if appropriate.
1101 2014-05-26 Juri Linkov <juri@jurta.org>
1103 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1104 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1105 Add more modifiers: meta, control, shift, hyper, super, alt.
1108 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1109 to allow changing its value with `set-variable'.
1111 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1113 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1115 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1117 (scheme-mode-variables): Set syntax-propertize-function instead of
1118 font-lock-syntactic-face-function.
1119 (scheme-font-lock-syntactic-face-function): Delete.
1121 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1123 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1126 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1128 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1129 for a temporary file name.
1131 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1133 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1135 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1137 * net/dbus.el (dbus-init-bus, dbus-call-method)
1138 (dbus-call-method-asynchronously, dbus-send-signal)
1139 (dbus-method-return-internal, dbus-method-error-internal):
1140 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1142 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1144 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1145 methods which do not have a doc string. (Bug#17490)
1147 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1149 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1150 also for AMS Math's \eqref macro.
1152 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1154 Arrange to never byte-compile the generated -pkg.el file.
1156 * emacs-lisp/package.el (package-generate-description-file):
1157 Output first-line comment to set buffer-local var `no-byte-compile'.
1158 Suggested by Dmitry Gutov:
1159 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1161 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1163 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1165 * emacs-lisp/package.el (package-generate-description-file):
1166 Inline `package--alist-to-plist'; rewrite to selectively
1167 quote alist values that are not self-quoting.
1168 (package--alist-to-plist): Delete func.
1170 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1172 * term/xterm.el (xterm-function-map): Add mapping for shifted
1175 2014-05-24 Daniel Colascione <dancol@dancol.org>
1177 * progmodes/subword.el (subword-find-word-boundary): Move point to
1178 correct spot before search. (Bug#17580)
1180 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1183 2014-05-24 Leo Liu <sdl.web@gmail.com>
1185 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1187 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * minibuffer.el (completion--sreverse): Remove.
1190 (completion--common-suffix): Use `reverse' instead.
1191 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1193 2014-05-22 Glenn Morris <rgm@gnu.org>
1195 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1197 2014-05-21 Daniel Colascione <dancol@dancol.org>
1199 * files.el (interpreter-mode-alist): Add mksh.
1201 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1203 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1204 mksh. Improve custom spec; allow regular expressions.
1205 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1206 (sh-after-hack-local-variables): New function.
1207 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1208 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1210 (sh-canonicalize-shell): Rewrite to support regexes.
1212 2014-05-21 Leo Liu <sdl.web@gmail.com>
1214 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1216 2014-05-19 Leo Liu <sdl.web@gmail.com>
1218 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1220 2014-05-18 Glenn Morris <rgm@gnu.org>
1223 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1225 2014-05-14 Sam Steingold <sds@gnu.org>
1227 * progmodes/python.el (python-shell-get-or-create-process):
1228 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1229 back unless requested.
1231 2014-05-14 Glenn Morris <rgm@gnu.org>
1233 * subr.el (with-file-modes): New macro.
1234 * printing.el (pr-save-file-modes): Make obsolete.
1235 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1236 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1237 Add with-file-modes.
1238 * doc-view.el (doc-view-make-safe-dir):
1239 * epg.el (epg--start):
1240 * files.el (locate-user-emacs-file, make-temp-file)
1241 (backup-buffer-copy, move-file-to-trash):
1242 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1243 * eshell/esh-util.el (eshell-with-private-file-modes)
1244 (eshell-make-private-directory):
1245 * net/browse-url.el (browse-url-mosaic):
1246 * obsolete/mailpost.el (post-mail-send-it):
1247 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1248 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1249 Use with-file-modes.
1251 * vc/emerge.el (emerge-make-temp-file): Simplify.
1253 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1254 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1259 2014-05-14 Glenn Morris <rgm@gnu.org>
1261 * vc/emerge.el (emerge-temp-file-prefix):
1262 Make pointless option obsolete.
1263 (emerge-temp-file-mode): Make non-functional option obsolete.
1265 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1267 * net/browse-url.el (browse-url):
1268 Use `unhandled-file-name-directory' when setting `default-directory',
1269 in order to circumvent stalled remote connections. (Bug#17425)
1271 2014-05-14 Glenn Morris <rgm@gnu.org>
1273 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1274 Optimize on Emacs, which has the relevant functions for ages.
1276 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1280 2014-05-12 Sam Steingold <sds@gnu.org>
1282 * calendar/time-date.el (seconds-to-string): New function to
1283 pretty print time delay in seconds.
1285 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * mpc.el (mpc-format): Trim Date to the year.
1288 (mpc-songs-hashcons): Shorten the Date field.
1290 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1291 into autoloading just because of a silly indirection.
1293 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1295 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1297 2014-05-12 Glenn Morris <rgm@gnu.org>
1299 * emacs-lisp/find-gc.el: Move to ../admin.
1301 * printing.el (pr-version):
1302 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1304 * net/browse-url.el (browse-url-mosaic):
1305 Create /tmp/Mosaic.PID as a private file.
1307 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1309 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1310 (advice--member-p): If name is given, only compare the name.
1311 (advice--remove-function): Don't stop at the first match.
1312 (advice--normalize-place): New function.
1313 (add-function, remove-function): Use it.
1314 (advice--add-function): Pass the name, if any, to
1315 advice--remove-function.
1317 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1319 * electric.el (electric-indent-post-self-insert-function): Don't use
1320 `pos' after modifying the buffer (bug#17449).
1322 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1324 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1325 Correct argument list to conform to todo-insert-item--basic.
1327 2014-05-12 Glenn Morris <rgm@gnu.org>
1329 * files.el (cd-absolute): Test if directory is accessible
1330 rather than executable. (Bug#17330)
1332 * progmodes/compile.el (recompile):
1333 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1335 * net/browse-url.el (browse-url-mosaic):
1336 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1337 This is CVE-2014-3423.
1339 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * mouse.el: Use the normal toplevel loop while dragging.
1342 (mouse-set-point): Handle multi-clicks.
1343 (mouse-set-region): Handle multi-clicks for drags.
1344 (mouse-drag-region): Update call accordingly.
1345 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1346 Use the normal event loop instead of a local while/read-event loop.
1347 (global-map): Remove redundant bindings for double/triple-mouse-1.
1348 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1349 Generate synthetic down events when the protocol only sends up events.
1350 (xterm-mouse-last): Remove.
1351 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1352 terminal parameter instead.
1353 (xterm-mouse--set-click-count): New function.
1354 (xterm-mouse-event): Detect/generate double/triple clicks.
1355 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1357 * info.el (Info-quoted): New face.
1358 (Info-mode-font-lock-keywords): New var.
1359 (Info-mode): Use it.
1361 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1362 are a hindrance for C-x C-e.
1364 2014-05-11 Leo Liu <sdl.web@gmail.com>
1366 * net/rcirc.el (rcirc-sentinel): Fix last change.
1368 2014-05-08 Sam Steingold <sds@gnu.org>
1370 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1371 (rcirc-sentinel): Auto-reconnect to the server if
1372 `rcirc-reconnect-delay' is non-0 (but not more often than its
1373 value in case the host is off-line).
1375 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1377 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1379 2014-05-09 Glenn Morris <rgm@gnu.org>
1381 * files.el (file-expand-wildcards):
1382 * man.el (Man-support-local-filenames):
1383 * printing.el (pr-i-directory, pr-interface-directory):
1384 * progmodes/grep.el (lgrep, rgrep):
1385 * textmodes/ispell.el (ispell-call-process)
1386 (ispell-call-process-region, ispell-start-process)
1387 (ispell-init-process): Use file-accessible-directory-p.
1389 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1392 (xterm-mouse--read-event-sequence-1000): Return nil if something
1394 (xterm-mouse-event): Propagate it.
1395 (xterm-mouse-translate-1): Handle it.
1397 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1399 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1400 four slots of the parameter list are filled, make sure to pass it
1401 to the argument list of todo-insert-item--basic.
1403 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1406 Add optional `seen' argument to detect and break infinite loops.
1408 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1410 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1411 (trace-unsafe, trace-use-tree): Make parentheses style be
1412 according to Emacs style.
1414 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1416 * net/tramp-sh.el (tramp-remote-process-environment):
1417 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1419 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1420 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1421 extra "PSx=..." commands.
1422 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1425 (tramp-uudecode): Replace the hard-coded temporary file name by a
1427 (tramp-remote-coding-commands): Enhance docstring.
1428 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1430 This is CVE-2014-3424.
1432 2014-05-08 Glenn Morris <rgm@gnu.org>
1434 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1435 (find-gc-source-files): Update some names.
1436 (trace-call-tree): Simplify and update.
1437 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1438 This is CVE-2014-3422.
1440 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * minibuffer.el (completion--try-word-completion): Revert fix for
1443 Bug#15980 (bug#17375).
1445 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1446 Always store button numbers in the same way in xterm-mouse-last;
1447 Don't burp is xterm-mouse-last is not set as expected.
1448 Never return negative indices.
1450 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1452 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1453 Backtrack one char if the global/char-literal var matcher hits
1454 inside a string. The next char could be the beginning of an
1455 expression expansion.
1457 2014-05-08 Glenn Morris <rgm@gnu.org>
1459 * help-fns.el (describe-function-1): Test for an autoload before a
1460 macro, since `macrop' works on autoloads. (Bug#17410)
1462 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1466 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1467 Make sure the new point we return is within the new string (bug#17239).
1469 2014-05-05 Daniel Colascione <dancol@dancol.org>
1471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1472 Port `gnu' pattern to rx.
1474 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1476 Remove unneeded prompt when closing a buffer with active
1477 emacsclient ("Buffer ... still has clients"), #16548.
1478 * server.el (server-start): Remove the only call to:
1479 (server-kill-buffer-query-function): Remove.
1481 2014-05-04 Leo Liu <sdl.web@gmail.com>
1483 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1484 Defvar to pacify compiler.
1486 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1488 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1490 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1493 Use nil rather than `default' for the "default" appearance (bug#17388).
1494 * vc/ediff-util.el (ediff-inferior-compare-regions)
1495 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1496 a misleading `default' value when it's really a boolean.
1497 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1498 overlay is not visible.
1500 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1502 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1503 (todo-menu): Uncomment and update.
1505 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1507 * calendar/todo-mode.el: Reimplement item editing to have the same
1508 basic user interface as item insertion, and make small UI and
1509 larger internal improvements to the latter.
1510 (todo-insert-item): Add reference to the Todo mode user manual to
1511 the documentation string.
1512 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1513 adjust all callers. Change signature to combine diary and
1514 nonmarking arguments. Incorporate functionality of deleted item
1515 copying command and add error checking. Remove detailed
1516 descriptions of the arguments from the documentation string, since
1517 this is treated in the Todo mode user manual.
1518 (todo-copy-item, todo-edit-multiline-item)
1519 (todo-edit-done-item-comment, todo-edit-item-header)
1520 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1521 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1522 (todo-edit-item-date-year, todo-edit-item-date-month)
1523 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1525 (todo-edit-item): Reimplement as wrapper command for
1526 todo-edit-item--next-key and make it distinguish done and not done
1528 (todo-edit-item--text): New function, replacing old command
1529 todo-edit-item and incorporating deleted commands
1530 todo-edit-multiline-item and todo-edit-done-item-comment.
1531 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1532 Use only numeric value of prefix argument. Remove detailed
1533 descriptions of the arguments from the documentation string, since
1534 this is treated in the Todo mode user manual.
1535 (todo-edit-item--diary-inclusion): New function, replacing old
1536 command todo-edit-item-diary-inclusion and incorporating and fixing
1537 functionality of deleted command todo-edit-item-diary-nonmarking,
1538 making sure to remove todo-nondiary-marker when adding
1539 diary-nonmarking-symbol.
1540 (todo-edit-category-diary-inclusion): Make sure to delete
1541 diary-nonmarking-symbol when adding todo-nondiary-marker.
1542 (todo-edit-category-diary-nonmarking): Fix indentation.
1543 (todo-insert-item--parameters): Group diary and nonmarking
1544 parameters together.
1545 (todo-insert-item--apply-args): Adjust to signature of
1546 todo-insert-item--basic and incorporate copy parameter.
1547 Make small code improvements.
1548 (todo-insert-item--next-param): Improve prompt and adjust it to
1549 new parameter grouping. Remove obsolete code.
1550 (todo-edit-item--param-key-alist)
1551 (todo-edit-item--date-param-key-alist)
1552 (todo-edit-done-item--param-key-alist): New defconsts.
1553 (todo-edit-item--prompt): New variable.
1554 (todo-edit-item--next-key): New function.
1555 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1556 Remove bindings of deleted commands.
1558 2014-05-04 Leo Liu <sdl.web@gmail.com>
1560 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1562 2014-05-04 Glenn Morris <rgm@gnu.org>
1564 * allout-widgets.el (allout-widgets-tally)
1565 (allout-decorate-item-guides):
1566 * menu-bar.el (menu-bar-positive-p):
1567 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1568 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1569 * progmodes/js.el (js--inside-param-list-p)
1570 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1571 * progmodes/prolog.el (region-exists-p):
1572 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1573 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1574 Doc fixes (replace `iff').
1576 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1580 2014-05-04 Leo Liu <sdl.web@gmail.com>
1582 Support Chinese diary entries in calendar and diary. (Bug#17393)
1583 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1584 (calendar-chinese-from-absolute-for-diary)
1585 (calendar-chinese-to-absolute-for-diary)
1586 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1587 (diary-chinese-list-entries): New functions to list and mark
1588 Chinese diary entries in the calendar window.
1589 (diary-chinese-anniversary)
1590 (diary-chinese-insert-anniversary-entry)
1591 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1592 (diary-chinese-insert-yearly-entry): New commands to insert
1593 Chinese diary entries.
1595 * calendar/diary-lib.el (diary-font-lock-keywords):
1596 Support font-locking Chinese dates.
1598 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1599 inserting Chinese diary entries.
1601 * calendar/calendar.el (diary-chinese-entry-symbol):
1602 New customizable variable.
1603 (calendar-mode-map): Add bindings for inserting Chinese diary
1606 2014-05-03 Juri Linkov <juri@jurta.org>
1608 * dired.el (dired-check-switches, dired-switches-recursive-p):
1609 New functions. (Bug#17218)
1610 (dired-switches-escape-p, dired-move-to-end-of-filename):
1611 Use `dired-check-switches'.
1612 (dired-insert-old-subdirs, dired-build-subdir-alist)
1613 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1615 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1617 * simple.el (undo-make-selective-list): New algorithm fixes
1618 incorrectness of position adjustments when undoing in region.
1620 (undo-elt-crosses-region): Make obsolete.
1621 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1622 New functions to adjust positions using undo-deltas.
1624 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1627 the last consecutive closing paren (bug#17345).
1629 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1631 * dired.el (dired-mode): make terminology for eXpunge command
1632 consistent. (Bug#17276)
1634 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1636 * dired.el (dired-initial-position-hook, dired-initial-position):
1639 2014-04-30 Glenn Morris <rgm@gnu.org>
1641 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1643 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1645 * faces.el (face-spec-recalc): Apply X resources only after the
1646 defface spec has been applied. Thus, X resources are no longer
1647 overriden by the defface spec which also fixes issues on win32 where
1648 the toolbar coloring was wrong because it is set through X resources
1649 and was (wrongfully) overriden. (Bug#16694)
1651 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * textmodes/rst.el (electric-pair-pairs): Declare.
1654 (rst-mode): Set it (bug#17131).
1656 2014-04-30 Juri Linkov <juri@jurta.org>
1658 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1659 and `print-level' to nil. (Bug#17351)
1661 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1663 * battery.el (battery-update): Handle the case where battery
1664 status is "N/A" (bug#17319).
1666 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1668 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1669 to syntax-propertize.
1670 (ps-mode-auto-indent): Mark as obsolete.
1671 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1672 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1673 word regexp operators.
1674 (ps-mode-map): Move initialization into declaration. Remove binding
1675 for TAB, RET, >, ], and }.
1676 (ps-mode-syntax-table): Move initialization into declaration.
1677 Don't give word syntax to non-word chars.
1678 (ps-run-mode-map): Move initialization into declaration.
1679 (ps-mode-menu-main): Remove auto-indent entry.
1680 (ps-mode-smie-rules): New function.
1681 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1682 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1683 (ps-mode--string-syntax-table): New const.
1684 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1686 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1687 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1689 2014-04-27 Daniel Colascione <dancol@dancol.org>
1691 * term/xterm.el (xterm-paste): Use large finite timeout when
1692 reading event to avoid putting keys in this-command-keys.
1694 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1697 (perl-syntax-propertize-function): Use it. Extend handling of
1698 here-docs to the unquoted case.
1700 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1702 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1703 Use equal-including-properties to compare help-echo strings (bug#17331).
1705 2014-04-25 Leo Liu <sdl.web@gmail.com>
1707 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1708 Fix syntax for @. (Bug#17325)
1710 2014-04-25 Daniel Colascione <dancol@dancol.org>
1712 * emacs-lisp/cl.el (gv): Require gv early to break eager
1713 macro-expansion cycles.
1715 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * simple.el (region-active-p): Check there's a mark (bug#17324).
1719 * simple.el (completion-list-mode-map): Use choose-completion for the
1720 mouse binding as well (bug#17302).
1721 (completion-list-mode, completion-setup-function): Adjust docstring and
1722 echo area message accordingly.
1723 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1724 calling convention of choose-completion.
1725 * comint.el (comint-dynamic-list-completions):
1726 * term.el (term-dynamic-list-completions): Accept choose-completion.
1728 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1729 &, |, +, - and * can't be a division (bug#17317).
1731 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1732 features on gnome-terminal (bug#16988).
1734 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1736 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1738 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1739 the declared object, ignore zero or more parens, not zero or one.
1741 2014-04-24 Leo Liu <sdl.web@gmail.com>
1743 * progmodes/xscheme.el (xscheme-expressions-ring)
1744 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1745 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1746 (xscheme-allow-output-p, xscheme-prompt)
1747 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1749 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1750 Comment out unused functions.
1752 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1754 * info.el: Use lexical-binding and cl-lib.
1755 Use defvar-local and setq-local instead of make-local-variable.
1756 (Info-apropos-matches): Avoid add-to-list.
1757 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1759 2014-04-24 Daniel Colascione <dancol@dancol.org>
1761 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1763 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1765 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1767 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1769 * dired.el (dired-insert-set-properties): Do not consider
1770 subdirectory headings and empty lines to be information that
1771 `dired-hide-details-mode' should hide. (Bug#17228)
1773 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1775 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1776 Remove test messages.
1777 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1780 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1783 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1785 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1787 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1789 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1790 Set "IFS=" when using read builtin, in order to preserve spaces in
1791 the file name. Add test messages for hunting a bug on hydra.
1792 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1794 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1797 Don't prettify a word within a symbol.
1799 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1801 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1804 2014-04-22 Daniel Colascione <dancol@dancol.org>
1806 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1807 use defun to define `function-put'.
1809 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1812 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1813 (lisp-mode-variables): Set font-lock-extra-managed-props.
1815 * emacs-lisp/byte-run.el (function-put): New function.
1816 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1817 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1818 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1821 2014-04-22 Daniel Colascione <dancol@dancol.org>
1823 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1824 Add `full-p' parameter; when nil, call `macroexpand' instead of
1827 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1830 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1831 Use lambda function values, not quoted lambdas.
1832 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1834 * emacs-lisp/cl-macs.el
1835 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1836 (cl-struct-slot-value): Conditionally use aref or nth so that the
1837 compiler produces optimal code.
1839 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1841 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1842 (inline): Don't inline cl--set-elt.
1843 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1844 Define as inlinable instead.
1845 (cl-struct-set-slot-value): Remove.
1847 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1848 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1851 2014-04-21 Daniel Colascione <dancol@dancol.org>
1853 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1854 last two parameters after all.
1855 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1856 (cl--compiler-macro-assoc,cl-struct-slot-value)
1857 (cl-struct-set-slot-value): Stop using them.
1859 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1862 entry in image-mode-winprops-alist.
1864 2014-04-21 Daniel Colascione <dancol@dancol.org>
1866 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1867 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1868 (byte-compile-toplevel-file-form): Use it.
1870 * emacs-lisp/cl-macs.el:
1871 (cl--loop-let): Properly destructure `while' clauses.
1873 2014-04-20 Daniel Colascione <dancol@dancol.org>
1875 * vc/vc.el (vc-root-dir): New public autoloaded function for
1876 generically finding the current VC root.
1877 * vc/vc-hooks.el (vc-not-supported): New error.
1878 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1880 2014-04-20 Daniel Colascione <dancol@dancol.org>
1882 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1884 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1885 argument in case we're inside a symbol-macrolet.
1886 (cl--do-arglist, cl--compiler-macro-typep)
1887 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1888 environment to `cl--const-expr-val'.
1889 (cl-struct-sequence-type,cl-struct-slot-info)
1890 (cl-struct-slot-offset, cl-struct-slot-value)
1891 (cl-struct-set-slot-value): New functions.
1893 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1896 assignments such as "case=hello" (bug#17297).
1898 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1900 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1902 (tramp-file-name-handler, tramp-completion-file-name-handler):
1903 Revert patch from 2014-04-10, it isn't necessary anymore.
1904 (tramp-autoload-file-name-handler)
1905 (tramp-register-autoload-file-name-handlers): New defuns.
1906 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1907 (tramp-register-file-name-handlers): Remove also
1908 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1909 Do not autoload its invocation, but eval it after loading of 'tramp.
1911 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1913 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1915 2014-04-17 Daniel Colascione <dancol@dancol.org>
1917 Add support for bracketed paste mode; add infrastructure for
1918 managing terminal mode enabling and disabling automatically.
1921 (xterm-mouse-mode): Simplify.
1922 (xterm-mouse-tracking-enable-sequence)
1923 (xterm-mouse-tracking-disable-sequence): New constants.
1924 (turn-on-xterm-mouse-tracking-on-terminal)
1925 (turn-off-xterm-mouse-tracking-on-terminal):
1926 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1927 parameters instead of random hooks.
1928 (turn-on-xterm-mouse-tracking)
1929 (turn-off-xterm-mouse-tracking): Delete.
1931 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1932 (xterm-paste-ending-sequence): New constant.
1933 (xterm-paste): New command used for bracketed paste support.
1935 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1936 (terminal-init-xterm-bracketed-paste-mode): New function.
1937 (terminal-init-xterm): Call it.
1938 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1939 and tty-mode-reset-strings instead of random hooks.
1940 (xterm-turn-on-modify-other-keys)
1941 (xterm-turn-off-modify-other-keys)
1942 (xterm-remove-modify-other-keys): Delete obsolete functions.
1944 * term/screen.el: Rewrite to just use the xterm code.
1945 Add copyright notice. Mention tmux.
1947 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1949 * image-mode.el (image-mode-window-put): Also update the property of
1950 the "default window".
1951 * doc-view.el (doc-view-new-window-function): If no window
1952 exists, move to the last known page.
1954 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1957 here-documents (bug#17262).
1959 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1961 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1962 Provide doc strings, as required by snarf-documentation.
1964 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1967 arg of overlays-at. Use `invisible-p'.
1969 * obsolete/lucid.el (extent-at):
1970 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1972 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1974 2014-04-16 João Távora <joaotavora@gmail.com>
1976 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1979 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1981 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1982 Use mapc to loop over a vector. (Bug#17257).
1984 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1986 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1987 patch, there are new problems with file names containing spaces.
1988 Get rid of backticks. (Bug#17238)
1990 2014-04-16 João Távora <joaotavora@gmail.com>
1992 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1995 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1997 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1998 (blink-cursor-mode): Mention customization variables and the
1999 effect of 'blink-cursor-blinks'.
2001 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
2003 * simple.el (undo): Prevent insertion of identity mapping into
2004 undo-equiv-table so as undo-only does not inf loop in the presence
2005 of consecutive nils in undo list.
2007 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
2009 * faces.el (make-face): Deprecate optional argument as it is no
2010 longer needed/used since the conditional X resources handling
2011 has been pushed down to make-face-x-resource-internal itself.
2012 (make-empty-face): Don't pass optional argument to make-face.
2014 2014-04-16 Karl Fogel <kfogel@red-bean.com>
2016 * savehist.el (savehist-save): Remove workaround for a read-passwd
2017 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
2018 noticing that the shim was still present.
2020 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2024 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
2026 * faces.el (face-set-after-frame-default): Remove unused local variable.
2028 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2030 * progmodes/grep.el: Use lexical-binding.
2031 (grep-expand-template): Pass explicit lexical env to `eval'.
2032 (zrgrep): Let-bind grep-find-template explicitly.
2034 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2035 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2037 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2039 * international/characters.el <standard-case-table>: Add entries
2040 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2041 Set category of Coptic characters be 'g' (Greek).
2043 2014-04-12 Leo Liu <sdl.web@gmail.com>
2045 * progmodes/octave.el (completion-table-with-cache):
2046 Define if not available.
2047 (octave-goto-function-definition, octave-sync-function-file-names)
2048 (octave-find-definition-default-filename):
2049 Backquote upattern for compatibility.
2051 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2053 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2054 name twice due to backticks. (Bug#17238)
2056 2014-04-12 Glenn Morris <rgm@gnu.org>
2058 * term/w32-win.el (x-win-suspend-error):
2059 * term/x-win.el (x-win-suspend-error): Sync docs.
2061 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2063 * faces.el (make-face): Remove deprecated optional argument.
2064 The conditional application of X resources is handled directly by
2065 make-face-x-resource-internal since Emacs 24.4.
2066 (make-empty-face): Don't pass optional argument to make-face.
2068 2014-04-11 Glenn Morris <rgm@gnu.org>
2070 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2072 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2074 Ediff's overlay priorities cause more trouble than they solve.
2075 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2076 (ediff-highest-priority): Remove function (bug#17234).
2077 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2078 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2079 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2082 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2084 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2085 entry; use symbol boundaries to avoid mis-matches.
2087 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2089 * net/tramp.el (tramp-file-name-handler)
2090 (tramp-completion-file-name-handler): Avoid recursive loading.
2092 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2093 Quote result also locally.
2095 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2097 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2098 Remove left-over code.
2100 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2101 Reuse the previous comment's indentation unconditionally if it's on its
2104 2014-04-09 Daniel Colascione <dancol@dancol.org>
2106 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2107 `no-syntax-crossing' arguments. Forward to `up-list'.
2108 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2109 Implement logic for escaping from strings. Use narrowing to deal
2112 2014-04-09 Leo Liu <sdl.web@gmail.com>
2114 * net/rcirc.el (rcirc-connection-info): New variable.
2115 (rcirc-connect): Use it to store connection info.
2116 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2118 (rcirc-cmd-reconnect): New command. (Bug#17045)
2119 (rcirc-mode, set-rcirc-encode-coding-system)
2120 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2122 2014-04-09 Daniel Colascione <dancol@dancol.org>
2124 * emacs-lisp/cl-indent.el: Add comment claiming
2125 facility is also good for elisp.
2126 (lisp-indent-find-method): New function.
2127 (common-lisp-indent-function): Recognize cl-loop.
2128 (common-lisp-indent-function-1): Recognize cl constructs; use
2129 `lisp-indent-find-method' instead of `get' directly.
2130 (if): Use else-body style for elisp.
2132 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2134 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2135 Module methods. (Bug#17216)
2137 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2140 (describe-bindings-internal): Mark obsolete.
2142 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2144 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2145 buffer-file-name, and buffer-file-truename any more.
2147 2014-04-08 Leo Liu <sdl.web@gmail.com>
2149 Use lexical-binding and require cl-lib.
2150 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2151 (rcirc-handler-generic, rcirc-fill-paragraph)
2152 (rcirc-format-response-string, rcirc-target-buffer)
2153 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2154 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2155 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2156 (rcirc-markup-timestamp, rcirc-markup-attributes)
2157 (rcirc-markup-my-nick, rcirc-markup-urls)
2158 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2159 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2160 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2161 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2162 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2163 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2164 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2165 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2166 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2167 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2168 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2171 2014-04-07 João Távora <joaotavora@gmail.com>
2173 * elec-pair.el (electric-pair--syntax-ppss):
2174 When inside comments parse from comment beginning.
2175 (electric-pair--balance-info): Fix typo in comment.
2176 (electric-pair--in-unterminated-string-p): Delete.
2177 (electric-pair--unbalanced-strings-p): New function.
2178 (electric-pair-string-bound-function): New var.
2179 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2180 according to `electric-pair--in-unterminated-string-p'
2182 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2183 Inhibit quote pairing if point-max is inside an unterminated string.
2184 (electric-pair--looking-at-unterminated-string-p): Delete.
2185 (electric-pair--in-unterminated-string-p): New function.
2187 2014-04-07 Glenn Morris <rgm@gnu.org>
2189 * shell.el (shell-directory-tracker):
2190 Go back to just ignoring failures. (Bug#17159)
2192 2014-04-07 João Távora <joaotavora@gmail.com>
2194 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2195 backspace. (bug#16981)
2196 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2197 (electric-pair-backward-delete-char-untabify): Delete.
2198 (electric-pair-mode-map): Bind backspace to a menu item filtering
2199 a new `electric-pair-delete-pair' command.
2200 (electric-pair-delete-pair): New command.
2202 * progmodes/python.el (python-electric-pair-string-delimiter):
2203 Fix triple-quoting electricity. (Bug#17192)
2205 * elec-pair.el (electric-pair-post-self-insert-function):
2206 Don't skip whitespace when `electric-pair-text-pairs' and
2207 `electric-pair-pairs' were used. syntax to
2208 electric-pair--skip-whitespace. (Bug#17183)
2210 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2212 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2215 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2217 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2218 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2220 2014-04-07 Glenn Morris <rgm@gnu.org>
2222 * help.el (view-lossage): Doc tweak.
2224 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2226 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2227 only when inhibit-x-resources is nil, and do that earlier in the
2228 function. Doc fix. (Bug#16694)
2229 (face-spec-choose): Accept additional optional argument, whose
2230 value is returned if no matching attributes are found.
2231 (face-spec-recalc): Use the new optional argument when calling
2232 face-spec-choose. (Bug#16378)
2233 (make-face-x-resource-internal): Do nothing when
2234 inhibit-x-resources is non-nil. Don't touch the default face if
2235 reversed video is given--as was done in previous versions of Emacs.
2236 (face-set-after-frame-default): Don't call
2237 make-face-x-resource-internal here. (Bug#16434)
2239 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2241 * doc-view.el (doc-view-bookmark-jump):
2242 Use `bookmark-after-jump-hook' to jump to the right page after the
2243 buffer is shown in a window. (bug#16090)
2245 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2247 * international/characters.el (mirroring): Fix last change:
2248 instead of loading uni-mirrored.el explicitly, do that implicitly
2249 by creating the 'mirroring' uniprop table. This avoids announcing
2250 the loading of uni-mirrored.el.
2252 2014-04-07 Glenn Morris <rgm@gnu.org>
2254 * files.el (buffer-stale--default-function)
2255 (buffer-stale-function, revert-buffer--default):
2256 * autorevert.el (auto-revert-buffers): Doc tweaks.
2258 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2260 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2262 2014-04-07 Glenn Morris <rgm@gnu.org>
2264 * files.el (make-backup-file-name-function)
2265 (make-backup-file-name, make-backup-file-name--default-function)
2266 (make-backup-file-name-1, find-backup-file-name)
2267 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2268 (buffer-stale--default-function, buffer-stale-function)
2269 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2270 (revert-buffer, revert-buffer--default)
2271 (revert-buffer-insert-file-contents--default-function):
2272 Doc fixes related to defaults no longer being nil.
2273 (make-backup-file-name-function): Bump :version.
2274 Restore nil as a valid but deprecated custom type.
2276 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2279 Handle $' used as a variable (bug#17174).
2281 * progmodes/perl-mode.el (perl-indent-new-calculate):
2282 Handle forward-sexp failure (bug#16985).
2283 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2284 modifiers introducing expressions (bug#17116).
2286 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2288 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2290 2014-04-05 Leo Liu <sdl.web@gmail.com>
2292 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2293 Add define-compilation-mode.
2295 2014-04-04 João Távora <joaotavora@gmail.com>
2297 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2298 parse from comment beginning.
2299 (electric-pair--balance-info): Fix typo in comment.
2300 (electric-pair--in-unterminated-string-p): Delete.
2301 (electric-pair--unbalanced-strings-p): New function.
2302 (electric-pair-string-bound-function): New var.
2303 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2304 according to `electric-pair--in-unterminated-string-p'.
2306 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2309 Move declaration before first use.
2310 (reftex-move-to-next-arg): Silence compiler warning.
2312 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2314 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2315 Use `window-total-width' instead of `window-width'.
2317 2014-04-03 Daniel Colascione <dancol@dancol.org>
2319 * subr.el (set-transient-map): Remove rms's workaround entirely;
2320 use new `suspicious-object' subr to mark our lambda for closer
2323 2014-04-02 Richard Stallman <rms@gnu.org>
2325 * subr.el (set-transient-map): Comment out previous change.
2327 2014-04-02 Glenn Morris <rgm@gnu.org>
2329 * menu-bar.el (menu-bar-file-menu):
2330 * vc/ediff.el (ediff-current-file):
2331 Update for revert-buffer-function no longer being nil by default.
2333 * simple.el (command-execute): Respect nil disabled-command-function.
2335 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2337 * simple.el (command-execute): Do not execute the command when it
2338 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2340 2014-04-02 Juri Linkov <juri@jurta.org>
2342 * dired-aux.el (dired-compress-file): Don't use string-match-p
2343 because its match data is used afterwards.
2345 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2350 2014-04-02 João Távora <joaotavora@gmail.com>
2352 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2353 Inhibit quote pairing if point-max is inside an unterminated string.
2354 (electric-pair--looking-at-unterminated-string-p):
2356 (electric-pair--in-unterminated-string-p): New function.
2358 2014-04-01 Daniel Colascione <dancol@dancol.org>
2360 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2361 when trying to complete the prompt.
2363 2014-03-31 Leo Liu <sdl.web@gmail.com>
2365 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2366 Refactor out eldoc-documentation-function-default.
2367 (eldoc-documentation-function-default): New function.
2368 (eldoc-documentation-function): Change value.
2370 2014-03-31 Glenn Morris <rgm@gnu.org>
2372 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2374 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2375 (vhdl-compose-components-package, vhdl-compose-configuration):
2376 Abbreviate default-directory (missing from some previous upstream sync).
2378 2014-03-31 Reto Zimmermann <reto@gnu.org>
2380 Sync with upstream vhdl mode v3.35.2.
2381 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2382 (top-level): No longer require assoc.
2383 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2384 New functions. Use throughout to replace aget etc.
2385 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2386 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2387 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2388 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2389 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2390 except `vhdl-compiler'.
2391 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2394 2014-03-31 Glenn Morris <rgm@gnu.org>
2396 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2397 Revert 2014-03-26 merge goof; go back to using defalias.
2399 2014-03-30 Daniel Colascione <dancol@dancol.org>
2401 * comint.el (comint-send-input):
2402 Deactivate completion-in-region-mode before we send comint input.
2405 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2408 2014-03-29 Glenn Morris <rgm@gnu.org>
2410 * textmodes/reftex.el: Manage most autoloads automatically.
2411 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2412 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2413 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2414 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2415 * textmodes/reftex-toc.el: Set generated-autoload-file,
2416 and add autoload cookies for reftex.el.
2417 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2419 2014-03-28 Glenn Morris <rgm@gnu.org>
2421 * cus-start.el (report-emacs-bug-address): Set custom properties.
2422 * mail/emacsbug.el (report-emacs-bug-address):
2423 Variable is now defined in emacs.c.
2425 * mail/emacsbug.el (report-emacs-bug):
2426 Include system-configuration-features.
2428 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2430 * simple.el (cycle-spacing): Never delete spaces on first run by
2431 default, but do so in a new 'fast mode and if there are already
2432 N spaces (the previous behavior).
2433 Compare N with its value in previous invocation so that changing
2434 prefix argument restarts `cycle-spacing' sequence.
2435 The idea is that with this change, binding M-SPC to
2436 `cycle-spacing' should not introduce any changes in behavior of
2437 the binding so long as users do not type M-SPC twice in a raw with
2438 the same prefix argument or lack thereof.
2440 2014-03-28 Glenn Morris <rgm@gnu.org>
2442 * faces.el (term-file-aliases): New variable.
2443 (tty-run-terminal-initialization): Respect term-file-aliases.
2444 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2445 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2446 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2448 2014-03-27 Glenn Morris <rgm@gnu.org>
2450 * startup.el (inhibit-startup-hooks): Doc tweak.
2451 (normal-top-level): Simplify running of hooks.
2452 For window-setup-hook, respect inhibit-startup-hooks.
2453 (command-line-1): Don't set window-setup-hook to nil.
2455 Allow selective autoloading from obsolete/ directory.
2456 * Makefile.in (obsolete-autoloads): New rule.
2457 (autoloads): Run obsolete-autoloads.
2458 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2459 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2461 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2463 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2464 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2466 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2467 Don't propertize `?' or `!' as symbol constituent when after
2470 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2472 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2473 which is no longer needed and causes trouble in GTK builds (bug#17046).
2475 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2476 Use url-insert-file-contents; package-handle-response no longer exists.
2478 2014-03-26 Daniel Colascione <dancol@dancol.org>
2480 * simple.el (process-menu-mode-map): New variable.
2481 (process-menu-delete-process): New command.
2483 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2485 * emacs-lisp/package.el: Fix bug#16733 (again).
2486 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2487 (url-http-target-url): Remove unused declarations.
2488 (package-handle-response): Remove.
2489 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2490 (package--download-one-archive): Use current-buffer instead of
2491 dynamic binding of `buffer'.
2492 (describe-package-1): Do not decode readme-string.
2494 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2496 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2498 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2499 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2500 `remote-file-name-inhibit-cache' to nil in the second pass.
2501 (tramp-find-executable): Do not call "which" on SunOS.
2502 (tramp-send-command-and-check): Fix docstring.
2503 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2504 check whether source directory has set the sticky bit.
2506 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2508 * simple.el (primitive-undo): Only process marker adjustments
2509 validated against their corresponding (TEXT . POS). Issue warning
2510 for lone marker adjustments in undo history. (Bug#16818)
2511 (undo-make-selective-list): Add marker adjustments to selective
2512 undo list based on whether their corresponding (TEXT . POS) is in
2513 the region. Remove variable adjusted-markers, which was unused
2514 and only non nil during undo-make-selective-list.
2515 (undo-elt-in-region): Return nil when passed a marker adjustment
2516 and explain in function doc.
2518 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2520 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2522 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2524 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2525 Match special global variables without curlies, too.
2526 (ruby-font-lock-keywords): Simplify the matcher for special global
2527 variables. Don't require a non-word character after the variable.
2530 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2532 * simple.el (redisplay-highlight-region-function): Increase priority of
2533 overlay to make sure boundaries are visible (bug#15899).
2535 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2537 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2538 (frameset-restore): Compare display strings with equal.
2540 * frame.el (make-frame): Don't quote display name in error message,
2541 it is already a string.
2543 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2545 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2548 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2550 * emacs-lisp/package.el (package--add-to-archive-contents):
2551 Include already installed and built-in packages in
2552 `package-archive-contents'.
2553 (package-install): Don't include already installed packages in the
2554 options during interactive invocation. (Bug#16762)
2555 (package-show-package-list): If the buffer is already displayed in
2556 another window, switch to that window.
2558 2014-03-26 Reto Zimmermann <reto@gnu.org>
2560 Sync with upstream vhdl mode v3.35.1.
2561 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2562 (vhdl-compiler-alist): Doc fix.
2563 (vhdl-goto-line): Remove.
2564 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2565 (vhdl-mode) <paragraph-start>: Fix value.
2566 (vhdl-fix-statement-region): Not `for' in wait-statement.
2567 (vhdl-beautify-region): Also (un)tabify.
2568 (vhdl-get-visible-signals):
2569 Scan declarative part of generate statements.
2570 (vhdl-template-record): Fix indentation for record type declaration.
2571 (vhdl-expand-abbrev, vhdl-expand-paren):
2572 Revert to using fset again rather than defalias.
2573 (vhdl-scan-directory-contents): Tweak.
2574 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2575 (vhdl-compose-components-package):
2576 Replace vhdl-goto-line with forward-line.
2577 (top-level): Tweak speedbar frame selection.
2578 (vhdl-generate-makefile-1): Support for compilers with no
2579 unit-to-file name mapping (create directory with dummy files).
2581 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2583 Sync with upstream verilog-mode revision 702457d.
2584 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2585 (create-lockfiles): Declare.
2586 (verilog-read-decls): Fix module header imports, bug709.
2587 Reported by Victor Lau.
2588 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2589 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2590 interface-only modules, bug721. Reported by Dean Hoyt.
2592 2014-03-26 Glenn Morris <rgm@gnu.org>
2594 * obsolete/gulp.el: Move here from emacs-lisp/.
2596 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2597 Remove fallback aliases, since they are always defined now.
2599 2014-03-24 Daniel Colascione <dancol@dancol.org>
2601 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2602 instead of cl-loop search function.
2604 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2606 * calendar/parse-time.el (parse-time-iso8601-regexp)
2607 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2610 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2612 * net/dns.el (network-interface-list): Define for XEmacs.
2614 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2616 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2617 the network interfaces changed.
2618 (dns-query): Use it to flush the data.
2620 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2622 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2624 2014-03-23 Daniel Colascione <dancol@dancol.org>
2626 Change subword-mode to use `find-word-boundary-function-table' and
2627 replace `capitalized-words-mode'. Also, convert to lexical
2630 * progmodes/cap-words.el: Delete now-obsolete file.
2631 * progmodes/subword.el: Reimplement using
2632 `find-word-boundary-function-table'.
2633 (subword-mode-map): Hollow out.
2634 (capitalized-words-mode): Define as obsolete alias for
2636 (subword-mode, superword-mode): Tweak documentation to reflect new
2637 implementation; call `subword-setup-buffer'.
2638 (subword-forward, subword-capitalize): Add underscore to indicate
2640 (subword-find-word-boundary-function-table): New constant.
2641 (subword-empty-char-table): New constant.
2642 (subword-setup-buffer): New function.
2643 (subword-find-word-boundary): New function.
2645 2014-03-23 Daniel Colascione <dancol@dancol.org>
2647 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2648 list to look for keyword arguments instead of `memq', fixing
2649 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2650 Please make bootstrap.
2652 2014-03-22 Glenn Morris <rgm@gnu.org>
2654 * dired.el (dired-read-regexp): Make obsolete.
2655 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2656 (dired-flag-files-regexp):
2657 * dired-aux.el (dired-mark-read-regexp):
2658 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2660 * startup.el (fancy-startup-text):
2661 * help.el (describe-gnu-project): Visit online info about GNU project.
2663 * help-fns.el (help-fns--interactive-only): New function.
2664 (help-fns-describe-function-functions): Add the above function.
2665 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2666 (next-line, previous-line): Remove hand-written interactive-only
2667 information from doc strings, it is auto-generated now.
2668 * bookmark.el (bookmark-write):
2669 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2670 (epa-mail-import-keys): Mark interactive-only,
2671 and remove hand-written interactive-only information from doc strings.
2672 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2673 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2674 * files.el (not-modified):
2675 * simple.el (mark-whole-buffer): Mark interactive-only.
2677 * emacs-lisp/byte-run.el (defun-declarations-alist):
2678 Add interactive-only. Doc tweak.
2679 (macro-declarations-alist): Doc tweak.
2680 * subr.el (declare): Doc tweak (add xref to manual).
2681 * comint.el (comint-run):
2682 * files.el (insert-file-literally, insert-file):
2683 * replace.el (replace-string, replace-regexp):
2684 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2685 (delete-forward-char, goto-line, insert-buffer, next-line)
2686 (previous-line): Set interactive-only via declare.
2688 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2690 * emacs-lisp/package.el (package-desc): Use the contents of the
2691 quoted form, not its cdr. (Bug#16873)
2693 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2695 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2696 benefit of doc.c; change parameter profile to match the X function.
2698 2014-03-22 Leo Liu <sdl.web@gmail.com>
2700 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2701 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2703 2014-03-21 Richard Stallman <rms@gnu.org>
2705 * battery.el (battery-linux-sysfs): Search for each field
2706 from the beginning of the buffer.
2708 * subr.el (set-transient-map): Clear out function and value
2709 of the temporary symbol when we're done with it.
2711 * mail/rmailsum.el (rmail-summary-delete-forward):
2712 Optimize case of reaching end and handling count.
2713 (rmail-summary-mark-deleted): Optimize when N is current msg.
2714 Don't create new summary line.
2715 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2716 (rmail-summary-undelete-many): Rewrite for speed.
2717 (rmail-summary-msg-number): New function.
2719 * mail/rmail.el (rmail-delete-message): Update summary.
2720 (rmail-undelete-previous-message): Handle repeat count arg.
2721 (rmail-delete-backward, rmail-delete-forward): Likewise.
2723 2014-03-21 Daniel Colascione <dancol@dancol.org>
2725 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2726 information in bug reports.
2728 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2730 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2731 and `tramp-copy-env'.
2733 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2734 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2736 2014-03-21 Glenn Morris <rgm@gnu.org>
2738 * electric.el (electric-indent-post-self-insert-function): Add doc.
2740 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2742 * emacs-lisp/package.el (package-compute-transaction):
2743 Use `version-list-<=' to compare the requirement version against
2744 the version of package already to be installed. Update the error
2745 message. (Bug#16826)
2747 * progmodes/ruby-mode.el (ruby-smie-rules):
2748 Add indentation rule for ` @ '. (Bug#17050)
2750 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2752 * align.el (align-regexp): Remove superfluous backslash.
2754 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2755 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2756 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2757 Fix docstring typos.
2758 (ffap-next): Use C-u in docstring.
2759 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2760 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2761 Remove superfluous backslashes.
2762 (ffap-string-at-point): Reflow docstring.
2764 * server.el (server-host): Reflow docstring.
2765 (server-unload-function): Fix docstring typo.
2766 (server-eval-at): Remove superfluous backslash.
2768 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2769 (skeleton-insert): Doc fix.
2770 (skeleton-insert): Reflow docstring.
2772 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2773 (tty-color-approximate, tty-color-by-index, tty-color-values)
2774 (tty-color-desc): Remove superfluous backslashes.
2776 2014-03-21 Glenn Morris <rgm@gnu.org>
2778 * cus-start.el (history-length): Bump :version.
2780 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2781 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2782 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2783 Don't set `make-backup-files'.
2785 * info.el (info--prettify-description): New function,
2786 to give info-finder descriptions consistent case, punctuation.
2787 (Info-finder-find-node): Use it. Sort packages.
2788 Refer to "description" rather than "commentary".
2790 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2792 * frameset.el (frameset--print-register): New function.
2793 (frameset-to-register): Use it.
2795 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2797 * progmodes/hideif.el (hif-string-to-number): New function.
2798 (hif-tokenize): Use it to understand non-decimal floats.
2800 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2802 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2804 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2806 * electric.el (electric-newline-and-maybe-indent): New command.
2807 Bind it globally to C-j.
2808 (electric-indent-mode): Don't mess with the global map any more.
2809 Don't drop the post-self-insert-hook is some buffer is still using it
2812 * bindings.el (global-map): Remove C-j binding.
2814 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2815 the docstring of functions advised before dumping (bug#16993).
2817 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2819 * ps-print.el (ps-generate-postscript-with-faces):
2820 Explicitly deactivate the mark (bug#16866).
2821 * simple.el (deactivate-mark): Update region highlight.
2823 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2825 * emacs-lisp/package.el (describe-package-1):
2826 Decode commentary (bug#16733).
2828 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2830 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2831 modification of the value argument of :set (bug#16755).
2833 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2835 * simple.el (newline-and-indent): Do autofill (bug#17031).
2837 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2839 * newcomment.el (comment-normalize-vars): Only add escaping check
2840 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2841 (comment-beginning): Use `narrow-to-region' instead of moving back
2843 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2844 (comment-start-skip): Update the docstring.
2846 2014-03-18 Richard Stallman <rms@gnu.org>
2848 * dired.el (dired-display-file): Force use of other window.
2850 2014-03-18 Daniel Colascione <dancol@dancol.org>
2852 * startup.el (tty-handle-args): Remove debug message from 2007.
2854 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2857 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2858 (advice--make-1, advice-add, advice-remove):
2859 Remove braindead :advice-pending hack.
2861 2014-03-17 Glenn Morris <rgm@gnu.org>
2863 * calendar/calendar.el (calendar-generate-month): Apply weekend
2864 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2866 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2868 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2869 (tramp-call-process): Trace also DESTINATION.
2871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2872 Quote file names when they are local. Remove superfluous trace.
2874 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2876 * newcomment.el (comment-beginning): If `comment-start-skip'
2877 doesn't match, move back one char and try again. (Bug#16971)
2879 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2880 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2881 Set `comment-start-skip' to a simpler value that doesn't try to
2882 check if the semicolon is escaped (this is handled by
2883 `syntax-ppss' now). (Bug#16971)
2885 * progmodes/scheme.el (scheme-mode-variables): Same.
2887 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2889 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2890 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2891 current (Bug#16816, Bug#17007).
2892 (with-current-buffer-window): New macro doing the same as
2893 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2894 * help.el (help-print-return-message): Warn in doc-string to not
2895 use this in `with-help-window'.
2896 (describe-bindings-internal): Call `describe-buffer-bindings'
2897 from within help buffer. See Juanma's scenario in (Bug#16816).
2898 (with-help-window): Update doc-string.
2899 * dired.el (dired-mark-pop-up):
2900 * files.el (save-buffers-kill-emacs):
2901 * register.el (register-preview): Use `with-current-buffer-window'
2902 instead of `with-temp-buffer-window'.
2904 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2906 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2907 Implement inserting into current buffer, documented in their docstrings.
2908 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2909 (rst-section-tree-point, rst-forward-section, rst-indent)
2910 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2911 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2912 (rst-font-lock-handle-adornment-pre-match-form)
2913 (rst-repeat-last-character): Reflow docstrings.
2914 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2915 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2916 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2917 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2918 Fix docstring typos.
2919 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2920 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2921 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2923 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2925 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2926 for compatibility with other ports.
2927 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2928 from the -xrm command line argument, but in the Nextstep port its value
2929 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2931 * progmodes/python.el (defconst, python-syntax-count-quotes)
2932 (python-indent-region, python-indent-shift-right)
2933 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2934 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2935 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2936 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2937 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2938 (python-shell-buffer-substring, python-shell-send-buffer)
2939 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2940 (python-completion-complete-at-point, python-fill-docstring-style)
2941 (python-eldoc-function, python-imenu-format-item-label)
2942 (python-imenu-format-parent-item-label)
2943 (python-imenu-format-parent-item-jump-label)
2944 (python-imenu--build-tree, python-imenu-create-index)
2945 (python-imenu-create-flat-index): Fix docstring typos.
2946 (python-indent-context, python-shell-prompt-regexp, run-python):
2947 Remove superfluous backslashes.
2948 (python-indent-line, python-nav-beginning-of-defun)
2949 (python-shell-get-buffer, python-shell-get-process)
2950 (python-info-current-defun, python-info-current-line-comment-p)
2951 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2952 (python-indent-post-self-insert-function, python-shell-send-file)
2953 (python-shell-completion-get-completions)
2954 (python-shell-completion-complete-or-indent)
2955 (python-eldoc--get-doc-at-point): Reflow docstrings.
2957 2014-03-14 Glenn Morris <rgm@gnu.org>
2959 * emacs-lisp/package.el (package-menu-mode-map):
2960 Replace use of obsolete function alias. Tweak menu item text.
2962 * info.el (Info-finder-find-node):
2963 Ignore the `emacs' metapackage. (Bug#10813)
2965 * finder.el (finder-list-matches): Include unversioned packages
2966 in the result of a keyword search.
2968 * finder.el (finder--builtins-descriptions): New constant.
2969 (finder-compile-keywords): Use finder--builtins-descriptions.
2971 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2973 * simple.el (blink-matching-paren): Describe the new value,
2974 `jump', enabling the old behavior.
2975 (blink-matching-open): Use that value. (Bug#17008)
2977 2014-03-14 Glenn Morris <rgm@gnu.org>
2979 * finder.el (finder-no-scan-regexp): Add leim-list.
2980 (finder-compile-keywords):
2981 Don't skip files with same basename. (Bug#14010)
2982 * Makefile.in (setwins_finder): New, excluding leim.
2983 (finder-data): Use setwins_finder.
2985 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2986 (help-function-arglist, help-make-usage): Move from here...
2987 * help.el (help-split-fundoc, help-add-fundoc-usage)
2988 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2989 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2991 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2993 * net/socks.el (socks, socks-override-functions)
2994 (socks-find-services-entry):
2995 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2996 (hif-find-ifdef-block):
2997 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2999 * net/tls.el (tls-program): Reflow docstring.
3001 * progmodes/pascal.el (pascal-mode-abbrev-table)
3002 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3003 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3004 (pascal-outline-mode): Fix docstring typos.
3005 (pascal-mode): Let define-derived-mode document mode hook.
3006 (pascal-uncomment-area): Reflow.
3007 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3009 * progmodes/opascal.el (opascal-compound-block-indent)
3010 (opascal-case-label-indent): Fix docstring typos.
3011 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3013 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3015 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3016 Fontify multiple adjacent negation chars. (Bug#17004)
3018 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3020 * emacs-lisp/package.el (package--prepare-dependencies):
3021 Accept requirements without explicit version (bug#14941).
3023 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3025 * register.el (register-separator, copy-to-register): Doc fixes.
3026 (register-preview-default): Remove unnecessary call to concat.
3028 * frameset.el (frameset-restore): When checking for a visible frame,
3029 use the action map instead of calling visible-frame-list.
3031 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3033 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3035 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3037 * window.el (fit-frame-to-buffer): Get maximum width from
3038 display's width instead of height.
3040 2014-03-12 Glenn Morris <rgm@gnu.org>
3042 * desktop.el (desktop-restore-frames)
3043 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3044 (desktop-restore-reuses-frames): Doc tweaks.
3046 * electric.el (electric-indent-mode): Doc fix.
3048 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3050 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3051 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3052 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3053 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3054 (cvs-dired-use-hook): Fix docstring typos.
3055 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3058 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3059 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3060 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3061 (cvs-execute-single-dir): Fix docstring typos.
3063 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3064 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3066 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3068 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3069 Fix docstring typos.
3071 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3073 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3074 called from jump-to-register after unloading the frameset package.
3076 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3078 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3079 (bug#16975). Deactivate the mark before setting it to nil.
3080 (activate-mark): Do nothing if region is already active.
3082 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3084 * frameset.el (frameset--target-display): Remove definition; declare.
3085 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3087 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3090 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3091 when the advice is pending.
3092 (advice-remove): Remove this marker when not needed any more.
3094 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3096 * frameset.el: Separate options for reusing frames and cleaning up.
3097 (frameset--reuse-list): Remove definition; declare.
3098 (frameset--action-map): Declare.
3099 (frameset--find-frame-if): Doc fix.
3100 (frameset--restore-frame): Cache frame action.
3101 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3102 how to clean up the frame list after restoring. Remove cleaning
3103 options from REUSE-FRAMES. Change all keyword values to symbols.
3104 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3106 * desktop.el (desktop-restore-forces-onscreen)
3107 (desktop-restore-reuses-frames): Use non-keyword values.
3108 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3110 2014-03-10 Glenn Morris <rgm@gnu.org>
3112 * files.el (find-file): Doc fix: update info node name.
3114 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3115 Doc fix: remove references to deleted info nodes.
3117 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3119 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3120 Do not add `nil' to the environment, when there's no remote `locale'.
3121 (tramp-find-inline-encoding): Check, that the remote host has
3122 installed perl, before sending scripts.
3124 2014-03-10 Leo Liu <sdl.web@gmail.com>
3126 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3127 Clear eldoc-last-message. (Bug#16920)
3129 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3134 2014-03-09 Juri Linkov <juri@jurta.org>
3136 * ansi-color.el (ansi-color-names-vector): Copy default colors
3137 from `xterm-standard-colors' that look well on the default white
3138 background (and also on the black background) to avoid illegible
3139 color combinations like yellow-on-white and white-on-white.
3140 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3142 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3144 * frameset.el (frameset-restore): When no frame is visible, do not
3145 generate a list of frames, just make visible the selected one.
3147 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3149 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3150 it only contains the repository root. (Bug#16897)
3152 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3154 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3155 only when `remote-file-name-inhibit-cache' is nil.
3156 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3158 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3160 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3162 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3163 fit-frame-to-buffer variable. Fix doc-string.
3164 (fit-window-to-buffer): Set ONLY argument in call of
3165 fit-frame-to-buffer. Fix doc-string.
3167 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3169 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3170 (tramp-action-password): Clear password cache if needed.
3171 (tramp-read-passwd): Do not clear password cache.
3173 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3174 cache unless it is the first password request.
3176 2014-03-06 Glenn Morris <rgm@gnu.org>
3178 * simple.el (newline): Doc tweak.
3180 * emacs-lisp/shadow.el (load-path-shadows-find):
3181 Ignore dir-locals. (Bug#12357)
3183 2014-03-05 Glenn Morris <rgm@gnu.org>
3185 * files.el (interpreter-mode-alist):
3186 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3188 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3190 * frameset.el (frameset--initial-params): Filter out null entries.
3192 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3194 * window.el (window-min-height, window-min-width):
3195 Rewrite doc-strings.
3196 (window-body-size): Add PIXELWISE argument to make it consistent
3199 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3201 * finder.el (finder-mode-map, finder-mode-syntax-table):
3202 Revert part of 2014-02-28 change.
3204 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3206 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3207 (eww-setup-buffer): Clear next/prev/etc more reliably.
3208 (eww-textarea-map): [tab] doesn't work on tty.
3209 Reported by Mario Lang.
3211 * net/shr.el (shr-map): Ditto.
3213 2014-03-04 Glenn Morris <rgm@gnu.org>
3215 * minibuffer.el (completion-hilit-commonality):
3216 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3218 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3220 * hilit-chg.el (hilit-chg-unload-function): New function.
3221 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3222 (hilit-chg-map-changes): Prefer cardinal number to digit.
3223 (hilit-chg-display-changes): Reflow docstring.
3224 (highlight-changes-rotate-faces): Remove superfluous backslash.
3226 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3228 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3229 `tramp-send-command-and-check'.
3231 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3233 * hexl.el (hexl-address-region, hexl-ascii-region)
3234 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3235 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3236 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3237 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3238 (hexl-mode): Doc fix.
3239 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3240 (hexl-mode-ruler): Fix typos in docstrings.
3242 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3243 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3244 Remove superfluous backslashes.
3245 (strokes-last-stroke, strokes-global-map, strokes-mode):
3247 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3248 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3249 (strokes-distance-squared, strokes-global-set-stroke)
3250 (strokes-global-set-stroke-string): Doc fixes.
3251 (strokes-help): Fix typos; reflow docstring.
3253 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3255 * window.el (window-in-direction): Fix doc-string.
3257 2014-03-04 Glenn Morris <rgm@gnu.org>
3259 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3260 Explicit error if no grammar.
3261 (smie-config-save): Doc fix. Fix quote typo.
3263 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3266 electric-indent-mode-hook if we obey electric-indent-mode.
3267 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3268 decide whether we obey electric-indent-mode.
3269 (c-change-set-fl-decl-start, c-extend-after-change-region):
3271 (c-electric-indent-mode-hook): Assume we do want to obey
3272 electric-indent-mode.
3274 * electric.el (electric-indent-mode-has-been-called): Remove.
3275 (electric-indent-mode): Fix accordingly.
3277 * files.el (hack-local-variables): Mention file name in warning.
3279 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3281 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3283 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3284 * simple.el (delete-forward-char): Mark as interactive-only.
3286 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3288 * icomplete.el (icomplete-completions):
3289 Follow-up to 2014-03-01 change.
3291 * icomplete.el: Miscellaneous doc fixes.
3292 Use Icomplete everywhere instead of icomplete for consistency.
3293 (icomplete-max-delay-chars): Fix typo.
3294 (icomplete-mode): Use \[].
3295 (icomplete-tidy, icomplete-exhibit): Reflow.
3296 (icomplete-minibuffer-setup-hook, icomplete-completions):
3297 Remove superfluous backlashes.
3299 * ido.el: Miscellaneous doc fixes.
3300 Use Ido everywhere instead of ido or `ido' for consistency.
3301 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3302 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3303 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3304 (ido-separator): Extract obsolescence info from docstring and declare
3305 with make-obsolete-variable.
3306 (ido-minibuffer-setup-hook): Simplify example.
3307 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3308 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3309 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3310 (ido-everywhere): Reflow docstring.
3311 (ido-toggle-vc): Doc fix.
3312 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3313 of long list of keybindings.
3315 2014-03-03 Glenn Morris <rgm@gnu.org>
3317 * frame.el (display-pixel-height, display-pixel-width)
3318 (display-mm-dimensions-alist, display-mm-height)
3319 (display-mm-width): Doc tweaks.
3321 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3323 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3324 case of undo in region.
3326 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3328 * window.el (fit-window-to-buffer): Fix argument in window-size
3329 call when window is horizontally combined.
3331 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3333 * icomplete.el (icomplete-completions): Use string-width.
3334 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3336 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3338 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3339 Highlight regexp options. (Bug#16914)
3341 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3343 * window.el (window--max-delta-1): Round down when calculating
3344 how many lines/columns we can get from a window.
3346 2014-03-01 Glenn Morris <rgm@gnu.org>
3348 * isearch.el (search-invisible): Doc fix.
3350 * minibuffer.el (completion-hilit-commonality):
3351 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3352 * comint.el (comint-dynamic-list-completions): Doc fix.
3353 * comint.el (comint-dynamic-list-completions):
3354 * filecache.el (file-cache-minibuffer-complete):
3355 * tempo.el (tempo-display-completions):
3356 * eshell/em-hist.el (eshell-list-history):
3357 Replace use of obsolete argument of display-completion-list.
3359 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3361 * icomplete.el (icomplete-completions):
3362 Revert back to using "..." when ?… cannot be displayed.
3364 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3366 * finder.el (finder-unload-function): New function.
3368 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3370 * dframe.el (dframe-detach):
3371 * find-dired.el (find-dired, find-name-dired):
3372 * finder.el (finder-mode-map, finder-mode-syntax-table)
3373 (finder-headmark, finder-select, finder-mouse-select):
3374 Fix docstring typos.
3376 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3378 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3379 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3380 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3381 Fix doc-string based on a suggestion by Nicolas Richard
3382 <theonewiththeevillook@yahoo.fr>.
3383 * help.el (with-help-window): Fix doc-string.
3385 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3387 * net/shr.el (shr-image-animate): New option.
3388 (shr-put-image): Respect shr-image-animate.
3390 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3392 * net/tramp-adb.el (tramp-adb-parse-device-names):
3393 Use `accept-process-output'.
3394 (tramp-adb-handle-file-truename): Cache the localname only.
3395 (tramp-adb-handle-make-directory)
3396 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3397 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3398 modes cannot be changed.
3400 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3401 file properties of symlinks.
3403 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3405 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3406 required/optional fields to match development biblatex. (Bug#16781)
3408 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3410 * saveplace.el (toggle-save-place):
3411 Fix argument handling. (Bug#16673)
3413 2014-02-28 Glenn Morris <rgm@gnu.org>
3415 * minibuffer.el (completions-first-difference)
3416 (completions-common-part, completion-hilit-commonality): Doc fixes.
3418 2014-02-28 Karl Berry <karl@gnu.org>
3420 * info.el (Info-mode-map): Add H for describe-mode,
3421 to synchronize with standalone Info.
3423 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3425 * progmodes/sql.el (sql-interactive-mode):
3426 Avoid setting global comint-input-ring-separator. (Bug#16814)
3428 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3430 * net/dbus.el (dbus--init-bus): Declare function.
3431 (dbus-path-local, dbus-interface-local): New defconst.
3432 (dbus-init-bus): Use them.
3433 (dbus-return-values-table): Extend doc.
3434 (dbus-handle-bus-disconnect): Extend error message.
3436 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3438 * subr.el (y-or-n-p): Fix double space issue in message.
3440 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3442 * net/tramp.el (tramp-call-process): Improve trace message.
3443 (tramp-handle-insert-file-contents): Trace error case.
3445 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3446 <insert-directory>: Use `tramp-handle-insert-directory'.
3447 (tramp-adb-handle-insert-directory): Remove function.
3448 (tramp-adb-send-command-and-check): New defun, replacing
3449 `tramp-adb-command-exit-status'. Change all callees.
3450 (tramp-adb-handle-file-attributes)
3451 (tramp-adb-handle-directory-files-and-attributes): Use it.
3452 (tramp-adb-ls-output-name-less-p):
3453 Use `directory-listing-before-filename-regexp'.
3454 (tramp-adb-handle-delete-directory): Flush also file properties of
3455 the truename of directory.
3456 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3457 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3458 (tramp-adb-handle-write-region): Implement APPEND.
3459 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3460 properties correctly.
3461 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3462 variables. Check for connected devices only when needed.
3464 2014-02-27 Glenn Morris <rgm@gnu.org>
3466 * minibuffer.el (completion-table-dynamic)
3467 (completion-table-with-cache): Doc fixes.
3469 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3470 (completing-read-multiple): Doc fixes.
3472 2014-02-27 Daniel Colascione <dancol@dancol.org>
3474 * minibuffer.el (completion--nth-completion): Fix indentation.
3476 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3477 explicit tramp path is empty.
3479 2014-02-27 Glenn Morris <rgm@gnu.org>
3481 * emacs-lisp/crm.el (completing-read-multiple):
3482 Empower help-enable-auto-load.
3484 2014-02-26 Glenn Morris <rgm@gnu.org>
3486 * startup.el (command-line): Don't init the tty in daemon mode.
3488 Avoid calling tty-setup-hook twice, eg if a term file
3489 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3490 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3491 (tty-create-frame-with-faces): Use it.
3492 * startup.el (command-line): Pass run-hook argument
3493 to tty-run-terminal-initialization.
3495 * dired.el (dired-restore-desktop-buffer): Demote errors;
3496 eg in case a glob match fails. (Bug#16884)
3498 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3500 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3501 error from `read-from-string'. (Bug#16850)
3503 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3504 result of `completing-read' in the interactive form. (Bug#16854)
3506 2014-02-25 Glenn Morris <rgm@gnu.org>
3508 * image.el (image-animate, image-animate-timeout):
3509 Stop animating images in dead buffers. (Bug#16878)
3511 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3513 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3515 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3516 * term/sun.el (sun-raw-prefix-hooks):
3517 Use tty-setup-hook instead of term-setup-hook.
3518 (terminal-init-sun): Construct message from bytecomp plist.
3519 * term/wyse50.el (enable-arrow-keys): Doc fix.
3521 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3523 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3524 Fix docstring typos.
3526 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3528 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3530 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3532 * minibuffer.el (completion--try-word-completion):
3533 Fix error when completing M-x commands (bug#16808).
3535 2014-02-24 Leo Liu <sdl.web@gmail.com>
3537 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3539 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3541 * apropos.el (apropos-print): Avoid formatting error when
3542 apropos-do-all and apropos-compact-layout are both t.
3544 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3546 * apropos.el (apropos-property, apropos-all-words-regexp)
3547 (apropos-true-hit, apropos-variable, apropos-print):
3548 Fix docstring typos, and remove obsolete comment.
3550 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3552 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3553 Preserve trailing "/". (Bug#16851)
3555 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3557 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3558 after `=>' (bug#16811).
3559 (ruby-smie-rules): Handle the inconsistent second element of the
3560 list returned by `smie-indent--parent'.
3561 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3564 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3566 * elec-pair.el (electric-pair-text-syntax-table)
3567 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3568 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3569 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3570 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3572 2014-02-22 Glenn Morris <rgm@gnu.org>
3574 * imenu.el (imenu--generic-function): Doc fix.
3576 * register.el (frame-configuration-to-register): Make obsolete.
3578 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3580 * desktop.el (desktop-save-buffer-p): Do not fail when
3581 desktop-files-not-to-save is nil. Return t for true result
3584 2014-02-22 Daniel Colascione <dancol@dancol.org>
3586 * net/secrets.el (secrets-create-item, secrets-search-items):
3587 Check that attribute values are strings, avoiding the construction
3588 of invalid dbus messages.
3590 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3592 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3593 defun-declarations-alist.
3595 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3597 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3600 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3602 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3603 (whitespace-newline, whitespace-trailing, whitespace-line)
3604 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3605 (whitespace-space-after-tab): Fix typo in docstrings.
3607 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3609 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3611 * electric.el (electric-indent-functions-without-reindent):
3612 Add `yaml-indent-line'.
3614 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3616 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3617 It has done nothing for years; should be removed after the release.
3619 * simple.el (choose-completion): Fix docstring typo.
3620 (read-quoted-char-radix): Remove unneeded * in docstring.
3621 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3622 Don't escape parentheses unnecessarily in docstrings.
3624 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3626 Fix handling of window-min-height/-width (Bug#16738).
3627 * window.el (window--dump-window, window--dump-frame):
3629 (window--min-size-1): Account for window dividers.
3630 When window-resize-pixelwise is nil, delay rounding till after the
3631 sum of the window components has been calculated.
3632 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3633 nil make sure at least one text line and two text columns remain
3635 (window-resize): Signal an error when window-resize-apply fails.
3636 (window--resize-child-windows): Fix calculation of by how many
3637 pixels a window can still be shrunk via window-new-normal.
3638 (adjust-window-trailing-edge): Call window--resizable with
3639 correct TRAIL argument.
3641 (with-temp-buffer-window): Don't evaluate BODY within
3642 with-current-buffer (Bug#16816).
3644 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3646 * net/tramp.el (tramp-check-cached-permissions):
3647 Call `file-attributes' with `suffix' being a symbol but a string.
3649 2014-02-21 Daniel Colascione <dancol@dancol.org>
3651 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3652 (dbus-init-bus): New function: call into dbus-init-bus-1
3653 and installs a handler for the disconnect signal.
3654 (dbus-call-method): Rewrite to look for result in cons.
3655 (dbus-call-method-handler): Store result in cons.
3656 (dbus-check-event): Recognize events with nil sender as valid.
3657 (dbus-handle-bus-disconnect): New function. React to bus
3658 disconnection signal by synthesizing dbus error for each
3659 pending synchronous or asynchronous call.
3660 (dbus-notice-synchronous-call-errors): New function.
3661 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3662 is true, not all the time.
3664 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3666 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3667 Remove obsolescence declarations, these variables do not exist anymore.
3669 * savehist.el (savehist-save-minibuffer-history)
3670 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3671 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3672 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3673 mostly, refer to "Savehist mode" when talking about the mode,
3674 and not the function.
3676 * saveplace.el (save-place): Remove redundant info in docstring.
3677 (save-place-forget-unreadable-files, toggle-save-place)
3678 (save-place-forget-unreadable-files, save-place-dired-hook):
3679 Fix typos and remove unneeded backslashes.
3681 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3683 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3684 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3686 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3687 <insert-directory>: Use `tramp-handle-insert-directory'.
3688 (tramp-gvfs-handle-insert-directory): Remove function.
3690 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3691 Call `tramp-handle-insert-directory'.
3693 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3695 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3696 before the start of buffer/region (bug#16799).
3698 2014-02-20 Glenn Morris <rgm@gnu.org>
3700 * isearch.el (search-invisible): Doc fix.
3702 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3704 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3707 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3709 * frameset.el (frameset-restore): Delay removing an old frame's
3710 duplicate id until the new frame has been correctly created.
3712 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3714 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3715 (tramp-check-cached-permissions): Call `file-attributes' if the
3718 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3719 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3721 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3722 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3723 (tramp-gvfs-maybe-open-connection): Set always connection
3724 properties, even if target is mounted already.
3726 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3727 Set tramp-autoload cookie.
3728 (tramp-get-remote-touch): New defun.
3729 (tramp-sh-handle-set-file-times): Use it.
3730 (tramp-sh-handle-directory-files-and-attributes):
3731 Use `tramp-handle-directory-files-and-attributes' if neither stat
3732 nor perl are available on the remote host.
3734 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3735 "/". Write long listing only when "l" belongs to the switches.
3737 * net/trampver.el: Update release number.
3739 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3741 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3743 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3745 * window.el (window-state-put): Allow WINDOW to refer to an
3746 internal window (Bug#16793).
3748 2014-02-19 Glenn Morris <rgm@gnu.org>
3750 * textmodes/remember.el: Move provide statement to end.
3751 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3752 (remember-notes): Doc fixes.
3754 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * delsel.el (delete-char): Restore incorrectly erased property
3759 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3761 * frameset.el (frameset--restore-frame): When a frame is being reused
3762 and its root window is not alive, delete all the frame's windows before
3763 restoring the window state. This works around the issue in bug#16793.
3765 2014-02-18 Glenn Morris <rgm@gnu.org>
3767 * textmodes/remember.el (remember-data-directory)
3768 (remember-directory-file-name-format, remember-store-in-files)
3769 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3770 (remember-notes-save-and-bury-buffer)
3771 (remember-notes--kill-buffer-query): Doc fixes.
3773 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3775 2014-02-17 Alan Mackenzie <acm@muc.de>
3777 Connect electric-indent-mode up with CC Mode. Bug #15478.
3778 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3779 to electric-indent-{,local-}-mode.
3780 (c-basic-common-init): Set electric-indent-inhibit.
3781 Initialise c-electric-flag from electric-indent-mode.
3782 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3783 New hook functions which propagate electric-indent-mode to CC mode.
3785 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3786 hit, toggle electric-indent-local-mode.
3788 * electric.el (electric-indent-mode-has-been-called):
3791 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3793 * frameset.el (frameset-cfg-id): New function.
3794 (frameset--reuse-frame, frameset-restore): Use it.
3795 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3797 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * ido.el (ido-file-internal): Remove unused var `d'.
3800 Use \` for to match BoS. Fit within 80n columns.
3802 2014-02-17 Daniel Colascione <dancol@dancol.org>
3804 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3805 dbus-call-method check for completion using a busy-wait loop with
3808 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3810 Sync with Tramp 2.2.9.
3812 * net/trampver.el: Update release number.
3814 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3816 * ido.el (ido-file-internal): Don't add the name of an existing
3817 directory twice. (Bug#16747)
3819 2014-02-16 Glenn Morris <rgm@gnu.org>
3821 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3822 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3824 2014-02-15 Michael R. Mauger <michael@mauger.com>
3826 * progmodes/sql.el: Version 3.4
3827 (sql-oracle-options): New default value ("-L").
3828 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3829 (sql-placeholders-filter): Correct placeholder pattern.
3830 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3831 (sql-login-delay): New variable.
3832 (sql-product-interactive): Use it.
3834 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3836 * frameset.el (frameset--jump-to-register): Check that buffer is live
3839 2014-02-15 Glenn Morris <rgm@gnu.org>
3841 * info.el (info-initialize): Revert 2014-01-10 change.
3843 2014-02-14 Glenn Morris <rgm@gnu.org>
3845 * replace.el (map-query-replace-regexp)
3846 (read-regexp-defaults-function, read-regexp): Doc fixes.
3848 * dired.el (dired-read-regexp):
3849 * faces.el (list-faces-display):
3850 * misearch.el (multi-isearch-read-matching-buffers)
3851 (multi-isearch-read-matching-files):
3852 * play/cookie1.el (cookie-apropos):
3853 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3855 * textmodes/remember.el (remember): Use frameset-to-register
3856 rather than frame-configuration-to-register.
3858 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3860 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3861 incorrect keybinding.
3863 2014-02-13 Daniel Colascione <dancol@dancol.org>
3865 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3866 when adding overlays so that line numbers from compiler match line
3869 2014-02-13 Glenn Morris <rgm@gnu.org>
3871 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3873 * jit-lock.el (jit-lock-mode): Doc fix.
3875 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3877 * apropos.el (apropos-read-pattern): When the user passes an empty
3878 string, give a more helpful error message than "Wrong type
3879 argument: stringp, nil".
3881 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3885 2014-02-13 Glenn Morris <rgm@gnu.org>
3887 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3889 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3892 shift-select commands.
3894 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3896 * progmodes/js.el (js-indent-line): Don't widen.
3897 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3899 2014-02-12 Glenn Morris <rgm@gnu.org>
3901 * icomplete.el (icomplete): Add info-link to defgroup.
3902 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3903 (icomplete-minibuffer-map, icomplete-mode)
3904 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3906 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3907 (package-menu-filter): Rename from package-menu-filter-interactive.
3910 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3912 * frameset.el (frameset--jump-to-register): Select the required
3913 window and buffer before restoring position (bug#16696).
3915 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3917 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3919 2014-02-10 Glenn Morris <rgm@gnu.org>
3921 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3923 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3925 * w32-common-fns.el (x-get-selection): Doc fix.
3926 * select.el (x-get-selection): Doc fix. (Bug#15109)
3928 * face-remap.el (face-remap-add-relative)
3929 (face-remap-remove-relative, face-remap-reset-base)
3930 (face-remap-set-base): Call force-mode-line-update to redisplay
3931 the current buffer due to potential change in faces. (Bug#16709)
3933 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3935 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3936 script more robustly.
3938 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3940 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3942 * simple.el (choose-completion): Doc fix (bug#14160).
3944 * subr.el (event-start): Say what a nil EVENT value means.
3946 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3949 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3951 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3953 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3955 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3956 predicate function (bug#15455).
3958 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3960 * ielm.el (inferior-emacs-lisp-mode): Instead of
3961 `comment-use-global-state', set `comment-use-syntax'.
3963 2014-02-10 Glenn Morris <rgm@gnu.org>
3965 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3967 2014-02-09 Alan Mackenzie <acm@muc.de>
3969 Fix c-invalidate-state-cache on narrowed buffers.
3970 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3971 Widen when setting and clearing the CPP delimiter properties.
3973 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3975 * help.el (describe-bindings): Doc fix (bug#9888).
3977 * files.el (save-buffer): Use ARG as the parameter name for
3978 consistency (bug#10346).
3979 (save-buffer): Clarify the 0 argument (bug#10346).
3981 * cus-edit.el (customize-apropos): Fix error string.
3982 (custom-buffer-create): Doc fix (bug#11122).
3983 (custom-sort-items): Doc fix (bug#11121).
3985 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3987 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3988 (icomplete-simple-completing-p): Mention the previous variable.
3990 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3991 meaning of the parameter (bug#12282).
3993 * files.el (find-file-noselect): Clarify prompt when changing
3994 readedness (bug#13261).
3995 (locate-file): Suffixes aren't returned, so don't say that they
3997 (backup-inhibited): Doc clarification (bug#12525).
3999 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4000 before we actually start to delete things (bug#16331).
4002 * subr.el (event-start): Doc fix (bug#14228).
4005 2014-02-09 Glenn Morris <rgm@gnu.org>
4007 * emacs-lisp/warnings.el (lwarn):
4008 Empower help-enable-auto-load. (Bug#15940)
4010 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4012 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4015 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4017 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4018 Insert output at end of buffer. (Bug#16120)
4020 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4022 * simple.el (choose-completion-string-functions): Document new
4023 calling convention (bug#14153).
4024 (execute-extended-command): Clarify doc string (bug#13373).
4026 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4028 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4029 (find-grep-dired): Doc fix (bug#14288).
4031 2014-02-08 Juri Linkov <juri@jurta.org>
4033 * isearch.el (isearch-quote-char): Check character validity
4034 like in `quoted-insert' (bug#16677).
4036 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4038 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4040 * isearch.el (isearch-hide-immediately): Doc clarification
4043 * simple.el (line-move): Document utility function used many
4044 places in the Emacs sources (bug#14843).
4046 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4047 (dired-prev-marked-file): Doc fix (bug#14855).
4048 (dired-up-directory): Doc fix (bug#14848).
4050 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4052 * files.el (file-relative-name): Doc fix (bug#15159).
4054 * fringe.el (fringe-styles): Doc fix (bug#15239).
4056 * isearch.el (isearch-filter-predicate): Documentation typo fix
4059 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4061 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4063 * replace.el (replace-match-maybe-edit): Doc clarification
4066 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4068 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4070 2014-02-08 Glenn Morris <rgm@gnu.org>
4072 * help-fns.el (describe-variable):
4073 Check {file,dir}-local-variables-alist, and buffer-file-name,
4074 in the correct buffer.
4076 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4078 * help-fns.el (describe-variable): Fix the case where
4079 a value is directory-local with no dir-locals file. (Bug#16635)
4081 2014-02-08 Glenn Morris <rgm@gnu.org>
4083 * abbrev.el (edit-abbrevs-mode):
4084 Derive from fundamental-mode. (Bug#16682)
4086 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4088 * simple.el (quoted-insert): Check character validity (bug#16677).
4090 2014-02-07 Juri Linkov <juri@jurta.org>
4092 * desktop.el (desktop-read): Claim the lock when the owner is not
4093 the current process. (Bug#16157)
4095 2014-02-07 Juri Linkov <juri@jurta.org>
4097 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4098 to "\\` ". (Bug#16651)
4100 2014-02-07 Juri Linkov <juri@jurta.org>
4102 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4103 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4104 (desktop-auto-save-cancel-timer): New function with some code from
4105 `desktop-auto-save-set-timer'.
4106 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4107 Instead of setting `desktop-save-mode' to nil, call
4108 `desktop-save-mode' with arg 0. (Bug#16630)
4110 2014-02-07 Glenn Morris <rgm@gnu.org>
4112 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4113 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4114 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4116 * obsolete/iswitchb.el: Move to obsolete/.
4117 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4118 since obsolete/ is not scanned for autoloads.
4119 * emacs-lisp/authors.el (authors-valid-file-names):
4122 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4123 Disable now non-functional find-file-hook.
4125 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4127 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4128 instead of ";" in order to avoid additional prompts. Let heredoc
4129 scripts read from tty. (Bug#16582)
4130 (tramp-send-command): No special handling of heredocs, it isn't
4133 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4135 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4136 with a space (bug#16664). Limit the symbols considered to the ones
4137 that are bound or fbound (bug#16646).
4139 2014-02-06 Glenn Morris <rgm@gnu.org>
4141 * epa.el (epa-mail-aliases): Doc fix.
4143 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4145 * emacs-lisp/lisp.el (lisp-completion-at-point):
4146 Use `completion-table-merge' instead of `completion-table-in-turn'
4149 * minibuffer.el (completion-table-merge): New function.
4151 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4153 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4154 (tramp-sh-handle-set-file-acl)
4155 (tramp-sh-handle-start-file-process)
4156 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4157 (tramp-find-executable, tramp-send-command): Use it.
4159 2014-02-05 Glenn Morris <rgm@gnu.org>
4161 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4163 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4165 * progmodes/python.el (python-shell-send-string)
4166 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4168 2014-02-04 Anders Lindgren <andlind@gmail.com>
4170 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4171 the names (bug#16620).
4173 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4175 * faces.el (window-divider): New default value. Rewrite doc-string.
4176 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4178 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4180 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4181 `protected' and `public' can also be called without arguments.
4183 2014-02-03 Glenn Morris <rgm@gnu.org>
4185 * register.el (window-configuration-to-register)
4186 (frame-configuration-to-register): Unadvertise unused argument.
4187 * frameset.el (frameset-to-register): Remove unused argument.
4189 * frameset.el (frameset-to-register):
4190 * kmacro.el (kmacro-to-register):
4191 * register.el (increment-register):
4192 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4193 (calc-append-to-register, calc-prepend-to-register):
4194 * play/gametree.el (gametree-layout-to-register)
4195 (gametree-apply-register-layout):
4196 * textmodes/picture.el (picture-clear-rectangle-to-register)
4197 (picture-yank-rectangle-from-register):
4198 * vc/emerge.el (emerge-combine-versions-register):
4199 Use register-read-with-preview to read registers.
4201 2014-02-03 João Távora <joaotavora@gmail.com>
4203 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4204 when at beginning of (possibly narrowed) buffer.
4206 2014-02-02 Daniel Colascione <dancol@dancol.org>
4208 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4209 Also try to display local help from just before point.
4211 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4213 c-parse-state. Don't "append-lower-brace-pair" in certain
4214 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4215 recognised as a comment.
4217 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4218 as well as normal comment starter.
4219 (c-parse-state-get-strategy): Extra return possibility
4221 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4222 return value list to indicate replacement of a brace-pair cons
4224 (c-parse-state-1): With 'back-and-forward, only call
4225 c-append-lower-brace-pair-to state-cache when cons-separated.
4227 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4229 * term/ns-win.el (ns-suspend-error): New function.
4230 (ns-initialize-window-system): Add ns-suspend-error to
4231 suspend-hook (Bug#16612).
4233 2014-02-02 Daniel Colascione <dancol@dancol.org>
4235 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4236 Make loading cc-mode silent.
4238 2014-02-02 Daniel Colascione <dancol@dancol.org>
4240 * comint.el (comint-prompt-read-only): Change doc to suggest
4243 2014-02-02 Glenn Morris <rgm@gnu.org>
4245 * register.el (register-read-with-preview, point-to-register)
4246 (window-configuration-to-register, frame-configuration-to-register)
4247 (jump-to-register, number-to-register, view-register, insert-register)
4248 (copy-to-register, append-to-register, prepend-to-register)
4249 (copy-rectangle-to-register): Doc fixes.
4251 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4254 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4255 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4256 * help-fns.el (describe-function-1): Use it.
4258 2014-02-02 Glenn Morris <rgm@gnu.org>
4260 * register.el (register-preview-default): New function,
4261 split from register-preview.
4262 (register-preview-function): Rename from register-preview-functions,
4264 (register-preview): Use register-preview-function.
4265 (register-read-with-preview): Error on non-character event. (Bug#16595)
4267 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4269 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4270 `:' before binary operators (bug#16609). Don't check for `:'
4271 before `[' and `(', or their syntax status. A percent literal
4272 can't end with either.
4273 (ruby-font-lock-keywords): For built-ins that require arguments,
4274 check that they're followed by something that looks like argument
4277 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4279 * subr.el (butlast): Document what an omitted N means (bug#13437).
4282 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4284 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4285 depth shallower (bug#16587).
4286 (shr-tag-svg): Respect `shr-inhibit-images'.
4287 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4289 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4291 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4292 (ruby-smie-grammar): Make "." right-associative. Make its priority
4293 lower than the ternary and all binary operators.
4294 (ruby-smie-rules): Indent "(" relative to the first non-"."
4295 parent, or the first "." parent at indentation.
4296 Use `ruby-align-chained-calls' for indentation of "." tokens.
4299 2014-01-31 Juri Linkov <juri@jurta.org>
4301 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4302 from `make-hash-table'.
4304 * textmodes/ispell.el (ispell-init-process): Change message format
4305 to be consistent with other messages.
4307 2014-01-31 Glenn Morris <rgm@gnu.org>
4309 * delsel.el (delete-selection-mode): Doc fix.
4311 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4312 (trace-function-background): Doc fixes.
4314 * ido.el (ido-use-virtual-buffers): Doc fix.
4315 Reset :version, since the default value has not changed.
4317 * register.el (register-preview-delay, register-read-with-preview):
4320 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4321 do not mess with mail-buffer position (fixes 2009-11-03 change).
4322 * progmodes/cc-mode.el (c-submit-bug-report):
4323 Check auto-fill-mode is bound. (Bug#16592)
4325 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4327 * startup.el (fancy-splash-image-file): New function,
4328 split from fancy-splash-head.
4329 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4330 so that we are both using the same image. (Bug#16574)
4332 2014-01-30 Glenn Morris <rgm@gnu.org>
4334 * simple.el (eval-expression): Doc fix.
4336 * hexl.el (hexl-mode-hook):
4337 * ielm.el (ielm-mode-hook):
4338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4339 (lisp-interaction-mode-hook):
4340 * progmodes/cfengine.el (cfengine3-documentation-function):
4341 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4343 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4345 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4346 is a symbol (bug#16584).
4348 2014-01-30 Glenn Morris <rgm@gnu.org>
4350 * help.el (help-for-help-internal): Add "P" to text.
4352 2014-01-29 Glenn Morris <rgm@gnu.org>
4354 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4356 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4358 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4361 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4363 * progmodes/hideif.el: Extend to full CPP expression syntax.
4364 (hif-token-alist): Add missing tokens.
4365 (hif-token-regexp): Add support for float/octal/hex immediates.
4366 (hif-string-literal-regexp): New const.
4367 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4368 (hif-exprlist): New function.
4369 (hif-parse-if-exp): Use it.
4370 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4371 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4372 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4373 (hif-logxor, hif-comma): New functions.
4375 2014-01-28 Glenn Morris <rgm@gnu.org>
4377 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4379 * indent.el (tab-stop-list): Doc fix. Add :version.
4381 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4382 (cvs-append-to-ignore): Add compatibility alias.
4384 2014-01-27 Glenn Morris <rgm@gnu.org>
4386 * dired.el (dired-hide-details-mode): Don't autoload it,
4387 since it cannot be used outside Dired buffers anyway.
4389 * emulation/cua-base.el (cua-mode): Doc fix.
4391 * dired.el (dired-hide-details-hide-symlink-targets)
4392 (dired-hide-details-hide-information-lines)
4393 (dired-hide-details-mode): Doc fixes.
4395 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4396 * strokes.el (strokes-file): Doc fix. Bump :version.
4397 (strokes-help): Doc fix.
4398 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4399 * emulation/viper.el (viper): Doc fix for custom group.
4400 (top-level): Remove oh-so-no-longer-relevant text about vip.
4401 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4403 * ido.el (ido-save-directory-list-file):
4404 * saveplace.el (save-place-file):
4405 * calendar/timeclock.el (timeclock-file):
4406 * net/quickurl.el (quickurl-url-file):
4407 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4408 * progmodes/idlwave.el (idlwave-config-directory):
4409 * textmodes/remember.el (remember-data-file):
4412 2014-01-26 Glenn Morris <rgm@gnu.org>
4414 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4415 Doc fix. Make obsolete.
4416 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4418 * sort.el (delete-duplicate-lines): Doc fix.
4420 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4422 * progmodes/ada-mode.el (ada):
4423 * woman.el (woman): Link to info manual and Commentary section.
4425 * progmodes/flymake.el (flymake):
4426 * nxml/nxml-mode.el (nxml):
4428 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4429 * htmlfontify.el (htmlfontify):
4432 * ido.el (ido): Link to info manual.
4434 2014-01-25 Leo Liu <sdl.web@gmail.com>
4436 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4438 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4440 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4443 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4445 * net/eww.el (eww-download-callback):
4446 Fix reference to eww-download-directory.
4448 * emacs-lisp/bytecomp.el (byte-compile-file):
4449 Remove unused local variable `file-name'.
4451 2014-01-24 Glenn Morris <rgm@gnu.org>
4453 * woman.el (woman-default-faces, woman-monochrome-faces):
4454 Fix obsolescence specification.
4456 * subr.el (with-demoted-errors): Doc fix.
4458 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4460 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4461 (cl--macroexp-fboundp): New function.
4462 (cl--make-type-test): Use it.
4464 2014-01-23 Glenn Morris <rgm@gnu.org>
4466 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4467 * simple.el (eval-expression): Doc fixes.
4469 2014-01-22 Glenn Morris <rgm@gnu.org>
4471 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4473 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * emacs-lisp/package.el: Write files silently.
4476 (package-autoload-ensure-default-file, package--write-file-no-coding)
4477 (package-generate-description-file, package--download-one-archive)
4478 (package-install-from-archive): Tell `write-region' to stay quiet.
4479 (package-menu-mode, package-menu--print-info): Omit the Archive column
4480 if there's only one archive.
4481 (package-all-keywords, package--has-keyword-p): Remove dead code.
4483 2014-01-22 Glenn Morris <rgm@gnu.org>
4485 * version.el (emacs-bzr-version-bzr): Fix typo.
4487 * version.el (emacs-repository-get-version):
4488 Check either .bzr or .git, but not both.
4489 Make the git case actually use the DIR argument, and return nil
4490 rather than the empty string.
4491 Avoid error if .git exists but the git executable is not found.
4493 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4495 Fixes in window size functions around Bug#16430 and Bug#16470.
4496 * window.el (window-total-size, window-size): New argument ROUND.
4497 (window--min-delta-1, window-min-delta, window--max-delta-1):
4498 Be more conservative when calculating the numbers of lines or
4499 columns a window can shrink (Bug#16430).
4500 (fit-window-to-buffer): Simplify code.
4501 * term.el (term-window-width): Call window-body-width again.
4503 2014-01-22 Glenn Morris <rgm@gnu.org>
4505 * image.el (image-format-suffixes): Doc fix.
4507 * international/quail.el (quail-define-package): Doc fix.
4509 * emacs-lisp/authors.el (authors-valid-file-names)
4510 (authors-renamed-files-alist): Additions.
4512 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4513 reverts 2014-01-09 change. (Bug#16422)
4515 * calc/calc-embed.el (thing-at-point-looking-at):
4516 * emacs-lisp/map-ynp.el (x-popup-dialog):
4517 * obsolete/lmenu.el (x-popup-dialog):
4518 * emacs-lisp/package.el (url-recreate-url):
4519 * mail/mailclient.el (clipboard-kill-ring-save):
4520 * subr.el (x-popup-dialog): Update declaration.
4521 * mail/rmail.el (rmail-mime-message-p):
4522 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4524 2014-01-21 Daniel Colascione <dancol@dancol.org>
4526 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4527 Correctly detect when we're inside an arithmetic expansion form
4528 containing nested parenthesis.
4529 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4530 to detect cases where we shouldn't expand "<<" to a heredoc
4533 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4535 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4536 (eldoc--message-command-p): New function.
4537 (eldoc-display-message-p): Use it.
4538 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4539 message is not automatically erased for us.
4540 (eldoc-print-current-symbol-info): Erase previous message, if any.
4542 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4544 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4545 specify it's an interactive function.
4547 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4548 Fix regex used for scanning for citation keys which failed for
4549 citations with optional arguments.
4551 2014-01-21 Leo Liu <sdl.web@gmail.com>
4553 * simple.el (read--expression): Don't enable eldoc-mode.
4555 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4557 * simple.el (move-beginning-of-line): Make sure we don't move forward
4560 2014-01-20 Juri Linkov <juri@jurta.org>
4562 * saveplace.el (toggle-save-place, save-place-to-alist)
4563 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4564 'dired-mode) before checking for dired-directory. (Bug#16477)
4566 2014-01-20 Juri Linkov <juri@jurta.org>
4568 * indent.el (indent-line-to): Use backward-to-indentation
4569 instead of back-to-indentation. (Bug#16461)
4571 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4573 Revert some of the CANNOT_DUMP fix (Bug#16494).
4574 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4575 but fixing this can wait until after the next release.
4576 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4578 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4580 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4581 Use `password-word-equivalents'.
4582 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4583 to t. (Bug#5664, Bug#13124)
4585 2014-01-19 Alan Mackenzie <acm@muc.de>
4587 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4589 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4590 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4591 * progmodes/cc-mode.el (c-before-change, c-after-change)
4592 (c-font-lock-fontify-region): Bind it here.
4594 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4596 * term.el (term-window-width): Call window-text-width instead of
4597 window-width (Bug#16470).
4599 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4601 * simple.el (password-word-equivalents): Remove duplicates.
4602 Sort, to make this easier next time.
4603 Downcase. Omit ": " after "jelszó".
4605 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4607 * term/common-win.el (saved-region-selection): Defvar it.
4608 (x-select-text): Set saved-region-selection (Bug#16382).
4610 2014-01-18 Glenn Morris <rgm@gnu.org>
4612 * emacs-lisp/authors.el (authors-aliases)
4613 (authors-renamed-files-alist): Add some entries.
4615 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4617 * net/tramp.el (tramp-password-prompt-regexp):
4618 Use `password-word-equivalents' if available.
4619 (tramp-action-password, tramp-process-one-action)
4620 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4622 2014-01-17 Chong Yidong <cyd@gnu.org>
4624 * simple.el (password-word-equivalents): New defcustom.
4625 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4627 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4630 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4632 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4633 (ruby-align-to-stmt-keywords): Change the default value.
4634 Use `ruby-alignable-keywords' to generate the possible customization
4636 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4637 keywords, check against the value of `ruby-alignable-keywords'
4638 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4640 2014-01-17 Glenn Morris <rgm@gnu.org>
4642 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4644 Make M-x authors return zero *Authors Errors* from current logs.
4645 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4646 (authors-ignored-files): Add some entries, remove others.
4647 (authors-ambiguous-files, authors-valid-file-names):
4649 (authors-renamed-files-alist): Add, remove, and adjust entries.
4650 (authors-renamed-files-regexps): Add some entries.
4651 Remove some very broad ones. Make some entries `lax'.
4652 (authors-lax-changelogs): New constant.
4653 (authors-disambiguate-file-name): Treat top-level specially.
4654 (authors-lax-changelog-p): New function.
4655 (authors-canonical-file-name): Check file as written against
4656 authors-valid-file-names. Do not special-case etc/.
4657 Handle `lax' logs and authors-renamed-files-regexps elements.
4659 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4661 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4662 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4665 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4667 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4668 Assume we're already in the proper buffer.
4669 Inspired by Anders Lindgren <andlind@gmail.com>.
4670 (follow-post-command-hook): Call it from the right buffer.
4671 (follow-comint-scroll-to-bottom): Adjust call.
4672 (follow-all-followers): Use get-buffer-window-list.
4674 2014-01-15 Daniel Colascione <dancol@dancol.org>
4676 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4677 `buffer-file-name' in interactive-form so that we don't leave
4678 pathless file names in `file-name-history'.
4680 2014-01-15 Juri Linkov <juri@jurta.org>
4682 * indent.el (indent-rigidly): Set deactivate-mark to nil
4683 in transient indentation mode. (Bug#16438)
4685 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4687 * emacs-lisp/package.el (package-desc-keywords): New function
4689 (describe-package-1, package-all-keywords)
4690 (package--has-keyword-p): Use it.
4692 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4694 * simple.el (define-alternatives): When creating the
4695 COMMAND-alternatives variable, assign COMMAND as its definition
4696 name so that `describe-variable' can relocate it.
4698 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4700 * font-lock.el (font-lock-keywords): Fix typo in docstring
4703 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4705 * ispell.el (ispell-region): Reset `in-comment' for new line
4706 instead of wrongly reset `add-coment' (bug#13577).
4708 2014-01-14 Daiki Ueno <ueno@gnu.org>
4710 * epa-file.el (epa-file-write-region): Encode the region according
4711 to `buffer-file-format'. Problem reported at:
4712 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4714 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4716 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4717 so it applies in the right buffer (bug#16410).
4719 2014-01-13 Daniel Colascione <dancol@dancol.org>
4721 * textmodes/rst.el (rst-define-key): Provide deprecated
4722 keybindings through named functions instead of anonymous ones so
4723 that "??" doesn't appear in describe-mode output.
4725 2014-01-13 Bastien Guerry <bzg@gnu.org>
4727 * simple.el (define-alternatives): Call the selected command
4728 interactively. When setting `COMMAND--implementation' for the
4729 first time, tell the user how to chose another implementation.
4730 Enhance the docstring.
4732 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4734 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4735 (log-edit--match-first-line): New function.
4736 (log-edit-font-lock-keywords): Use it.
4737 (log-edit-mode): Make jit-lock-defer-multiline work.
4739 2014-01-13 Bastien Guerry <bzg@gnu.org>
4741 * rect.el (rectangle-mark-mode): When the region is not active,
4742 display a message saying that the mark as been set and that
4743 rectangle mode is in use.
4744 (rectangle--highlight-for-redisplay): Only put an overlay with a
4745 visible vertical bar when (display-graphic-p) is non-nil.
4746 This partially fixes Bug#16403.
4748 2014-01-13 Juri Linkov <juri@jurta.org>
4750 * info.el (Info-find-file): Go to DIR before displaying the error
4751 about a nonexistent file if no previous Info file is visited.
4752 Use `user-error' instead of `error' for "Info file %s does not exist".
4753 (Info-find-node-2): In case of a nonexistent node in unwind forms
4754 go to the Top node if there is no previous node to revert to.
4757 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4759 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4760 * window.el (fit-frame-to-buffer): Fix doc-string.
4761 Respect window-min-height/-width. Fit pixelwise when
4762 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4763 when avoiding that frame goes partially off-screen.
4764 (fit-window-to-buffer): Respect window-min-height/-width
4767 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4769 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4770 after an empty line.
4772 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * net/shr.el (shr-render-region): Autoload.
4776 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4778 * net/eww.el (eww-download-directory): Rename from
4779 `eww-download-path' (Bug#16419).
4781 2014-01-12 Leo Liu <sdl.web@gmail.com>
4783 * dired-x.el (dired-mode-map): Fix last change.
4785 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4787 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4790 * emacs-lisp/generic.el (generic--normalize-comments):
4791 Rename from generic--normalise-comments. All uses changed.
4792 * play/bubbles.el (bubbles--neighborhood-score)
4793 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4794 (bubbles--neighborhood-available)
4795 (bubbles--update-neighborhood-score):
4796 Rename from names with 'neighbourhood'. All uses changed.
4798 2014-01-12 Leo Liu <sdl.web@gmail.com>
4800 Re-implement the feature of showing eldoc info after editing.
4801 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4802 (eldoc-edit-message-commands): New function.
4803 (eldoc-print-after-edit): New variable.
4804 (eldoc-pre-command-refresh-echo-area): Emit message only by
4805 eldoc-message-commands.
4806 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4807 if eldoc-print-after-edit is set. (Bug#16346)
4808 * simple.el (read--expression): Enable eldoc-mode.
4809 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4811 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4812 Eric S. Raymond <esr@thyrsus.com>
4814 * version.el (emacs-repository-get-version): Enhance so the
4815 function works correctly in either a Bazaar or Git repo.
4817 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4819 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4820 Goes with removal of the joke manpages from /etc.
4822 2014-01-10 Kenichi Handa <handa@gnu.org>
4824 * mail/rmail.el (rmail-get-coding-system):
4825 Check rmail-get-coding-function before "funcall"ing it.
4827 2014-01-10 Glenn Morris <rgm@gnu.org>
4829 * emacs-lisp/authors.el (authors-fixed-entries):
4830 Update for files that no longer exist.
4832 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4834 * version.el (emacs-bzr-get-version): Restore compatibilty with
4837 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4839 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4842 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4844 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4846 2014-01-10 Chong Yidong <cyd@gnu.org>
4848 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4850 2014-01-10 Anders Lindgren <andlind@gmail.com>
4852 * follow.el (follow-cache-command-list): Include right-char and
4855 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4858 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4859 * woman.el (woman-mark-horizontal-position):
4860 Rename from woman-mark-horizonal-position. Use changed.
4862 2014-01-10 Glenn Morris <rgm@gnu.org>
4864 * info.el (info-initialize): If running uninstalled, ensure our
4865 own info files are always found first, even if INFOPATH is set.
4867 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4869 2014-01-09 David Engster <deng@randomsample.de>
4871 * emacs-lisp/eieio-custom.el:
4872 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4873 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4874 * emacs-lisp/eieio.el: Regenerate autoloads.
4876 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4878 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4879 following renames. (Bug#8756)
4881 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4883 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4885 (activate-mark): Add `no-tmm' argument.
4886 (set-mark, push-mark-command): Use it instead of running
4887 activate-mark-hook by hand.
4889 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4891 In preparation for the move to git, sanitize out some
4892 Bazaar-specific names.
4894 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4896 * version.el (emacs-bzr-version): Name changed to
4897 emacs-repository-version. Obsolete-variable alias made.
4898 * loadup.el: Follow through on this name change.
4899 * mail/emacsbug.el (report-emacs-bug): Factor out any
4900 assumption about the version control system in use.
4902 2014-01-08 David Engster <deng@randomsample.de>
4904 * help-fns.el (help-fns-describe-function-functions):
4905 New variable to call functions for augmenting help buffers.
4906 (describe-function-1): Remove explicit calls to
4907 `help-fns--compiler-macro', `help-fns--parent-mode' and
4908 `help-fns--obsolete'. Put them in above new variable instead, and
4909 call them through `run-hook-with-args'.
4910 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4911 `eieio-describe-class'. Not meant for interactive use anymore,
4912 but to augment existing help buffers. Remove optional second
4913 argument. Create proper button for file location.
4914 Rewrite function to use `insert' instead of `princ' and `prin1' where
4916 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4917 (eieio-method-def, eieio-class-def): Move further up.
4918 (describe-method, describe-generic, eieio-describe-method):
4920 (eieio-help-constructor, eieio-help-generic): Rename from
4921 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4922 Rewrite to use `insert' in the current buffer and use proper help
4924 (eieio-help-find-method-definition)
4925 (eieio-help-find-class-definition): Also accept symbols as
4927 (eieio-help-mode-augmentation-maybee): Remove.
4928 (eieio-describe-class-sb): Use `describe-function'.
4929 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4930 Add `eieio-help-generic' and `eieio-help-constructor'.
4932 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4935 * language/china-util.el (hz-ascii-designation):
4936 Rename from hz-ascii-designnation.
4937 (hz-ascii-designation): Rename from hz-ascii-designnation.
4940 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4945 2014-01-08 Bastien Guerry <bzg@gnu.org>
4947 * emacs-lisp/package.el (package-delete):
4948 Correctly delete the package from package-alist.
4950 2014-01-08 Daiki Ueno <ueno@gnu.org>
4952 * emacs-lisp/package.el (url-recreate-url): Declare.
4953 (url-http-target-url): Declare.
4954 (package-handle-response): Include requested URL in the error message.
4955 (package--check-signature): Don't re-signal errors from
4956 package--with-work-buffer. Suggested by Stefan Monnier.
4958 2014-01-07 Bastien Guerry <bzg@gnu.org>
4960 * minibuffer.el (completion--try-word-completion): When both a
4961 hyphen and a space are possible candidates for the character
4962 following a word, display both candidates. (Bug#15980)
4964 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4966 * window.el (balance-windows-2): While rounding don't give a
4967 window more than the remainder. Bug#16351, bug#16383.
4969 2014-01-07 Glenn Morris <rgm@gnu.org>
4971 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4972 (menu-bar-help-menu): Use view-external-packages instead.
4974 2014-01-07 Bastien Guerry <bzg@gnu.org>
4976 * emacs-lisp/package.el (package-delete): Also delete the package
4977 name from `package-alist', not its description only.
4979 2014-01-07 Glenn Morris <rgm@gnu.org>
4981 * help.el (view-external-packages):
4982 * menu-bar.el (menu-bar-help-extra-packages):
4983 Visit efaq.info rather than etc/MORE.STUFF.
4985 2014-01-07 Juri Linkov <juri@jurta.org>
4987 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4988 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4990 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4991 that shadows RET. (Bug#16342)
4993 2014-01-07 Chong Yidong <cyd@gnu.org>
4995 * isearch.el (isearch-yank-char, isearch-yank-word)
4996 (isearch-yank-line): Doc fix.
4998 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5000 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5001 * emacs-lisp/elint.el (elint-find-builtins):
5002 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5003 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5004 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5005 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5006 * apropos.el (apropos-safe-documentation):
5007 * subr.el (symbol-file): Remove redundant fboundp.
5008 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5010 2014-01-06 Bastien Guerry <bzg@gnu.org>
5012 * hl-line.el (global-hl-line-overlay): Make a local variable.
5013 (global-hl-line-overlays): New variable to store all overlays.
5014 (global-hl-line-mode): Don't delete overlays from the current
5015 buffer when `global-hl-line-sticky-flag' is non-nil.
5016 (global-hl-line-highlight): Add new overlays to
5017 `global-hl-line-overlays'.
5018 (global-hl-line-unhighlight-all): New function to delete all
5019 overlays when turning off `global-hl-line-mode'.
5020 This fixes Bug#16183.
5022 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5024 * subr.el (set-transient-map): Fix nested case and docstring.
5026 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5028 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5031 2014-01-06 Daniel Colascione <dancol@dancol.org>
5033 Fix defun navigation in vc log view.
5035 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5036 like `beginning-of-defun'.
5037 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5038 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5039 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5040 (log-view-extract-comment): Call `log-view-current-entry' directly
5041 instead of relying on broken `log-view-beginning-of-defun' behavior.
5043 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5046 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5047 * emacs-lisp/debug.el (cancel-debug-on-entry):
5048 * epg.el (epg-error-to-string):
5049 * files.el (recover-file):
5050 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5051 * mail/emacsbug.el (report-emacs-bug-hook):
5052 * mail/sendmail.el (mail-recover):
5053 * ses.el (ses-yank-resize):
5054 * term/ns-win.el (ns-print-buffer):
5055 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5056 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5058 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5060 2014-01-06 Leo Liu <sdl.web@gmail.com>
5062 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5063 to avoid shadowing global key. (Bug#16354)
5065 2014-01-06 Daniel Colascione <dancol@dancol.org>
5067 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5070 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5072 * window.el (balance-windows): Add mising t to fix Bug#16351.
5074 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5078 (shr-insert): If we have a word that's longer than `shr-width',
5079 break after it anyway. Otherwise we'll do no breaking once we get
5082 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5084 * net/eww.el (eww): Support single/double quote for search.
5085 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5086 (eww-history-quit): Delete and use quit-window.
5087 (eww-history-kill): Delete, because it doesn't work well and
5089 (eww-history-mode-map): Delete some keys and add easy-menu.
5091 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5093 Fix misspelling of 'chinese' in rx (Bug#16237).
5094 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5097 Change subword regexps back to vars (Bug#16296).
5098 * progmodes/subword.el (subword-forward-regexp)
5099 (subword-backward-regexp): Change these back to variables.
5101 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5103 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5104 syntax-begin-function (bug#16247).
5106 2014-01-03 Chong Yidong <cyd@gnu.org>
5108 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5109 (advice--docstring): Delete variable.
5110 (advice--make-1): Leave the docstring empty.
5111 (advice-add): Use function-documentation for advised docstring.
5113 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5114 Ignore function-documentation property when getting documentation.
5115 (ad-activate-advised-definition): Use function-documentation
5116 generate the docstring.
5117 (ad-make-advised-definition): Don't call
5118 ad-make-advised-definition-docstring.
5119 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5122 * progmodes/sql.el (sql-help): Use function-documentation instead
5123 of dynamic-docstring-function property. No need to autoload now.
5124 (sql--help-docstring): New variable.
5125 (sql--make-help-docstring): Use it.
5127 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5129 * ielm.el (ielm-tab): Retarget.
5130 (ielm-map): Use ielm-tab for tab.
5131 (ielm-complete-filename): Use comint-filename-completion.
5132 (ielm-complete-symbol): Remove.
5133 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5134 remove ielm-tab from completion-at-point-functions (bug#16224).
5136 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5137 Beware signals raised by predicates (bug#16201).
5139 2014-01-02 Richard Stallman <rms@gnu.org>
5141 * dired-aux.el (dired-do-print): Handle printer-name.
5143 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5144 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5145 (rmail-epa-decrypt): Turn off mime processing.
5147 * mail/rmail.el (rmail-make-in-reply-to-field):
5148 Add parens in message-id.
5150 * mail/rmail.el (rmail-get-coding-function): Variable.
5151 (rmail-get-coding-system): Use it.
5153 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5155 * international/mule-conf.el: Unify the charset indian-is13194.
5156 (indian-is13194): Specify unify-map.
5158 2013-12-31 Leo Liu <sdl.web@gmail.com>
5160 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5162 2013-12-30 Daniel Colascione <dancol@dancol.org>
5164 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5165 of printing a useless when we resume from sleep.
5167 * progmodes/sh-script.el
5168 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5169 in indentation code. (Bug#16233)
5171 2013-12-28 João Távora <joaotavora@gmail.com>
5173 * elec-pair.el (electric-pair-post-self-insert-function):
5174 Don't open extra newlines at beginning of buffer. (Bug#16272)
5176 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5178 * frame.el (window-system-for-display): Don't allow to create a
5179 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5181 2013-12-28 Glenn Morris <rgm@gnu.org>
5183 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5186 * apropos.el (apropos-match-face):
5187 * calculator.el (calculator-displayer):
5188 * dabbrev.el (dabbrev-search-these-buffers-only):
5189 * face-remap.el (buffer-face-mode-face):
5190 * simple.el (yank-handled-properties):
5191 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5192 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5193 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5194 (hashcash-double-spend-database):
5195 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5196 (ruby-deep-indent-paren-style):
5197 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5198 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5199 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5200 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5201 Specify custom types.
5203 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5204 * bookmark.el (bookmark-bmenu-use-header-line):
5205 * doc-view.el (doc-view-scale-internally):
5206 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5207 * register.el (register-preview-delay):
5208 * net/shr.el (shr-bullet):
5209 * progmodes/cfengine.el (cfengine-cf-promises)
5210 (cfengine-parameters-indent):
5211 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5212 * textmodes/reftex-vars.el (reftex-label-regexps):
5213 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5215 * net/tls.el (tls-certtool-program): Fix default value.
5217 * desktop.el (desktop-restore-in-current-display):
5218 * newcomment.el (comment-empty-lines):
5219 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5220 (idlwave-pad-keyword):
5221 * progmodes/tcl.el (tcl-tab-always-indent):
5222 * textmodes/reftex-vars.el (reftex-index-default-tag):
5223 * elec-pair.el (electric-pair-skip-whitespace):
5224 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5226 * emacs-lisp/authors.el (authors-ignored-files)
5227 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5229 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5231 * shell.el (shell-dynamic-complete-command): Doc fix.
5232 (shell--command-completion-data): Shell completion now matches
5233 executable filenames from the current buffer's directory, on
5234 systems in which this behavior is the default (windows-nt, ms-dos).
5236 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5238 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5240 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5242 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5245 * electric.el: Move all electric-pair-* to elec-pair.el.
5246 * elec-pair.el: New file, split from electric.el.
5248 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5250 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5251 indentation level is larger than the width, because that will
5253 (shr-insert): Fill repeatedly long texts, so that Japanese is
5254 formatted correctly (bug#16263).
5255 (shr-find-fill-point): Off by one error in comparison with the
5258 2013-12-26 João Távora <joaotavora@gmail.com>
5260 * electric.el (electric-pair-mode): More flexible engine for skip-
5261 and inhibit predicates, new options for pairing-related functionality.
5262 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5263 if that keeps or improves their balance in buffers.
5264 (electric-pair-delete-adjacent-pairs): Delete the pair when
5265 backspacing over adjacent matched delimiters.
5266 (electric-pair-open-extra-newline): Open extra newline when
5267 inserting newlines between adjacent matched delimiters.
5268 (electric--sort-post-self-insertion-hook):
5269 Sort post-self-insert-hook according to priority values when
5270 minor-modes are activated.
5271 * simple.el (newline-and-indent): Call newline with interactive
5273 (blink-paren-post-self-insert-function): Set priority to 100.
5274 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5275 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5276 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5277 electric-pair-open-newline-between-pairs to nil.
5279 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5281 * progmodes/python.el: Use lexical-binding.
5282 (python-nav-beginning-of-defun): Stop searching ASAP.
5284 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5286 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5287 Fix interactive spec. Doc fix. (Bug#15754)
5289 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5291 * emacs-lisp/byte-run.el (eval-when-compile):
5292 * progmodes/cc-defs.el (cc-eval-when-compile):
5293 Fix edebug spec (bug#16184).
5295 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5297 * net/shr.el (shr-visit-file): Remove debugging function.
5298 (shr-insert): Don't infloop if we can't find a good place to break
5299 the line (bug#16256).
5301 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5303 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5304 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5305 python-nav-lisp-forward-sexp-safe.
5306 (python-nav--forward-sexp): New argument SAFE allows switching
5307 forward sexp movement behavior for parens.
5308 (python-nav-forward-sexp): Throw errors on unterminated parens
5310 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5311 (python-nav-backward-sexp-safe): New functions.
5312 (python-shell-buffer-substring):
5313 Use `python-nav-forward-sexp-safe'.
5315 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5317 * net/shr.el (shr-find-fill-point): Don't break lines before a
5319 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5320 (shr-find-fill-point): Remove the special checks for the quotation
5321 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5323 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5325 * net/eww.el (eww-form-textarea): Use a different face for
5326 textareas than text input since they have different keymaps
5329 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5331 * progmodes/python.el (python-nav-beginning-of-statement):
5332 Speed up (Bug#15295).
5334 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5336 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5337 the window configuration.
5339 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5341 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5342 we run on MS-Windows or MS-DOS.
5344 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5346 * window.el (balance-windows-area): Call window-size instead of
5347 window-height and window-width. Bug#16241.
5349 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5351 * net/eww.el (eww-bookmark-quit): Remove.
5352 (eww-bookmark-browse): Restore the window configuration when you
5353 choose a bookmark (bug#16144).
5355 2013-12-24 Daniel Colascione <dancol@dancol.org>
5357 * icomplete.el: Remove redundant :group arguments to `defcustom'
5359 (icomplete-show-matches-on-no-input): New customizable variable.
5360 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5361 we have something to show.
5362 (icomplete-exhibit): Compute completions even if we have no user input.
5364 2013-12-23 Daniel Colascione <dancol@dancol.org>
5366 * icomplete.el: Move `provide' to end of file.
5368 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5370 * net/gnutls.el (gnutls-verify-error): Add version tag.
5372 2013-12-23 Chong Yidong <cyd@gnu.org>
5374 * subr.el (set-transient-map): Rename from
5375 set-temporary-overlay-map. Doc fix.
5377 * face-remap.el (text-scale-adjust):
5378 * indent.el (indent-rigidly):
5379 * kmacro.el (kmacro-call-macro):
5380 * minibuffer.el (minibuffer-force-complete):
5381 * repeat.el (repeat):
5382 * simple.el (universal-argument--mode):
5383 * calendar/todo-mode.el (todo-insert-item--next-param):
5384 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5386 * indent.el (indent-rigidly): Use substitute-command-keys.
5388 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5390 * net/eww.el (eww-tag-select): Add text-property to jump to next
5392 (eww): Add non-supported ftp error.
5394 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5396 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5397 comments. Handle electric indent after typing `?' and `!'.
5399 2013-12-22 Chong Yidong <cyd@gnu.org>
5401 * faces.el (face-spec-recalc): If the theme specs are not
5402 applicable to a frame, fall back on the defface spec.
5403 This prevents themes from obliterating faces on low-color terminals.
5405 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5407 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5408 after `{'. We need it after block openers, and it doesn't seem
5409 to hurt after hash openers.
5411 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5413 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5414 extracted from `ruby-smie-rules'.
5415 (ruby--electric-indent-chars): New variable.
5416 (ruby--electric-indent-p): New function.
5417 (ruby-mode): Use `electric-indent-functions' instead of
5418 `electric-indent-chars'.
5420 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5422 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5424 (ruby-smie-rules): Indent plus one level after `=>'.
5426 2013-12-21 Richard Stallman <rms@gnu.org>
5428 * simple.el (newline): Doc fix.
5430 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5432 * net/eww.el (eww-list-histories, eww-list-histories)
5433 (eww-history-browse, eww-history-quit, eww-history-kill)
5434 (eww-history-mode-map, eww-history-mode): New command and
5435 functions to list browser histories.
5436 (eww-form-text): Support text form with disabled
5437 and readonly attributes.
5438 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5440 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5442 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5443 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5444 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5445 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5447 (eww-bookmark-mode-map): Add menu.
5448 (eww-render, eww-mode): Use `setq-local'.
5449 (eww-tool-bar-map): New variable.
5450 (eww-mode): Set `tool-bar-map'.
5451 (eww-view-source): Check for `html-mode' with `fboundp'.
5453 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5455 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5456 elements with text inside. Also remove debugging.
5458 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5460 * cus-start.el (all): Add ns-use-srgb-colorspace.
5462 2013-12-21 Chong Yidong <cyd@gnu.org>
5464 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5465 undefined. Thus, theme settings for undefined faces do not take
5466 effect until the faces are defined with defface, the same as with
5469 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5470 (face-spec-reset-face): Don't assign extra properties in temacs.
5471 (face-spec-recalc): Apply X resources too.
5473 2013-12-21 Chong Yidong <cyd@gnu.org>
5475 * faces.el (face-spec-set):
5476 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5477 * custom.el (defface): Doc fixes (Bug#16203).
5479 * indent.el (indent-rigidly-map): Add docstring, and move commands
5480 into named functions.
5481 (indent-rigidly-left, indent-rigidly-right)
5482 (indent-rigidly-left-to-tab-stop)
5483 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5484 indentation direction based on bidi direction, and accumulate
5485 sequential commands in a single undo boundary.
5486 (indent-rigidly--pop-undo): New utility function.
5488 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5490 * faces.el (read-face-name): Require crm.el when using crm-separator.
5492 2013-12-20 Daniel Colascione <dancol@dancol.org>
5494 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5495 so that we don't reflow comments into the shebang line.
5497 2013-12-20 Juri Linkov <juri@jurta.org>
5499 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5500 a position when `dired-directory' is non-nil. Check integer
5501 positions with `integerp'.
5502 (toggle-save-place, save-places-to-alist): Add check for
5504 (save-place-find-file-hook): Check integer positions with
5506 (save-place-dired-hook): Use `dired-goto-file' when
5507 `dired-filename' is found in the assoc list. Check integer
5508 positions with `integerp'.
5509 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5511 * dired.el (dired-initial-position-hook): Rename back from
5512 `dired-initial-point-hook'.
5513 (dired-initial-position): Rename `dired-initial-point-hook' to
5514 `dired-initial-position-hook'.
5515 (dired-file-name-at-point): Doc fix. (Bug#15329)
5517 2013-12-20 Juri Linkov <juri@jurta.org>
5519 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5520 (read-regexp-suggestions): New function.
5521 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5522 Use `read-regexp-suggestions'. Add non-empty default to history
5524 (occur-read-regexp-defaults-function): Remove function.
5525 (occur-read-primary-args): Use `regexp-history-last' instead of
5526 `occur-read-regexp-defaults-function'.
5528 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5529 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5530 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5531 `hi-lock-read-regexp-defaults-function'. Doc fix.
5532 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5533 with `find-tag-default-as-symbol-regexp'. Doc fix.
5534 (hi-lock-read-regexp-defaults): Remove function.
5535 (hi-lock-regexp-okay): Add check for null.
5537 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5538 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5540 * subr.el (find-tag-default-as-symbol-regexp): New function.
5541 (find-tag-default-as-regexp): Move symbol regexp formatting to
5542 `find-tag-default-as-symbol-regexp'.
5544 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5546 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5549 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5551 * calendar/todo-mode.el: New implementation of item insertion
5552 commands and key bindings.
5553 (todo-key-prompt): New face.
5554 (todo-insert-item): New command.
5555 (todo-insert-item--parameters): New defconst, replacing defvar
5556 todo-insertion-commands-args-genlist.
5557 (todo-insert-item--param-key-alist): New defconst, replacing
5558 defvar todo-insertion-commands-arg-key-list.
5559 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5560 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5561 (todo-insert-item--next-param): New functions.
5562 (todo-insert-item--args, todo-insert-item--argleft)
5563 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5565 (todo-key-bindings-t): Change binding of "i" from
5566 todo-insertion-map to todo-insert-item.
5567 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5568 (todo-insertion-command-name, todo-insertion-commands-names)
5569 (todo-define-insertion-command, todo-insertion-commands)
5570 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5572 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5574 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5575 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5577 (todo-move-category): Allow choosing a non-existing todo file to
5578 move the category to, and create that file.
5579 (todo-default-priority): New user option.
5580 (todo-set-item-priority): Use it.
5581 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5582 (desktop-restore-file-buffer): Declare.
5583 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5584 (todo-modes-set-2): Locally set desktop-save-buffer to
5585 todo-desktop-save-buffer.
5586 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5587 (auto-mode-alist): Add autoload cookie.
5589 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5591 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5592 helpers.el was a poor choice of name.
5593 (string-remove-prefix): New function.
5594 (string-remove-suffix): New function.
5596 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5598 Fix assignment for new window total sizes.
5599 * window.el (window--pixel-to-size): Remove function.
5600 (window--pixel-to-total-1, window--pixel-to-total):
5601 Fix calculation of new total sizes.
5603 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5605 * comint.el (comint-output-filter): Fix rear-nonsticky property
5606 placement (Bug#16010).
5608 2013-12-20 Chong Yidong <cyd@gnu.org>
5610 * faces.el (read-color): Minor fix for completion function.
5612 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5614 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5615 New option. (Bug#16182)
5616 (ruby-smie--indent-to-stmt-p): Use it.
5617 (ruby-smie-rules): Revert the logic in the handling of `when'.
5618 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5619 (ruby-deep-arglist, ruby-deep-indent-paren)
5620 (ruby-deep-indent-paren-style): Update docstrings to note that the
5621 vars don't have any effect with SMIE.
5623 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5625 * calc/calc.el (calc-enter, calc-pop): Use the variable
5626 `calc-context-sensitive-enter'.
5628 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5630 * net/shr.el (shr-insert): Protect against infloops in degenerate
5633 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5635 * progmodes/octave.el (octave): Add link to manual and octave
5637 (octave-mode-menu): Link to octave-mode manual.
5639 2013-12-20 Leo Liu <sdl.web@gmail.com>
5641 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5642 insertion using skeleton-end-newline. (Bug#16138)
5644 2013-12-20 Juri Linkov <juri@jurta.org>
5646 * replace.el (occur-engine): Use `add-face-text-property'
5647 to add the face property to matches and titles. (Bug#14645)
5649 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5650 the palette of other hi-lock colors.
5651 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5653 2013-12-19 Juri Linkov <juri@jurta.org>
5655 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5656 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5657 (minibuffer-history-symbol): Move variable declaration closer to
5660 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5663 2013-12-19 Juri Linkov <juri@jurta.org>
5665 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5667 (log-edit-hook): Add it to :options. (Bug#16170)
5669 2013-12-19 Juri Linkov <juri@jurta.org>
5671 * simple.el (eval-expression-print-format): Don't check for
5672 command names and the last command. Always display additional
5673 formats of the integer result in the echo area, and insert them
5674 to the current buffer only with a zero prefix arg.
5675 Display character when char-displayable-p is non-nil.
5676 (eval-expression): With a zero prefix arg, set `print-length' and
5677 `print-level' to nil, and insert the integer values from
5678 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5680 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5681 `eval-last-sexp-arg-internal'. Doc fix.
5682 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5683 `eval-last-sexp-print-value'. Doc fix.
5684 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5685 Set `print-length' and `print-level' to nil when arg is zero.
5686 (eval-last-sexp): Doc fix.
5687 (eval-defun-2): Print the integer values from
5688 `eval-expression-print-format' at the end.
5690 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5691 values from `eval-expression-print-format' at the end.
5693 * ielm.el (ielm-eval-input): Print the integer
5694 values from `eval-expression-print-format' at the end.
5696 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5698 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5699 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5701 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5703 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5704 (hl-line-highlight, global-hl-line-highlight): Use it.
5705 (hl-line-overlay): Use defvar-local.
5707 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5709 * term/ns-win.el: Require dnd.
5710 (global-map): Remove drag items.
5711 (ns-insert-text, ns-set-foreground-at-mouse)
5712 (ns-set-background-at-mouse):
5713 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5714 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5717 2013-12-19 Glenn Morris <rgm@gnu.org>
5719 * emacs-lisp/ert.el (ert-select-tests):
5720 Fix string/symbol mixup. (Bug#16121)
5722 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5724 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5725 keywords to their parent.
5727 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5729 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5730 first arg to be a string (fixed dead code), or an operator symbol.
5731 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5733 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5734 did nothing. Don't respond to `(:after ".")', it will be called
5735 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5736 change anything. Only return indentation for binary operators
5737 when they are hanging. De-dent opening paren when its parent is
5738 `.', otherwise it looks bad when the dot is not at bol or eol
5741 2013-12-19 Juri Linkov <juri@jurta.org>
5743 * replace.el (query-replace-read-args): Split a non-negative arg
5744 and a negative arg into separate elements.
5745 (query-replace, query-replace-regexp, replace-string)
5746 (replace-regexp): Add arg `backward'. Doc fix.
5747 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5748 move point to the beginning of the match.
5749 (replace-search, replace-highlight): Use new arg `backward'
5750 to set the value of `isearch-forward'.
5751 (perform-replace): Add arg `backward' and use it to perform
5752 replacement backward. (Bug#14979)
5754 * isearch.el (isearch-query-replace): Use a negative prefix arg
5755 to call `perform-replace' with a non-nil arg `backward'.
5757 2013-12-18 Juri Linkov <juri@jurta.org>
5759 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5760 to the default list. Move `log-edit-show-files' to the end.
5761 Add more available functions to options.
5762 (log-edit): Move default specific settings to
5763 `log-edit-insert-message-template'. Don't move point.
5764 (log-edit-insert-message-template): New function.
5765 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5768 2013-12-18 Juri Linkov <juri@jurta.org>
5770 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5771 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5773 2013-12-18 Leo Liu <sdl.web@gmail.com>
5775 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5778 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5780 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5781 formats for displaying file sizes when the -s switch is given.
5782 Instead, compute a separate format for displaying the size in
5783 blocks, which is displayed in addition to the "regular" size.
5784 When -h is given in addition to -s, produce size in blocks in
5785 human-readable form as well. (Bug#16179)
5787 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5789 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5790 Reference tables with ~\ref{...} instead of only \ref{...}.
5792 2013-12-18 Chong Yidong <cyd@gnu.org>
5794 * cus-edit.el (custom-magic-alist): Fix "themed" description
5797 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5798 is non-nil, do not create a new entry in the symbol's theme-value
5799 or theme-face property; update theme-settings only (Bug#14664).
5800 (custom-available-themes): Doc fix.
5802 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5805 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5807 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5809 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5812 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5814 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5816 2013-12-18 Glenn Morris <rgm@gnu.org>
5818 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5819 * cus-start.el (load-prefer-newer): New option.
5821 2013-12-18 Le Wang <l26wang@gmail.com>
5823 * comint.el (comint-previous-matching-input-from-input):
5824 Retain point (Bug#13404).
5826 2013-12-18 Chong Yidong <cyd@gnu.org>
5828 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5830 2013-12-18 Glenn Morris <rgm@gnu.org>
5832 * mail/emacsbug.el (report-emacs-bug):
5833 Only mention enable-multibyte-characters if non-standard.
5835 2013-12-17 Juri Linkov <juri@jurta.org>
5837 * arc-mode.el (archive-extract-by-file): Check if directory exists
5838 before deletion to not show irrelevant errors if it doesn't exist.
5840 2013-12-17 Juri Linkov <juri@jurta.org>
5842 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5845 * net/eww.el (browse-web): Add alias to `eww'.
5846 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5847 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5849 * net/browse-url.el (browse-url-browser-function): Move `eww'
5850 closer to similar functions.
5852 * startup.el (fancy-startup-screen, fancy-about-screen):
5853 Set browse-url-browser-function to eww-browse-url locally.
5856 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5858 * window.el (window--pixel-to-total): Remove unused `mini' var.
5859 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5860 (split-window): Remove unused `new' var.
5861 (window--display-buffer): Remove unused `frame' and `delta' vars.
5862 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5865 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5867 * dired.el (dired-mark-pop-up):
5868 * register.el (register-preview): Don't bind
5869 split-height-threshold here since it's now done in
5870 display-buffer-below-selected.
5872 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5874 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5875 xterm-rgb-convert-to-16bit.
5876 (rxvt-register-default-colors): Standardize with
5877 xterm-register-default-colors (Bug#14078).
5879 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5881 * simple.el (kill-region): Pass mark first, then point, so that
5882 kill-append works right (Bug#12819).
5883 (copy-region-as-kill, kill-ring-save): Likewise.
5885 2013-12-17 Leo Liu <sdl.web@gmail.com>
5887 * net/rcirc.el (rcirc-add-face):
5888 * eshell/em-prompt.el (eshell-emit-prompt):
5889 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5892 2013-12-17 Chong Yidong <cyd@gnu.org>
5894 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5895 Suggested by Xue Fuqiao.
5897 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5899 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5901 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * net/shr.el (shr-insert-document): Remove unused var
5904 `shr-preliminary-table-render'.
5905 (shr-rescale-image): Remove unused arg `force'.
5906 (shr-put-image): Update calls accordingly.
5907 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5909 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5911 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5912 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5913 :close-all, to see which indentation method to use (Bug#16116).
5914 (smie-rules-function): Document the method :close-all.
5916 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5918 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5920 * net/eww.el (eww-display-html): If we can't find the anchor we're
5921 looking for, then go to point-min.
5923 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5925 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5926 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5927 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5928 Expand dir too, in case it's relative.
5930 2013-12-16 Juri Linkov <juri@jurta.org>
5932 * desktop.el (desktop-auto-save-timeout): Change default to
5933 `auto-save-timeout'. Doc fix.
5934 (desktop-save): Skip the timestamp in desktop-saved-frameset
5935 when checking for auto-save changes.
5936 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5937 `desktop-auto-save' is called repeatedly by the idle timer.
5938 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5939 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5942 2013-12-16 Juri Linkov <juri@jurta.org>
5944 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5946 (isearch-pre-command-hook): Check `this-command' for symbolp.
5948 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5952 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5954 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5955 (cfengine3--current-function): Bring in the current-function
5956 functionality from `cfengine3--current-word'.
5957 (cfengine3-completion-function): Bring in the
5958 bounds-of-current-word functionality from
5959 `cfengine3--current-word'.
5961 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5963 * window.el (display-buffer-below-selected):
5964 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5966 2013-12-16 Leo Liu <sdl.web@gmail.com>
5968 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5969 Remove NOMSG arg and all uses changed.
5971 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5973 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5974 (cua--deactivate-rectangle): Don't deactivate the mark.
5975 (cua-set-rectangle-mark): Don't set mark-active since
5976 cua--activate-rectangle already does it for us.
5977 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5978 non-rectangular region.
5980 * emulation/cua-base.el (cua-repeat-replace-region):
5981 Use with-current-buffer.
5983 * net/gnutls.el: Use cl-lib.
5984 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5986 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5988 * emacs-lisp/package.el (package-built-in-p): Support both
5989 built-in and the package.el converted package descriptions.
5990 (package-show-package-list): Allow keywords.
5991 (package-keyword-button-action): Use it instead of
5992 `finder-list-matches'.
5993 (package-menu-filter-interactive): Interactive filtering (by
5995 (package-menu--generate): Support keywords and change keymappings
5996 and headers when they are given.
5997 (package--has-keyword-p): Helper function.
5998 (package-menu--refresh): Use it.
5999 (package--mapc): Helper function.
6000 (package-all-keywords): Use it.
6001 (package-menu-mode-map): Set up menu items and keybindings to
6002 provide a filtering UI.
6004 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6006 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6007 the behavior when a certificate fails validation. Defaults to
6008 old behavior: never abort, just warn.
6009 (gnutls-negotiate): Use it.
6011 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6013 * window.el (display-buffer-below-selected): Never split window
6014 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6016 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6018 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6019 (package-buffer-info): Use it (bug#15108).
6021 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * icomplete.el (icomplete-completions): Make sure the prefix is already
6024 displayed elsewhere before hiding it (bug#16219).
6026 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6028 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6029 open-paren tokens when preceded by a open-paren, too.
6030 (ruby-smie-rules): Handle virtual indentation after open-paren
6031 tokens specially. If there is code between it and eol, return the
6032 column where is starts (Bug#16118).
6034 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6036 * progmodes/cfengine.el: Fix `add-hook' doc.
6037 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6038 (cfengine3--current-word): Fix parameters.
6039 (cfengine3-make-syntax-cache): Simplify further.
6040 (cfengine3-completion-function, cfengine3--current-function):
6041 Use `assq' for symbols.
6042 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6044 2013-12-13 Glenn Morris <rgm@gnu.org>
6046 * loadup.el (load-path): Warn if site-load or site-init changes it.
6047 No more need to reset it when bootstrapping.
6049 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6051 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6052 locations for cf-promises.
6053 (cfengine-mode-syntax-functions-regex): New caching variable.
6054 (cfengine3-fallback-syntax): Fallback syntax for cases where
6055 cf-promises doesn't run.
6056 (cfengine3--current-word): Reimplement using
6057 `cfengine-mode-syntax-functions-regex'.
6058 (cfengine3-completion-function, cfengine3--current-function):
6059 Use `cfengine3-make-syntax-cache' directly.
6060 (cfengine3-clear-syntax-cache): New function.
6061 (cfengine3-make-syntax-cache): Simplify and create
6062 `cfengine-mode-syntax-functions-regex' on demand.
6063 (cfengine3-format-function-docstring): Don't call
6064 `cfengine3-make-syntax-cache' explicitly.
6066 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6068 Fix windmove-find-other-window broken after pixelwise resizing
6070 * windmove.el (windmove-other-window-loc): Revert change from
6072 (windmove-find-other-window): Call window-in-direction.
6073 * window.el (window-in-direction): New arguments SIGN, WRAP and
6074 MINI to emulate original windmove-find-other-window behavior.
6076 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6078 * simple.el (blink-matching--overlay): New variable.
6079 (blink-matching-open): Instead of moving point, highlight the
6080 matching paren with an overlay
6081 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6083 * faces.el (paren-showing-faces, show-paren-match)
6084 (show-paren-mismatch): Move from paren.el.
6086 2013-12-13 Leo Liu <sdl.web@gmail.com>
6088 * indent.el (indent-region): Disable progress reporter in
6089 minibuffer. (Bug#16108)
6091 * bindings.el (visual-order-cursor-movement): Fix version.
6093 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6095 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6096 Also match after beginning of line.
6097 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6098 files. Thanks to Russell Sim. (Bug#15378)
6100 2013-12-13 Juri Linkov <juri@jurta.org>
6102 * simple.el <Keypad support>: Remove key bindings duplicated
6103 with bindings.el. (Bug#14397)
6105 2013-12-13 Juri Linkov <juri@jurta.org>
6107 * comint.el (comint-mode-map): Replace `delete-char' with
6108 `delete-forward-char'. (Bug#16109)
6110 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6112 * progmodes/python.el (python-indent-calculate-indentation):
6113 Fix de-denters cornercase. (Bug#15731)
6115 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6117 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6118 (advice--make): Pay attention to `depth'.
6119 (advice--make-1): Don't autoload commands eagerly.
6120 * emacs-lisp/elp.el (elp-instrument-function):
6121 * emacs-lisp/trace.el (trace-function-internal):
6122 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6124 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6126 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6128 * term/w32-win.el (w32-handle-dropped-file):
6129 * startup.el (normal-top-level):
6130 * net/browse-url.el (browse-url-file-url):
6131 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6132 decode file names using 'utf-8' rather than
6133 file-name-coding-system.
6135 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6137 * progmodes/python.el (python-indent-context)
6138 (python-indent-calculate-indentation): Fix auto-identation
6139 behavior for comment blocks. (Bug#15916)
6141 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6143 * progmodes/python.el (python-indent-calculate-indentation):
6144 When determining indentation, don't treat "return", "pass", etc., as
6145 operators when they are just string constituents. (Bug#15812)
6147 2013-12-12 Juri Linkov <juri@jurta.org>
6149 * uniquify.el (uniquify-buffer-name-style): Change default to
6150 `post-forward-angle-brackets'.
6152 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6153 `uniquify'. Change default to `post-forward-angle-brackets'.
6155 2013-12-11 Glenn Morris <rgm@gnu.org>
6157 * emacs-lisp/package.el (finder-list-matches):
6158 Autoload rather than falsely declaring.
6160 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6162 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6163 (eww-mode-map): Use them.
6165 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6167 * window.el (display-buffer-in-side-window): Fix doc-string
6170 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6172 * vc/vc-git.el: Silence byte-compiler warnings.
6173 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6174 (log-edit-set-header): Declare.
6176 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6178 * Makefile.in (custom-deps, finder-data): Run output file names
6179 through unmsys--file-name. (Bug#16099)
6181 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6183 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6184 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6186 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6187 instead of deleting the selection "by hand" (bug#16098).
6188 Rely on insert-for-yank to yank rectangles.
6189 (cua-highlight-region-shift-only): Mark obsolete.
6190 (cua-mode): Don't enable/disable transient-mark-mode,
6191 shift-select-mode (cua-mode works both with and without them), and
6192 pc-selection-mode (obsolete).
6193 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6194 (cua--deactivate-rectangle): Deactivate it.
6196 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6197 (delete-selection-helper): Make sure yank starts at the top of the
6199 (minibuffer-keyboard-quit): Use region-active-p.
6201 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6203 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6204 to `delete' (bug#16109).
6206 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6208 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6209 info manual and show keybindings and set `:group' keyword.
6211 2013-12-11 Juri Linkov <juri@jurta.org>
6213 * delsel.el (delete-active-region): Let-bind `this-command'
6214 to prevent `kill-region' from changing its original value.
6215 (delete-selection-helper): Handle `overwrite-mode' for the type
6216 `kill' exactly the same way as for the type `t'.
6217 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6218 Support more commands. (Bug#13312)
6220 2013-12-11 Juri Linkov <juri@jurta.org>
6222 * bindings.el: Map kp keys to non-kp keys systematically
6223 with basic modifiers control, meta and shift. (Bug#14397)
6225 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6227 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6228 "Close browser" menu items. Fix wrong function of "List
6231 2013-12-11 Juri Linkov <juri@jurta.org>
6233 * misearch.el (multi-isearch-buffers): Set the value of
6234 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6235 arg of isearch-forward to t.
6236 (multi-isearch-buffers-regexp): Set the value of
6237 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6238 arg of isearch-forward-regexp to t.
6239 (multi-isearch-files): Set the value of
6240 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6241 arg of isearch-forward to t.
6242 (multi-isearch-files-regexp): Set the value of
6243 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6244 arg of isearch-forward-regexp to t. (Bug#16035)
6246 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6247 arg of isearch-forward to t.
6248 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6249 arg of isearch-forward-regexp to t.
6250 (dired-isearch-filter-filenames): Remove unnecessary check for
6251 `dired-isearch-filenames'.
6253 * comint.el (comint-history-isearch-backward):
6254 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6255 (comint-history-isearch-backward-regexp):
6256 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6258 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6260 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6261 unmsys--file-name. (Bug#16099)
6263 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6265 * emacs-lisp/package.el (package-keyword-button-action):
6266 Remove finder.el require dependency.
6268 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6270 * emacs-lisp/package.el: Require finder.el.
6271 (describe-package-1): Add keyword buttons.
6272 (package-make-button): New convenience function.
6273 (package-keyword-button-action): Keyword button action using
6274 `finder-list-matches'.
6276 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6278 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6281 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6283 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6286 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6288 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6289 after the end of a percent literal.
6291 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6293 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6294 Handle caret-delimited strings (Bug#16079).
6296 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6298 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6299 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6300 `ruby-parse-partial' (Bug#16078).
6302 2013-12-09 Leo Liu <sdl.web@gmail.com>
6304 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6306 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6308 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6309 (js-switch-indent-offset): New option.
6310 (js--proper-indentation): Use it. And handle the case when
6311 "default" is actually a key in an object literal.
6312 (js--same-line): New function.
6313 (js--multi-line-declaration-indentation): Use it.
6314 (js--indent-in-array-comp, js--array-comp-indentation):
6316 (js--proper-indentation): Use them, to handle array comprehension
6319 2013-12-08 Leo Liu <sdl.web@gmail.com>
6321 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6322 (flymake-make-overlay): Remove arg MOUSE-FACE.
6323 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6325 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6329 (redisplay-highlight-region-function): Use it.
6331 * emulation/cua-base.el (cua--explicit-region-start)
6332 (cua--last-region-shifted): Remove.
6333 (cua--deactivate): Use deactivate-mark.
6334 (cua--pre-command-handler-1): Don't handle shift-selection.
6335 (cua--post-command-handler-1): Don't change transient-mark-mode.
6336 (cua--select-keymaps): Use region-active-p rather than
6337 cua--explicit-region-start or cua--last-region-shifted.
6338 (cua-mode): Enable shift-select-mode.
6340 2013-12-08 Leo Liu <sdl.web@gmail.com>
6342 * progmodes/flymake.el (flymake-popup-current-error-menu):
6343 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6344 (flymake-posn-at-point-as-event, flymake-popup-menu)
6345 (flymake-make-emacs-menu): Remove. (Bug#16077)
6347 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * rect.el (rectangle-mark-mode): Activate mark even if
6350 transient-mark-mode is off (bug#16066).
6351 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6352 is > mark and at bolp.
6354 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6355 (region-extract-function): Use it.
6356 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6357 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6359 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6360 kill-ring-save, kill-region, delete-char, delete-forward-char.
6361 Ignore self-insert-iso.
6363 * emulation/cua-gmrk.el (cua--init-global-mark):
6364 Ignore `self-insert-iso'.
6366 * emulation/cua-base.el (cua--prefix-copy-handler)
6367 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6368 checking cua--rectangle.
6369 (cua-delete-region): Use region-extract-function.
6370 (cua-replace-region): Delete function.
6371 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6372 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6373 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6374 (cua--init-keymaps): Don't remap delete-selection commands.
6375 (cua-mode): Use delete-selection-mode instead of rolling our own
6378 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6379 Obey region-extract-function.
6381 Make registers and delete-selection-mode work on rectangles.
6382 * register.el (describe-register-1): Don't modify the register's value.
6383 (copy-to-register): Obey region-extract-function.
6384 * delsel.el (delete-active-region): Obey region-extract-function.
6386 2013-12-08 Leo Liu <sdl.web@gmail.com>
6388 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6389 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6390 (flymake-compilation-prevents-syntax-check)
6391 (flymake-start-syntax-check-on-newline)
6392 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6393 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6394 (flymake-xml-program, flymake-master-file-dirs)
6395 (flymake-master-file-count-limit)
6396 (flymake-allowed-file-name-masks): Relocate.
6397 (flymake-makehash, flymake-float-time)
6398 (flymake-replace-regexp-in-string, flymake-split-string)
6399 (flymake-get-temp-dir): Remove.
6400 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6401 (flymake-current-row, flymake-selected-frame)
6402 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6403 related functions. (Bug#16077)
6405 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6407 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6409 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6411 * help-fns.el (describe-function-1): Use new advice-* functions
6412 rather than old ad-* functions. Fix function type description and
6413 source links for advised functions and subrs.
6415 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6419 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6421 * progmodes/compile.el (compilation-start):
6422 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6424 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6425 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6427 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6429 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6430 Touch up the last change.
6432 2013-12-06 Leo Liu <sdl.web@gmail.com>
6434 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6435 (inferior-octave-startup): Always use "octave> " for prompt.
6436 (octave-goto-function-definition)
6437 (octave-sync-function-file-names)
6438 (octave-find-definition-default-filename): Remove redundant backquotes.
6440 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6442 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6444 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6445 where appropriate already.
6446 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6447 end of method names (Bug#15874).
6449 2013-12-06 Juri Linkov <juri@jurta.org>
6451 * isearch.el (isearch--saved-overriding-local-map):
6452 New internal variable.
6453 (isearch-mode): Set it to the initial value of
6454 `overriding-terminal-local-map'.
6455 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6456 with `isearch--saved-overriding-local-map'. (Bug#16035)
6458 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6460 * progmodes/octave.el (inferior-octave-completion-table):
6461 Turn back into function, use `completion-table-with-cache'
6462 (Bug#11906). Update all references.
6464 * minibuffer.el (completion-table-with-cache): New function.
6466 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6468 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6470 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6472 * net/eww.el (eww-current-source): New variable to store page
6474 (eww-display-html, eww-mode, eww-save-history)
6475 (eww-restore-history): Use it.
6476 (eww-view-source): New command to view page source.
6477 Opportunistically uses `html-mode' to highlight the buffer.
6478 (eww-mode-map): Install it.
6480 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6482 * net/dbus.el (dbus-unregister-service)
6483 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6485 (dbus-unregister-service): Skip :serial entries in
6486 `dbus-registered-objects-table'.
6487 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6489 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6491 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6492 around keywords with extra `split-string' argument.
6494 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6496 * windmove.el (windmove-other-window-loc): Handle navigation
6497 between windows (excluding the minibuffer window - Bug#16017).
6499 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6501 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6502 in D-Bus type syntax.
6503 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6504 preserve unibyte strings. (Bug#16048)
6506 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6509 Call force-mode-line-update is the proper buffer (bug#16042).
6511 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6513 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6514 `log-edit-remember-comment', make argument optional. Adjust all
6516 (log-edit-mode): Add `log-edit-remember-comment' to
6517 `kill-buffer-hook' locally.
6518 (log-edit-kill-buffer): Don't remember comment explicitly since
6519 the buffer is killed anyway.
6521 2013-12-04 Juri Linkov <juri@jurta.org>
6523 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6524 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6526 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6528 * notifications.el (notifications-close-notification): Call the
6529 D-Bus method with ID being a `:uint32'. (Bug#16030)
6531 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6533 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6535 2013-12-03 Juri Linkov <juri@jurta.org>
6537 * progmodes/compile.el (compilation-start): Rename window alist
6538 entry `no-display-ok' to `allow-no-window'.
6540 * simple.el (shell-command): Add window alist entry
6541 `allow-no-window' to `display-buffer'.
6542 (async-shell-command): Doc fix.
6544 * window.el (display-buffer-no-window): New action function.
6545 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6547 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6549 * vc/log-edit.el (log-edit-set-header): Extract from
6550 `log-edit-toggle-header'.
6551 (log-edit-extract-headers): Separate the summary, when extracted
6552 from header, from the rest of the message with an empty line.
6554 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6555 line, if present, to the Summary header.
6557 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6560 in current-buffer (bug#16029).
6562 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6564 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6565 (debugger-mode-map): Bind it.
6566 (debugger--backtrace-base): New function.
6567 (debugger-eval-expression): Use it.
6568 (debugger-frame-number): Skip local vars when present.
6569 (debugger--locals-visible-p, debugger--insert-locals)
6570 (debugger--show-locals, debugger--hide-locals): New functions.
6572 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6574 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6576 (tramp-get-remote-locale): New defun.
6577 (tramp-open-connection-setup-interactive-shell): Use it.
6579 2013-12-02 Leo Liu <sdl.web@gmail.com>
6581 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6583 * progmodes/sh-script.el (sh-shell-process):
6584 * progmodes/octave.el (inferior-octave-process-live-p):
6585 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6586 (gdb-inferior-io-sentinel):
6587 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6589 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6591 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6592 `save-selected-window' to `log-edit-hide-buf'. This makes
6593 `log-edit-show-files' idempotent.
6594 (log-edit-show-files): Mark the new window as dedicated.
6596 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6598 * vc/log-edit.el (log-edit-mode-map): Add binding for
6599 `log-edit-kill-biffer'.
6600 (log-edit-hide-buf): Add a FIXME comment.
6601 (log-edit-add-new-comment): New function, extracted from
6603 (log-edit-done, log-edit-add-to-changelog): Use it.
6604 (log-edit-kill-buffer): New command.
6606 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6608 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6609 instead of killing the buffer.
6611 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6615 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6617 * net/eww.el (eww-form-checkbox-selected-symbol)
6618 (eww-form-checkbox-symbol): New customizable variable.
6619 (eww-form-checkbox, eww-toggle-checkbox):
6620 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6622 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6623 (shr--get-media-pref, shr--extract-best-source): New function.
6624 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6625 no :src tag was specified.
6627 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6628 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6629 Use \\` to match beginning of string instead of ^.
6630 (eww-browse-with-external-browser): Provide optional URL parameter.
6631 (eww-render): Set `eww-current-title' back to "".
6633 * net/shr.el (shr-tag-video): Display content for video if no
6634 poster is available.
6635 (shr-tag-audio): Add support for <audio> tag.
6637 * net/eww.el (eww-text-input-types): New const.
6638 (eww-process-text-input): Treat input types in
6639 `eww-text-input-types' as text.
6641 * net/shr.el (shr-tag-table): Fix comment typo.
6643 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6645 * net/eww.el (eww-follow-link): New command to avoid reloading
6646 pages when we follow #target links (bug#15243).
6647 (eww-quit): Special mode buffers shouldn't query before exiting.
6649 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6651 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6654 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6656 * net/eww.el (eww-restore-history): Update the window title after
6657 moving in the history.
6658 (eww-current-dom): New variable used to save the current DOM.
6660 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6662 * vc/log-edit.el (log-edit-mode-map): Add binding for
6663 `log-edit-beginning-of-line'.
6664 (log-edit-setup-add-author): New user option.
6665 (log-edit-beginning-of-line): New command.
6666 (log-edit): Move major mode call above the contents setup so that
6667 the local variable values are already applied.
6668 (log-edit): Only insert "Author: " when
6669 `log-edit-setup-add-author' is non-nil.
6670 (log-edit): When SETUP is non-nil, position point after ": "
6671 instead of point-min.
6673 2013-12-01 Glenn Morris <rgm@gnu.org>
6675 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6677 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6679 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6680 redisplay to make sure the initial frame gets a chance to become
6681 visible. (Bug#16014)
6683 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6685 Support resizing frames and windows pixelwise.
6686 * cus-start.el (frame-resize-pixelwise)
6687 (window-resize-pixelwise): New entries.
6688 * emacs-lisp/debug.el (debug): Use window-total-height instead
6689 of window-total-size.
6690 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6691 * help.el (describe-bindings-internal): Use help-buffer as
6692 argument for with-help-window.
6693 (temp-buffer-max-width): New option.
6694 (resize-temp-buffer-window, help-window-setup)
6695 (with-help-window): Rewrite.
6696 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6698 * window.el (frame-char-size, window-min-pixel-height)
6699 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6700 (window-min-pixel-width, window-safe-min-pixel-size)
6701 (window-combination-p, window-safe-min-size)
6702 (window-resizable-p, window--size-to-pixel)
6703 (window--pixel-to-size, window--resize-apply-p): New functions.
6704 (window-safe-min-height): Fix doc-string.
6705 (window-size, window-min-size, window--min-size-1)
6706 (window-sizable, window-sizable-p, window--min-delta-1)
6707 (window-min-delta, window--max-delta-1, window-max-delta)
6708 (window--resizable, window--resizable-p, window-resizable)
6709 (window-full-height-p, window-full-width-p, window-at-side-p)
6710 (window--in-direction-2, window-in-direction)
6711 (window--resize-reset-1, window--resize-mini-window)
6712 (window-resize, window-resize-no-error)
6713 (window--resize-child-windows-normal)
6714 (window--resize-child-windows, window--resize-siblings)
6715 (window--resize-this-window, window--resize-root-window)
6716 (window--resize-root-window-vertically)
6717 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6718 (maximize-window, minimize-window, delete-window)
6719 (quit-restore-window, window-split-min-size, split-window)
6720 (balance-windows-2, balance-windows)
6721 (balance-windows-area-adjust, balance-windows-area)
6722 (window--state-get-1, window-state-get, window--state-put-1)
6723 (window--state-put-2, window-state-put)
6724 (display-buffer-record-window, window--display-buffer):
6725 Make functions handle pixelwise sizing of windows.
6726 (display-buffer--action-function-custom-type)
6727 (display-buffer-fallback-action):
6728 Add display-buffer-in-previous-window.
6729 (display-buffer-use-some-window): Resize window to height it had
6731 (fit-window-to-buffer-horizontally): New option.
6732 (fit-frame-to-buffer): Describe new values.
6733 (fit-frame-to-buffer-bottom-margin): Replace with
6734 fit-frame-to-buffer-margins.
6735 (window--sanitize-margin): New function.
6736 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6737 using window-text-pixel-size.
6739 2013-11-30 Glenn Morris <rgm@gnu.org>
6741 * emacs-lisp/bytecomp.el (byte-compile-form):
6742 Make the `interactive-only' warning like the `obsolete' one.
6743 * comint.el (comint-run):
6744 * files.el (insert-file-literally, insert-file):
6745 * replace.el (replace-string, replace-regexp):
6746 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6747 (goto-line, insert-buffer, next-line, previous-line):
6748 Tweak `interactive-only' spec.
6750 Stop keeping (most) generated cedet grammar files in the repository.
6751 * Makefile.in (semantic): New.
6752 (compile-main): Depend on semantic.
6754 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6757 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6759 * uniquify.el (uniquify-buffer-name-style): Change default.
6761 * loadup.el: Preload "uniquify".
6763 * time.el (display-time-update): Update all mode lines (bug#15999).
6765 * electric.el (electric-indent-mode): Enable by default.
6766 * loadup.el: Preload "electric".
6768 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6770 * emacs-lisp/helpers.el (string-empty-p): New function.
6771 (string-blank-p): New function.
6773 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6775 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6778 2013-11-29 Andreas Politz <politza@fh-trier.de>
6779 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6780 allow non-lambda lists as functions.
6781 (imenu--in-alist): Don't recurse into non-subalists.
6782 (imenu): Don't pass function itself as an argument (Bug#14029).
6784 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6786 * progmodes/python.el (python-mode-map): Remove binding for ":".
6787 (python-indent-electric-colon): Remove command.
6788 (python-indent-post-self-insert-function): Integrate the previous code
6789 of python-indent-electric-colon. Make it conditional on
6790 electric-indent-mode.
6791 (python-mode): Add ?: to electric-indent-chars.
6792 Move python-indent-post-self-insert-function to the end of
6793 post-self-insert-hook.
6795 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6797 * doc-view.el (doc-view-goto-page): Update mode-line.
6799 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6801 2013-11-27 Glenn Morris <rgm@gnu.org>
6803 * international/charprop.el, international/uni-bidi.el:
6804 * international/uni-category.el, international/uni-combining.el:
6805 * international/uni-comment.el, international/uni-decimal.el:
6806 * international/uni-decomposition.el, international/uni-digit.el:
6807 * international/uni-lowercase.el, international/uni-mirrored.el:
6808 * international/uni-name.el, international/uni-numeric.el:
6809 * international/uni-old-name.el, international/uni-titlecase.el:
6810 * international/uni-uppercase.el:
6811 Remove generated files from VCS repository.
6813 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6815 * filenotify.el (file-notify-add-watch): Don't special-case
6816 w32notify when computing the directory to watch.
6818 2013-11-27 Glenn Morris <rgm@gnu.org>
6820 Make bootstrap without generated uni-*.el files possible again.
6821 * loadup.el: Update command-line-args checking for unidata-gen.
6822 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6823 * composite.el, international/characters.el:
6824 Handle unicode tables being undefined.
6826 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6827 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6828 (compile-main): Depend on leim rule.
6830 * loadup.el: Move leim-list.el to leim/ subdirectory.
6831 * startup.el (normal-top-level): No more leim directory.
6832 * international/ja-dic-cnv.el (skkdic-convert):
6833 Disable version-control and autoloads in output files.
6834 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6835 Disable version-control and autoloads in output files.
6836 * leim/quail: Move here from ../leim.
6837 * leim/quail/hangul.el (hangul-input-method-activate):
6838 Add autoload cookie.
6839 (generated-autoload-load-name): Set file-local value.
6840 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6841 (generated-autoload-load-name): Set file-local value.
6843 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6845 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6846 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6847 (eww-quit): Ask confirmation before quitting eww.
6849 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6851 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6852 reading output from Diff on MS-Windows and MS-DOS.
6854 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6856 * emacs-lisp/helpers.el (string-reverse): New function.
6858 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6860 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6861 names on MS Windows, like "/[::1]:".
6863 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6866 2013-11-26 Glenn Morris <rgm@gnu.org>
6868 * progmodes/python.el (python-indent-guess-indent-offset):
6869 Avoid corner-case error. (Bug#15975)
6871 Preload leim-list.el. (Bug#4789)
6872 * loadup.el: Load leim-list.el when found.
6873 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6875 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6877 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6879 * emacs-lisp/helpers.el (string-join): New function.
6881 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6883 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6884 Mark as obsolete and replace it with a symbol property.
6885 (byte-compile-form): Use new 'interactive-only property.
6886 * comint.el, files.el, replace.el, simple.el:
6887 Apply new 'interactive-only properly.
6889 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6891 * window.el (display-buffer-at-bottom): Make sure that
6892 split-window-sensibly creates the new window on bottom
6895 2013-11-23 David Kastrup <dak@gnu.org>
6897 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6898 on the conflict markers when available.
6899 (smerge--get-marker): New function.
6900 (smerge-end-re, smerge-base-re): Add subgroup.
6902 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6904 * frame.el (handle-focus-in, handle-focus-out): Add missing
6907 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6909 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6910 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6912 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6914 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6915 (gomoku--last-pos): New var.
6916 (gomoku--intangible-chars): New const.
6917 (gomoku--intangible): New function.
6918 (gomoku-mode): Use it. Derive from special-mode.
6919 (gomoku-move-up): Adjust line count.
6920 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6921 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6922 Simplify accordingly.
6924 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6925 Remove blink-cursor code.
6926 (blink-cursor-timer-function, blink-cursor-suspend):
6927 Don't special-case GUIs.
6928 (blink-cursor-mode): Use focus-in/out-hook.
6930 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6932 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6933 work when annotation is invisible (Bug#13886).
6935 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6937 * json.el (json-alist-p): Only return non-nil if the alist has
6938 simple keys (Bug#13518).
6940 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6942 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6943 when control-statement is the first statement in a buffer (Bug#15956).
6945 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6947 * imenu.el (imenu-generic-skip-comments-and-strings):
6948 New option (Bug#15560).
6949 (imenu--generic-function): Use it.
6951 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6953 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6956 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6958 * emacs-lisp/helpers.el: Add some string helpers.
6959 (string-trim-left): Removes leading whitespace.
6960 (string-trim-right): Removes trailing whitespace.
6961 (string-trim): Removes leading and trailing whitespace.
6963 * subr.el (string-suffix-p): New function.
6965 2013-11-23 Glenn Morris <rgm@gnu.org>
6967 * progmodes/python.el (python-shell-send-file):
6968 Add option to delete file when done. (Bug#15647)
6969 (python-shell-send-string, python-shell-send-region): Use it.
6971 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6973 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6974 to set buffer-read-only to t, never to nil. (Bug#15938)
6976 * textmodes/tex-mode.el (latex-noindent-environments):
6977 Add safe-local-variable property. (Bug#15936)
6979 2013-11-23 Glenn Morris <rgm@gnu.org>
6981 * textmodes/enriched.el (enriched-mode): Doc fix.
6982 * emacs-lisp/authors.el (authors-renamed-files-alist):
6983 Add enriched.doc -> enriched.txt.
6985 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6987 2013-11-22 Leo Liu <sdl.web@gmail.com>
6989 * progmodes/octave.el (inferior-octave-startup): Spit out error
6992 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6994 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6997 (ruby-encoding-magic-comment-style): Add :version.
6999 2013-11-22 Leo Liu <sdl.web@gmail.com>
7001 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7003 (octave-help-mode): Adapt to change to help-mode-finish to use
7004 derived-mode-p on 2013-09-17.
7005 (inferior-octave-prompt): Also match octave-gui.
7006 (octave-kill-process): Don't ask twice. (Bug#10564)
7008 2013-11-22 Leo Liu <sdl.web@gmail.com>
7010 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7011 (inferior-octave-startup, inferior-octave-check-process)
7012 (inferior-octave-track-window-width-change)
7013 (octave-completion-at-point, octave-eldoc-function): Use it.
7014 (octave-kill-process): Provide confirmation. (Bug#10564)
7016 2013-11-21 Leo Liu <sdl.web@gmail.com>
7018 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7019 Fix obsolete variable comment-use-global-state.
7021 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7023 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7024 Add `octave-source-file'.
7025 (octave-source-file): New function. (Bug#15935)
7027 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7029 * net/eww.el (eww-local-regex): New variable.
7030 (eww): Use it to detect localhost and similar.
7032 2013-11-21 Leo Liu <sdl.web@gmail.com>
7034 Add completion for command `ag'.
7035 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7036 (pcomplete/ag): New function.
7037 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7039 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7043 (make-obsolete): Remove interactive spec.
7045 2013-11-21 Glenn Morris <rgm@gnu.org>
7047 * startup.el (command-line-1): Use path-separator with -L.
7049 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7051 * emacs-lisp/package.el (describe-package-1): Add package archive
7054 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7056 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7057 Change default to "# encoding: %s" to differentiate it from the
7058 default Ruby encoding comment template.
7060 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7062 * ses.el (ses-mode): Doc fix. (Bug#14748)
7064 2013-11-20 Leo Liu <sdl.web@gmail.com>
7066 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7068 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7070 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7071 when rebase or bisect are in progress.
7073 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7075 * filenotify.el (file-notify-add-watch): Doc fix.
7077 2013-11-19 Leo Liu <sdl.web@gmail.com>
7079 * obsolete/rcompile.el: Mark obsolete.
7081 * progmodes/compile.el (compilation-start)
7082 (compilation-goto-locus, compilation-find-file):
7083 Pass no-display-ok and handle nil value from display-buffer.
7086 * window.el (display-buffer-alist, display-buffer): Document the
7087 new parameter no-display-ok. Return either a window or nil
7088 but never a non-window value.
7090 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7092 * electric.el (electric-indent-mode-map): Remove.
7093 (electric-indent-mode): Change the global-map instead (bug#15915).
7095 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7098 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7100 * emacs-lisp/nadvice.el (remove-function): Align with
7101 add-function's behavior.
7103 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7104 (gdb--string-regexp): New constant.
7105 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7106 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7107 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7109 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7110 Adjust use accordingly.
7111 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7113 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7115 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7116 interpolation curlies (Bug#15914).
7118 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7120 * calc/calc.el (calc-context-sensitive-enter): New variable.
7121 (calc-enter): Use `calc-context-sensitive-enter'.
7123 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7125 * progmodes/cfengine.el: Version bump.
7126 (cfengine-cf-promises): New defcustom to locate cf-promises.
7127 (cfengine3-vartypes): Add new "data" type.
7128 (cfengine3--current-word): New function to get current name-like
7130 (cfengine3--current-function): New function to look up a CFEngine
7131 function's definition.
7132 (cfengine3-format-function-docstring): New function.
7133 (cfengine3-make-syntax-cache): New function.
7134 (cfengine3-documentation-function): New function: ElDoc glue.
7135 (cfengine3-completion-function): New function: completion glue.
7136 (cfengine3-mode): Set `compile-command',
7137 `eldoc-documentation-function', and add to
7138 `completion-at-point-functions'.
7140 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7142 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7143 `tramp-current-connection'.
7145 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7147 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7148 nil/self/true/false with "end of symbol".
7150 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7152 * subr.el (version-regexp-alist): Fix a typo.
7154 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7156 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7157 "en_US.utf8" and "LC_CTYPE" to "".
7158 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7159 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7161 2013-11-15 Leo Liu <sdl.web@gmail.com>
7163 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7165 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7167 * progmodes/gud.el (ctl-x-map):
7168 Remove C-x SPC binding. (Bug#12342)
7169 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7171 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7173 * subr.el (version-regexp-alist):
7174 Recognize hg, svn and darcs versions as snapshot versions.
7176 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7177 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7178 (ruby--encoding-comment-required-p): Extract from
7179 `ruby-mode-set-encoding'.
7180 (ruby-mode-set-encoding): Add the ability to always insert an
7181 utf-8 encoding comment. Fix and simplify coding comment update
7184 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7186 * net/tramp-gvfs.el (top): Run init code only when
7187 `tramp-gvfs-enabled' is not nil.
7188 (tramp-gvfs-enabled): Check also :system bus.
7190 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7192 Sync with upstream verilog-mode revision 78e66ba.
7193 * progmodes/verilog-mode.el (verilog-end-of-defun)
7194 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7195 (verilog-get-end-of-defun): Remove unused argument.
7196 (verilog-comment-depth): Remove unused local `e'.
7197 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7198 Don't pass arg to verilog-get-end-of-defun.
7200 2013-11-14 Glenn Morris <rgm@gnu.org>
7202 * obsolete/assoc.el (aget): Prefix dynamic variable.
7204 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7206 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * widget.el, hfy-cmap.el: Remove bogus package version number.
7210 2013-11-13 Glenn Morris <rgm@gnu.org>
7212 * replace.el (replace-eval-replacement):
7213 Try to give more helpful error message. (Bug#15836)
7215 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7216 (archive-7z-update): Avoid custom type mismatches.
7218 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7220 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7222 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7223 address can be empty.
7225 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7226 Accept nil SWITCHES.
7227 (tramp-gvfs-handle-write-region): Implement APPEND.
7229 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7231 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7232 binary "|" operator and closing block args delimiter.
7233 Remove FIXME comment referring to Ruby 1.8-only syntax.
7234 (ruby-smie--implicit-semi-p): Not after "|" operator.
7235 (ruby-smie--closing-pipe-p): New function.
7236 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7237 (ruby-smie-rules): Indent after "|".
7239 2013-11-12 Glenn Morris <rgm@gnu.org>
7241 * ps-print.el (ps-face-attribute-list):
7242 Handle anonymous faces. (Bug#15827)
7244 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7246 * window.el (display-buffer-other-frame): Fix doc-string.
7249 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7251 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7253 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7256 (tramp-sh-handle-file-local-copy): Don't write a message when
7257 saving temporary files.
7259 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7260 both directories are remote.
7261 (tramp-smb-handle-directory-files): Do not return double entries.
7262 Do not expand full file names.
7263 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7264 (tramp-smb-handle-write-region): Implement APPEND.
7265 (tramp-smb-get-stat-capability): Fix a stupid bug.
7267 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7269 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7271 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7273 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7274 throwing error over malformed let/let* (bug#15814).
7276 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7278 * iswitchb.el (iswitchb-mode): Mark obsolete.
7280 2013-11-11 Glenn Morris <rgm@gnu.org>
7282 * international/uni-bidi.el, international/uni-category.el:
7283 * international/uni-name.el, international/uni-numeric.el:
7284 Regenerate for Unicode 6.3.0.
7286 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7288 * net/tramp.el (tramp-methods):
7289 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7290 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7292 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7294 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7295 Force highlighting text after Summary keyword in doc face for rpm.
7297 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7299 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7300 available and the word has no wildcards, append one to the grep pattern.
7301 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7302 (ispell-complete-word): Call `ispell-lookup-words' with the value
7303 independent of `ispell-look-p'.
7305 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7307 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7309 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7312 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7315 (ruby-font-lock-keywords): Use backquote.
7317 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7319 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7320 (ruby-smie--backward-token): Only consider full-string matches.
7322 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7324 * faces.el (describe-face): Add distant-foreground.
7326 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7328 * progmodes/ruby-mode.el: Improve encoding comment handling.
7329 (ruby-encoding-magic-comment-style): New option.
7330 (ruby-custom-encoding-magic-comment-template): New option.
7331 (ruby--insert-coding-comment, ruby--detect-encoding):
7332 New functions extracted from `ruby-mode-set-encoding'.
7333 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7334 to control the style of the auto-inserted encoding comment.
7336 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7338 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7339 Use `smie-backward-sexp' with token argument.
7341 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7343 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7344 Remove instrumentation code.
7346 2013-11-08 Glenn Morris <rgm@gnu.org>
7348 * progmodes/autoconf.el (autoconf-mode):
7349 Tweak comment-start-skip. (Bug#15822)
7351 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7354 at bobp (bug#15826).
7355 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7357 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7359 * man.el (Man-start-calling): New macro, extracted from
7360 Man-getpage-in-background.
7361 (Man-getpage-in-background): Use it.
7362 (Man-update-manpage): New command.
7363 (Man-mode-map): Bind it.
7365 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7367 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7368 of "and", "or", "&&" and "||".
7369 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7370 argument. Prohibit opening curly brace because it could only be a
7371 block opener in that position.
7372 (ruby-smie--forward-token, ruby-smie--backward-token):
7373 Separate "|" from "&" or "*" going after it. That can happen in block
7375 (ruby-smie--indent-to-stmt): New function, seeks the end of
7376 previous statement or beginning of buffer.
7377 (ruby-smie-rules): Use it.
7378 (ruby-smie-rules): Check if there's a ":" before a curly block
7379 opener candidate; if there is, it's a hash.
7381 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7383 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7384 (cl--block-wrapper): Fix last accidental change.
7386 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7388 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7389 Instrument, in order to hunt failure on hydra.
7391 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7393 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7394 malformed bindings form (bug#15814).
7396 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7398 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7399 "." compared to " @ ". This incidentally fixes some indentation
7401 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7402 (ruby-smie-grammar): New tokens: "and" and "or".
7403 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7404 Exclude "and" and "or". Remove "do" in order to work around token
7406 (ruby-smie-rules): Add all infix tokens. Handle the case of
7407 beginning-of-buffer.
7409 2013-11-06 Glenn Morris <rgm@gnu.org>
7411 * Makefile.in (setwins_almost, setwins_for_subdirs):
7412 Avoid accidental matches.
7414 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * menu-bar.el (popup-menu): Use key-binding.
7418 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7420 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7421 menus, support also the menus produced by minor modes.
7424 2013-11-06 Leo Liu <sdl.web@gmail.com>
7426 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7427 DISTANCE to bound the search. All uses changed. (Bug#15808)
7429 2013-11-06 Glenn Morris <rgm@gnu.org>
7431 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7432 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7433 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7435 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7437 * electric.el (electric-indent-just-newline): New command.
7438 (electric-indent-mode-map): New keymap.
7439 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7440 Re-add :group which weren't redundant.
7442 * electric.el (electric-indent-local-mode): New minor mode.
7443 (electric-indent-functions-without-reindent): New var.
7444 (electric-indent-post-self-insert-function): Use it.
7445 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7447 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7449 * international/quail.el (quail-help): Be more explicit about the
7450 meaning of the labels shown on the keys. (Bug#15800)
7452 * startup.el (normal-top-level): Load the subdirs.el files before
7453 setting the locale environment. (Bug#15805)
7455 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7457 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7458 via arguments so as to get the right ones (bug#15418).
7460 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7462 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7464 Fix problems found while writing a test suite.
7466 * net/tramp-compat.el (tramp-compat-load): New defun.
7467 * net/tramp.el (tramp-handle-load): Use it.
7469 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7470 "(numberp ok-if-already-exists)" correctly.
7472 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7474 * international/characters.el (glyphless-char-display-control):
7477 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7479 * progmodes/python.el (python-mode):
7480 * progmodes/scheme.el (scheme-mode):
7481 * progmodes/prolog.el (prolog-mode):
7482 * progmodes/ruby-mode.el (ruby-mode):
7483 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7484 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7486 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * rect.el (rectangle--highlight-for-redisplay):
7489 * emacs-lisp/smie.el (smie--next-indent-change):
7490 Use buffer-chars-modified-tick.
7492 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7494 * electric.el (electric-indent-post-self-insert-function):
7495 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7497 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7499 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7501 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7503 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7506 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7510 * progmodes/python.el: Fix up last change.
7511 (python-shell--save-temp-file): New function.
7512 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7513 `string' comes from the current buffer.
7514 (python-shell-send-string-no-output): Remove `msg' arg.
7515 (python--use-fake-loc): New var.
7516 (python-shell-buffer-substring): Obey it. Try to compensate for the
7517 extra coding line added by python-shell--save-temp-file.
7518 (python-shell-send-region): Use python-shell--save-temp-file and
7519 python-shell-send-file directly. Add `nomain' argument.
7520 (python-shell-send-buffer): Use python-shell-send-region.
7521 (python-electric-pair-string-delimiter): New function.
7522 (python-mode): Use it.
7524 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7526 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7527 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7528 environment and decoding all of the default-directory's to here
7530 (command-line): Decode also argv[0].
7532 * loadup.el: Error out if default-directory is a multibyte string
7533 when we are dumping.
7535 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7537 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7539 * emacs-lisp/package.el (package-menu-mode)
7540 (package-menu--print-info, package-menu--archive-predicate):
7541 Add Archive column to package list.
7543 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7545 Fix problems found while writing a test suite.
7547 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7548 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7549 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7550 to nil when running original file name handler. Otherwise,
7551 there are problems with constructs like "$$FOO".
7553 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7556 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7558 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7560 * subr.el (version<, version<=, version=):
7561 Update docstrings with information for snapshot versions.
7563 * helpers.el: New library for misc helper functions.
7564 (hash-table-keys): New function returning a list of hash keys.
7565 (hash-table-values): New function returning a list of hash values.
7567 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7569 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7570 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7572 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7574 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7575 checking whether point is after a 1-letter word.
7577 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7579 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7580 Don't infloop when expanding region over `multiline' syntax-type that
7581 begins a line (bug#15778).
7583 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7586 Make it into a proper minor mode.
7587 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7588 (rectangle-mark-mode-map): New keymap.
7589 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7591 2013-11-04 Glenn Morris <rgm@gnu.org>
7593 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7595 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7597 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7598 (ruby-smie-rules): Use smie-rule-parent instead.
7600 * emacs-lisp/smie.el (smie-rule-parent): Always call
7601 smie-indent-virtual rather than only for hanging tokens.
7602 (smie--next-indent-change): New helper command.
7604 2013-11-03 Glenn Morris <rgm@gnu.org>
7606 * Makefile.in (abs_srcdir): Remove.
7607 (emacs): Unset EMACSLOADPATH.
7609 2013-11-02 Glenn Morris <rgm@gnu.org>
7611 * Makefile.in (EMACS): Use a relative filename.
7612 (abs_top_builddir): Remove.
7613 (custom-deps, finder-data, autoloads): Use --chdir.
7615 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7617 Use relative filenames in TAGS files.
7618 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7619 (lisptagsfiles4, TAGS): Use relative file names.
7620 (TAGS-LISP): Remove.
7621 (maintainer-clean): No more TAGS-LISP file.
7623 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7624 (lisptagsfiles4): Use absolute filenames again.
7625 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7626 Remove all *loaddefs files, not just the first. Remove esh-groups.
7627 (maintainer-clean): Delete TAGS, TAGS-LISP.
7629 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7631 * emacs-lisp/package.el (package-version-join):
7632 Recognize snapshot versions.
7634 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7636 * subr.el (version-regexp-alist): Add support for snapshot versions.
7638 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7640 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7641 New function, replacement for `smie-rule-parent' for when we want to
7642 skip over our direct parent if it's an assignment token..
7643 (ruby-smie-rules): Use it.
7645 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7647 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7648 unconditionally. Remove now unnecessary forward declarations.
7649 Remove XEmacs-specific setup.
7650 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7651 (ruby-font-lock-syntactic-keywords)
7652 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7653 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7654 (ruby-here-doc-end-syntax): Remove.
7655 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7656 defined as function.
7658 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7660 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7662 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7664 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7665 table and abbrev table, `define-derived-mode' does that for us
7668 2013-11-01 Glenn Morris <rgm@gnu.org>
7670 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7671 files is atomic for some time, so no parallel compilation issues).
7673 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7675 * faces.el (face-x-resources): Add :distant-foreground.
7676 (region): Use :distant-foreground for gtk and ns.
7678 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7680 Allow multiple bibliographies when BibLaTeX is used rather than
7682 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7683 (reftex-locate-bibliography-files): Us it.
7685 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7687 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7688 allow comments in pbm files.
7690 * term/w32-win.el (dynamic-library-alist): Support newer versions
7691 of libjpeg starting with v7: look only for the DLL from the
7692 version against which Emacs was built.
7693 Support versions of libpng beyond 1.4.x.
7694 Support libtiff v4.x.
7696 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7698 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7699 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7701 (ruby-deep-arglist): Add property :type.
7703 2013-10-31 Glenn Morris <rgm@gnu.org>
7705 * Makefile.in (custom-deps, finder-data): No need to setq the target
7706 variables, we are in the right directory and the defaults work fine.
7708 2013-10-30 Glenn Morris <rgm@gnu.org>
7710 * Makefile.in (autoloads): Do not use abs_lisp.
7712 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7713 `newline' does not respect `standard-output', so use `princ'.
7715 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7717 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7718 * buff-menu.el (Buffer-menu--unmark): New function.
7719 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7721 2013-10-30 Glenn Morris <rgm@gnu.org>
7723 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7725 * emacs-lisp/package.el (lm-homepage): Declare.
7727 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7730 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7732 * Makefile.in (finder-data, autoloads, update-subdirs)
7733 (compile-main, compile-clean, compile-always, bootstrap-clean):
7734 Check return value of cd.
7735 (compile-calc): Remove.
7737 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7739 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7741 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7742 (byte-compile-and-folded): New function.
7743 (=, <, >, <=, >=): Use it.
7745 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7746 (path-separator, null-device, buffer-file-coding-system)
7747 (lpr-headers-switches): Check system-type before modifying them.
7748 (find-buffer-file-type-coding-system): Mark obsolete.
7749 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7750 find-file-not-found-set-buffer-file-coding-system.
7751 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7752 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7753 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7754 (w32-direct-print-region-helper, w32-direct-print-region-function)
7755 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7756 * startup.el (normal-top-level-add-subdirs-to-load-path):
7757 * ps-print.el (ps-print-region-function):
7758 * lpr.el (print-region-function): Use new name.
7760 * subr.el (custom-declare-variable-early): Remove function.
7761 (custom-declare-variable-list): Remove var.
7762 (error, user-error): Remove `while' loop.
7763 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7764 (user-emacs-directory-warning, locate-user-emacs-file):
7766 * simple.el (read-quoted-char-radix, read-quoted-char):
7767 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7769 * custom.el (custom-declare-variable-list): Don't process
7770 custom-declare-variable-list.
7772 * progmodes/python.el (python-shell-get-buffer): New function.
7773 (python-shell-get-process): Use it.
7774 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7775 Python which encoding was used. Don't split-string since we only care
7776 about the first line. Return the temp-file, if applicable.
7777 (python-shell-send-region): Tell compile.el how to turn locations in
7778 the temp-file into locations in the source buffer.
7780 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7782 * subr.el (undefined): Add missing behavior from the C code for
7785 * rect.el: Use lexical-binding. Add new rectangular region support.
7786 (rectangle-mark): New command.
7787 (rectangle--region): New var.
7788 (deactivate-mark-hook): Reset rectangle--region.
7789 (rectangle--extract-region, rectangle--insert-for-yank)
7790 (rectangle--highlight-for-redisplay)
7791 (rectangle--unhighlight-for-redisplay): New functions.
7792 (region-extract-function, redisplay-unhighlight-region-function)
7793 (redisplay-highlight-region-function): Use them to handle
7795 * simple.el (region-extract-function): New var.
7796 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7797 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7798 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7799 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7800 (redisplay-unhighlight-region-function)
7801 (redisplay-highlight-region-function): New vars.
7802 (redisplay--update-region-highlight): New function.
7803 (pre-redisplay-function): Use it.
7804 (exchange-point-and-mark): Don't deactivate the mark before
7805 reactivate-it anyway.
7806 * comint.el (comint-kill-region): Remove yank-handler argument.
7807 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7808 (delete-char): Remove property, since it's now part of their
7810 (self-insert-iso): Remove property since this command doesn't exist.
7812 * emacs-lisp/package.el (package--download-one-archive)
7813 (describe-package-1): Don't query the user about final newline.
7815 2013-10-29 Daniel Colascione <dancol@dancol.org>
7817 * net/tramp.el (tramp-methods): Document new functionality.
7818 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7819 tramp-hostname-checker if method provides one instead of scanning
7820 argument list for "%h" to decide hostname acceptability.
7822 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7824 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7825 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7826 Handle COPY-CONTENTS. (Bug#15737)
7828 2013-10-28 Daiki Ueno <ueno@gnu.org>
7830 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7831 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7833 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7835 * image.el (defimage, image-load-path): Doc fixes.
7837 2013-10-27 Alan Mackenzie <acm@muc.de>
7839 Indent statements in macros following "##" correctly.
7840 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7841 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7843 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7845 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7847 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7849 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7850 after `=' is probably a new expression.
7852 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7854 * man.el (man-imenu-title): New option.
7855 (Man-mode-map): Add menu. (Bug#15722)
7856 (Man-mode): Add imenu to menu.
7858 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7860 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7861 specific in what the first arg can be: a non-keyword word,
7862 string/regexp/percent literal opener, opening paren, or unary
7863 operator followed directly by word.
7865 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7867 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7868 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7869 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7870 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7871 Remove vars, they do not apply any more.
7872 (prolog-mode-abbrev-table): Remove redundant declaration.
7873 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7874 (prolog-use-smie): Remove.
7875 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7876 supported by prolog-electric-if-then-else-flag.
7877 (prolog-mode-variables, prolog-menu): Use setq-local.
7878 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7879 Remove binding to `Backspace' since this key doesn't exist anyway.
7880 Remove bindings for electric self-inserting keys.
7881 (prog-mode): Assume it's defined.
7882 (prolog-post-self-insert): New function.
7883 (prolog-mode): Use it.
7884 (prolog-indent-line, prolog-indent-level)
7885 (prolog-find-indent-of-matching-paren)
7886 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7887 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7888 (prolog-goto-next-paren, prolog-in-string-or-comment)
7889 (prolog-tokenize, prolog-inside-mline-comment)
7890 (prolog-find-start-of-mline-comment): Remove functions.
7891 (prolog-find-unmatched-paren, prolog-clause-end)
7892 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7893 (prolog-electric--if-then-else): Rename from
7894 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7895 (prolog-tokenize-searchkey): Remove const.
7896 (prolog-clause-info): Use forward-sexp.
7897 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7898 (prolog-electric-if-then-else): Remove commands.
7899 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7900 for use in post-self-insert-hook.
7901 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7902 for use in post-self-insert-hook.
7903 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7904 for use in post-self-insert-hook.
7905 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7906 adapt it for use in post-self-insert-hook.
7908 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7910 * emacs-lisp/ert.el (ert-run-tests-interactively):
7911 Use `completing-read'. (Bug#9756)
7913 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7915 * simple.el (line-move): Call line-move-1 instead of
7916 line-move-visual when the current window hscroll is zero, but
7917 temporary-goal-column indicates we will need to hscroll as result
7918 of the movement. (Bug#15712)
7920 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7922 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7923 capitalization. Use :visible instead of :active.
7924 Fix `ruby-indent-exp' reference. Add menu items for the generic
7925 commands that are used with SMIE.
7926 (ruby-do-end-to-brace): Insert space after `{'.
7928 2013-10-25 John Anthony <john@jo.hnanthony.com>
7930 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7932 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7934 2013-10-25 Glenn Morris <rgm@gnu.org>
7936 * vc/vc.el (vc-print-log): Don't use a working revision unless
7937 one was explicitly specified. (Bug#15322)
7939 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7941 * subr.el (add-to-list): Preserve return value in compiler-macro
7944 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7946 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7947 result. Ask user to retry using '-all' flag. (Bug#15701)
7949 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7951 * emacs-lisp/smie.el: New smie-config system.
7952 (smie-config): New defcustom.
7953 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7954 (smie-config-guess, smie-config-save): New commands.
7955 (smie-config--mode-local, smie-config--buffer-local)
7956 (smie-config--trace, smie-config--modefuns): New vars.
7957 (smie-config--advice, smie-config--mode-hook)
7958 (smie-config--setter, smie-config-local, smie-config--get-trace)
7959 (smie-config--guess-value, smie-config--guess): New functions.
7960 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7961 text properties. Treat "string fence" syntax like string syntax.
7963 * progmodes/sh-script.el (sh-use-smie): Change default.
7964 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7965 (sh-var-value): Simplify by CSE.
7966 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7967 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7969 (sh-guess-basic-offset): Use cl-incf.
7970 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7972 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7974 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7977 2013-10-24 Glenn Morris <rgm@gnu.org>
7979 * Makefile.in (abs_top_srcdir): Remove.
7980 (update-subdirs): Use relative path to update-subdirs.
7982 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7984 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7985 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7986 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7987 Call unmsys--file-name before expand-file-name, not after it.
7989 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7991 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7992 (ert-test-skipped): New error.
7993 (ert-skip, ert-stats-skipped): New defuns.
7994 (ert--skip-unless): New macro.
7995 (ert-test-skipped): New struct.
7996 (ert--run-test-debugger, ert-test-result-type-p)
7997 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7998 (ert--stats-set-test-and-result, ert-char-for-test-result)
7999 (ert-string-for-test-result, ert-run-tests-batch)
8000 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8001 Handle skipped tests. (Bug#9803)
8003 2013-10-24 Glenn Morris <rgm@gnu.org>
8005 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8007 * Makefile.in (abs_top_srcdir): New, set by configure.
8008 (update-subdirs): Correct build-aux location.
8010 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8012 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8013 value, whether we could auto-deduce `backend', or not.
8015 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8016 with parameters" example. Simplify the "is it block or is it
8017 hash" check, but also make it more thorough.
8019 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8021 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8023 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8025 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8028 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8031 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8033 * progmodes/compile.el (compilation-directory-matcher)
8034 (compilation-page-delimiter):
8035 Support GNU Make-4.0 directory quoting. (Bug#15678)
8037 2013-10-23 Leo Liu <sdl.web@gmail.com>
8039 * ido.el (ido-tidy): Handle read-only text.
8041 2013-10-23 Glenn Morris <rgm@gnu.org>
8043 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8044 (emacs, compile, compile-always):
8045 Quote entities that might contain whitespace.
8046 (custom-deps, finder-data, autoloads): Use abs_lisp.
8047 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8048 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8049 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8051 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8053 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8054 Use `following-char'.
8056 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8058 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8059 * progmodes/ruby-mode.el (ruby-smie-rules):
8060 Remove corresponding workaround. Fix indentation rule of ";" so it
8061 also applies when ";" is the parent.
8063 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8065 * frame.el (display-screens, display-pixel-height)
8066 (display-pixel-width, display-mm-width, display-backing-store)
8067 (display-save-under, display-planes, display-color-cells)
8068 (display-visual-class, display-monitor-attributes-list):
8069 Mention the optional ‘display’ argument in doc strings.
8071 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8073 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8074 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8076 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8078 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8079 TODO. Add "." after " @ ".
8080 (ruby-smie--at-dot-call): New function. Checks if point at method
8081 call with explicit target.
8082 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8083 to the method name tokens when it precedes them.
8084 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8085 (ruby-smie-rules): Add rule for indentation before and after "."
8088 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8090 * textmodes/remember.el (remember-diary-extract-entries):
8093 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8096 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8098 * progmodes/ruby-mode.el (ruby-smie-grammar):
8099 Add (almost) all infix operators.
8100 (ruby-smie--implicit-semi-p): Add new operator chars.
8102 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8104 (ruby-smie--args-separator-p): Check that there's no newline
8105 between method call and its arguments.
8107 2013-10-20 Alan Mackenzie <acm@muc.de>
8109 Allow comma separated lists after Java "implements".
8111 * progmodes/cc-engine.el (c-backward-over-enum-header):
8113 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8114 from a "disallowed" list in enum fontification.
8116 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8118 * startup.el (default-frame-background-mode): Remove unused defvar.
8120 * progmodes/verilog-mode.el (verilog-mode): Don't set
8121 comment-indent-function globally.
8123 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8125 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8126 Move Info menu item creation to ns-win.el.
8128 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8131 * menu-bar.el: Move GNUstep specific menus...
8133 * term/ns-win.el (ns-initialize-window-system): ... to here.
8135 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * simple.el (newline): Only run post-self-insert-hook when
8138 called interactively.
8140 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8142 * icomplete.el (icomplete-with-completion-tables): Add :version.
8144 2013-10-19 Alan Mackenzie <acm@muc.de>
8146 Fix fontification bugs with constructors and const.
8148 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8149 CASE 2) Remove the check for the absence of a suffix construct
8150 after a function declaration with only types (no identifiers) in
8151 the parentheses. Also, accept a function declaration with just a
8152 type inside the parentheses, if this type can be positively
8153 recognised as such, or if a prefix keyword like "explicit" nails
8154 down the construct as a declaration.
8156 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8158 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8159 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8160 the problem whereby selecting a menu item that leads to a
8161 minibuffer prompt moves the cursor out of the minibuffer window,
8162 making it hard to type at the prompt. Suggested by Stefan Monnier
8163 <monnier@iro.umontreal.ca>.
8165 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8167 * menu-bar.el: Don't make Services menu.
8169 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8171 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8172 (ffap-alist): Use ffap-c++-mode for c++-mode.
8173 (ffap-c++-path): New variable.
8174 (ffap-c++-mode): New function.
8176 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8178 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8180 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8182 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8183 introduced on 2013-09-08, which results in an infinite loop
8184 requesting a password.
8186 2013-10-18 Glenn Morris <rgm@gnu.org>
8188 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8190 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8192 Sync with upstream verilog-mode revision 1a6ecec7.
8193 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8194 (verilog-mode-release-date): Remove.
8195 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8196 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8197 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8198 (verilog-auto-tieoff-ignore-regexp)
8199 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8200 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8201 (verilog-signals-with, verilog-dir-cache-preserving)
8202 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8204 (verilog-case-fold): New option, to control case folding in
8205 regexp searches, bug597.
8206 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8207 (verilog-string-match-fold, verilog-in-paren-count)
8208 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8209 (verilog-at-close-struct-p): New functions.
8210 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8211 (verilog-forward-sexp, verilog-set-auto-endcomments)
8212 (verilog-leap-to-case-head): Handle "unique0" case.
8213 (verilog-in-constraint-re): New constant.
8214 (verilog-keywords, verilog-type-font-keywords):
8215 Add some SystemVerilog 1800-2012 keywords.
8216 (verilog-label-be): Remove unimplemented argument, bug669.
8217 (verilog-batch-execute-func): When batch expanding clear
8218 create-lockfiles to prevent spurious user locks when a file ends
8220 (verilog-calculate-indent, verilog-calc-1)
8221 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8222 (verilog-do-indent): Fix indentation of nested constraints
8224 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8225 (verilog-auto-inst-param): Use verilog-string-match-fold.
8226 (verilog-read-inst-module-matcher):
8227 Fix AUTOINST on gate primitives with #1.
8228 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8229 Reads all user-defined typed variables.
8230 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8231 (verilog-signals-matching-regexp)
8232 (verilog-signals-not-matching-regexp, verilog-auto):
8233 Respect verilog-case-fold.
8234 (verilog-diff-report): Fix line count.
8235 (verilog-auto-assign-modport): Remove unused local `modi'.
8236 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8237 better handle multidimensional arrays.
8238 Fix packed array ports misadding bit index in AUTOINST, bug637.
8239 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8240 to not double-declare existing outputs and inputs, respectively.
8241 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8242 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8243 (verilog-sk-uvm-component): New skeleton.
8244 (verilog-submit-bug-report): Add verilog-case-fold,
8245 remove verilog-mode-release-date.
8247 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8249 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8252 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8254 * textmodes/remember.el (remember): Set buffer-offer-save in
8255 remember buffers (bug#13566).
8257 2013-10-18 Daniel Colascione <dancol@dancol.org>
8259 When evaluating forms in ielm, direct standard output to ielm
8260 buffer. Add new ielm-return-for-effect command. Remove trailing
8261 whitespace throughout.
8263 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8264 (ielm-return-for-effect): New command.
8265 (ielm-send-input): Accept optional `for-effect' parameter.
8266 (ielm-eval-input): Accept optional `for-effect' parameter.
8267 Bind `standard-output' to stream we create using
8268 `ielm-standard-output-impl'. Suppress printing result when
8270 (ielm-standard-output-impl): New function.
8271 (inferior-emacs-lisp-mode): Explain new features in documentation.
8273 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8277 * net/tramp.el (tramp-debug-message): Do not check for connection
8279 (tramp-message): Use "vector" connection property.
8281 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8282 (tramp-equal-remote, tramp-eshell-directory-change)
8283 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8284 (tramp-adb-handle-rename-file)
8285 * net/tramp-cmds.el (tramp-list-remote-buffers)
8286 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8287 * net/tramp-compat.el (tramp-compat-process-running-p)
8288 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8289 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8290 (tramp-gvfs-handle-rename-file)
8291 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8292 (tramp-set-file-uid-gid)
8293 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8294 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8297 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8298 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8299 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8300 (tramp-gw-open-network-stream): Suppress unrelated traces.
8302 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8303 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8304 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8305 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8306 connection property.
8308 * net/tramp-cache.el (top): Suppress traces when reading
8311 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8312 Refactor common code. Improve debug message.
8313 (tramp-maybe-open-connection)
8314 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8315 connection buffer too early.
8317 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8318 from `tramp-smb-actions-with-acl'.
8319 (tramp-smb-actions-set-acl): New defconst.
8320 (tramp-smb-handle-copy-directory)
8321 (tramp-smb-action-get-acl): New defun, renamed from
8322 `tramp-smb-action-with-acl'.
8323 (tramp-smb-action-set-acl): New defun.
8324 (tramp-smb-handle-set-file-acl): Rewrite.
8326 2013-10-17 Glenn Morris <rgm@gnu.org>
8328 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8330 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * skeleton.el (skeleton-newline): Remove.
8333 (skeleton-internal-1): Use (insert "\n") instead.
8335 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8338 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8339 forward-sexp-function while we redo its job (bug#15613).
8341 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8343 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8344 represented by lists.
8346 2013-10-16 Glenn Morris <rgm@gnu.org>
8348 * tmm.el (tmm--history): New dynamic variable.
8349 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8351 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8353 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8354 (tramp-smb-errors): Add error messages.
8355 (tramp-smb-actions-with-acl): New defconst.
8356 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8357 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8358 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8359 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8360 (tramp-smb-get-stat-capability): Fix tests.
8362 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8364 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8367 2013-10-16 Glenn Morris <rgm@gnu.org>
8369 * ansi-color.el (ansi-color-drop-regexp):
8370 Add 1J, 1K, 2K. (Bug#15617)
8372 * files.el (hack-local-variables--warned-lexical): New.
8373 (hack-local-variables):
8374 Warn about misplaced lexical-binding. (Bug#15616)
8376 * net/eww.el (eww-render): Always set eww-current-url,
8377 and update header line. (Bug#15622)
8378 (eww-display-html): ... Rather than just doing it here.
8380 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8382 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8383 menu navigations commands.
8385 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8387 * progmodes/subword.el (subword-capitalize): Be careful when
8388 the search for [[:alpha:]] fails (bug#15580).
8390 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8392 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8393 to commands that scroll the menu.
8395 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8397 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8398 Handle methods ending with `?' and `!'.
8400 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8402 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8403 `japanese-cp932' to `cp932' to fix the problem where saving a
8404 source file written in Shift_JIS twice would end up having
8405 `coding: japanese-cp932' which Ruby could not recognize.
8406 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8407 in `ruby-encoding-map'.
8408 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8409 doesn't need to be explicitly declared in magic comment.
8410 (ruby-encoding-map): Add type declaration for better customize UI.
8412 2013-10-13 Glenn Morris <rgm@gnu.org>
8414 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8415 Occur buffers are read-only. http://bugs.debian.org/720775
8417 * emacs-lisp/authors.el (authors-fixed-entries):
8418 Comment out old alpha stuff.
8420 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8422 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8423 to `after-save-hook' instead of `before-save-hook'.
8424 (ruby-mode-set-encoding): Use the value of coding system used to
8425 write the file. Call `basic-save-buffer-1' after modifying the
8428 2013-10-13 Alan Mackenzie <acm@muc.de>
8430 Fix indentation/fontification of Java enum with
8431 "implements"/generic.
8433 * progmodes/cc-engine.el (c-backward-over-enum-header):
8434 Extracted from the three other places and enhanced to handle generics.
8435 (c-inside-bracelist-p): Uses new function above.
8436 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8438 (c-font-lock-enum-tail): Uses new function above.
8440 2013-10-13 Kenichi Handa <handa@gnu.org>
8442 * international/mule-cmds.el (select-safe-coding-system): Remove a
8443 superfluous condition in chekcing whether a coding system is safe
8446 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8448 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8450 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8452 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8454 2013-10-13 Glenn Morris <rgm@gnu.org>
8456 * menu-bar.el (menu-bar-update-buffers):
8457 Unify Buffers menu prompt string. (Bug#15576)
8459 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8461 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8463 (authors-fixed-entries): Use accented form of name.
8465 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8468 method calls (bug#15594).
8469 (ruby-smie--args-separator-p): New function.
8470 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8471 recognize paren-free method calls.
8473 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8474 internals of universal-argument.
8476 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8478 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8479 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8480 dropped menu on second mouse click on the menu bar.
8482 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8485 (explicit-shell-file-name): Declare.
8486 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8487 (sh-completion-at-point-function): New function.
8489 (sh-smie--keyword-p): Remove unused argument.
8490 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8492 (sh-set-shell): Always setup SMIE, even if we use the
8493 old indentation code.
8495 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8497 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8499 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8500 predicate would return nil are almost non-existent.
8501 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8503 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8504 cache also after commands that modify the buffer but don't move
8507 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * env.el (substitute-env-in-file-name): New function.
8510 (substitute-env-vars): Extend the meaning of the optional arg.
8512 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8514 * term/w32-win.el (dynamic-library-alist): Define separate lists
8515 of GIF DLLs for versions before and after 5.0.0 of giflib.
8518 2013-10-10 João Távora <joaotavora@gmail.com>
8520 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8521 not locked, use last revision and current source as
8522 defaults. (Bug#15569)
8524 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8526 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8529 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8531 * window.el (pop-to-buffer-same-window): Fix doc-string.
8534 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8538 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8540 * calendar/icalendar.el (icalendar-import-file):
8541 Fix interactive spec. (Bug#15482)
8543 2013-10-10 Glenn Morris <rgm@gnu.org>
8545 * desktop.el (desktop-save): Default to saving in .emacs.d,
8546 since PWD is no longer in desktop-path by default. (Bug#15319)
8548 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8549 now that text mode has a menu with the same entry.
8550 (menu-bar-text-mode-auto-fill): Remove now unused func.
8551 * textmodes/text-mode.el (text-mode-map):
8552 Use auto-fill help text from menu-bar.el.
8554 2013-10-10 John Anthony <john@jo.hnanthony.com>
8556 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8558 2013-10-09 Juri Linkov <juri@jurta.org>
8560 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8561 instead of this-command-keys. Add universal-argument-more and
8562 universal-argument-minus to the list of prefix commands. (Bug#15568)
8564 2013-10-09 Glenn Morris <rgm@gnu.org>
8566 * vc/vc-svn.el (vc-svn-create-repo):
8567 Expand paths in file://... url. (Bug#15446)
8569 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8571 (authors): Remove unused local variables.
8573 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8575 * profiler.el: Create a more coherent calltree from partial backtraces.
8576 (profiler-format): Hide the tail with `invisible' so that C-s can still
8577 find the hidden elements.
8578 (profiler-calltree-depth): Don't recurse so enthusiastically.
8579 (profiler-function-equal): New hash-table-test.
8580 (profiler-calltree-build-unified): New function.
8581 (profiler-calltree-build): Use it.
8582 (profiler-report-make-name-part): Indent the calltree less.
8583 (profiler-report-mode): Add visibility specs for profiler-format.
8584 (profiler-report-expand-entry, profiler-report-toggle-entry):
8585 Expand the whole subtree when provided with a prefix arg.
8587 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8589 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8591 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8592 hanging iuwu-mod token.
8593 (ruby-smie--forward-token): Do not include a dot after a token in
8595 (ruby-smie--backward-token): Likewise.
8597 2013-10-08 Juri Linkov <juri@jurta.org>
8599 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8600 to isearch-other-control-char.
8601 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8602 and isearch-post-command-hook to post-command-hook.
8603 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8604 and isearch-post-command-hook from post-command-hook.
8605 (isearch-unread-key-sequence)
8606 (isearch-reread-key-sequence-naturally)
8607 (isearch-lookup-scroll-key, isearch-other-control-char)
8608 (isearch-other-meta-char): Remove functions.
8609 (isearch-pre-command-hook, isearch-post-command-hook):
8610 New functions based on isearch-other-meta-char rewritten
8611 relying on the new behavior of overriding-terminal-local-map
8612 that does not replace the local keymaps any more. (Bug#15200)
8614 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8616 Support menus on text-mode terminals.
8617 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8620 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8622 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8623 Move here from mouse.el.
8624 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8626 (tty-menu-navigation-map): New map for TTY menu navigation.
8628 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8630 * frame.el (display-mouse-p): Report text-mode mouse as available
8632 (display-popup-menus-p): Report availability if mouse is
8633 available; don't condition on window-system.
8635 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8636 (tty-menu-selected-face): New faces.
8638 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8641 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8642 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8643 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8645 (lisp-mode-variables): New `elisp' argument.
8646 (emacs-lisp-mode): Use it.
8647 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8648 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8650 * indent.el: Use lexical-binding.
8651 (indent-region): Add progress reporter.
8652 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8654 (indent--next-tab-stop): New function to implement this behavior.
8655 (tab-to-tab-stop, move-to-tab-stop): Use it.
8657 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8659 * indent.el (indent-rigidly--current-indentation): New function.
8660 (indent-rigidly-map): New var.
8661 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8663 2013-10-08 Bastien Guerry <bzg@gnu.org>
8665 * register.el (insert-register): Fix 2013-10-07 change.
8667 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8669 * progmodes/perl-mode.el: Use lexical-binding.
8670 Remove redundant :group args.
8671 (perl-nochange): Change default to be closer to other major modes's
8673 (perl-indent-line): Don't consider text on current line as a
8674 valid beginning of function from which to indent.
8676 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8677 with more than one argument (bug#15538).
8679 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8681 * vc/pcvs.el: Use lexical-binding.
8682 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8683 environment of `eval'.
8684 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8685 than a list of expressions. Adjust callers.
8686 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8688 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8690 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8691 case of the dot in a chained method call being on the following line.
8693 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * electric.el (electric-indent-inhibit): New var.
8696 (electric-indent-post-self-insert-function): Use it.
8697 * progmodes/python.el (python-mode): Set it.
8699 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8702 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8704 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8705 (css-mode): Use electric-indent-chars.
8707 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8708 (font-lock-beg, font-lock-end): Move before first use.
8709 (nxml-mode): Use syntax-propertize-function.
8710 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8711 (nxml-extend-after-change-region): Remove.
8712 * nxml/xmltok.el: Use lexical-binding.
8713 (xmltok-save): Use `declare'.
8714 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8715 * nxml/nxml-util.el: Use lexical-binding.
8716 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8718 * nxml/nxml-ns.el: Use lexical-binding.
8719 (nxml-ns-save): Use `declare'.
8720 (nxml-ns-prefixes-for): Avoid add-to-list.
8721 * nxml/rng-match.el: Use lexical-binding.
8722 (rng--ipattern): Use cl-defstruct.
8723 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8724 (rng-cons-group-after, rng-subst-group-after)
8725 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8726 Use closures instead of `(lambda...).
8728 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8730 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8734 Use `tramp-handle-insert-file-contents'.
8735 (tramp-gvfs-handle-insert-file-contents): Remove function.
8737 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8738 Use `save-restriction' in order to keep markers.
8740 * net/trampver.el: Update release number.
8742 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8744 * progmodes/compile.el (compilation-parse-errors):
8745 Use compilation--put-prop.
8746 (compilation--ensure-parse): Check compilation-multiline.
8748 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8750 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8753 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8755 * progmodes/ruby-mode.el: Fix recently added tests.
8756 (ruby-smie-grammar): Add - and +.
8757 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8758 (ruby-smie--backward-id): New functions.
8759 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8760 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8763 2013-10-07 Leo Liu <sdl.web@gmail.com>
8765 * register.el (register-preview-delay)
8766 (register-preview-functions): New variables.
8767 (register-read-with-preview, register-preview)
8768 (register-describe-oneline): New functions.
8769 (point-to-register, window-configuration-to-register)
8770 (frame-configuration-to-register, jump-to-register)
8771 (number-to-register, view-register, insert-register)
8772 (copy-to-register, append-to-register, prepend-to-register)
8773 (copy-rectangle-to-register): Use register-read-with-preview to
8774 read register. (Bug#15525)
8776 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8778 * net/network-stream.el (network-stream-open-starttls): Don't add
8779 --insecure if it's already present, because that gnutls-cli
8780 rejects getting that parameter twice.
8782 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8784 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8787 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8789 * newcomment.el (comment-use-global-state): Change default value
8790 to t, mark obsolete (Bug#15251).
8791 (comment-beginning): In addition to `comment-to-syntax', check the
8792 value of `comment-use-global-state'.
8794 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8796 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8797 (ruby-comment-column): Follow the global default, by default.
8798 (ruby-smie-grammar): Add assignment syntax.
8799 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8800 open-paren, a comma, or a \.
8801 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8802 and line continuations.
8803 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8804 followed by implicit semi-colons. Add rule for string concatenation
8805 and for indentation at BOB.
8806 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8808 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8809 calling next-sexp, since next-token may have skipped chars which
8810 next-sexp doesn't know should be skipped!
8812 2013-10-05 Leo Liu <sdl.web@gmail.com>
8814 * progmodes/octave.el (octave-send-region):
8815 Call compilation-forget-errors.
8817 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8819 * vc/vc-svn.el (vc-svn-find-admin-dir):
8820 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8821 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8822 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8823 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8825 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8829 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8831 * subr.el (read-passwd): Hide chars even when called within a context
8832 where after-change-functions is disabled (bug#15501).
8833 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8834 until we removed ourself from overriding-terminal-local-map.
8836 2013-10-04 Leo Liu <sdl.web@gmail.com>
8838 * progmodes/octave.el (inferior-octave-mode):
8839 Call compilation-forget-errors.
8841 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8843 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8845 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8847 * net/secrets.el (secrets-create-collection): Add optional
8848 argument ALIAS. Use proper Label keyword. Append ALIAS as
8849 dbus-call-method argument. (Bug#15516)
8851 2013-10-04 Leo Liu <sdl.web@gmail.com>
8853 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8854 (inferior-octave-compilation-font-lock-keywords): New variables.
8855 (compilation-error-regexp-alist)
8856 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8857 (inferior-octave-mode): Use compilation-shell-minor-mode.
8859 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8861 * minibuffer.el (completion--replace): Be careful that `end' might be
8864 2013-10-03 Daiki Ueno <ueno@gnu.org>
8866 Add support for package signature checking.
8867 * emacs-lisp/package.el (url-http-file-exists-p)
8868 (epg-make-context, epg-context-set-home-directory)
8869 (epg-verify-string, epg-context-result-for)
8870 (epg-signature-status, epg-signature-to-string)
8871 (epg-check-configuration, epg-configuration)
8872 (epg-import-keys-from-file): Declare.
8873 (package-check-signature): New user option.
8874 (package-unsigned-archives): New user option.
8875 (package-desc): Add `signed' field.
8876 (package-load-descriptor): Set `signed' field if .signed file exists.
8877 (package--archive-file-exists-p): New function.
8878 (package--check-signature): New function.
8879 (package-install-from-archive): Check package signature.
8880 (package--download-one-archive): Check archive signature.
8881 (package-delete): Remove .signed file.
8882 (package-import-keyring): New command.
8883 (package-refresh-contents): Import default keyring.
8884 (package-desc-status): Add "unsigned" status.
8885 (describe-package-1, package-menu--print-info)
8886 (package-menu-mark-delete, package-menu--find-upgrades)
8887 (package-menu--status-predicate): Support "unsigned" status.
8889 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8891 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8892 the new compilation scheme using the new byte-codes.
8894 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8895 (byte-pophandler): New byte codes.
8896 (byte-goto-ops): Adjust accordingly.
8897 (byte-compile--use-old-handlers): New var.
8898 (byte-compile-catch): Use new byte codes depending on
8899 byte-compile--use-old-handlers.
8900 (byte-compile-condition-case--old): Rename from
8901 byte-compile-condition-case.
8902 (byte-compile-condition-case--new): New function.
8903 (byte-compile-condition-case): New function that dispatches depending
8904 on byte-compile--use-old-handlers.
8905 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8908 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8909 Optimize under `condition-case' and `catch' if
8910 byte-compile--use-old-handlers is nil.
8911 (disassemble-offset): Handle new bytecodes.
8913 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8915 * subr.el (error): Use `declare'.
8916 (decode-char, encode-char): Use advertised-calling-convention instead
8917 of the docstring to discourage use of the `restriction' arg.
8919 2013-10-03 Daiki Ueno <ueno@gnu.org>
8921 * epg.el (epg-verify-file): Add a comment saying that it does not
8922 notify verification error as a return value nor a signal.
8923 (epg-verify-string): Ditto.
8925 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8927 * progmodes/compile.el (compilation-start): Try globbing the arg to
8930 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8932 Sync with Tramp 2.2.8.
8934 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8935 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8936 * net/trampver.el: Update release number.
8938 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8940 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8941 and default-process-coding-system for darwin only.
8943 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8945 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8947 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8949 * vc/vc-git.el (vc-git-grep): Disable pager.
8951 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8953 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8954 Use :url instead of :homepage, as per
8955 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8957 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8958 non-nil, use `syntax-ppss' (Bug#15251).
8960 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8962 * progmodes/octave.el (inferior-octave-startup-file):
8963 Prefer ~/.emacs.d/init_octave.m.
8965 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8967 * emacs-lisp/package.el (package-desc-from-define):
8968 Accept additional arguments as plist, convert them to an alist and store
8969 them in the `extras' slot.
8970 (package-generate-description-file): Convert extras alist back to
8971 plist and append to the `define-package' form arguments.
8972 (package--alist-to-plist): New function.
8973 (package--ac-desc): Add `extras' slot.
8974 (package--add-to-archive-contents): Check if the archive-contents
8975 vector is long enough, and if it is, pass its `extras' slot value
8976 to `package-desc-create'.
8977 (package-buffer-info): Call `lm-homepage', pass the returned value
8978 to `package-desc-from-define'.
8979 (describe-package-1): Render the homepage button (Bug#13291).
8981 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8982 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8984 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8986 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8987 and default-process-coding-system to utf-8-unix (Bug#15402).
8989 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8991 * subr.el (looking-back): Do not recommend using looking-back.
8993 2013-09-28 Alan Mackenzie <acm@muc.de>
8995 Fix indentation/fontification of Java enum with "implements".
8997 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8998 regexp which matches "implements", etc., in Java.
8999 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9000 specifier clauses coming after "enum".
9001 * progmodes/cc-fonts.el (c-font-lock-declarations)
9002 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9005 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9007 * faces.el (region): Change ns_selection_color to
9008 ns_selection_fg_color, add ns_selection_bg_color.
9010 2013-09-28 Leo Liu <sdl.web@gmail.com>
9012 * progmodes/octave.el (inferior-octave-completion-table)
9013 (inferior-octave-completion-at-point): Minor tweaks.
9015 * textmodes/ispell.el (ispell-lookup-words): Rename from
9016 lookup-words. (Bug#15460)
9017 (lookup-words): Obsolete.
9018 (ispell-complete-word, ispell-command-loop): All uses changed.
9020 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9022 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9023 (octave-mode-menu): Add octave-send-buffer.
9024 (octave-send-buffer): New function.
9026 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9028 * progmodes/octave.el (octave-mode-map): Add key binding for
9030 (octave-mode-menu): Add octave-lookfor.
9031 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9033 (octave-lookfor): New function.
9035 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9037 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9038 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9040 (cl--loop-set-iterator-function): New function.
9041 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9042 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9043 Bind `it' with `let' instead of substituting it with `cl-subst'.
9044 (cl--unused-var-p): New function.
9045 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9046 Eliminate some unused variable warnings (bug#15326).
9048 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9050 * doc-view.el (doc-view-scale-reset): Rename from
9051 `doc-view-reset-zoom-level'.
9052 (doc-view-scale-adjust): New command.
9053 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9054 `doc-view-scale-adjust'.
9056 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9058 * doc-view.el (doc-view-reset-zoom-level): New command.
9059 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9060 zoom commands (bug#15466).
9062 2013-09-26 Kenichi Handa <handa@gnu.org>
9064 * international/quail.el (quail-help): Make it not a command.
9066 2013-09-26 Leo Liu <sdl.web@gmail.com>
9068 * minibuffer.el (completion-all-sorted-completions): Make args
9069 optional as they are.
9071 2013-09-25 Daniel Colascione <dancol@dancol.org>
9073 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9074 specs are and that they're not evaluated.
9076 2013-09-24 Sam Steingold <sds@gnu.org>
9078 * midnight.el (clean-buffer-list-kill-regexps)
9079 (clean-buffer-list-kill-buffer-names): Update for the new Man
9080 buffer naming which includes the object name.
9082 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9085 (eshell-parse-command, eshell-parse-pipeline): Use it since
9086 eshell-separate-commands requires a dynamic scoped var.
9087 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9089 2013-09-23 Leo Liu <sdl.web@gmail.com>
9091 * autoinsert.el (auto-insert-alist): Make the value of
9092 lexical-binding match its file setting.
9094 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9096 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9098 * autoarg.el (autoarg-kp-digit-argument):
9099 * electric.el (Electric-command-loop):
9100 * kmacro.el (kmacro-step-edit-insert):
9101 Do not set universal-argument-num-events.
9103 2013-09-22 Leo Liu <sdl.web@gmail.com>
9105 * files.el (interpreter-mode-alist): Add octave.
9107 2013-09-21 Alan Mackenzie <acm@muc.de>
9109 C++: fontify identifier in declaration following "public:" correctly.
9110 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9111 to match "public", etc.
9112 (c-decl-prefix-re): Add ":" into the C++ value.
9113 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9114 bit. Add a check for a ":" preceded by "public", etc.
9116 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9118 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9119 recognized by GDB 7.5 and later.
9121 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9123 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9125 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * subr.el (internal--call-interactively): New const.
9128 (called-interactively-p): Use it (bug#3984).
9130 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9132 * vc/pcvs.el (cvs-mode-ignore):
9133 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9134 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9136 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9139 (eshell-ls-orig-insert-directory): Remove.
9140 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9141 (eshell-ls-use-in-dired): Use advice-add/remove.
9142 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9143 Add `orig-fun' arg for use in :around advice.
9144 Make it check (redundantly) eshell-ls-use-in-dired.
9146 2013-09-19 Glenn Morris <rgm@gnu.org>
9148 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9150 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9152 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9154 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9156 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9157 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9158 (tramp-get-remote-python): New defuns.
9159 (tramp-get-remote-uid-with-perl)
9160 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9161 contributed by yary <not.com@gmail.com> (tiny change).
9162 (tramp-get-remote-uid-with-python)
9163 (tramp-get-remote-gid-with-python): New defuns. Python code
9164 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9165 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9167 2013-09-19 Glenn Morris <rgm@gnu.org>
9169 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9171 * eshell/em-unix.el (eshell-remove-entries):
9172 Rename argument to avoid name-clash with global `top-level'.
9174 * eshell/esh-proc.el (eshell-kill-process-function):
9175 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9176 (eshell-reset-after-proc): Remove unused arg `proc'.
9178 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9179 (directory-files-and-attributes): Mark unused arg.
9181 * eshell/em-unix.el (eshell-remove-entries):
9182 Remove unused arg `path'. Update callers.
9184 * eshell/em-hist.el (eshell-hist-parse-arguments):
9185 Remove unused arg `silent'. Update callers.
9187 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9188 Fix (f)boundp mix-up.
9190 * eshell/em-smart.el (eshell-smart-scroll-window)
9191 (eshell-disable-after-change):
9192 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9194 2013-09-18 Alan Mackenzie <acm@muc.de>
9196 Fix fontification of type when followed by "const".
9197 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9198 "known" types from fontification.
9200 2013-09-18 Glenn Morris <rgm@gnu.org>
9202 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9203 (chart-face-list): Drop Emacsen without display-color-p.
9205 * net/eww.el (libxml-parse-html-region): Declare.
9206 (eww-display-html): Explicit error if no libxml2 support.
9208 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9210 * image.el (image-type-from-buffer, image-multi-frame-p):
9211 Remove --without-x warning/error.
9213 * mouse.el (mouse-yank-primary):
9214 * term.el (term-mouse-paste):
9215 Reorder to silence --without-x compilation.
9217 * mpc.el (doc-view-mode): Silence --without-x compilation.
9219 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9220 Silence --without-x compilation.
9222 * progmodes/gud.el (gud-find-file, gud-mode):
9223 Silence --without-x compilation.
9224 (tooltip-mode): Declare.
9226 * wdired.el (dired-backup-overwrite): Remove declaration.
9227 (wdired-mode-map): Add doc string.
9229 * custom.el (x-get-resource): Declare.
9231 * eshell/em-glob.el (ange-cache):
9232 * eshell/em-unix.el (ange-cache): Declare.
9234 * faces.el (x-display-list, x-open-connection, x-get-resource):
9237 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9238 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9241 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9243 * net/gnutls.el (gnutls-log-level): Declare.
9245 * net/shr.el (image-size, image-animate): Declare.
9247 * simple.el (font-info): Declare.
9249 * subr.el (x-popup-dialog): Declare.
9251 * term/common-win.el (x-select-enable-primary)
9252 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9255 * term/ns-win.el (x-handle-args): Declare.
9257 * term/x-win.el (x-select-enable-clipboard): Declare.
9259 * term/w32-win.el (create-default-fontset): Declare.
9261 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9264 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9265 (fit-frame-to-buffer): Explicit error if --without-x.
9266 (mouse-autoselect-window-select): Silence compiler.
9268 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9270 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9271 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9272 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9273 * eshell/esh-util.el (eshell-sublist):
9274 Remove unused local variables.
9276 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9278 * textmodes/two-column.el: Make 2C-split work for --without-x.
9279 (scroll-bar-columns): Autoload.
9280 (top-level): Require fringe when compiling.
9282 2013-09-18 Leo Liu <sdl.web@gmail.com>
9284 * subr.el (add-hook): Robustify to handle closure as well.
9286 2013-09-17 Glenn Morris <rgm@gnu.org>
9288 * simple.el (messages-buffer-mode-map): Unbind "g".
9290 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9292 * help-mode.el (help-mode-finish): Use derived-mode-p.
9293 Remove obsolete highlighting.
9295 * play/life.el (life-mode): Use define-derived-mode. Derive from
9297 (life): Let-bind inhibit-read-only.
9298 (life-setup): Avoid `setq'. Use `life-mode'.
9300 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9301 which should not be needed any more.
9302 (package-menu-refresh, package-menu-describe-package): Use user-error.
9304 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9305 (eshell-post-rewrite-command-hook): Make obsolete.
9306 (eshell-parse-command): Simplify.
9307 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9308 (eshell--cmd): Declare.
9309 (eshell-parse-pipeline): Remove unused var `final-p'.
9310 Pass a dynvar to eshell-post-rewrite-command-hook.
9311 Implement the new eshell-post-rewrite-command-function.
9312 (eshell-invoke-directly): Remove unused arg `input'.
9313 * eshell/esh-io.el (eshell-io-initialize):
9314 Use eshell-post-rewrite-command-function (bug#15399).
9315 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9316 adjust to new calling convention.
9317 (eshell-create-handles): Rename args to avoid clashing with dynvar
9320 2013-09-17 Glenn Morris <rgm@gnu.org>
9322 * simple.el (messages-buffer-mode): New major mode.
9323 (messages-buffer): New function.
9324 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9325 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9326 (ert-run-test): Use `messages-buffer' function.
9327 (ert--force-message-log-buffer-truncation): Ignore read-only.
9328 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9329 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9331 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9333 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9335 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9337 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9339 * icomplete.el (icomplete-in-buffer): New var.
9340 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9341 vars and replace them with functions.
9342 (icomplete-minibuffer-setup): Adjust accordingly.
9343 (icomplete--completion-table, icomplete--completion-predicate)
9344 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9346 (icomplete-forward-completions, icomplete-backward-completions)
9347 (icomplete-simple-completing-p, icomplete-exhibit)
9348 (icomplete-completions): Use them.
9349 (icomplete--in-region-buffer): New var.
9350 (icomplete--in-region-setup): New function.
9351 (icomplete-mode): Use it.
9353 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9355 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9356 return args and options.
9357 (eshell-eval-using-options): Use the new return value of
9358 eshell--do-opts to set the options's vars in their scope.
9359 (eshell--set-option): Rename from eshell-set-option.
9361 (eshell--process-option): Rename from eshell-process-option.
9363 (eshell--process-args): Use an `opt-vals' alist to store the options's
9364 values during their processing and return them additionally to the
9367 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9369 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9370 continuation character an operator, as far as indentation is
9371 concerned (Bug#15369).
9373 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9375 * window.el (window--state-put-2): Don't process buffer state
9376 when buffer doesn't exist any more (Bug#15382).
9378 2013-09-15 Glenn Morris <rgm@gnu.org>
9380 * eshell/em-unix.el (eshell/rm):
9381 Make -f ignore missing files. (Bug#15373)
9383 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9384 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9385 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9387 2013-09-14 Glenn Morris <rgm@gnu.org>
9389 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9391 2013-09-13 Glenn Morris <rgm@gnu.org>
9393 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9394 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9396 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9398 * frame.el (x-focus-frame): Mark as declared in frame.c.
9400 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9402 * ls-lisp.el: Use advice-add.
9403 (original-insert-directory): Remove.
9404 (ls-lisp--insert-directory): Rename from insert-directory; add
9405 `orig-fun' argument.
9406 (insert-directory): Advise.
9408 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9410 * term.el (term-emulate-terminal): Decode the command string
9411 before passing it to term-command-hook. (Bug#15337)
9413 2013-09-13 Glenn Morris <rgm@gnu.org>
9415 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9417 * eshell/esh-ext.el (eshell-search-path): Declare.
9419 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9420 Otherwise an error occurs if eshell-dirs module not loaded.
9422 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9424 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9426 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9427 `tramp-check-proper-host'. Check for a valid method name.
9429 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9430 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9431 * net/tramp-sh.el (tramp-maybe-open-connection):
9432 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9434 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9435 also for hash values.
9437 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * term/ns-win.el (parameters): Don't declare as dynamic.
9440 (before-make-frame-hook): Don't add ineffective function.
9442 * eshell/*.el: Use lexical-binding (bug#15231).
9444 2013-09-12 Kenichi Handa <handa@gnu.org>
9446 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9448 2013-09-12 Glenn Morris <rgm@gnu.org>
9450 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9451 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9453 * subr.el (do-after-load-evaluation): Also give compiler warnings
9454 when obsolete files are used (except by obsolete files).
9456 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9457 in the status output, assume `filename' is the first. (Bug#15322)
9459 * vc/vc.el (vc-deduce-fileset): Doc fix.
9461 * calc/calc-help.el (Info-goto-node):
9462 * progmodes/cperl-mode.el (Info-find-node):
9463 * vc/ediff.el (Info-goto-node): Update declarations.
9465 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9467 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9468 (vc-bzr-pull): Require vc-dispatcher.
9469 * vc/vc-git.el (vc-compilation-mode): Declare.
9470 (vc-git-pull): Require vc-dispatcher.
9472 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9474 * progmodes/octave.el (help-button-action): Declare.
9476 * shell.el (shell-directory-tracker): Output error as a message
9477 rather than just returning it as a string.
9478 (shell-process-pushd): Remove useless use of message.
9480 * dframe.el (dframe-timer-fn):
9481 * files.el (dir-locals-read-from-file):
9482 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9484 * reveal.el (reveal-post-command):
9485 * saveplace.el (load-save-place-alist-from-file):
9486 * shell.el (shell-resync-dirs):
9487 * w32-common-fns.el (x-get-selection-value):
9488 * emacs-lisp/copyright.el (copyright-find-copyright):
9489 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9490 * emulation/tpu-edt.el (tpu-copy-keyfile):
9491 * play/bubbles.el (bubbles--mark-neighbourhood):
9492 * progmodes/executable.el
9493 (executable-make-buffer-file-executable-if-script-p):
9494 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9496 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9498 Cleanup Eshell to rely less on dynamic scoping.
9499 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9500 last-value, and ext-command here. Bind `args' closer to `body'.
9501 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9502 (eshell--args): Declare new dynamic var.
9503 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9504 last-value, and ext-command. Pass `args' to `body'.
9505 (eshell-process-args): Bind eshell--args.
9506 (eshell-set-option): Use eshell--args.
9507 * eshell/eshell.el (eshell): Use derived-mode-p.
9508 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9509 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9510 (eshell-glob-function): Declare.
9511 * eshell/esh-util.el: Require cl-lib.
9512 (eshell-read-hosts-file): Avoid add-to-list.
9513 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9515 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9517 (eshell/diff): Remove unused var `err'.
9518 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9520 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9521 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9523 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9524 Move declaration before first use.
9525 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9526 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9529 2013-09-12 Glenn Morris <rgm@gnu.org>
9531 * term/ns-win.el (global-map): Remove binding for ispell-next,
9532 deleted 1999-05-29. (Bug#15357)
9534 2013-09-11 Glenn Morris <rgm@gnu.org>
9536 * echistory.el (electric-command-history): Remove call to deleted func.
9538 * play/landmark.el (landmark-mode): Fix typos.
9540 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9541 Check cvs-sort-ignore-file is bound.
9543 * savehist.el: No need for cl when compiling on Emacs.
9545 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9547 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9549 (eshell-self-insert-command, eshell-send-invisible):
9550 Remove unused argument.
9551 (eshell-handle-control-codes): Remove unused var `orig'.
9552 Avoid delete-backward-char.
9554 * files.el (set-auto-mode): Simplify a bit further.
9556 2013-09-11 Glenn Morris <rgm@gnu.org>
9558 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9559 (set-auto-mode): Don't regexp-quote elements.
9560 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9561 * progmodes/cc-mode.el (interpreter-mode-alist):
9562 * progmodes/ruby-mode.el (interpreter-mode-alist):
9563 Revert previous change.
9565 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9567 * play/snake.el (snake-mode):
9568 * play/mpuz.el (mpuz-mode):
9569 * play/landmark.el (lm-mode):
9570 * play/blackbox.el (blackbox-mode):
9571 * play/5x5.el (5x5-mode):
9572 * obsolete/options.el (Edit-options-mode):
9573 * net/quickurl.el (quickurl-list-mode):
9574 * net/newst-treeview.el (newsticker-treeview-mode):
9575 * mail/rmailsum.el (rmail-summary-mode):
9576 * mail/mspools.el (mspools-mode):
9577 * locate.el (locate-mode):
9578 * ibuffer.el (ibuffer-mode):
9579 * emulation/ws-mode.el (wordstar-mode):
9580 * emacs-lisp/debug.el (debugger-mode):
9581 * array.el (array-mode):
9582 * net/eudc.el (eudc-mode): Use define-derived-mode.
9583 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9584 Move initialization into declaration.
9585 (mairix-searches-mode): Use define-derived-mode.
9586 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9587 (eudc-edit-hotlist): Use dolist.
9588 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9589 (Man-mode): Use define-derived-mode.
9590 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9591 (Info-edit-mode): Use define-derived-mode.
9592 (Info-cease-edit): Use Info-mode.
9593 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9595 (eshell-mode): Use define-derived-mode.
9596 * chistory.el (command-history-mode-map): Rename from
9597 command-history-map.
9598 (command-history-mode): Use define-derived-mode.
9599 (Command-history-setup): Remove function.
9600 * calc/calc.el (calc-trail-mode-map): New var.
9601 (calc-trail-mode): Use define-derived-mode.
9602 (calc-trail-buffer): Set calc-main-buffer manually.
9603 * bookmark.el (bookmark-insert-annotation): New function.
9604 (bookmark-edit-annotation): Use it.
9605 (bookmark-edit-annotation-mode): Make it a proper major mode.
9606 (bookmark-send-edited-annotation): Use derived-mode-p.
9607 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9608 closer to its ideal place. Use \' to match EOS.
9610 * profiler.el (profiler-calltree-find): Use function-equal.
9612 2013-09-10 Glenn Morris <rgm@gnu.org>
9614 * files.el (interpreter-mode-alist): Convert to regexps.
9615 (set-auto-mode): Adapt for this. (Bug#15306)
9616 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9617 Comment out unused variable.
9618 * progmodes/cc-mode.el (interpreter-mode-alist):
9619 * progmodes/python.el (interpreter-mode-alist):
9620 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9621 * progmodes/sh-script.el (sh-set-shell):
9622 No longer use interpreter-mode-alist to get list of shells.
9624 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9626 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9628 * simple.el: Use set-temporary-overlay-map for universal-argument.
9629 (universal-argument-map): Don't use default-bindings (bug#15317).
9630 Bind switch-frame explicitly. Replace universal-argument-minus with
9631 a conditional binding.
9632 (universal-argument-num-events, saved-overriding-map): Remove.
9633 (restore-overriding-map): Remove.
9634 (universal-argument--mode): Rename from save&set-overriding-map,
9636 (universal-argument, universal-argument-more, negative-argument)
9637 (digit-argument): Adjust accordingly.
9638 (universal-argument-minus): Remove.
9639 (universal-argument-other-key): Remove.
9641 * subr.el (with-demoted-errors): Add `format' argument.
9643 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9645 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9646 `tramp-cleanup-connection'.
9648 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9649 parameters KEEP-DEBUG and KEEP-PASSWORD.
9651 * net/tramp.el (tramp-file-name-handler):
9652 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9653 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9654 (tramp-maybe-open-connection):
9655 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9656 Use `tramp-cleanup-connection'.
9658 * net/tramp-sh.el (tramp-maybe-open-connection):
9659 Catch 'uname-changed inside the progress reporter.
9661 2013-09-10 Glenn Morris <rgm@gnu.org>
9663 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9665 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9666 returns "alternate access method" in mode (eg "-rw-r--r--.").
9668 2013-09-08 Glenn Morris <rgm@gnu.org>
9670 * saveplace.el (load-save-place-alist-from-file):
9671 Demote errors. (Bug#15305)
9673 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9675 Improve compatibility with older Emacsen, and XEmacs.
9677 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9678 only if it is bound. It isn't for XEmacs.
9679 (with-tramp-progress-reporter): Do not let-bind `result'.
9680 This yields to scoping errors in XEmacs.
9681 (tramp-handle-make-auto-save-file-name): New function, moved from
9684 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9685 for `make-auto-save-file-name'.
9686 (tramp-adb--gnu-switches-to-ash):
9687 Use `tramp-compat-replace-regexp-in-string'.
9689 * net/tramp-cache.el (tramp-cache-print): Call
9690 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9692 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9693 bound. It isn't for XEmacs.
9695 * net/tramp-compat.el (tramp-compat-copy-file):
9696 Catch `wrong-number-of-arguments' error.
9697 (tramp-compat-replace-regexp-in-string): New defun.
9699 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9700 for `make-auto-save-file-name'.
9701 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9703 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9704 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9705 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9707 * net/tramp-gw.el (tramp-gw-open-network-stream):
9708 Use `tramp-compat-replace-regexp-in-string'.
9710 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9711 Call `tramp-handle-make-auto-save-file-name'.
9712 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9713 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9714 (tramp-sh-file-inotifywait-process-filter):
9715 Use `tramp-compat-replace-regexp-in-string'.
9716 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9718 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9719 for `make-auto-save-file-name'.
9720 (tramp-smb-handle-copy-directory):
9721 Call `tramp-compat-replace-regexp-in-string'.
9722 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9723 (tramp-smb-handle-copy-file): Improve error message.
9724 (tramp-smb-handle-rename-file): Rename directly only in case
9725 `newname' does not exist yet. This is a restriction of smbclient.
9726 (tramp-smb-maybe-open-connection): Rerun the function only when
9727 `auth-sources' is non-nil.
9729 2013-09-08 Kenichi Handa <handa@gnu.org>
9731 * international/characters.el: Set category "^" (Combining) for
9734 2013-09-07 Alan Mackenzie <acm@muc.de>
9736 Correctly fontify Java class constructors.
9737 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9739 (c-recognize-typeless-decls): Set the Java value to t.
9740 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9741 While handling a "(", add a check for, effectively, Java, and handle a
9742 "typeless" declaration there.
9744 2013-09-07 Roland Winkler <winkler@gnu.org>
9746 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9747 field subtitle for entry type book.
9749 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9751 * minibuffer.el: Make minibuffer-complete call completion-in-region
9752 rather than other way around.
9753 (completion--some, completion-pcm--find-all-completions):
9754 Don't delay signals when debugging.
9755 (minibuffer-completion-contents): Beware fields within the
9756 minibuffer contents.
9757 (completion-all-sorted-completions): Use defvar-local.
9758 (completion--do-completion, completion--cache-all-sorted-completions)
9759 (completion-all-sorted-completions, minibuffer-force-complete):
9760 Add args `beg' and `end'.
9761 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9762 (minibuffer-complete): Use completion-in-region.
9763 (completion-complete-and-exit): New fun, extracted from
9764 minibuffer-complete-and-exit.
9765 (minibuffer-complete-and-exit): Use it.
9766 (completion--complete-and-exit): Rename from
9767 minibuffer--complete-and-exit.
9768 (completion-in-region--single-word): New function, extracted from
9769 minibuffer-complete-word.
9770 (minibuffer-complete-word): Use it.
9771 (display-completion-list): Make `common-substring' argument obsolete.
9772 (completion--in-region): Call completion--in-region-1 instead of
9773 minibuffer-complete.
9774 (completion-help-at-point): Pass boundaries to
9775 minibuffer-completion-help as args rather than via an overlay.
9776 (completion-pcm--string->pattern): Use `any-delim'.
9777 (completion-pcm--optimize-pattern): New function.
9778 (completion-pcm--pattern->regex): Handle `any-delim'.
9779 * icomplete.el (icomplete-forward-completions)
9780 (icomplete-backward-completions, icomplete-completions):
9781 Adjust calls to completion-all-sorted-completions and
9782 completion--cache-all-sorted-completions.
9783 (icomplete-with-completion-tables): Default to t.
9784 * emacs-lisp/crm.el (crm--current-element): Rename from
9785 crm--select-current-element. Don't put an overlay but return the
9787 (crm--completion-command): Take two new args to bind to the boundaries.
9788 (crm-completion-help): Adjust accordingly.
9789 (crm-complete): Use completion-in-region.
9790 (crm-complete-word): Use completion-in-region--single-word.
9791 (crm-complete-and-exit): Use completion-complete-and-exit.
9793 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9798 2013-09-06 Juri Linkov <juri@jurta.org>
9800 * info.el (Info-display-images-node): When image file doesn't exist
9801 display text version of the image if it's provided in the Info file.
9802 Otherwise, display the location of missing image from SRC attribute.
9803 Add help-echo text property from ALT attribute. (Bug#15279)
9805 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9808 (edit-abbrevs-mode): Use define-derived-mode.
9810 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9811 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9813 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9814 Use define-derived-mode.
9816 * epg.el (epg-start-encrypt): Minor CSE simplification.
9818 2013-09-06 William Xu <william.xwl@gmail.com>
9820 * arc-mode.el: Add support for 7za (bug#15264).
9821 (archive-7z-program): New var.
9822 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9823 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9824 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9826 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9830 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9831 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9832 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9833 (tramp-postfix-host-format, tramp-file-name-regexp)
9834 (tramp-completion-file-name-regexp)
9835 (tramp-completion-dissect-file-name)
9836 (tramp-handle-substitute-in-file-name): Remove 'url case.
9837 (tramp-file-name-regexp-url)
9838 (tramp-completion-file-name-regexp-url): Remove constants.
9840 2013-09-06 Glenn Morris <rgm@gnu.org>
9842 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9844 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9846 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9847 keywords" below "here-doc beginnings" (Bug#15270).
9849 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * subr.el (pop): Use `car-safe'.
9852 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9853 to detect unused `pop' return value.
9855 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9857 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9858 (python-fill-string): Remove unused var `marker'.
9859 (python-skeleton-add-menu-items): Remove unused var `items'.
9861 * international/mule-cmds.el: Require CL.
9862 (find-coding-systems-for-charsets): Avoid add-to-list.
9863 (sanitize-coding-system-list): New function, extracted from
9864 select-safe-coding-system-interactively.
9865 (select-safe-coding-system-interactively): Use it.
9866 (read-input-method-name): Accept symbols for `default'.
9868 * emacs-lisp/advice.el (defadvice): Add indent rule.
9870 2013-09-05 Daniel Hackney <dan@haxney.org>
9874 * net/browse-url.el:
9877 * net/eudcb-ldap.el:
9890 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9891 byte compiler. Remove some unused let-bound variables.
9893 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9896 a "ref-cell", since it gets better optimized (bug#14883).
9898 2013-09-05 Glenn Morris <rgm@gnu.org>
9900 * progmodes/cc-awk.el (c-forward-sws): Declare.
9902 2013-09-04 Glenn Morris <rgm@gnu.org>
9904 * generic-x.el [rul-generic-mode]: Require cc-mode.
9905 (c++-mode-syntax-table): Declare.
9906 (rul-generic-mode-syntax-table): Init in the defvar.
9908 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9910 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9911 (vc-do-command, vc-set-async-update):
9912 * vc/vc-mtn.el (vc-mtn-dir-status):
9913 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9914 (vc-hg-pull, vc-hg-merge-branch):
9915 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9916 (vc-git-merge-branch):
9917 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9918 (vc-cvs-dir-status-files):
9919 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9920 (vc-bzr-dir-status-files):
9921 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9922 * vc/vc-annotate.el: Use lexical-binding.
9923 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9924 (vc-sentinel-movepoint): Declare.
9925 (vc-annotate): Don't use `goto-line'.
9926 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9927 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9928 (vc-sentinel-movepoint): Declare.
9929 * vc/vc-svn.el: Use lexical-binding.
9930 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9932 * vc/vc-rcs.el: Use lexical-binding.
9934 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9935 `deleted'. Don't drop errors silently.
9937 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9939 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9941 * vc/vc.el (vc-ignore): Rewrite.
9942 (vc-default-ignore): New function.
9943 (vc-default-ignore-completion-table): Use find-ignore-file.
9945 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9946 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9947 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9948 Remove. Most code moved to vc.el.
9950 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9953 * net/tramp-smb.el (tramp-smb-get-file-entries):
9954 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9955 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9957 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9959 (eww-change-select): Remove unused var `properties'.
9960 (eww-make-unique-file-name): Remove unused var `base'.
9962 * finder.el (finder-compile-keywords): Don't mess with windows.
9964 * calculator.el (calculator-funcall): Fix typo in last change.
9966 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9968 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9969 <pkg>-autoloads.el file stop us.
9971 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9972 warnings, and factor out common code.
9974 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9976 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9977 two-character operators and whether the character preceding them
9978 changes their meaning (Bug#15208).
9980 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9982 Format code sent to Python shell for robustness.
9983 * progmodes/python.el (python-shell-buffer-substring):
9985 (python-shell-send-region, python-shell-send-buffer): Use it.
9987 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9989 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9990 * net/tramp.el (tramp-user-error): ... here.
9991 (tramp-find-method, tramp-check-proper-host)
9992 (tramp-dissect-file-name, tramp-debug-message)
9993 (tramp-handle-shell-command):
9994 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9997 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9999 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10001 * avoid.el (mouse-avoidance-point-position)
10002 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10005 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10007 * progmodes/python.el (python-shell-completion-get-completions):
10008 Drop use of deleted `comint-last-prompt-overlay'.
10009 (python-nav-if-name-main): New command.
10011 2013-09-01 Glenn Morris <rgm@gnu.org>
10013 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10014 Avoid leading space in $wins. Otherwise the sed command used by
10015 eg compile-main ends up containing "/*.el". (Bug#15170)
10017 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10019 2013-08-30 Glenn Morris <rgm@gnu.org>
10021 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10022 Fix is-this-a-directory logic. (Bug#15220)
10024 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10026 * textmodes/css-mode.el: Use SMIE.
10027 (css-smie-grammar): New var.
10028 (css-smie--forward-token, css-smie--backward-token)
10029 (css-smie-rules): New functions.
10030 (css-mode): Use them.
10031 (css-navigation-syntax-table): Remove var.
10032 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10033 (css-indent-calculate, css-indent-line): Remove functions.
10035 Misc changes to reduce use of `(lambda...); and other cleanups.
10036 * cus-edit.el: Use lexical-binding.
10037 (customize-push-and-save, customize-apropos)
10038 (custom-buffer-create-internal): Use closures.
10039 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10040 * progmodes/ada-xref.el: Use setq.
10041 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10042 * dframe.el: Use lexical-binding.
10043 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10044 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10045 * descr-text.el: Use lexical-binding.
10046 (describe-text-widget, describe-text-sexp, describe-property-list):
10048 * comint.el (comint-history-isearch-push-state): Use a closure.
10049 * calculator.el: Use lexical-binding.
10050 (calculator-number-to-string): Make it work with lexical-binding.
10051 (calculator-funcall): Same and use cl-letf.
10053 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10054 (lisp--company-doc-string, lisp--company-location): New functions.
10055 (lisp-completion-at-point): Use them to improve Company support.
10057 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10058 params of lambda expressions.
10059 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10060 (ruby-smie--opening-pipe-p): New function.
10061 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10062 symbols and matched |...| for formal params.
10063 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10064 from being treated as hanging. Handle "rescue".
10066 2013-08-29 Glenn Morris <rgm@gnu.org>
10068 * progmodes/cc-engine.el (c-pull-open-brace):
10069 Move definition before use.
10071 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10073 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10074 are immutable. Don't use `unsafe' any more.
10075 (cl--defsubst-expand): Don't substitute at the same time as keeping
10076 a residual unused let-binding. Don't use `unsafe' any more.
10078 2013-08-29 Glenn Morris <rgm@gnu.org>
10080 * calendar/cal-china.el (calendar-chinese-year-cache):
10083 * nxml/nxml-util.el (nxml-debug-clear-inside):
10084 Use cl-loop rather than loop.
10086 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10088 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10090 2013-08-28 Glenn Morris <rgm@gnu.org>
10092 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10094 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10096 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10098 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * simple.el (repeat-complex-command--called-interactively-skip):
10102 (repeat-complex-command): Use it (bug#14136).
10104 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10105 (c-define-abbrev-table): Add `doc' argument.
10106 (c-mode-abbrev-table, c++-mode-abbrev-table)
10107 (objc-mode-abbrev-table, java-mode-abbrev-table)
10108 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10109 (awk-mode-abbrev-table): Use it.
10110 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10111 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10112 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10113 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10114 Move initialization into the declaration; and remove any
10117 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10118 and dynamic let binding.
10120 * vc/smerge-mode.el: Remove redundant :group args.
10122 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10125 2013-08-28 Juri Linkov <juri@jurta.org>
10127 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10128 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10129 (isearch-other-meta-char): Handle an undefined shifted printing
10130 character by downshifting it. (Bug#15200)
10132 2013-08-28 Juri Linkov <juri@jurta.org>
10134 * isearch.el (isearch-search): Change regexp error message for
10135 non-regexp searches. (Bug#15166)
10137 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10139 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10140 for portability to hosts where /bin/sh has problems.
10142 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10146 2013-08-27 Juri Linkov <juri@jurta.org>
10148 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10149 in the keyboard macro. (Bug#15126)
10151 2013-08-27 Juri Linkov <juri@jurta.org>
10153 * isearch.el (isearch-quote-char): Comment out converting unibyte
10154 to multibyte, thus syncing with its `quoted-insert' counterpart.
10157 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10159 * window.el (display-buffer-use-some-window): Add missing
10160 argument in call of get-largest-window (Bug#15185).
10161 Reported by Stephen Leake.
10163 2013-08-27 Glenn Morris <rgm@gnu.org>
10165 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10167 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10169 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10170 from a matcher-function unless there's no more matches (bug#15161).
10172 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10174 * minibuffer.el: Revert change from 2013-08-20.
10176 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10177 with text property `tramp-default', if appropriate.
10178 (tramp-check-proper-host): New defun.
10179 (tramp-dissect-file-name): Do not check hostname. Revert change
10181 (tramp-backtrace): Make VEC-OR-PROC optional.
10183 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10184 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10185 * net/tramp-sh.el (tramp-maybe-open-connection):
10186 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10187 Apply `tramp-check-proper-host'.
10189 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10191 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10192 lambda expression in order to have `describe-variable' display it.
10194 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10196 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10197 BUF can be optional. (Bug#15186)
10199 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10201 * progmodes/flymake.el (flymake-get-real-file-name-function):
10202 Fix broken customization. (Bug#15184)
10204 2013-08-25 Alan Mackenzie <acm@muc.de>
10206 Improve indentation of bracelists defined by macros (without "=").
10208 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10209 expansion begins with "{", regard it as bracelist when it doesn't
10212 Parse C++ inher-intro when there's a template split over 2 lines.
10214 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10215 rigorously the search for "class" etc. followed by ":".
10217 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10218 random languages a regexp which never matches rather than nil.
10220 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10222 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10223 (c-awk-regexp-one-line-possibly-open-char-list-re)
10224 (c-awk-one-line-possibly-open-regexp-re)
10225 (c-awk-one-line-non-syn-ws*-re): Remove.
10226 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10227 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10228 (c-awk-space*-unclosed-regexp-/-re): New constants.
10229 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10230 aren't regexp delimiters.
10232 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10233 handling for a rare situation in AWK Mode involving unterminated
10236 2013-08-23 Glenn Morris <rgm@gnu.org>
10238 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10240 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10242 * files.el (create-file-buffer): If the result would begin with
10243 spaces, prepend a "|" instead of removing them. (Bug#15162)
10245 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10247 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10248 text-properties (bug#15155).
10250 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10252 (calc-keypad-redraw): Remove unused var `pad'.
10253 (calc-keypad-press): Remove unused var `menu'.
10255 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10257 * window.el (display-buffer-pop-up-frame):
10258 Call pop-up-frame-function with BUFFER current so `make-frame' will
10259 use it as the new frame's buffer (Bug#15133).
10261 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10263 * calendar/timeclock.el: Minor cleanups.
10264 (timeclock-ask-before-exiting, timeclock-use-display-time):
10266 (timeclock-modeline-display): Define as alias before the
10268 (timeclock-mode-line-display): Use define-minor-mode.
10269 (timeclock-day-list-template): Make it a function, add an argument.
10270 (timeclock-day-list-required, timeclock-day-list-length)
10271 (timeclock-day-list-debt, timeclock-day-list-span)
10272 (timeclock-day-list-break): Adjust calls accordingly.
10274 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10276 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10277 Use read--expression so that completion works again.
10279 2013-08-21 Sam Steingold <sds@gnu.org>
10281 Add rudimentary inferior shell interaction
10282 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10283 (sh-set-shell): Reset it.
10284 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10285 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10287 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10289 * align.el: Use lexical-binding.
10290 (align-region): Simplify accordingly.
10292 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10294 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10296 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10297 `non-essential' up.
10299 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10302 * net/tramp-adb.el:
10303 * net/tramp-cmds.el:
10304 * net/tramp-ftp.el:
10305 * net/tramp-gvfs.el:
10307 * net/tramp-sh.el: Don't wrap external variable declarations by
10308 `eval-when-compile'.
10310 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10312 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10313 now that Emacs supports ImageMagick animations.
10315 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10317 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10318 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10320 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10322 * window.el (mouse-autoselect-window-select): Do autoselect when
10323 mouse pointer is on margin.
10325 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10327 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10329 2013-08-16 Glenn Morris <rgm@gnu.org>
10331 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10332 Handle "Remote Directory" response of some clients. (Bug#15058)
10334 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10335 Tweak warning. (Bug#14926)
10337 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10338 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10340 * image-mode.el (image-mode-map): Add menu items to reverse,
10341 increase, decrease, reset animation speed.
10342 (image--set-speed, image-increase-speed, image-decrease-speed)
10343 (image-reverse-speed, image-reset-speed): New functions.
10344 (image-mode-map): Add bindings for speed commands.
10346 * image.el (image-animate-get-speed, image-animate-set-speed):
10348 (image-animate-timeout): Respect image :speed property.
10350 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10353 previous line (bug#15101).
10354 (debugger-eval-expression, debugger-record-expression):
10355 Use read--expression (bug#15102).
10357 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10359 Remove byte compiler warnings, visible when compiling with
10360 `byte-compile-force-lexical-warnings' set to t.
10362 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10363 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10364 (tramp-handle-unhandled-file-name-directory)
10365 (tramp-handle-file-notify-add-watch, tramp-action-login)
10366 (tramp-action-succeed, tramp-action-permission-denied)
10367 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10368 arguments with "_".
10370 * net/tramp-adb.el (tramp-adb-parse-device-names)
10371 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10372 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10373 (tramp-adb-handle-file-truename): Remove unused arguments.
10375 * net/tramp-cache.el (tramp-flush-directory-property)
10376 (tramp-flush-connection-property, tramp-list-connections)
10377 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10379 * net/tramp-compat.el (tramp-compat-make-temp-file):
10380 Rename FILENAME to F.
10382 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10383 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10384 (tramp-zeroconf-parse-workstation-device-names)
10385 (tramp-zeroconf-parse-webdav-device-names)
10386 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10388 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10389 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10391 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10393 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10394 (tramp-sh-handle-insert-file-contents-literally)
10395 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10397 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10398 Remove unused variables.
10400 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10401 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10402 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10404 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10405 Make them a defconst.
10406 (tramp-uuencode-region): Remove unused variable.
10408 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10410 * frameset.el (frameset--prop-setter): New function.
10411 (frameset-prop): Add gv-setter declaration.
10412 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10413 parameter was already set in FILTERED. Doc fix.
10414 (frameset--record-minibuffer-relationships): Allow saving a
10415 minibufferless frame without its corresponding minibuffer frame.
10416 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10417 frame, if the frame id matches.
10418 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10419 frames before orphaned ones.
10420 (frameset-restore): Warn about orphaned windows, instead of error out.
10422 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10424 * window.el (window-make-atom): Don't overwrite parameter
10426 (display-buffer-in-atom-window): Handle special case where we
10427 split an already atomic window.
10428 (window--major-non-side-window, display-buffer-in-side-window)
10429 (window--side-check): Ignore minibuffer window when walking
10431 (window-deletable-p): Return 'frame only if no other frame uses
10432 our minibuffer window.
10433 (record-window-buffer): Run buffer-list-update-hook.
10434 (split-window): Make sure window--check-frame won't destroy an
10435 existing atomic window in case the new window gets nested
10437 (display-buffer-at-bottom): Ignore minibuffer window when
10438 walking window tree. Don't split a side window.
10439 (pop-to-buffer): Don't set-buffer here, the select-window call
10441 (mouse-autoselect-window-select): Autoselect only if we are in the
10442 text portion of the window.
10444 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10446 * net/shr.el (shr-parse-image-data): New function to grab both the
10447 data itself and the Content-Type.
10448 (shr-put-image): Use it.
10450 * net/eww.el (eww-display-image): Ditto.
10452 * image.el (image-content-type-suffixes): New variable.
10454 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10456 * progmodes/python.el (python-imenu--build-tree)
10457 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10459 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10461 * simple.el (backward-word): Mention the optional argument.
10463 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * frameset.el (frameset--make): Rename constructor from make-frameset.
10466 (frameset-p, frameset-valid-p): Don't autoload.
10467 (frameset-valid-p): Use normal accessors.
10469 2013-08-13 Glenn Morris <rgm@gnu.org>
10471 * progmodes/compile.el (compile-command): Tweak example in doc.
10472 * obsolete/scribe.el (scribe-mode):
10473 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10475 * mail/feedmail.el (feedmail-confirm-outgoing)
10476 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10478 * cus-start.el (truncate-partial-width-windows): Fix type.
10480 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10482 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10484 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10486 * emacs-lisp/timer.el (timer--time-setter): New function.
10487 (timer--time): Use it as gv-setter.
10489 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10490 setter is not a symbol.
10492 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10494 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10495 if sending fails. This makes debugging easier.
10497 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10499 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10500 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10501 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10503 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10505 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10507 2013-08-12 Glenn Morris <rgm@gnu.org>
10509 * format.el (format-annotate-function):
10510 Handle read-only text properties in the source. (Bug#14887)
10512 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10514 * net/eww.el (eww-display-html): Ignore coding system errors.
10515 One web site uses "utf-8lias" as the coding system.
10517 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10519 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10521 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10523 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10524 (tutorial--detailed-help): Remove unused local variables.
10525 (tutorial--save-tutorial-to): Use ignore-errors.
10526 (help-with-tutorial): Use looking-at-p.
10528 * view.el (view-buffer-other-window, view-buffer-other-frame):
10529 Mark unused arguments.
10531 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10532 (woman-select-symbol-fonts, woman, woman-find-file)
10533 (woman-insert-file-contents, woman-non-underline-faces):
10534 Use string-match-p.
10535 (woman1-unquote): Move declaration.
10537 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10538 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10539 argument. Remove unused local variable.
10540 (xml-parse-elem-type): Use string-match-p.
10541 (xml-substitute-numeric-entities): Use ignore-errors.
10543 * calculator.el (calculator): Mark unused argument.
10544 (calculator-paste, calculator-quit, calculator-integer-p):
10546 (calculator-string-to-number, calculator-decimal, calculator-exp)
10547 (calculator-op-or-exp): Use string-match-p.
10549 * dired.el (dired-buffer-more-recently-used-p): Declare.
10550 (dired-insert-set-properties, dired-insert-old-subdirs):
10553 * dired-aux.el (dired-compress): Use ignore-errors.
10554 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10555 (dired-do-async-shell-command, dired-do-shell-command)
10556 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10557 (dired-insert-subdir-validate): Use string-match-p.
10558 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10559 (dired-add-entry): Use string-match-p, looking-at-p.
10560 (dired-insert-subdir-newpos): Remove unused local variable.
10562 * filenotify.el (file-notify-callback): Remove unused local variable.
10564 * filesets.el (filesets-error): Mark unused argument.
10565 (filesets-which-command-p, filesets-filter-dir-names)
10566 (filesets-directory-files, filesets-get-external-viewer)
10567 (filesets-ingroup-get-data): Use string-match-p.
10569 * find-file.el (ff-other-file-name, ff-other-file-name)
10570 (ff-find-the-other-file, ff-cc-hh-converter):
10571 Remove unused local variables.
10572 (ff-get-file-name): Use string-match-p.
10573 (ff-all-dirs-under): Use ignore-errors.
10575 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10576 (follow-select-if-visible): Remove unused local variable.
10578 * forms.el (read-file-filter): Move declaration.
10579 (forms--make-format, forms--make-parser, forms-insert-record):
10580 Quote function with #'.
10581 (forms--update): Use string-match-p. Quote function with #'.
10583 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10584 (help-make-xrefs): Use looking-at-p.
10585 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10587 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10588 (ibuffer-confirm-operation-on): Use string-match-p.
10590 * msb.el (msb-item-handler, msb-dired-item-handler):
10591 Mark unused arguments.
10593 * ses.el (ses-decode-cell-symbol)
10594 (ses-kill-override): Remove unused local variable.
10595 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10596 (ses-load): Use ignore-errors, looking-at-p.
10597 (ses-jump-safe): Use ignore-errors.
10598 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10600 * tabify.el (untabify, tabify): Mark unused arguments.
10602 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10603 Mark unused argument.
10604 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10605 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10607 * emacs-lisp/timer.el (timer--time): Define setter with
10608 gv-define-setter to avoid deprecation warning.
10610 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10611 (*record-cmpl-statistics-p*): Remove (was commented out).
10612 (cmpl-statistics-block): Remove (body was commented out).
10613 All callers changed.
10614 (add-completions-from-buffer, load-completions-from-file):
10615 Remove unused variables.
10617 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10619 * filecache.el (file-cache-delete-file-list):
10620 Print message only when told so.
10621 (file-cache-files-matching): Use #' in mapconcat argument.
10623 * ffap.el (ffap-url-at-point): Fix reference to variable
10624 thing-at-point-default-mail-uri-scheme.
10626 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * subr.el (define-error): New function.
10629 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10630 error-file-not-found and define with define-error.
10631 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10632 and define with define-error.
10633 * userlock.el (file-locked, file-supersession):
10634 * simple.el (mark-inactive):
10635 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10636 * progmodes/ada-mode.el (ada-mode-errors):
10637 * play/life.el (life-extinct):
10638 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10639 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10640 * nxml/rng-util.el (rng-error):
10641 * nxml/rng-uri.el (rng-uri-error):
10642 * nxml/rng-match.el (rng-compile-error):
10643 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10644 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10645 * nxml/nxml-rap.el (nxml-scan-error):
10646 * nxml/nxml-outln.el (nxml-outline-error):
10647 * net/soap-client.el (soap-error):
10648 * net/gnutls.el (gnutls-error):
10649 * net/ange-ftp.el (ftp-error):
10650 * mpc.el (mpc-proc-error):
10651 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10652 (json-number-format, json-string-escape, json-string-format)
10653 (json-key-format, json-object-format):
10654 * jka-compr.el (compression-error):
10655 * international/quail.el (quail-error):
10656 * international/kkc.el (kkc-error):
10657 * emacs-lisp/ert.el (ert-test-failed):
10658 * calc/calc.el (calc-error, inexact-result, math-overflow)
10660 * bookmark.el (bookmark-error-no-filename):
10661 * epg.el (epg-error): Define with define-error.
10663 * time.el (display-time-event-handler)
10664 (display-time-next-load-average): Don't call sit-for since it seems
10665 unnecessary (bug#15045).
10667 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10668 Use #' instead of ' to quote functions.
10669 (checkdoc-output-mode): Use setq-local.
10670 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10671 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10672 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10673 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10674 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10675 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10676 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10677 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10679 * ido.el (ido-completion-help): Fix up compiler warning.
10681 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10683 * frameset.el (frameset-p): Add autoload cookie.
10684 (frameset--jump-to-register): New function, based on code moved from
10686 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10688 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10689 (frameset-restore, frameset-save, frameset-session-filter-alist):
10690 Remove declarations.
10691 (register-alist): Doc fix.
10692 (frameset-to-register): Move to frameset.el.
10693 (jump-to-register, describe-register-1): Remove frameset-specific code.
10695 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10697 * allout-widgets.el (allout-widgets-pre-command-business)
10698 (allout-widgets-post-command-business)
10699 (allout-widgets-after-change-handler)
10700 (allout-decorate-item-and-context, allout-set-boundary-marker)
10701 (allout-body-modification-handler)
10702 (allout-graphics-modification-handler): Mark ignored arguments.
10703 (allout-widgets-post-command-business)
10704 (allout-widgets-exposure-change-processor)
10705 (allout-widgets-exposure-undo-processor)
10706 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10707 (allout-parse-item-at-point, allout-decorate-item-guides)
10708 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10709 * allout.el (epa-passphrase-callback-function): Declare.
10710 (allout-overlay-insert-in-front-handler)
10711 (allout-overlay-interior-modification-handler)
10712 (allout-isearch-end-handler, allout-chart-siblings)
10713 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10714 (allout-yank-processing, allout-process-exposed)
10715 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10716 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10717 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10718 (lisp-indent-defform): Mark ignored arguments.
10719 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10720 (calculate-lisp-indent): Remove unused variables.
10721 * international/characters.el (indian-2-column, arabic-2-column)
10722 (tibetan): Mark ignored arguments.
10723 (use-cjk-char-width-table): Mark ignored arguments.
10724 Remove unused variables.
10725 * international/fontset.el (build-default-fontset-data)
10726 (x-compose-font-name, create-fontset-from-fontset-spec):
10727 Mark ignored arguments.
10728 (fontset-plain-name): Remove unused variables.
10729 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10730 (keyboard-coding-system): Mark ignored arguments.
10731 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10732 * help.el (resize-temp-buffer-window):
10733 * window.el (display-buffer-in-major-side-window)
10734 (display-buffer-in-side-window, display-buffer-in-previous-window):
10735 Remove unused variables.
10736 * isearch.el (isearch-forward-symbol):
10737 * version.el (emacs-bzr-version-bzr):
10738 * international/mule-cmds.el (current-language-environment):
10739 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10740 (x-handle-display):
10741 * term/pc-win.el (x-list-fonts, x-display-planes)
10742 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10743 (x-server-version, x-display-screens, x-display-mm-height)
10744 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10745 (x-selection-owner-p, x-own-selection-internal)
10746 (x-disown-selection-internal, x-get-selection-internal)
10747 (msdos-initialize-window-system):
10748 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10749 * term/x-win.el (x-handle-no-bitmap-icon):
10750 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10751 (vc-default-find-file-hook, vc-default-extra-menu):
10752 Mark ignored arguments.
10754 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10757 break-condition in the context of the debugged code (bug#12685).
10759 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10762 Do not use an overlay to highlight the last prompt. (Bug#14744)
10763 (comint-mode): Make comint-last-prompt buffer local.
10764 (comint-last-prompt): New variable.
10765 (comint-last-prompt-overlay): Remove. Superseded by
10766 comint-last-prompt.
10767 (comint-snapshot-last-prompt, comint-output-filter):
10768 Use comint-last-prompt.
10770 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10772 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10773 (frameset-save): Check validity of the resulting frameset.
10775 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10777 * ido.el (ido-record-command): Add doc string.
10779 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10781 * frameset.el (frameset): Do not disable creation of the default
10782 frameset-p predicate. Doc fix.
10783 (frameset-valid-p): New function, copied from the old predicate-p.
10784 Add additional checks.
10785 (frameset-restore): Check with frameset-valid-p.
10786 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10787 (frameset-name, frameset-description, frameset-properties)
10788 (frameset-states): Add docstring.
10789 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10790 (frameset-filter-alist): Doc fixes.
10792 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10794 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10796 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10798 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10799 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10800 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10801 (byte-compile-normal-call): Remove obsolescence check.
10803 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10805 * frameset.el (frameset-restore): Doc fix.
10807 * register.el (frameset-frame-id, frameset-frame-with-id)
10808 (frameset-p, frameset-restore, frameset-save): Declare.
10809 (register-alist): Document framesets.
10810 (frameset-session-filter-alist): Declare.
10811 (frameset-to-register): New function.
10812 (jump-to-register): Implement jumping to framesets. Doc fix.
10813 (describe-register-1): Describe framesets.
10815 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10817 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10819 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10820 Use lexical-binding.
10822 * frameset.el (frameset): Use type vector, not list (incompatible
10823 change). Do not declare a new constructor, use the default one.
10824 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10825 `name' and `description', respectively, and add read-only slot
10826 `timestamp'. Doc fixes.
10827 (frameset-copy, frameset-persistent-filter-alist)
10828 (frameset-filter-alist, frameset-switch-to-gui-p)
10829 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10830 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10831 (frameset-filter-iconified, frameset-keep-original-display-p):
10833 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10834 Rename from frameset-filter-(save|restore)-param. All callers changed.
10836 (frameset-p): Adapt to change to vector and be more thorough.
10837 Change arg name to OBJECT. Doc fix.
10838 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10839 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10840 All callers changed.
10841 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10842 All callers changed.
10843 (frameset--record-minibuffer-relationships): Rename from
10844 frameset--process-minibuffer-frames. All callers changed.
10845 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10846 Use new default constructor (again). Doc fix.
10847 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10848 All callers changed.
10849 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10850 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10852 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10853 PARAMETERS and WINDOW-STATE, respectively.
10854 (frameset-restore): Add new keyword argument PREDICATE.
10855 Reset frameset--target-display to nil. Doc fix.
10857 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10860 (bat-mode): Use it.
10861 (bat-mode-syntax-table): Mark \n as end-of-comment.
10862 (bat-font-lock-keywords): Remove comment rule.
10864 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10865 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10867 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10868 (byte-compile-callargs-warn): Use `push'.
10869 (byte-compile-arglist-warn): Ignore higher-order "calls".
10870 (byte-compile-file-form-autoload): Use `pcase'.
10871 (byte-compile-function-form): If quoting a symbol, check that it exists.
10873 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10875 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10876 and add a few popular commands found in batch files.
10877 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10878 (dos-mode): Doc fixes.
10880 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10883 (dos-mode): Use setq-local. Add space after "rem".
10884 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10885 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10887 2013-08-07 Arni Magnusson <arnima@hafro.is>
10889 * progmodes/dos.el: New file.
10890 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10893 2013-08-06 Glenn Morris <rgm@gnu.org>
10895 * calendar/calendar.el: Add new faces, and day-header-array.
10896 (calendar-weekday-header, calendar-weekend-header)
10897 (calendar-month-header): New faces.
10898 (calendar-day-header-construct): New function.
10899 (calendar-day-header-width): Also :set calendar-day-header-array.
10900 (calendar-american-month-header, calendar-european-month-header)
10901 (calendar-iso-month-header): Use calendar- faces.
10902 (calendar-generate-month):
10903 Use calendar-day-header-array for day headers; apply faces to them.
10904 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10905 (calendar-abbrev-construct): Add optional maxlen argument.
10906 (calendar-day-name-array): Doc fix.
10907 (calendar-day-name-array, calendar-abbrev-length)
10908 (calendar-day-abbrev-array):
10909 Also :set calendar-day-header-array, and maybe redraw.
10910 (calendar-day-header-array): New option. (Bug#15007)
10911 (calendar-font-lock-keywords): Set to nil and make obsolete.
10912 (calendar-day-name): Add option to use header array.
10914 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10916 * net/shr.el (shr-render-td): Remove debugging.
10917 (shr-render-td): Make width computation consistent by defaulting
10918 all zero-width columns to 10 characters. This may not be optimal,
10919 but it's at least consistent.
10920 (shr-make-table-1): Redo last change to fix the real problem in
10923 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10925 * files.el (cache-long-line-scans):
10926 Make obsolete alias to `cache-long-scans'.
10928 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10930 * frameset.el (frameset, frameset-filter-alist)
10931 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10932 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10933 (frameset-compute-pos): Rename from frameset--compute-pos,
10935 (frameset-move-onscreen): Use frameset-compute-pos.
10936 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10938 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10939 Fix typos in docstrings.
10941 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10943 * frame.el (get-other-frame): Tiny cleanup.
10945 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10947 * vc/vc.el (vc-default-ignore-completion-table):
10948 Silence byte-compiler warning.
10950 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10951 slot, which can indeed be nil.
10952 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10953 Move entry for `left' from persistent to live filter alist.
10954 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10956 (frameset-filter-params): When restoring a frame, copy items added to
10957 `filtered', to avoid unwittingly modifying the original parameters.
10958 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10959 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10961 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10962 to use looking-at-p instead of looking-at. (Bug#15028)
10964 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10966 Revert introduction of isearch-filter-predicates (bug#14714).
10967 Rely on add-function instead.
10968 * isearch.el (isearch-filter-predicates): Rename it back to
10969 isearch-filter-predicate.
10970 (isearch-message-prefix): Use advice-function-mapc and advice
10971 properties to get the isearch-message-prefix.
10972 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10973 instead of run-hook-with-args-until-failure.
10974 (isearch-filter-visible): Not obsolete any more.
10975 * loadup.el: Preload nadvice.
10976 * replace.el (perform-replace): Revert to funcall
10977 instead of run-hook-with-args-until-failure.
10978 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10979 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10980 dired-isearch-filenames-toggle; make it into a proper minor mode.
10981 Use add/remove-function.
10982 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10983 Call the minor-mode rather than add/remove-hook.
10984 (dired-isearch-filter-filenames):
10985 Remove isearch-message-prefix property.
10986 * info.el (Info--search-loop): New function, extracted from Info-search.
10987 Funcall isearch-filter-predicate instead of
10988 run-hook-with-args-until-failure isearch-filter-predicates.
10989 (Info-search): Use it.
10990 (Info-mode): Use isearch-filter-predicate instead of
10991 isearch-filter-predicates.
10993 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10995 Do not call to `selected-window' where it is assumed by default.
10996 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10997 `window-hscroll', `window-width', `window-height', `window-buffer',
10998 `window-frame', `window-start', `window-point', `next-window'
10999 and `window-display-table'.
11000 * abbrev.el (abbrev--default-expand):
11001 * bs.el (bs--show-with-configuration):
11002 * buff-menu.el (Buffer-menu-mouse-select):
11003 * calc/calc.el (calc):
11004 * calendar/calendar.el (calendar-generate-window):
11005 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11006 (diary-make-entry):
11007 * comint.el (send-invisible, comint-dynamic-complete-filename)
11008 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11009 * completion.el (complete):
11010 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11011 * disp-table.el (describe-current-display-table):
11012 * doc-view.el (doc-view-insert-image):
11013 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11014 * ehelp.el (with-electric-help):
11015 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11016 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11017 * emacs-lisp/helper.el (Helper-help-scroller):
11018 * emulation/cua-base.el (cua--post-command-handler-1):
11019 * eshell/esh-mode.el (eshell-output-filter):
11020 * ffap.el (ffap-gnus-wrapper):
11021 * help-macro.el (make-help-screen):
11022 * hilit-chg.el (highlight-compare-buffers):
11023 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11024 * hl-line.el (global-hl-line-highlight):
11025 * icomplete.el (icomplete-simple-completing-p):
11026 * isearch.el (isearch-done):
11027 * jit-lock.el (jit-lock-stealth-fontify):
11028 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11029 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11030 * mpc.el (mpc-tagbrowser, mpc):
11031 * net/rcirc.el (rcirc-any-buffer):
11032 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11033 * play/landmark.el (landmark-max-width, landmark-max-height):
11034 * play/zone.el (zone):
11035 * progmodes/compile.el (compilation-goto-locus):
11036 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11037 * progmodes/etags.el (find-tag-other-window):
11038 * progmodes/fortran.el (fortran-column-ruler):
11039 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11040 * progmodes/verilog-mode.el (verilog-point-text):
11041 * reposition.el (reposition-window):
11042 * rot13.el (toggle-rot13-mode):
11043 * server.el (server-switch-buffer):
11044 * shell.el (shell-dynamic-complete-command)
11045 (shell-dynamic-complete-environment-variable):
11046 * simple.el (insert-buffer, set-selective-display)
11047 (delete-completion-window):
11048 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11049 (speedbar-recenter):
11050 * startup.el (fancy-splash-head):
11051 * textmodes/ispell.el (ispell-command-loop):
11052 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11053 * tutorial.el (help-with-tutorial):
11054 * vc/add-log.el (add-change-log-entry):
11055 * vc/compare-w.el (compare-windows):
11056 * vc/ediff-help.el (ediff-indent-help-message):
11057 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11058 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11059 (ediff-setup-control-frame):
11060 * vc/emerge.el (emerge-position-region):
11061 * vc/pcvs-util.el (cvs-bury-buffer):
11062 * window.el (walk-windows, mouse-autoselect-window-select):
11063 * winner.el (winner-set-conf, winner-undo): Related users changed.
11065 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11067 * frameset.el (frameset--set-id): Doc fix.
11068 (frameset-frame-id, frameset-frame-id-equal-p)
11069 (frameset-locate-frame-id): New functions.
11070 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11071 (frameset-restore): Use them.
11073 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11075 Do not call to `selected-frame' where it is assumed by default.
11076 Affected functions are `raise-frame', `redraw-frame',
11077 `frame-first-window', `frame-terminal' and `delete-frame'.
11078 * calendar/appt.el (appt-disp-window):
11079 * epg.el (epg-wait-for-completion):
11080 * follow.el (follow-delete-other-windows-and-split)
11081 (follow-avoid-tail-recenter):
11082 * international/mule.el (set-terminal-coding-system):
11083 * mail/rmail.el (rmail-mail-return):
11084 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11085 * progmodes/f90.el (f90-add-imenu-menu):
11086 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11087 * server.el (server-switch-buffer):
11088 * simple.el (delete-completion-window):
11090 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11091 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11092 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11093 * vc/ediff.el (ediff-documentation): Related users changed.
11094 * frame.el (selected-terminal): Remove the leftover.
11096 2013-08-05 Glenn Morris <rgm@gnu.org>
11098 * calendar/calendar.el (calendar-generate-month):
11099 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11100 (calendar-generate-month, calendar-font-lock-keywords):
11101 Fix for calendar-day-header-width > length of any day name.
11103 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11105 * desktop.el (desktop-clear): Use new name of sort predicate.
11107 * frameset.el (frameset): Add docstring. Move :version property to its
11108 own `version' slot.
11109 (frameset-copy): Rename from copy-frameset.
11110 (frameset-p): Check more thoroughly.
11111 (frameset-prop): Do not check for :version, which is no longer a prop.
11112 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11113 Use new :never value instead of t.
11114 (frameset-filter-alist): Expand and clarify docstring.
11115 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11116 (frameset-filter-minibuffer, frameset-filter-save-param)
11117 (frameset-filter-restore-param, frameset-filter-iconified):
11118 Add pointer to docstring of frameset-filter-alist.
11119 (frameset-filter-params): Rename filter values to be more meaningful:
11120 :never instead of t, and reverse the meanings of :save and :restore.
11121 (frameset--process-minibuffer-frames): Clarify error message.
11122 (frameset-save): Avoid unnecessary and confusing call to framep.
11123 Use new BOA constructor for framesets.
11124 (frameset--reuse-list): Doc fix.
11125 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11126 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11127 (frameset-minibufferless-first-p): Doc fix.
11128 Rename from frameset-sort-frames-for-deletion.
11129 (frameset-restore): Doc fixes. Use new function names.
11130 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11132 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11134 * desktop.el (desktop-restore-forces-onscreen)
11135 (desktop-restore-reuses-frames): Document :keyword constant values.
11136 (desktop-filter-parameters-alist): Remove, now identical to
11137 frameset-filter-alist.
11138 (desktop--filter-tty*): Remove, moved to frameset.el.
11139 (desktop-save-frameset, desktop-restore-frameset):
11140 Do not pass :filters argument.
11142 * frameset.el (frameset-live-filter-alist)
11143 (frameset-persistent-filter-alist): New variables.
11144 (frameset-filter-alist): Use them. Add autoload cookie.
11145 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11146 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11147 `frameset--id' (it's supposed to be internal to frameset.el).
11148 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11149 (frameset--initial-params): New function.
11150 (frameset--get-frame): Use it. Doc fix.
11151 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11152 Accept :all, not 'all.
11153 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11154 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11155 with fbound symbols. Fix frame id matching, and remove matching ids if
11156 the frame being restored is deleted. Obey :delete.
11158 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * subr.el (macrop): New function.
11161 (text-clone--maintaining): New var.
11162 (text-clone--maintain): Rename from text-clone-maintain. Use it
11163 instead of inhibit-modification-hooks.
11165 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11166 a proxy, so as handle autoloads and redefinitions of the target.
11167 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11169 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11170 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11171 (pcase--mutually-exclusive-p): New function.
11172 (pcase--split-consp): Use it.
11173 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11174 mutually exclusive with the current predicate.
11176 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11177 (edebug-macrop): Remove. Use `macrop' instead.
11178 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11180 * eshell/esh-cmd.el (eshell-macrop):
11181 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11183 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11185 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11186 (advice-mapc): New function, using it.
11187 (advice-function-member-p): New function.
11188 (advice--normalize): Store the cdr in advice--saved-rewrite since
11189 that's the part that will be changed.
11190 (advice--symbol-function): New function.
11191 (advice-remove): Handle removal before the function is defined.
11192 Adjust to new advice--saved-rewrite.
11193 (advice-member-p): Use advice-function-member-p and
11194 advice--symbol-function.
11196 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11198 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11199 (frameset-filter-minibuffer): Doc fix.
11200 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11201 (frameset--set-id, frameset--process-minibuffer-frames)
11202 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11203 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11205 * desktop.el (desktop-clear): Only delete frames when called
11206 interactively and desktop-restore-frames is non-nil. Doc fix.
11207 (desktop-read): Set desktop-saved-frameset to nil.
11209 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11211 * vc/vc.el (vc-ignore): Rewrite.
11212 (vc-default-ignore-completion-table, vc--read-lines)
11213 (vc--add-line, vc--remove-regexp): New functions.
11215 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11216 (vc-svn-ignore-completion-table): New function.
11218 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11219 (vc-hg-ignore-completion-table)
11220 (vc-hg-find-ignore-file): New functions.
11222 * vc/vc-git.el (vc-git-ignore): Rewrite.
11223 (vc-git-ignore-completion-table)
11224 (vc-git-find-ignore-file): New functions.
11226 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11228 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11229 (vc-bzr-ignore-completion-table)
11230 (vc-bzr-find-ignore-file): New functions.
11232 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11234 * frameset.el (frameset-prop): New function and setter.
11235 (frameset-save): Do not modify frame list passed by the caller.
11237 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11241 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11244 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11246 * custom.el (custom-initialize-default, custom-initialize-set)
11247 (custom-initialize-reset, custom-initialize-changed): Affect the
11248 toplevel-default-value (bug#6275, bug#14586).
11249 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11252 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11254 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11255 Add cl-def* expressions.
11257 * frameset.el (frameset-filter-params): Fix order of arguments.
11259 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11261 Move code related to saving frames to frameset.el.
11262 * desktop.el: Require frameset.
11263 (desktop-restore-frames): Doc fix.
11264 (desktop-restore-reuses-frames): Rename from
11265 desktop-restoring-reuses-frames.
11266 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11267 (desktop-clear): Clear frames too.
11268 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11269 (desktop--filter-tty*, desktop-save, desktop-read):
11270 Use frameset functions.
11271 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11272 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11273 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11274 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11275 (desktop--process-minibuffer-frames, desktop-save-frames)
11276 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11277 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11278 (desktop--sort-states, desktop-restoring-frames-p)
11279 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11280 (desktop-restoring-frameset-p, desktop-restore-frameset)
11281 (desktop--check-dont-save, desktop-save-frameset): New functions.
11282 (desktop--app-id): New constant.
11283 (desktop-first-buffer, desktop-buffer-ok-count)
11284 (desktop-buffer-fail-count): Move before first use.
11285 * frameset.el: New file.
11287 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11289 * files.el: Use lexical-binding.
11290 (dir-locals-read-from-file): Remove unused `err' variable.
11291 (hack-dir-local-variables--warned-coding): New var.
11292 (hack-dir-local-variables): Use it to avoid repeated warnings.
11293 (make-backup-file-name--default-function): New function.
11294 (make-backup-file-name-function): Use it as default.
11295 (buffer-stale--default-function): New function.
11296 (buffer-stale-function): Use it as default.
11297 (revert-buffer-insert-file-contents--default-function): New function.
11298 (revert-buffer-insert-file-contents-function): Use it as default.
11299 (insert-directory): Avoid add-to-list.
11301 * autorevert.el (auto-revert-handler): Simplify.
11302 Use buffer-stale--default-function.
11304 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11306 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11308 * whitespace.el (whitespace-ensure-local-variables): New function.
11309 (whitespace-cleanup-region): Call it.
11310 (whitespace-turn-on): Call it.
11312 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11314 Complete file name handlers.
11316 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11317 (tramp-handle-verify-visited-file-modtime)
11318 (tramp-handle-file-notify-rm-watch): New functions.
11319 (tramp-call-process): Do not bind `default-directory'.
11321 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11322 Order alphabetically.
11323 <access-file, add-name-to-file, dired-call-process>:
11324 <dired-compress-file, file-acl, file-notify-rm-watch>:
11325 <file-ownership-preserved-p, file-selinux-context>:
11326 <make-directory-internal, make-symbolic-link, set-file-acl>:
11327 <set-file-selinux-context, set-visited-file-modtime>:
11328 <verify-visited-file-modtime>: Add handler.
11329 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11331 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11332 <file-notify-add-watch, file-notify-rm-watch>:
11333 <set-file-times, set-visited-file-modtime>:
11334 <verify-visited-file-modtime>: Add handler.
11335 (with-tramp-gvfs-error-message)
11336 (tramp-gvfs-handle-set-visited-file-modtime)
11337 (tramp-gvfs-fuse-file-name): Remove.
11338 (tramp-gvfs-handle-file-notify-add-watch)
11339 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11340 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11342 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11343 Order alphabetically.
11344 <file-notify-rm-watch>: Use default Tramp handler.
11345 <executable-find>: Remove private handler.
11346 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11347 `default-directory'.
11348 (tramp-sh-handle-executable-find)
11349 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11350 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11351 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11352 Do not use `format' in `tramp-message'.
11354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11355 <file-notify-rm-watch, set-visited-file-modtime>:
11356 <verify-visited-file-modtime>: Add handler.
11357 (tramp-smb-call-winexe): Do not bind `default-directory'.
11359 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11361 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11363 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11365 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11367 (log-view-diff-changeset): Same.
11368 (log-view-diff-common): Call backend command `previous-revision'
11369 to find out the previous revision, in both cases. Swap the
11370 variables `to' and `fr', so that `fr' usually refers to the
11371 earlier revision (Bug#14989).
11373 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11375 * ibuf-ext.el (ibuffer-filter-by-filename):
11376 Make it work with dired buffers too.
11378 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11380 * emacs-lisp/re-builder.el (reb-color-display-p):
11381 * files.el (save-buffers-kill-terminal):
11382 * net/browse-url.el (browse-url):
11383 * server.el (server-save-buffers-kill-terminal):
11384 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11385 Prefer nil to selected-frame for the first arg of frame-parameter.
11387 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11389 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11391 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11393 * minibuffer.el (completion--twq-all): Try and preserve each
11394 completion's case choice (bug#14907).
11396 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11398 * net/network-stream.el (open-network-stream): Mention the new
11399 :nogreeting parameter.
11400 (network-stream-open-starttls): Use the :nogreeting parameter
11403 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11405 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11406 more natural than popping.
11408 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11409 (shr-urlify): Highlight under mouse.
11411 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11413 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11415 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11417 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11420 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11421 point-min==1. Fix search string. Fix parentheses missing.
11423 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11424 assume point-min==1. Fix search string. Fix parentheses missing.
11426 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11428 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11431 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11433 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11434 initial frame is minibuffer-less. (Bug#14841)
11436 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11438 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11441 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11442 (tramp-maybe-open-connection): Use it.
11444 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11446 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11447 minimal set of parameters passed when creating a frame, because
11448 the minibuffer status of a frame cannot be changed later.
11450 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11452 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11453 replace-regexp-in-string and inadvertent omissions in previous change.
11454 (todo-filter-items): Ensure only file names are comma-separated in
11455 name of filtered items buffer.
11457 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11459 * desktop.el: Optionally force offscreen frames back onscreen.
11460 (desktop-restoring-reuses-frames): New option.
11461 (desktop--compute-pos, desktop--move-onscreen): New functions.
11462 (desktop--make-frame): Use desktop--move-onscreen.
11464 2013-07-27 Alan Mackenzie <acm@muc.de>
11466 Fontify a Java generic method as a function.
11467 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11470 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11472 * calendar/todo-mode.el: Add command to rename todo files.
11473 (todo-rename-file): New command.
11474 (todo-key-bindings-t): Add key binding for it. Change the
11475 bindings of todo-filter-regexp-items(-multifile) to use `x'
11476 instead of `r', since the latter is better suited to the new
11479 2013-07-27 Alan Mackenzie <acm@muc.de>
11481 Make Java try-with-resources statement parse properly.
11482 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11483 (c-block-stmt-1-2-key): New language constants/variables.
11484 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11485 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11486 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11487 with c-block-stmt-1-2-key.
11489 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11491 * desktop.el (desktop--make-frame): Apply most frame parameters after
11492 creating the frame to force (partially or totally) offscreen frames to
11493 be restored as such.
11495 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11497 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11500 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11503 `base' arg of backtrace-frame.
11505 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11507 * simple.el (list-processes): Doc fix.
11509 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11511 * desktop.el (desktop--select-frame):
11512 Try harder to reuse existing frames.
11514 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11517 (edebug-eval): Use backtrace-eval.
11518 (edebug--display, edebug--recursive-edit): Don't let-bind the
11519 edebug-outer-* vars that keep track of variables we locally let-bind.
11520 (edebug-outside-excursion): Don't restore outside values of locally
11522 (edebug--display): Use user-error.
11523 (cl-lexical-debug, cl-debug-env): Remove.
11525 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11527 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11528 are restored to be sure that they are visible before deleting any
11531 2013-07-26 Matthias Meulien <orontee@gmail.com>
11533 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11534 vc-print-root-log. (Bug#14948)
11536 2013-07-26 Richard Stallman <rms@gnu.org>
11538 Add aliases for encrypting mail.
11539 * epa.el (epa-mail-aliases): New option.
11540 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11541 Bind inhibit-read-only so read-only text doesn't ruin everything.
11542 (epa-mail-default-recipients): New subroutine broken out.
11543 Handle epa-mail-aliases.
11545 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11547 Add support for lexical variables to the debugger's `e' command.
11548 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11549 vars, except for debugger-outer-match-data.
11550 (debugger-frame-number): Move check for "on a function call" from
11551 callers into it. Add `skip-base' argument.
11552 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11553 (debugger-env-macro): Only reset the state stored in non-variables,
11554 i.e. current-buffer and match-data.
11555 (debugger-eval-expression): Rewrite using backtrace-eval.
11556 * subr.el (internal--called-interactively-p--get-frame): Remove.
11557 (called-interactively-p):
11558 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11559 `base' arg of backtrace-frame instead.
11561 2013-07-26 Glenn Morris <rgm@gnu.org>
11563 * align.el (align-regexp): Doc fix. (Bug#14857)
11564 (align-region): Explicit error if subexpression missing/does not match.
11566 * simple.el (global-visual-line-mode):
11567 Do not duplicate the mode lighter. (Bug#14858)
11569 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11571 * window.el (display-buffer): In display-buffer bind
11572 split-window-keep-point to t, bug#14829.
11574 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11576 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11577 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11578 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11579 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11580 Change accordingly.
11581 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11582 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11584 2013-07-25 Glenn Morris <rgm@gnu.org>
11586 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11588 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11590 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11591 parameter to modify-frame-parameters if the value has not changed;
11592 this is a workaround for bug#14949.
11593 (desktop--make-frame): On cl-delete-if call, check parameter name,
11594 not full parameter.
11596 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11598 * vc/vc.el (vc-ignore): New function.
11600 * vc/vc-svn.el (vc-svn-ignore): New function.
11602 * vc/vc-hg.el (vc-hg-ignore): New function.
11604 * vc/vc-git.el (vc-git-ignore): New function.
11606 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11607 (vc-dir-ignore): New function.
11609 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11610 (cvs-append-to-ignore): Move here from pcvs.el.
11612 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11614 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11616 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11618 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11619 (desktop-restore-frames): Warn when deleting an existing frame failed.
11621 2013-07-24 Glenn Morris <rgm@gnu.org>
11623 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11625 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11627 * filenotify.el (file-notify-supported-p):
11628 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11631 * autorevert.el (auto-revert-use-notify)
11632 (auto-revert-notify-add-watch):
11633 * net/tramp.el (tramp-file-name-for-operation):
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-sh.el (tramp-sh-file-name-handler-alist):
11637 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11638 Remove `file-notify-supported-p' entry.
11640 2013-07-24 Glenn Morris <rgm@gnu.org>
11642 * printing.el: Replace all uses of deleted ps-windows-system,
11643 ps-lp-system, ps-flatten-list with lpr- versions.
11645 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11647 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11648 checked with memq (bug#14935).
11650 * files.el (revert-buffer-function): Use a non-nil default.
11651 (revert-buffer-preserve-modes): Declare var to
11652 provide access to the `preserve-modes' argument.
11653 (revert-buffer): Let-bind it.
11654 (revert-buffer--default): New function, extracted from revert-buffer.
11656 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * lpr.el: Signal print errors more prominently.
11659 (print-region-function): Don't default to nil.
11660 (lpr-print-region): New function, extracted from print-region-1.
11661 Check lpr's return value and signal an error in case of problem.
11662 (print-region-1): Use it.
11663 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11665 (ps-printer-name): Default to nil.
11666 (ps-printer-name-option): Default to lpr-printer-switch.
11667 (ps-print-region-function): Don't default to nil.
11668 (ps-postscript-code-directory): Simplify default.
11669 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11670 (ps-string-list, ps-eval-switch, ps-flatten-list)
11671 (ps-flatten-list-1): Remove.
11672 (ps-multibyte-buffer): Avoid setq.
11673 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11674 (print-region-function, ps-print-region-function): Don't set them here.
11676 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11678 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11679 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11680 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11681 (ido-decorations): Doc fix.
11683 * ansi-color.el: Fix old URL.
11685 2013-07-23 Michael R. Mauger <michael@mauger.com>
11687 * progmodes/sql.el: Version 3.3
11688 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11689 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11690 (sql-interactive-remove-continuation-prompt): Rewrite, use
11691 functions above. Fix continuation prompt and complete output line
11693 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11694 redirected output buffer.
11695 (sql-mode): Restore deleted code (Bug#13591).
11697 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11699 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11701 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11703 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11705 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11706 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11707 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11709 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11711 * desktop.el (desktop-clear): Simplify; remove useless checks
11712 against invalid buffer names.
11713 (desktop-list*): Use cl-list*.
11714 (desktop-buffer-info, desktop-create-buffer): Simplify.
11716 2013-07-23 Leo Liu <sdl.web@gmail.com>
11718 * bookmark.el (bookmark-make-record): Restore NAME as a default
11721 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11723 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11724 extracted from autoload--insert-text.
11725 (autoload--insert-text): Remove.
11726 (autoload--print-cookie-text): New function, extracted from
11727 autoload--insert-cookie-text.
11728 (autoload--insert-cookie-text): Remove.
11729 (autoload-generate-file-autoloads): Adjust calls accordingly.
11731 * winner.el (winner-hook-installed-p): Remove.
11732 (winner-mode): Simplify accordingly.
11734 * subr.el (add-to-list): Fix compiler-macro when `append' is
11735 not constant. Don't use `cl-member' for the base case.
11737 * progmodes/subword.el: Fix boundary case (bug#13758).
11738 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11740 (subword-backward-regexp): Make it a constant.
11741 (subword-forward-internal): Don't treat a trailing capital as the
11742 beginning of a word.
11744 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11746 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11747 global value of tabulated-list-revert-hook (bug#14930).
11749 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11751 * desktop.el: Require 'cl-lib.
11752 (desktop-before-saving-frames-functions): New hook.
11753 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11754 for frames being saved. Rename from desktop--save-minibuffer-frames.
11755 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11756 Do not save frames with non-nil `desktop-dont-save' parameter.
11757 Filter out deleted frames.
11758 (desktop--find-frame): Use cl-find-if.
11759 (desktop--select-frame): Use cl-(first|second|third) to access values
11761 (desktop--make-frame): Use cl-delete-if.
11762 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11763 (desktop-restore-frames): Use cl-(first|second|third) to access values
11764 of desktop-mini. Look for visible frame at the end, not while
11767 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11768 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11769 Use string-match-p, looking-at-p (bug#14927).
11771 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11773 * desktop.el (desktop-saved-frame-states):
11774 Rename from desktop--saved-states; all users changed.
11775 (desktop-save-frames): Rename from desktop--save-frames.
11776 Do not save state to desktop file.
11777 (desktop-save): Save desktop-saved-frame-states to desktop file
11779 (desktop-restoring-frames-p): New function.
11780 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11781 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11782 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11784 * desktop.el: Correctly restore iconified frames.
11785 (desktop--filter-iconified-position): New function.
11786 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11788 2013-07-20 Glenn Morris <rgm@gnu.org>
11790 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11791 Let `message' do the formatting.
11792 (def-gdb-preempt-display-buffer): Add explicit format.
11794 * image-dired.el (image-dired-track-original-file):
11795 Use with-current-buffer.
11796 (image-dired-track-thumbnail): Use with-current-buffer.
11797 Avoid changing point of wrong window.
11799 * image-dired.el (image-dired-track-original-file):
11800 Avoid changing point of wrong window. (Bug#14909)
11802 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11804 * progmodes/gdb-mi.el (gdb-done-or-error):
11805 Guard against "%" in gdb output. (Bug#14127)
11807 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11809 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11812 * international/mule.el (coding-system-iso-2022-flags): Fix last
11815 2013-07-20 Kenichi Handa <handa@gnu.org>
11817 * international/mule.el (coding-system-iso-2022-flags):
11818 Add `8-bit-level-4'. (Bug#8522)
11820 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11822 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11825 * net/eww.el (eww-process-text-input): Allow inputting when the
11826 point is at the start of the line, as the properties aren't
11829 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11832 2013-07-19 Richard Stallman <rms@gnu.org>
11834 * epa.el (epa-popup-info-window): Doc fix.
11836 * subr.el (split-string): New arg TRIM.
11838 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11840 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11841 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11843 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11845 * filenotify.el (file-notify--library): Rename from
11846 `file-notify-support'. Do not autoload. Adapt all uses.
11847 (file-notify-supported-p): New defun.
11849 * autorevert.el (auto-revert-use-notify):
11850 Use `file-notify-supported-p' instead of `file-notify-support'.
11852 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11854 * net/tramp.el (tramp-file-name-for-operation):
11855 Add `file-notify-supported-p'.
11857 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11859 (tramp-sh-file-name-handler-alist): Add it as handler for
11860 `file-notify-supported-p '.
11862 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11864 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11865 Add `ignore' as handler for `file-notify-*' functions.
11867 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11869 * simple.el (line-move-partial, line-move): Don't start vscroll or
11870 scroll-up if the current line is not taller than the window.
11873 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11875 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11876 highlight question marks in the method names as strings.
11877 (ruby-block-beg-keywords): Inline.
11878 (ruby-font-lock-keyword-beg-re): Extract from
11879 `ruby-font-lock-keywords'.
11881 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11883 * frame.el (blink-cursor-blinks): New defcustom.
11884 (blink-cursor-blinks-done): New defvar.
11885 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11886 (blink-cursor-timer-function): Check if number of blinks has been
11888 (blink-cursor-suspend, blink-cursor-check): New defuns.
11890 2013-07-15 Glenn Morris <rgm@gnu.org>
11892 * edmacro.el (edmacro-format-keys): Fix previous change.
11894 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11896 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11897 The hack didn't work outside English locales anyway.
11899 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11901 * simple.el (define-alternatives): Rename from alternatives-define,
11902 per RMS' suggestion.
11904 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11906 * desktop.el (desktop-restore-frames): Change default to t.
11907 (desktop-restore-in-current-display): Now offer more options.
11908 (desktop-restoring-reuses-frames): New customization option.
11909 (desktop--saved-states): Doc fix.
11910 (desktop-filter-parameters-alist): New variable, renamed and expanded
11911 from desktop--excluded-frame-parameters.
11912 (desktop--target-display): New variable.
11913 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11914 (desktop--filter-tty*, desktop--filter-*-color)
11915 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11916 (desktop--filter-save-desktop-parm)
11917 (desktop-restore-in-original-display-p): New functions.
11918 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11919 (desktop--save-minibuffer-frames): New function, inspired by a similar
11920 function from Martin Rudalics.
11921 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11922 (desktop--restore-in-this-display-p): Remove.
11923 (desktop--find-frame): Rename from desktop--find-frame-in-display
11924 and add predicate argument.
11925 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11926 (desktop--reuse-list): New variable.
11927 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11929 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11931 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11933 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11935 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11937 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11938 Highlight conversion methods on Kernel.
11940 2013-07-13 Alan Mackenzie <acm@muc.de>
11942 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11943 and comment it out. This out-commenting enables certain C++
11944 declarations to be parsed correctly.
11946 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11948 * international/mule.el (define-coding-system): Doc fix.
11950 * simple.el (default-font-height): Don't call font-info if the
11951 frame's default font didn't change since the frame was created.
11954 2013-07-13 Leo Liu <sdl.web@gmail.com>
11956 * ido.el (ido-read-file-name): Guard against non-symbol value.
11958 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11960 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11963 2013-07-13 Leo Liu <sdl.web@gmail.com>
11965 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11966 ido-set-matches call. (Bug#6852)
11968 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11970 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11971 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11973 (ruby-font-lock-keywords): Distinguish calls to functions with
11974 module-like names from module references. Highlight character
11977 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11979 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11980 (gdb-send): Handle continued commands. (Bug#14847)
11982 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11984 * desktop.el (desktop--v2s): Remove unused local variable.
11985 (desktop-save-buffer): Make defvar-local; adjust docstring.
11986 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11987 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11989 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11991 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11993 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11995 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11998 2013-07-12 Glenn Morris <rgm@gnu.org>
12000 * doc-view.el: Require cl-lib at runtime too.
12001 (doc-view-remove-if): Remove.
12002 (doc-view-search-next-match, doc-view-search-previous-match):
12005 * edmacro.el: Require cl-lib at runtime too.
12006 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12007 (edmacro-mismatch, edmacro-subseq): Remove.
12009 * shadowfile.el: Require cl-lib.
12010 (shadow-remove-if): Remove.
12011 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12014 * wid-edit.el: Require cl-lib.
12015 (widget-choose): Use cl-remove-if.
12016 (widget-remove-if): Remove.
12018 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12019 (ebrowse-delete-if-not): Remove.
12020 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12021 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12022 Use cl-delete-if-not.
12024 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12026 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12027 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12029 2013-07-12 Leo Liu <sdl.web@gmail.com>
12031 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12033 2013-07-11 Glenn Morris <rgm@gnu.org>
12035 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12036 (edebug-gensym-index, edebug-gensym):
12037 Remove reimplementation of cl-gensym.
12038 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12040 * thumbs.el: Require cl-lib at run-time too.
12041 (thumbs-gensym-counter, thumbs-gensym):
12042 Remove reimplementation of cl-gensym.
12043 (thumbs-temp-file): Use cl-gensym.
12045 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12046 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12047 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12048 (ert--union, ert--gensym-counter, ert--gensym-counter)
12049 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12050 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12051 (ert-make-test-unbound, ert--expand-should-1)
12052 (ert--expand-should, ert--should-error-handle-error)
12053 (should-error, ert--explain-equal-rec)
12054 (ert--plist-difference-explanation, ert-select-tests)
12055 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12056 Use cl-lib functions rather than reimplementations.
12058 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12060 * net/tramp.el (tramp-methods): Extend docstring.
12061 (tramp-connection-timeout): New defcustom.
12062 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12063 (with-tramp-progress-reporter): Simplify.
12064 (tramp-process-actions): Improve messages.
12066 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12067 * net/tramp-sh.el (tramp-maybe-open-connection):
12068 Use `tramp-connection-timeout'.
12069 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12072 2013-07-11 Leo Liu <sdl.web@gmail.com>
12074 * ido.el (ido-read-file-name): Conform to the requirements of
12075 read-file-name. (Bug#11861)
12076 (ido-read-directory-name): Conform to the requirements of
12077 read-directory-name.
12079 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12081 * subr.el (delay-warning): New function.
12083 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12085 * simple.el (default-line-height): New function.
12086 (line-move-partial, line-move): Use it instead of computing the
12087 line height inline.
12088 (line-move-partial): Always compute ROWH. If the last line is
12089 partially-visible, but its text is completely visible, allow
12090 cursor to enter such a partially-visible line.
12092 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12094 Improve error messages. (Bug#14808)
12096 * net/tramp.el (tramp-current-connection): New defvar, moved from
12098 (tramp-message-show-progress-reporter-message): Remove, not
12100 (tramp-error-with-buffer): Show message in minibuffer.
12101 Discard input before waiting. Reset connection timestamp.
12102 (with-tramp-progress-reporter): Improve messages.
12103 (tramp-process-actions): Use progress reporter. Delete process in
12104 case of error. Improve messages.
12106 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12107 Call `tramp-error-with-buffer' with vector and buffer.
12108 (tramp-current-connection): Remove.
12109 (tramp-maybe-open-connection): The car of
12110 `tramp-current-connection' are the first 3 slots of the vector.
12112 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12114 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12115 inside continued strings.
12117 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12119 Timestamp fixes for undo (Bug#14824).
12120 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12122 2013-07-10 Leo Liu <sdl.web@gmail.com>
12124 * files.el (require-final-newline): Allow safe local value.
12127 2013-07-09 Leo Liu <sdl.web@gmail.com>
12129 * ido.el (ido-read-directory-name): Handle fallback.
12130 (ido-read-file-name): Update DIR to ido-current-directory.
12132 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12134 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12137 "autoload". Remove "warn lower camel case" section, previously
12138 commented out. Highlight negation char. Do not highlight the
12139 target in singleton method definitions.
12141 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12143 * faces.el (tty-setup-hook): Declare the hook.
12145 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12146 and detect when a guard/pred depends on local vars (bug#14773).
12147 (pcase--u1): Adjust caller.
12149 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12151 * simple.el (line-move-partial, line-move): Account for
12153 (line-move-partial): Avoid setting vscroll when the last
12154 partially-visible line in window is of default height.
12156 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12158 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12161 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12163 * subr.el (read-quoted-char): Remove unused local variable `char'.
12165 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12167 * ediff.el (ediff-version): Version update.
12168 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12169 (ediff-merge-with-ancestor-command, ediff-directories-command)
12170 (ediff-directories3-command, ediff-merge-directories-command)
12171 (ediff-merge-directories-with-ancestor-command): New functions.
12172 All are command-line interfaces to ediff: to facilitate calling
12173 Emacs with the appropriate ediff functions invoked.
12175 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12176 (viper-save-kill-buffer): Check if buffer is modified.
12178 * viper.el (viper-version): Version update.
12179 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12181 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12183 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12184 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12185 (viper-intercept-ESC-key): Simplify.
12186 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12187 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12188 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12189 (viper-setup-ESC-to-escape): New functions.
12190 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12191 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12193 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12195 * simple.el (default-font-height, window-screen-lines):
12197 (line-move, line-move-partial): Use them instead of
12198 frame-char-height and window-text-height. This makes scrolling
12199 text smoother when the buffer's default face uses a font that is
12200 different from the frame's default font.
12202 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12204 * files.el (write-file): Do not display confirm dialog for NS,
12205 it does its own dialog, which can't be canceled (Bug#14578).
12207 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12209 * simple.el (line-move-partial): Adjust the row returned by
12210 posn-at-point for the current window-vscroll. (Bug#14567)
12212 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12214 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12215 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12218 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12220 * window.el (window-state-put-stale-windows): New variable.
12221 (window--state-put-2): Save list of windows without matching buffer.
12222 (window-state-put): Remove "bufferless" windows if possible.
12224 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12226 * simple.el (alternatives-define): Remove leftover :group keyword.
12229 2013-07-06 Leo Liu <sdl.web@gmail.com>
12231 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12232 (ido-enable-virtual-buffers): New variable.
12233 (ido-buffer-internal, ido-toggle-virtual-buffers)
12234 (ido-make-buffer-list): Use it.
12235 (ido-exhibit): Support turning on and off virtual buffers
12238 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12240 * simple.el (alternatives-define): New macro.
12242 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12244 * subr.el (read-quoted-char): Use read-key.
12245 (sit-for): Let read-event decode tty input (bug#14782).
12247 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12249 * calendar/todo-mode.el: Add handling of file deletion, both by
12250 mode command and externally. Fix various related bugs.
12251 Clarify Commentary and improve some documentation strings and code.
12252 (todo-delete-file): New command.
12253 (todo-check-file): New function.
12254 (todo-show): Handle external deletion of the file we're trying to
12255 show (bug#14688). Replace called-interactively-p by an optional
12256 prefix argument to avoid problematic interaction with catch form
12257 when byte compiled (bug#14702).
12258 (todo-quit): Handle external deletion of the archive's todo file.
12259 Make sure the buffer that was visiting the archive file is still
12260 live before trying to bury it.
12261 (todo-category-completions): Handle external deletion of any
12262 category completion files.
12263 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12264 of todo files, in case of external deletion.
12265 (todo-add-file): Replace unnecessary setq by let-binding.
12266 (todo-find-archive): Check whether there are any archives.
12267 Replace unnecessary setq by let-binding.
12268 (todo-archive-done-item): Use find-file-noselect to get the
12269 archive buffer whether or not the archive already exists.
12270 Remove superfluous code. Use file size instead of buffer-file-name to
12271 check if the archive is new; if it is, update list of archives.
12272 (todo-default-todo-file): Allow nil to be a valid value for when
12273 there are no todo files.
12274 (todo-reevaluate-default-file-defcustom): Use corrected definition
12275 of todo-default-todo-file.
12276 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12277 (todo-delete-category, todo-show-categories-table)
12278 (todo-category-number): Clarify comment.
12279 (todo-filter-items): Clarify documentation string.
12280 (todo-show-current-file, todo-display-as-todo-file)
12281 (todo-reset-and-enable-done-separator): Tweak documentation string.
12282 (todo-done-separator): Make separator length window-width, since
12283 bug#2749 is now fixed.
12285 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12287 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12288 Support both "gvfs-monitor-dir" and "inotifywait".
12289 (tramp-sh-file-inotifywait-process-filter): Rename from
12290 `tramp-sh-file-notify-process-filter'.
12291 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12292 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12294 2013-07-05 Leo Liu <sdl.web@gmail.com>
12296 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12298 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12300 * frame.el (display-pixel-height, display-pixel-width)
12301 (display-mm-height, display-mm-width): Mention behavior on
12302 multi-monitor setups in docstrings.
12303 (w32-display-monitor-attributes-list): Declare function.
12304 (display-monitor-attributes-list): Use it.
12306 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12308 * filenotify.el: New package.
12310 * autorevert.el (top): Require filenotify.el.
12311 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12313 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12314 (auto-revert-notify-handler): Use `file-notify-*' functions.
12316 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12318 * net/tramp.el (tramp-file-name-for-operation):
12319 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12321 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12322 for `file-notify-add-watch' and `file-notify-rm-watch'.
12323 (tramp-process-sentinel): Improve trace.
12324 (tramp-sh-handle-file-notify-add-watch)
12325 (tramp-sh-file-notify-process-filter)
12326 (tramp-sh-handle-file-notify-rm-watch)
12327 (tramp-get-remote-inotifywait): New defuns.
12329 2013-07-03 Juri Linkov <juri@jurta.org>
12331 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12332 call of `occur-read-primary-args' to interactive spec.
12334 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12335 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12337 2013-07-03 Matthias Meulien <orontee@gmail.com>
12339 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12340 `Buffer-menu-multi-occur'. Add it to the menu.
12341 (Buffer-menu-mode): Document it in docstring.
12342 (Buffer-menu-multi-occur): New command. (Bug#14673)
12344 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12346 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12347 keywords and built-ins.
12349 2013-07-03 Glenn Morris <rgm@gnu.org>
12351 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12353 Make info-xref checks case-sensitive by default
12354 * info.el (Info-find-node, Info-find-in-tag-table)
12355 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12356 Add option for exact case matching of nodes.
12357 * info-xref.el (info-xref): New custom group.
12358 (info-xref-case-fold): New option.
12359 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12361 2013-07-03 Leo Liu <sdl.web@gmail.com>
12363 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12365 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12367 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12368 middle of block statement initially, lower the depth. Remove
12369 FIXME comment, not longer valid. Remove middle of block statement
12370 detection, no need to do that anymore since we've been using
12371 `ruby-parse-region' here.
12373 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12375 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12377 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12379 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12381 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12383 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12384 (desktop-restore-in-current-display): New customization option.
12385 (desktop--excluded-frame-parameters): Add `font'.
12386 (desktop--save-frames): Rename from desktop--save-windows.
12387 (desktop--restore-in-this-display-p): New function.
12388 (desktop--make-full-frame): Remove unwanted width/height from
12389 full(width|height) frames.
12390 (desktop--restore-frames): Rename from desktop--restore-windows.
12391 Obey desktop-restore-current-display. Do not delete old frames or
12392 select a new frame unless we were able to restore at least one frame.
12394 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12396 * files.el (find-file-noselect): Simplify conditional expression.
12398 * textmodes/remember.el (remember-append-to-file):
12399 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12401 Add `remember-notes' function to store random notes across Emacs
12403 * textmodes/remember.el (remember-data-file): Add :set callback to
12404 affect notes buffer (if any).
12405 (remember-notes): New command.
12406 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12407 New defcustoms for the `remember-notes' function.
12408 (remember-notes-save-and-bury-buffer): New command.
12409 (remember-notes-mode-map): New variable.
12410 (remember-mode): New minor mode.
12411 (remember-notes--kill-buffer-query): New function.
12412 * startup.el (initial-buffer-choice): Add notes to custom type.
12414 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12416 * bindings.el (right-char, left-char): Don't call sit-for, this is
12417 no longer needed. Use arithmetic comparison only for numerical
12420 * international/mule-cmds.el (select-safe-coding-system):
12421 Handle the case of FROM being a string correctly. (Bug#14755)
12423 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12425 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12426 progression on degenerate tables.
12427 (shr-rescale-image): ImageMagick animated images currently don't work.
12429 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12431 Some fixes and improvements for desktop frame restoration.
12432 It is still experimental and disabled by default.
12433 * desktop.el (desktop--save-windows): Put the selected frame at
12434 the head of the list.
12435 (desktop--make-full-frame): New function.
12436 (desktop--restore-windows): Try to re-select the frame that was
12437 selected upon saving. Do not abort if some frames fail to restore,
12438 just show an error message and continue. Set up maximized frames
12439 so they have default non-maximized dimensions.
12441 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12444 Don't start heredoc inside a string or comment.
12446 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12448 * bindings.el (visual-order-cursor-movement): New defcustom.
12449 (right-char, left-char): Provide visual-order cursor motion by
12450 calling move-point-visually. Update the doc strings.
12452 2013-06-28 Kenichi Handa <handa@gnu.org>
12454 * international/mule.el (define-coding-system): New coding system
12455 properties :inhibit-null-byte-detection,
12456 :inhibit-iso-escape-detection, and :prefer-utf-8.
12457 (set-buffer-file-coding-system): If :charset-list property of
12458 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12459 appropriate for setting.
12461 * international/mule-cmds.el (select-safe-coding-system):
12462 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12463 multibyte characters, return utf-8 (or one of its siblings).
12465 * international/mule-conf.el (prefer-utf-8): New coding system.
12466 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12469 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12471 * net/shr.el (shr-render-region): New function.
12473 * net/eww.el: Autoload `eww-browse-url'.
12475 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12477 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12478 Adapt to `package-desc-version' being a list.
12479 Use `package--ac-desc-version' to retrieve version from a package
12482 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12484 New experimental feature to save&restore window and frame setup.
12485 * desktop.el (desktop-save-windows): New defcustom.
12486 (desktop--saved-states): New var.
12487 (desktop--excluded-frame-parameters): New defconst.
12488 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12489 (desktop--restore-windows, desktop--save-windows): New functions.
12490 (desktop-save): Call `desktop--save-windows'.
12491 (desktop-read): Call `desktop--restore-windows'.
12493 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12495 * net/shr.el (add-face-text-property): Remove compat definition.
12497 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12499 * info.el (Info-try-follow-nearest-node): Move search for footnote
12500 above search for node name to prevent missing a footnote (bug#14717).
12502 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12504 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12506 2013-06-27 Leo Liu <sdl.web@gmail.com>
12508 * net/eww.el (eww-read-bookmarks): Check file size.
12510 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12513 advice--pending if newdef is nil or an autoload (bug#13820).
12514 (advice-mapc): New function.
12516 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12518 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12520 (eww-mode-map): Add a menu bar.
12521 (eww-add-bookmark): New command.
12522 (eww-bookmark-mode): New mode and commands.
12523 (eww-add-bookmark): Remove newlines from the title.
12524 (eww-bookmark-browse): Don't bug out if it's the only window.
12526 2013-06-26 Glenn Morris <rgm@gnu.org>
12528 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12529 (hfy-size): Handle ttys. (Bug#14668)
12531 * info-xref.el: Update for Texinfo 5 change in *note format.
12532 (info-xref-node-re, info-xref-note-re): New constants.
12533 (info-xref-check-buffer): Use info-xref-note-re.
12535 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12537 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12539 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12540 nil terminate the loop (bug#14718).
12542 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12544 * net/eww.el: Rework history traversal. When going forward/back,
12545 put these actions into the history, too, so that they can be
12547 (eww-render): Move the history reset to the correct buffer.
12549 2013-06-25 Juri Linkov <juri@jurta.org>
12551 * files-x.el (modify-dir-local-variable): Change the header comment
12552 in the file with directory local variables. (Bug#14692)
12554 * files-x.el (read-file-local-variable-value): Add `default'.
12557 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12559 * net/eww.el (eww-make-unique-file-name): Create a unique file
12560 name before saving to entering `y' accidentally asynchronously.
12562 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12564 * net/eww.el (eww-download): New command and keystroke.
12566 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12568 * net/eww.el (eww-copy-page-url): Change name of command.
12570 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12571 be more consistent with Info and dired.
12573 * net/eww.el (eww-mode-map): Ditto.
12575 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12578 packages from archives.
12579 (package-archive-contents): Change format; include obsolete packages.
12580 (package-desc): Use `dir' to mark builtin packages.
12581 (package--from-builtin): Set the `dir' field to `builtin'.
12582 (generated-autoload-file, version-control): Declare.
12583 (package-compute-transaction): Change first arg and return value to be
12584 lists of package-descs. Adjust to new package-archive-contents format.
12585 (package--add-to-archive-contents): Adjust to new
12586 package-archive-contents format.
12587 (package-download-transaction): Arg is now a list of package-descs.
12588 (package-install): If `pkg' is a package name, pass it as
12589 a requirement, so it is subject to the usual (e.g. disabled) checks.
12590 (describe-package): Accept package-desc as well.
12591 (describe-package-1): Describe a specific package-desc. Add links to
12592 other package-descs for the same package name.
12593 (package-menu-describe-package): Pass the actual package-desc.
12594 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12596 (package-desc-status): New function.
12597 (package-menu--refresh): New function, extracted
12598 from package-menu--generate.
12599 (package-menu--generate): Use it.
12600 (package-delete): Update package-alist.
12601 (package-menu-execute): Don't call package-initialize.
12603 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12604 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12605 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12606 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12607 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12608 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12610 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12612 * window.el (window--state-get-1): Workaround for bug#14527.
12613 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12615 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12617 * net/eww.el (eww-back-url): Implement the history by stashing all
12618 the data into a list.
12619 (eww-forward-url): Allow going forward in the history, too.
12621 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12624 for values and use read--expression for expressions (bug#14710).
12625 (read-file-local-variable): Avoid setq.
12626 (read-file-local-variable-mode): Use minor-mode-list.
12628 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12630 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12633 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12635 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12636 Update imenu-support when dialect changes.
12638 2013-06-25 Leo Liu <sdl.web@gmail.com>
12640 * ido.el (ido-read-internal): Allow forward slash on windows.
12642 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12644 * net/eww.el (eww): Start of strings is \\`, not ^.
12646 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12648 * net/shr.el (shr-browse-url): Fix interactive spec.
12650 * net/eww.el (eww): Add a trailing slash to domain names.
12652 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12654 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12656 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12658 * net/shr.el (shr-browse-url): Use an external browser if given a
12661 * net/eww.el (eww-external-browser): Move to shr.
12663 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12665 * net/eww.el (eww): Work more correctly for file: URLs.
12666 (eww-detect-charset): Allow quoted charsets.
12667 (eww-yank-page-url): New command and keystroke.
12669 2013-06-24 Daiki Ueno <ueno@gnu.org>
12671 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12672 file name of gpg executable.
12673 (epg-context-program): New function.
12674 (epg-context-home-directory): New function.
12675 (epg-context-set-program): New function.
12676 (epg-context-set-home-directory): New function.
12677 (epg--start): Use `epg-context-program' instead of
12679 (epg--list-keys-1): Likewise.
12681 2013-06-24 Leo Liu <sdl.web@gmail.com>
12683 * ido.el (ido-read-internal): Fix bug#14620.
12685 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12687 * faces.el (face-documentation): Simplify.
12688 (read-face-attribute, tty-find-type, x-resolve-font-name):
12689 Use `string-match-p'.
12690 (list-faces-display): Use `string-match-p'. Simplify.
12691 (face-spec-recalc): Check face to avoid face alias loops.
12692 (read-color): Use `string-match-p' and non-capturing parenthesis.
12694 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12696 * net/shr.el (shr-rescale-image): Use the new
12697 :max-width/:max-height functionality.
12699 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12701 * net/eww.el (eww-search-prefix): New variable.
12703 (eww-external-browser): New variable.
12704 (eww-mode-map): New keystroke.
12705 (eww-browse-with-external-browser): New command.
12707 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12709 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12711 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12712 Don't skip aligning the next header field when padding is 0;
12713 otherwise, field width is not respected unless the title is as
12716 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * emacs-lisp/package.el (package-el-version): Remove.
12719 (package-process-define-package): Fix inf-loop.
12720 (package-install): Allow symbols as arguments again.
12722 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12724 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12725 add some more keyword-like methods.
12726 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12728 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12730 * bs.el (bs-buffer-show-mark): Make defvar-local.
12731 (bs-mode): Use setq-local.
12733 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12734 (emacs-lock--try-unlocking): Make defvar-local.
12736 2013-06-22 Glenn Morris <rgm@gnu.org>
12738 * play/cookie1.el (cookie-apropos): Minor simplification.
12740 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12742 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12744 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12745 `regexp-opt', it breaks the build during dumping.
12747 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12750 Highlight keyword-like methods on Kernel and Module with
12751 font-lock-builtin-face.
12752 (auto-mode-alist): Consolidate different entries into one regexp
12753 and add more *file-s.
12755 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12757 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12759 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12760 (diary-entry): Use it in the action of this button type instead of
12763 * calendar/todo-mode.el: New version.
12764 (todo-add-category): Append new category to end of file and give
12765 it the highest number, instead of putting it at the beginning and
12766 giving it 0. Incorporate noninteractive functionality.
12767 (todo-forward-category): Adapt to 1-based category numbering.
12768 Allow skipping over archived categories.
12769 (todo-backward-category): Derive from todo-forward-category.
12770 (todo-backward-item, todo-forward-item): Make noninteractive and
12771 delegate interactive part to new commands. Make sensitive to done items.
12772 (todo-categories): Make value an alist of category names and
12773 vectors of item counts.
12774 (todo-category-beg): Make a defconst.
12775 (todo-category-number): Use 1 instead of 0 as initial value.
12776 (todo-category-select): Make sensitive to overlays, optional item
12777 highlighting and done items.
12778 (todo-delete-item): Make sensitive to overlays and marked and done items.
12779 (todo-edit-item): Make sensitive to overlays and editing of
12780 date/time header optional. Add format checks.
12781 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12782 no-op if point is not on an item. Advertise using todo-edit-quit.
12783 (todo-edit-mode): Make sensitive to new format, font-locking, and
12784 multiple todo files.
12785 (todo-insert-item, todo-insert-item-here): Derive from
12786 todo-basic-insert-item and extend functionality.
12787 (todo-item-end, todo-item-start): Make sensitive to done items.
12788 (todo-item-string): Don't return text properties. Restore point.
12789 (todo-jump-to-category): Make sensitive to multiple todo files and
12790 todo archives. Use extended category completion.
12791 (todo-lower-item, todo-raise-item): Rename to *-priority and
12792 derive from todo-set-item-priority.
12793 (todo-mode): Derive from special-mode. Make sensitive to new
12794 format, font-locking and multiple todo files. Make read-only.
12795 (todo-mode-map): Don't suppress digit keys, so they can supply
12796 prefix arguments. Add many new key bindings.
12797 (todo-prefix): Insert as an overlay instead of file text.
12798 Change semantics from diary date expression to purely visual mark.
12799 (todo-print): Rename to todo-print-buffer. Make buffer display
12800 features printable. Remove option to restrict number of items
12801 printed. Add option to print to file.
12802 (todo-print-function): Rename to todo-print-buffer-function.
12803 (todo-quit): Extend to handle exiting new todo modes.
12804 (todo-remove-item): Make sensitive to overlays.
12805 (todo-save): Extend to buffers of filtered items.
12806 (todo-show): Make sensitive to done items, multiple todo files and
12807 new todo modes. Offer to convert legacy todo file before creating
12808 first new todo file.
12809 (todo-show-priorities): Rename to todo-top-priorities.
12810 Change semantics of value 0.
12811 (todo-top-priorities): Rename to todo-filter-top-priorities,
12812 derive from todo-filter-items and extend functionality.
12813 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12814 and extend functionality to other types of filtered items.
12815 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12816 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12817 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12818 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12819 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12820 (todo-edit-mode-hook, todo-entry-prefix-function)
12821 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12822 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12823 (todo-initials, todo-insert-threshold, todo-item-string-start)
12824 (todo-line-string, todo-menu, todo-mode-hook)
12825 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12826 (todo-print-priorities, todo-remove-separator)
12827 (todo-save-top-priorities-too, todo-string-count-lines)
12828 (todo-string-multiline-p, todo-time-string-format)
12829 (todo-tmp-buffer-name): Remove.
12830 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12831 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12832 (todo-edit-category-diary-inclusion)
12833 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12834 (todo-edit-file, todo-edit-item-date-day)
12835 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12836 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12837 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12838 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12839 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12840 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12841 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12842 (todo-filter-top-priorities-multifile, todo-find-archive)
12843 (todo-find-filtered-items-file, todo-go-to-source-item)
12844 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12845 (todo-jump-to-archive-category, todo-lower-category)
12846 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12847 (todo-move-category, todo-move-item, todo-next-button)
12848 (todo-next-item, todo-padded-string, todo-powerset)
12849 (todo-previous-button, todo-previous-item)
12850 (todo-print-buffer-to-file, todo-raise-category)
12851 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12852 (todo-set-category-number, todo-set-item-priority)
12853 (todo-set-top-priorities-in-category)
12854 (todo-set-top-priorities-in-file, todo-show-categories-table)
12855 (todo-sort-categories-alphabetically-or-numerically)
12856 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12857 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12858 (todo-toggle-item-header, todo-toggle-item-highlighting)
12859 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12860 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12861 (todo-unarchive-items, todo-unmark-category): New commands.
12862 (todo-absolute-file-name, todo-add-to-buffer-list)
12863 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12864 (todo-basic-insert-item, todo-category-completions)
12865 (todo-category-number, todo-category-string-matcher-1)
12866 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12867 (todo-check-format, todo-clear-matches)
12868 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12869 (todo-current-category, todo-date-string-matcher)
12870 (todo-define-insertion-command, todo-diary-expired-matcher)
12871 (todo-diary-goto-entry, todo-diary-item-p)
12872 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12873 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12874 (todo-done-item-section-p, todo-done-separator)
12875 (todo-done-string-matcher, todo-files, todo-filter-items)
12876 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12877 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12878 (todo-insert-category-line, todo-insert-item-from-calendar)
12879 (todo-insert-sort-button, todo-insert-with-overlays)
12880 (todo-insertion-command-name, todo-insertion-key-bindings)
12881 (todo-label-to-key, todo-longest-category-name-length)
12882 (todo-make-categories-list, todo-mode-external-set)
12883 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12884 (todo-modes-set-3, todo-multiple-filter-files)
12885 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12886 (todo-read-category, todo-read-date, todo-read-dayname)
12887 (todo-read-file-name, todo-read-time)
12888 (todo-reevaluate-category-completions-files-defcustom)
12889 (todo-reevaluate-default-file-defcustom)
12890 (todo-reevaluate-filelist-defcustoms)
12891 (todo-reevaluate-filter-files-defcustom)
12892 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12893 (todo-reset-done-separator, todo-reset-done-separator-string)
12894 (todo-reset-done-string, todo-reset-global-current-todo-file)
12895 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12896 (todo-reset-prefix, todo-set-categories)
12897 (todo-set-date-from-calendar, todo-set-show-current-file)
12898 (todo-set-top-priorities, todo-short-file-name)
12899 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12900 (todo-total-item-counts, todo-update-buffer-list)
12901 (todo-update-categories-display, todo-update-categories-sexp)
12902 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12904 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12906 (todo-categories, todo-display, todo-edit, todo-faces)
12907 (todo-filtered): New defgroups.
12908 (todo-archived-only, todo-button, todo-category-string, todo-date)
12909 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12910 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12911 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12912 (todo-add-item-if-new-category, todo-always-add-time-string)
12913 (todo-categories-align, todo-categories-archived-label)
12914 (todo-categories-category-label, todo-categories-diary-label)
12915 (todo-categories-done-label, todo-categories-number-separator)
12916 (todo-categories-todo-label, todo-categories-totals-label)
12917 (todo-category-completions-files, todo-completion-ignore-case)
12918 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12919 (todo-done-separator-string, todo-done-string)
12920 (todo-files-function, todo-filter-done-items, todo-filter-files)
12921 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12922 (todo-initial-category, todo-initial-file, todo-item-mark)
12923 (todo-legacy-date-time-regexp, todo-mode-line-function)
12924 (todo-nondiary-marker, todo-number-prefix)
12925 (todo-print-buffer-function, todo-show-current-file)
12926 (todo-show-done-only, todo-show-first, todo-show-with-done)
12927 (todo-skip-archived-categories, todo-top-priorities-overrides)
12928 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12929 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12931 (todo-category-done, todo-date-pattern, todo-date-string-start)
12932 (todo-diary-items-buffer, todo-done-string-start)
12933 (todo-filtered-items-buffer, todo-item-start)
12934 (todo-month-abbrev-array, todo-month-name-array)
12935 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12936 (todo-top-priorities-buffer): New defconsts.
12937 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12938 (todo-categories-with-marks, todo-category-string-face)
12939 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12940 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12941 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12942 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12943 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12944 (todo-font-lock-keywords, todo-global-current-todo-file)
12945 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12946 (todo-insertion-commands-args)
12947 (todo-insertion-commands-args-genlist)
12948 (todo-insertion-commands-names, todo-insertion-map)
12949 (todo-key-bindings-t, todo-key-bindings-t+a)
12950 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12951 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12952 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12953 (todo-visited): New variables.
12955 2013-06-21 Glenn Morris <rgm@gnu.org>
12957 * play/cookie1.el (cookie-apropos): Add optional display argument.
12958 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12959 (psychoanalyze-pinhead): Use cookie-doctor.
12961 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12963 * emacs-lisp/package.el (tar-get-file-descriptor)
12964 (tar--extract): Declare.
12966 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12968 Extend flymake's warning predicate to be a function (bug#14217).
12969 * progmodes/flymake.el (flymake-warning-predicate): New.
12970 (flymake-parse-line): Use it.
12971 (flymake-warning-re): Make obsolete alias to
12972 `flymake-warning-predicate'.
12974 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12976 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12977 (package-obsolete-list): Remove.
12978 (package-activate): Remove min-version argument. Add `force' argument.
12979 Adjust to new package-alist format.
12980 (package-mark-obsolete): Remove.
12981 (package-unpack): Force reload of the package's autoloads.
12982 (package-installed-p): Check builtins if the installed package is not
12984 (package-initialize): Don't reset package-obsolete-list.
12985 Don't specify which package version to activate.
12986 (package-process-define-package, describe-package-1)
12987 (package-menu--generate): Adjust to new package-alist format.
12989 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12991 * allout-widgets.el (allout-widgets-mode-off)
12992 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12993 (allout-widgets-post-command-business)
12994 (allout-widgets-after-copy-or-kill-function)
12995 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12996 (allout-decorate-item-and-context)
12997 (allout-graphics-modification-handler): Fix typos in docstrings.
12998 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13000 * cmuscheme.el (scheme-start-file): Doc fix.
13001 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13002 (scheme-input-filter): Use `string-match-p'.
13004 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13006 * dired-x.el: Use Dired consistently in docstrings.
13008 * dired.el: Use Dired consistently in docstrings.
13009 (dired-readin, dired-mode): Use `setq-local'.
13010 (dired-switches-alist): Make defvar-local.
13011 (dired-buffers-for-dir): Use `zerop'.
13012 (dired-safe-switches-p, dired-switches-escape-p)
13013 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13014 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13015 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13016 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13017 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13018 (dired-toggle-marks, dired-mark-files-containing-regexp)
13019 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13020 (dired-flag-auto-save-files, dired-flag-backup-files):
13021 Use `looking-at-p'.
13022 (dired-mark-files-regexp, dired-build-subdir-alist):
13023 Use `string-match-p', `looking-at-p'.
13025 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13026 (direct-print-region-helper): Use `string-match-p'.
13028 2013-06-21 Leo Liu <sdl.web@gmail.com>
13030 * comint.el (comint-redirect-results-list-from-process):
13033 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13035 * net/eww.el (eww-update-header-line-format): Quote % characters.
13037 2013-06-21 Glenn Morris <rgm@gnu.org>
13039 * play/cookie1.el (cookie): New custom group.
13040 (cookie-file): New option.
13041 (cookie-check-file): New function.
13042 (cookie): Make it interactive. Make start and end messages optional.
13043 Interactively, display the result. Default to cookie-file.
13044 (cookie-insert): Default to cookie-file.
13045 (cookie-snarf): Make start and end messages optional.
13046 Default to cookie-file. Use with-temp-buffer.
13047 (cookie-read): Rename from read-cookie.
13048 Make start and end messages optional. Default to cookie-file.
13049 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13050 Do not autoload it.
13051 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13052 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13054 2013-06-21 Leo Liu <sdl.web@gmail.com>
13056 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13058 2013-06-21 Glenn Morris <rgm@gnu.org>
13060 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13062 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13063 Daniel Hackney <dan@haxney.org>
13065 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13066 Consolidate the single-file vs tarball code.
13067 (package-desc-suffix): New function.
13068 (package-desc-full-name): Don't bother inlining it.
13069 (package-load-descriptor): Return the new package-desc.
13070 (package-mark-obsolete): Remove unused arg `package'.
13071 (package-unpack): Make it work for single files as well.
13072 Make it update package-alist.
13073 (package--make-autoloads-and-stuff): Rename from
13074 package--make-autoloads-and-compile. Don't compile any more.
13075 (package--compile): New function.
13076 (package-generate-description-file): New function, extracted from
13077 package-unpack-single.
13078 (package-unpack-single): Remove.
13079 (package--with-work-buffer): Add indentation and debugging info.
13080 (package-download-single): Remove.
13081 (package-install-from-archive): Rename from package-download-tar, make
13082 it take a pkg-desc, and make it work for single files as well.
13083 (package-download-transaction): Simplify.
13084 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13085 external tar program.
13086 (package-install-from-buffer): Remove `pkg-desc' argument.
13087 Use package-tar-file-info for tar-mode buffers.
13088 (package-install-file): Simplify accordingly.
13089 (package-archive-base): Change to take a pkg-desc.
13090 * tar-mode.el (tar--check-descriptor): New function, extracted from
13091 tar-get-descriptor.
13092 (tar-get-descriptor): Use it.
13093 (tar-get-file-descriptor): New function.
13094 (tar--extract): New function, extracted from tar-extract.
13095 (tar--extract): Use it.
13096 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13097 case the summary uses non-ascii. Adjust to new calling convention of
13098 package-tar-file-info.
13100 2013-06-21 Leo Liu <sdl.web@gmail.com>
13102 * comint.el (comint-redirect-results-list-from-process):
13103 Fix random delay. (Bug#14681)
13105 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13107 * profiler.el (profiler-format-number): Use log, not log10.
13109 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13111 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13113 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13116 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13118 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13119 (AUTOGENEL): ... here.
13120 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13121 (cl--defsubst-expand): Use it.
13123 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13125 * subr.el (log10): Move here from C code, and declare as obsolete.
13126 All uses of (log10 X) replaced with (log X 10).
13128 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13130 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13131 Declare with `defvar-local'.
13132 (tabulated-list-use-header-line, tabulated-list-entries)
13133 (tabulated-list-padding, tabulated-list-printer)
13134 (tabulated-list-sort-key): Declare with `defvar-local'.
13135 (tabulated-list-init-header, tabulated-list-print-fake-header):
13138 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13140 * arc-mode.el (archive-mode): Add `archive-write-file' to
13141 `write-contents-functions' also for remote files. (Bug#14652)
13143 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13145 * cus-edit.el (custom-commands): Fix typos.
13146 (custom-display): Fix tooltip text.
13147 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13148 Fix typos in docstrings.
13149 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13150 (custom-unlispify-menu-entry, custom-magic-value-create)
13151 (custom-add-see-also, custom-group-value-create): Use ?\s.
13152 (custom-guess-type, customize-apropos, editable-field)
13153 (custom-face-value-create): Use `string-match-p'.
13154 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13156 * custom.el (custom-load-symbol): Use `string-match-p'.
13158 * ansi-color.el: Convert to lexical binding.
13159 (ansi-colors): Fix URL.
13160 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13161 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13162 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13164 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13166 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13168 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13170 2013-06-19 Tom Tromey <tromey@redhat.com>
13172 * net/eww.el (eww-top-url): Remove.
13173 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13174 (eww-render): Set new variables. Don't set eww-top-url.
13175 (eww-handle-link): Handle "prev", "home", and "contents".
13176 Downcase the rel text.
13177 (eww-top-url): Choose best top URL.
13179 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13181 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13182 relying in widget.el. Using widget.el leads to too many
13183 user interface inconsistencies.
13184 (eww-self-insert): Implement entering commands in text fields.
13185 (eww-process-text-input): New function to make text input field editing
13187 (eww-submit): Rewrite to use the new-style form methods.
13188 (eww-select-display): Display the correct selected item.
13189 (eww-change-select): Implement changing the select value.
13190 (eww-toggle-checkbox): Implement radio/checkboxes.
13191 (eww-update-field): Fix compilation error.
13192 (eww-tag-textarea): Implement <textarea>.
13194 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13195 we don't shadow mode-specific bindings.
13197 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13200 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13202 2013-06-19 Glenn Morris <rgm@gnu.org>
13204 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13206 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13208 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13211 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13213 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13215 * net/browse-url.el (browse-url-browser-function):
13216 `eww-browse-url' has the right calling signature, `eww' does not.
13218 2013-06-19 Glenn Morris <rgm@gnu.org>
13220 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13221 Only eval autoloaded macros.
13222 (byte-compile-autoload): Only give the macro warning for macros.
13224 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13225 (ps-underlined-faces): Declare.
13227 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13228 (speedbar-add-supported-extension): Declare.
13230 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13231 Don't include a date stamp in the header of the generated file;
13232 it leads to needless differences between output files.
13234 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13236 * net/secrets.el (secrets-struct-secret-content-type):
13237 Replace check of introspection data by a test call of "CreateItem".
13238 Some servers do not offer introspection.
13240 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * electric.el (electric-pair-mode): Improve interaction with
13243 electric-layout-mode.
13244 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13245 (electric-pair-syntax): Use text-mode-syntax-table in comments
13247 (electric-pair--insert): New function.
13248 (electric-pair-post-self-insert-function): Use it and
13249 electric--after-char-pos.
13251 2013-06-19 Leo Liu <sdl.web@gmail.com>
13253 * progmodes/octave.el (octave-help): Fix regexp.
13255 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13257 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13258 (shr-table-horizontal-line): Allow nil as a value, and change the
13260 (shr-insert-table-ruler): Respect the nil value.
13262 2013-06-18 Tom Tromey <tromey@barimba>
13264 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13266 (eww-open-file): New defun.
13267 (eww-render): Initialize new variables.
13268 (eww-display-html): Handle "link" and "a".
13269 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13270 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13271 (eww-back-url): Rename from eww-previous-url.
13272 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13275 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13277 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13278 Distinguish ternary operator tokens from slash symbol and slash
13281 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13283 Convert symbol prettification into minor mode and global minor mode.
13285 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13286 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13287 (prettify-symbols--keywords): Rename from
13288 `prog-prettify-symbols-alist' and make a local defvar.
13289 (prettify-symbols--compose-symbol): Rename from
13290 `prog--prettify-font-lock-compose-symbol'.
13291 (prettify-symbols--make-keywords): Rename from
13292 `prog-prettify-font-lock-symbols-keywords' and simplify.
13293 (prog-prettify-install): Remove.
13294 (prettify-symbols-mode): New minor mode, based on
13295 `prog-prettify-install'.
13296 (turn-on-prettify-symbols-mode): New function.
13297 (global-prettify-symbols-mode): New globalized minor mode.
13299 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13300 * progmodes/cfengine.el (cfengine3-mode):
13301 * progmodes/perl-mode.el (perl-mode): Don't call
13302 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13304 2013-06-18 Juri Linkov <juri@jurta.org>
13306 * files-x.el (modify-file-local-variable-message): New function.
13307 (modify-file-local-variable)
13308 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13309 and call `modify-file-local-variable-message' when it's non-nil.
13310 (add-file-local-variable, delete-file-local-variable)
13311 (add-file-local-variable-prop-line)
13312 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13313 and use it. (Bug#9820)
13315 2013-06-18 Juri Linkov <juri@jurta.org>
13317 * emulation/vi.el (vi-shell-op):
13318 * emulation/vip.el (vip-execute-com, ex-command):
13319 * emulation/viper-cmd.el (viper-exec-bang):
13320 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13321 the call of `shell-command-on-region'. (Bug#14637)
13323 * simple.el (shell-command-on-region): Doc fix.
13325 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13327 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13330 2013-06-18 Glenn Morris <rgm@gnu.org>
13332 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13334 * newcomment.el (comment-search-forward, comment-search-backward):
13335 Doc fix. (Bug#14376)
13337 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13339 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13340 (buffer-face-mode-invoke): Doc fix.
13342 2013-06-18 Matthias Meulien <orontee@gmail.com>
13344 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13345 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13347 2013-06-18 Glenn Morris <rgm@gnu.org>
13349 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13350 Replace obsolete function generic-make-keywords with its expansion.
13352 * progmodes/python.el (ffap-alist): Declare.
13354 * textmodes/reftex.el (bibtex-mode-map): Declare.
13356 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13358 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13359 (package-unpack, package-unpack-single): Return the pkg-dir.
13360 (package-download-transaction): Use it to update package-alist.
13362 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13364 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13367 2013-06-17 Juri Linkov <juri@jurta.org>
13369 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13371 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13373 * emacs-lisp/package.el (package-load-descriptor):
13374 Remove `with-syntax-table' call, `read' doesn't need it.
13375 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13377 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13379 * startup.el (command-line): Expand package name returned by
13380 `package--description-file' (bug#14639).
13382 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13384 * emacs-lisp/package.el (package-load-descriptor): Do not call
13385 `emacs-lisp-mode', just use its syntax table.
13387 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13389 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13390 `font-lock-extra-managed-props' if any prettifying keyword is added.
13391 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13392 (prog-mode): Use `setq-local'.
13394 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13396 * international/characters.el (standard-case-table): Set syntax of ?»
13397 and ?« to punctuation.
13399 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13401 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13402 Save relevant match data before calling `syntax-ppss' (bug#14595).
13404 2013-06-15 Juri Linkov <juri@jurta.org>
13406 * files-x.el (modify-file-local-variable-prop-line): Add local
13407 variables to the end of the existing comment on the first line.
13408 Use `file-auto-mode-skip' to skip interpreter magic line,
13409 and also skip XML declaration.
13411 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13413 * startup.el (package--builtin-versions): New var.
13414 (package-subdirectory-regexp): Remove.
13415 (package--description-file): Hard code its value instead.
13417 * emacs-lisp/package.el: Don't activate packages older than builtin.
13418 (package-obsolete-list): Rename from package-obsolete-alist, and make
13419 it into a simple list of package-desc.
13420 (package-strip-version): Remove.
13421 (package-built-in-p): Use package--builtin-versions.
13422 (package-mark-obsolete): Simplify.
13423 (package-process-define-package): Mark it obsolete if older than the
13425 (package-handle-response): Use line-end-position.
13426 (package-read-archive-contents, package--download-one-archive):
13428 (package--add-to-archive-contents): Skip if older than the builtin or
13430 (package-menu-describe-package): Fix last change.
13431 (package-list-unversioned): New var.
13432 (package-menu--generate): Use it.
13434 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13435 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13436 (autoload-builtin-package-versions): New variable.
13437 (autoload-generate-file-autoloads): Use them.
13438 Remove the list of autoloaded functions/macros from the
13439 (autoload...) comments.
13441 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13443 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13445 * simple.el (line-move-partial): Don't jump to the next screen
13446 line as soon as it becomes visible. Instead, continue enlarging
13447 the vscroll until the portion of a tall screen line that's left on
13448 display is about the height of the frame's default font.
13451 2013-06-15 Glenn Morris <rgm@gnu.org>
13453 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13454 compilation-error-regexp-alist void, or local while let-bound.
13456 * progmodes/make-mode.el (makefile-mode-syntax-table):
13457 Treat "=" as punctuation. (Bug#14614)
13459 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13461 * help-fns.el (describe-variable):
13462 Add extra line for permanent-local variables.
13464 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13466 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13467 Add export, import, library. (Bug#9164)
13468 (library): Set indent function.
13470 2013-06-14 Glenn Morris <rgm@gnu.org>
13472 * term/xterm.el (xterm--query):
13473 Stop after first matching handler. (Bug#14615)
13475 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13477 Add support for dired in saveplace.
13478 * dired.el (dired-initial-position-hook): New variable.
13479 (dired-initial-position): Call hook to place cursor position.
13480 * saveplace.el (save-place-to-alist): Add dired position.
13481 (save-place-dired-hook): New function.
13483 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13485 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13486 through a symbol rather than letrec.
13488 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13489 (package-desc): Add `dir' field.
13490 (package-desc-full-name): New function.
13491 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13492 (package-maybe-load-descriptor): Remove.
13493 (package-load-all-descriptors): Just call package-load-descriptor.
13494 (package--disabled-p): New function.
13495 (package-desc-vers, package-desc-doc): Remove aliases.
13496 (package--dir): Remove function.
13497 (package-activate): Check if a package is disabled.
13498 (package-process-define-package): New function, extracted from
13500 (define-package): Turn into a place holder.
13501 (package-unpack-single, package-tar-file-info):
13502 Use package--description-file.
13503 (package-compute-transaction): Use package--disabled-p.
13504 (package-download-transaction): Don't call
13505 package-maybe-load-descriptor since they're all loaded anyway.
13506 (package-install): Change argument to be a pkg-desc.
13507 (package-delete): Use a single pkg-desc argument.
13508 (describe-package-1): Use package-desc-dir instead of package--dir.
13509 Use package-desc property instead of package-symbol.
13510 (package-install-button-action): Adjust accordingly.
13511 (package--push): Rewrite.
13512 (package-menu--print-info): Adjust accordingly. Change the ID format
13514 (package-menu-describe-package, package-menu-get-status)
13515 (package-menu--find-upgrades, package-menu-mark-upgrades)
13516 (package-menu-execute, package-menu--name-predicate):
13517 Adjust accordingly.
13518 * startup.el (package--description-file): New function.
13519 (command-line): Use it.
13520 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13521 Use package-desc-version.
13523 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13524 (byte-compile-preprocess): Use it.
13525 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13526 can't quite recognize.
13527 (byte-compile-add-to-list): Remove.
13528 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13529 (cconv-closure-convert): Add assertion.
13531 * emacs-lisp/map-ynp.el: Use lexical-binding.
13532 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13533 Factor out some repeated code.
13535 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13537 * subr.el (with-eval-after-load): New macro.
13538 (eval-after-load): Allow form to be a function.
13539 take advantage of lexical-binding.
13540 (do-after-load-evaluation): Use dolist and adjust to new format.
13541 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13543 2013-06-13 Juri Linkov <juri@jurta.org>
13545 * replace.el (perform-replace): Display "symbol " and other search
13546 modes from `isearch-message-prefix' in the *Help* buffer.
13548 * isearch.el (isearch-query-replace): Add " symbol" and other
13549 possible search modes from `isearch-message-prefix' to the prompt.
13550 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13551 when reading a regexp to collect.
13553 2013-06-13 Juri Linkov <juri@jurta.org>
13555 * isearch.el (word-search-regexp): Match whitespace if the search
13556 string begins or ends in whitespace. The LAX arg is applied to
13557 both ends of the search string. Use `regexp-quote' and explicit
13558 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13559 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13560 boundaries are replaced with symbol boundaries, and characters
13561 between symbols match non-word non-symbol syntax. (Bug#14602)
13563 2013-06-13 Juri Linkov <juri@jurta.org>
13565 * isearch.el (isearch-del-char): Don't exceed the length of
13566 `isearch-string' by the prefix arg. (Bug#14563)
13568 2013-06-13 Juri Linkov <juri@jurta.org>
13570 * isearch.el (isearch-yank-word, isearch-yank-line)
13571 (isearch-char-by-name, isearch-quote-char)
13572 (isearch-printing-char, isearch-process-search-char):
13573 Add optional count prefix arg. (Bug#14563)
13575 * international/isearch-x.el
13576 (isearch-process-search-multibyte-characters):
13577 Add optional count prefix arg.
13579 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13582 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13585 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13587 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13589 2013-06-13 Glenn Morris <rgm@gnu.org>
13591 * startup.el (tty-handle-args):
13592 Don't just discard "--" and anything after. (Bug#14608)
13594 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13596 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13598 Implement changes in Secret Service API. Make it backward compatible.
13599 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13600 (secrets-create-item): Use it. Prefix properties with interface.
13602 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13604 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13605 (term-emulate-terminal): Respect term-suppress-hard-newline.
13607 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13609 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13610 Only remove a `thumb-file' overlay. (Bug#14548)
13612 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13614 * mail/reporter.el (reporter-submit-bug-report):
13615 Handle missing package-name. (Bug#14600)
13617 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13619 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13620 (reftex-citation-prompt, reftex-default-bibliography)
13621 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13622 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13623 (reftex-bib-sort-author, reftex-bib-sort-year)
13624 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13625 (reftex-extract-bib-entries-from-thebibliography)
13626 (reftex-get-bibkey-default, reftex-get-bib-names)
13627 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13628 (reftex-format-bib-entry, reftex-parse-bibitem)
13629 (reftex-format-bibitem, reftex-do-citation)
13630 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13631 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13632 (reftex-insert-bib-matches, reftex-format-citation)
13633 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13634 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13635 existing comments into docstrings.
13637 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13639 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13641 2013-06-12 Andreas Schwab <schwab@suse.de>
13643 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13644 for auto-save files.
13646 2013-06-12 Glenn Morris <rgm@gnu.org>
13648 * ido.el (ido-delete-ignored-files): Remove.
13649 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13650 Go back to calling ido-ignore-item-p directly.
13652 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13654 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13656 * ido.el (ido-delete-ignored-files): New function,
13657 split from ido-make-file-list-1.
13658 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13659 (ido-make-file-list-1): Use ido-delete-ignored-files.
13661 2013-06-12 Leo Liu <sdl.web@gmail.com>
13663 * progmodes/octave.el (inferior-octave-startup)
13664 (inferior-octave-completion-table)
13665 (inferior-octave-track-window-width-change)
13666 (octave-eldoc-function-signatures, octave-help)
13667 (octave-find-definition): Use single quoted strings.
13668 (inferior-octave-startup-args): Change default value.
13669 (inferior-octave-startup): Do not hard code "-i" and
13670 "--no-line-editing".
13671 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13672 (inferior-octave-directory-tracker): Use it.
13673 (octave-goto-function-definition): Robustify.
13674 (octave-help): Support highlighting operators in 'See also'.
13675 (octave-find-definition): Find subfunctions only in Octave mode.
13677 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * help-fns.el (help-fns--compiler-macro): If the handler function is
13680 named, then put a link to it.
13681 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13682 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13683 (cl-typep): Use it.
13684 (cl-eval-when): Simplify debug spec.
13685 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13686 compiler-macro function instead of setting `compiler-macro-file'.
13688 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13690 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13691 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13693 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13694 Daniel Hackney <dan@haxney.org>
13696 First part of Daniel Hackney's patch to package.el.
13697 * emacs-lisp/package.el: Use defstruct.
13698 (package-desc): New, main struct.
13699 (package--bi-desc, package--ac-desc): New structs, used to describe the
13700 format in external files.
13701 (package-desc-vers): Replace with package-desc-version accessor.
13702 (package-desc-doc): Replace with package-desc-summary accessor.
13703 (package-activate-1): Remove `package' arg since the pkg-vec now
13705 (define-package): Use package-desc-from-define.
13706 (package-unpack-single): Change file-name arg to be a symbol.
13707 (package--add-to-archive-contents): Use package-desc-create and new
13708 accessor functions to package--ac-desc.
13709 (package-buffer-info, package-tar-file-info): Return a package-desc.
13710 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13711 arg to be a package-desc.
13712 (package-install-file): Adjust accordingly. Use \' to match EOS.
13713 (package--from-builtin): New function.
13714 (describe-package-1, package-menu--generate): Use it.
13715 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13716 (package-generate-autoloads): Idem and return the name of the file.
13717 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13718 Change pkg-info arg to be a package-desc.
13719 Use package-make-ac-desc.
13720 (package-upload-file): Use \' to match EOS.
13721 * finder.el (finder-compile-keywords): Use package-make-builtin.
13723 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13725 * vc/vc.el (vc-deduce-fileset): Change error message.
13726 (vc-read-backend): New function.
13727 (vc-next-action): Use it.
13729 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13731 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13732 (prolog-font-lock-keywords): Use regexp-opt instead.
13733 Don't manually highlight strings.
13734 (prolog-mode-variables): Simplify comment-start-skip.
13735 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13737 * emacs-lisp/generic.el (generic--normalise-comments)
13738 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13739 (generic-mode-set-comments): Use them.
13740 (generic-bracket-support): Use setq-local.
13741 (generic-make-keywords-list): Declare obsolete.
13743 2013-06-11 Glenn Morris <rgm@gnu.org>
13745 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13746 Prettify after setting font-lock-defaults. (Bug#14574)
13748 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13750 * replace.el (query-replace, occur-read-regexp-defaults-function)
13752 * subr.el (declare-function, number-sequence, local-set-key)
13753 (substitute-key-definition, locate-user-emacs-file)
13754 (with-silent-modifications, split-string, eval-after-load):
13755 Fix typos, remove unneeded backslashes and reflow some docstrings.
13757 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13759 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13760 default for Elisp files.
13762 2013-06-11 Glenn Morris <rgm@gnu.org>
13764 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13765 although define-derived-mode was doing this anyway. (Bug#14583)
13767 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13769 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13770 Fix make-variable-buffer-local call to refer to the correct variable.
13772 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13774 * eshell/em-term.el (eshell-visual-commands)
13775 (eshell-visual-subcommands, eshell-visual-options):
13776 Add summary line to docstrings. Add cross-references.
13778 2013-06-10 Glenn Morris <rgm@gnu.org>
13780 * epa.el (epa-read-file-name): New function. (Bug#14510)
13781 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13783 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13785 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13786 output redirection to be ignored with visual commands.
13788 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13790 * eshell/em-term.el (eshell-visual-command-p): New function.
13791 (eshell-term-initialize): Move long lambda to separate function
13792 eshell-visual-command-p.
13793 * eshell/em-dirs.el (eshell-dirs-initialize):
13794 * eshell/em-script.el (eshell-script-initialize):
13795 Add missing #' to lambda.
13797 2013-06-08 Leo Liu <sdl.web@gmail.com>
13799 * progmodes/octave.el (octave-add-log-current-defun): New function.
13800 (octave-mode): Set add-log-current-defun-function.
13801 (octave-goto-function-definition): Do not move point if not found.
13802 (octave-find-definition): Enhance to try subfunctions first.
13804 2013-06-08 Glenn Morris <rgm@gnu.org>
13806 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13807 (byte-compile-backward-char, byte-compile-backward-word):
13808 Improve previous change, to handle non-explicit nil.
13810 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13812 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13813 (smie--opener/closer-at-point): New function.
13814 (smie--matching-block-data): Use it. Don't match from right after an
13815 opener or right before a closer. Obey smie-blink-matching-inners.
13816 Don't signal a mismatch for repeated inners like "switch..case..case".
13818 2013-06-07 Leo Liu <sdl.web@gmail.com>
13820 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13822 (octave-function-header-regexp): Fix. (Bug#14570)
13823 (octave-help-mode-finish-hook, octave-help-mode-finish):
13824 Remove. Just use temp-buffer-show-hook.
13826 * newcomment.el (comment-search-backward): Revert last change.
13829 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13831 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13833 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13834 through xargs, to avoid failure due to MS-Windows limitations on
13835 command-line length.
13837 2013-06-06 Glenn Morris <rgm@gnu.org>
13839 * font-lock.el (lisp-font-lock-keywords-2):
13840 Treat user-error like error.
13842 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13843 (byte-compile-backward-char, byte-compile-backward-word):
13844 Handle explicit nil arguments. (Bug#14565)
13846 2013-06-05 Alan Mackenzie <acm@muc.de>
13848 * isearch.el (isearch-allow-prefix): New user option.
13849 (isearch-other-meta-char): Don't exit isearch when a prefix
13850 argument is typed whilst `isearch-allow-prefix' is non-nil.
13853 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13855 * autorevert.el (auto-revert-notify-handler): Use memq.
13856 Hide assertion failure.
13858 * skeleton.el: Use cl-lib.
13859 (skeleton-further-elements): Use defvar-local.
13860 (skeleton-insert): Use cl-progv.
13862 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13864 * progmodes/prog-mode.el (prog-prettify-symbols)
13865 (prog-prettify-install): Update docstrings.
13867 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13869 * simple.el: Move all the prog-mode code to prog-mode.el.
13870 * progmodes/prog-mode.el: New file.
13871 * loadup.el: Add prog-mode.el.
13873 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13875 * simple.el (prog-prettify-symbols): Add version.
13876 (prog-prettify-install): Add convenience function to prettify symbols.
13878 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13879 (perl--augmented-font-lock-keywords-1)
13880 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13881 variables and use it.
13883 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13884 (cfengine3-mode): Remove unneeded variable and use it.
13886 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13887 (lisp--augmented-font-lock-keywords-1)
13888 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13889 Remove unneeded variables and use it.
13891 2013-06-05 João Távora <joaotavora@gmail.com>
13893 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13894 to point when opening the connection. (Bug#14380)
13896 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13898 * subr.el (load-history-regexp, load-history-filename-element)
13899 (eval-after-load, after-load-functions, do-after-load-evaluation)
13900 (eval-next-after-load, display-delayed-warnings)
13901 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13902 definition of save-match-data.
13903 (overriding-local-map): Remove accidental obsolescence declaration.
13905 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13907 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13909 Generalize symbol prettify support to prog-mode and implement it
13910 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13911 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13912 (prog--prettify-font-lock-compose-symbol)
13913 (prog-prettify-font-lock-symbols-keywords): New variables and
13914 functions to support symbol prettification.
13915 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13916 (lisp--augmented-font-lock-keywords-1)
13917 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13918 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13919 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13920 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13921 Implement prettify of -> => :: strings.
13922 * progmodes/perl-mode.el (perl-prettify-symbols)
13923 (perl--font-lock-compose-symbol)
13924 (perl--font-lock-symbols-keywords): Move to prog-mode.
13925 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13926 (perl-font-lock-keywords-1)
13927 (perl-font-lock-keywords-2): Remove explicit prettify support.
13928 (perl--augmented-font-lock-keywords)
13929 (perl--augmented-font-lock-keywords-1)
13930 (perl--augmented-font-lock-keywords-2, perl-mode):
13931 Implement prettify support.
13933 2013-06-05 Leo Liu <sdl.web@gmail.com>
13935 Re-implement SMIE matching block highlight using
13936 show-paren-data-function. (Bug#14395)
13937 * emacs-lisp/smie.el (smie-matching-block-highlight)
13938 (smie--highlight-matching-block-overlay)
13939 (smie--highlight-matching-block-lastpos)
13940 (smie-highlight-matching-block)
13941 (smie-highlight-matching-block-mode): Remove.
13942 (smie--matching-block-data-cache): New variable.
13943 (smie--matching-block-data): New function.
13944 (smie-setup): Use smie--matching-block-data for
13945 show-paren-data-function.
13947 * progmodes/octave.el (octave-mode-menu): Fix.
13948 (octave-find-definition): Skip garbage lines.
13950 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13952 Fix compilation error with simultaneous dynamic+lexical scoping.
13953 Add warning when a defvar appears after the first let-binding.
13954 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13955 (byte-compile-close-variables): Initialize it.
13956 (byte-compile--declare-var): New function.
13957 (byte-compile-file-form-defvar)
13958 (byte-compile-file-form-define-abbrev-table)
13959 (byte-compile-file-form-custom-declare-variable): Use it.
13960 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13961 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13962 (byte-compile-bind): Handle dynamic bindings that shadow
13964 (byte-compile-unbind): Make arg non-optional.
13965 (byte-compile-let): Simplify.
13966 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13967 (cconv--analyse-function, cconv-analyse-form): Populate it.
13968 Protect byte-compile-bound-variables to limit the scope of defvars.
13969 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13970 Remove unneeded rule for `declare'.
13972 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13973 so as to avoid depending on cl-adjoin at run-time.
13974 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13976 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13977 (macroexp--warn-and-return): Use it.
13979 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13981 * subr.el: Convert to lexical binding.
13982 (overriding-local-map): Make obsolete.
13983 (add-to-list): Doc fix. Add compiler macro.
13984 (read-key): Swap values of local maps.
13986 2013-06-05 Leo Liu <sdl.web@gmail.com>
13988 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13990 2013-06-04 Leo Liu <sdl.web@gmail.com>
13992 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13993 (compilation-auto-jump): Suppress the "Mark set" message to give
13994 way to exit message.
13996 2013-06-04 Alan Mackenzie <acm@muc.de>
13998 Remove faulty optimisation from indentation calculation.
13999 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14000 search limit based on 2000 characters back from indent-point.
14002 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14004 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14006 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14008 * emacs-lisp/lisp.el: Use lexical-binding.
14009 (lisp--local-variables-1, lisp--local-variables): New functions.
14010 (lisp--local-variables-completion-table): New var.
14011 (lisp-completion-at-point): Use it complete let-bound vars.
14013 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14014 eagerly (bug#14422).
14016 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14018 * autorevert.el (auto-revert-notify-enabled)
14019 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14020 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14021 (auto-revert-notify-handler): Handle also gfilenotify.
14023 * subr.el (file-notify-handle-event): New defun. Replacing ...
14024 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14027 2013-06-03 Juri Linkov <juri@jurta.org>
14029 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14030 `M-s h .'. (Bug#14427)
14032 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14033 command `hi-lock-face-symbol-at-point'.
14034 (hi-lock-face-symbol-at-point): New command.
14035 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14036 (hi-lock-menu): Add `highlight-symbol-at-point'.
14037 (hi-lock-mode): Doc fix.
14039 * isearch.el (isearch-forward-symbol-at-point): New command.
14040 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14041 (isearch-highlight-regexp): Add a regexp which matches
14042 words/symbols for word/symbol mode.
14044 * subr.el (find-tag-default-bounds): New function with the body
14045 mostly moved from `find-tag-default'.
14046 (find-tag-default): Move most code to `find-tag-default-bounds',
14047 call it and apply `buffer-substring-no-properties' afterwards.
14049 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14051 * eshell/em-term.el (eshell-term-initialize):
14052 Use `cl-intersection' rather than `intersection'.
14054 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14056 * vc/log-view.el: Doc fix.
14057 (log-view-mode-map): Copy keymap from `special-mode-map'.
14059 2013-06-02 Eric Ludlam <zappo@gnu.org>
14061 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14062 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14063 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14064 (eieio-unbound, eieio-default-superclass)
14065 (eieio--define-field-accessors, method-static, method-before)
14066 (method-primary, method-after, method-num-lists)
14067 (method-generic-before, method-generic-primary)
14068 (method-generic-after, method-num-slots)
14069 (eieio-specialized-key-to-generic-key)
14070 (eieio--check-type, class-v, class-p)
14071 (eieio-class-name, define-obsolete-function-alias)
14072 (eieio-class-parents-fast, eieio-class-children-fast)
14073 (same-class-fast-p, class-constructor, generic-p)
14074 (generic-primary-only-p, generic-primary-only-one-p)
14075 (class-option-assoc, class-option, eieio-object-p)
14076 (class-abstract-p, class-method-invocation-order)
14077 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14078 (eieio-class-un-autoload, eieio-defclass)
14079 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14080 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14081 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14082 (eieio-defgeneric-reset-generic-form)
14083 (eieio-defgeneric-form-primary-only)
14084 (eieio-defgeneric-reset-generic-form-primary-only)
14085 (eieio-defgeneric-form-primary-only-one)
14086 (eieio-defgeneric-reset-generic-form-primary-only-one)
14087 (eieio-unbind-method-implementations)
14088 (eieio--defmethod, eieio--typep)
14089 (eieio-perform-slot-validation, eieio-validate-slot-value)
14090 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14091 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14092 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14093 (eieio-slot-name-index, eieio-class-slot-name-index)
14094 (eieio-set-defaults, eieio-initarg-to-attribute)
14095 (eieio-attribute-to-initarg, eieio-c3-candidate)
14096 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14097 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14098 (eieio-class-precedence-list, eieio-generic-call-methodname)
14099 (eieio-generic-call-arglst, eieio-generic-call-key)
14100 (eieio-generic-call-next-method-list)
14101 (eieio-pre-method-execution-functions, eieio-generic-call)
14102 (eieio-generic-call-primary-only, eieiomt-method-list)
14103 (eieiomt-optimizing-obarray, eieiomt-install)
14104 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14105 (eieio-generic-form, eieio-defmethod, make-obsolete)
14106 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14107 (defclass): Remove `eval-and-compile' from macro.
14108 (call-next-method, shared-initialize): Instead of using
14109 `scoped-class' variable, use new eieio--scoped-class, and
14110 eieio--with-scoped-class.
14111 (initialize-instance): Rename local variable 'scoped-class' to
14112 'this-class' to remove ambiguitity from old global.
14114 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14116 (eieio--scoped-class-stack): New variable.
14117 (eieio--scoped-class): New fcn.
14118 (eieio--with-scoped-class): New scoping macro.
14119 (eieio-defclass): Use pushnew instead of add-to-list.
14120 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14121 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14122 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14123 `scoped-class' variable, use new eieio--scoped-class, and
14124 eieio--with-scoped-class.
14126 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14128 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14130 * eshell/esh-ext.el (eshell-external-command): Pass args to
14131 `eshell-find-interpreter'.
14132 (eshell-find-interpreter): Add new second parameter ARGS.
14134 * eshell/em-script.el (eshell-script-initialize): Add second arg
14135 to the function added as MATCH to `eshell-interpreter-alist'.
14137 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14138 the function added as MATCH to `eshell-interpreter-alist'.
14140 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14141 (eshell-visual-options): New defcustom.
14142 (eshell-escape-control-x): Adapt docstring.
14143 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14144 `eshell-visual-options' in addition to `eshell-visual-commands'.
14145 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14147 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14149 * progmodes/python.el (python-indent-block-enders): Add break,
14150 continue and raise keywords.
14152 2013-06-01 Glenn Morris <rgm@gnu.org>
14154 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14156 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14157 * progmodes/cc-cmds.el (delete-forward-p):
14158 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14159 * progmodes/cc-engine.el (buffer-syntactic-context):
14160 * progmodes/cc-fonts.el (face-property-instance):
14161 * progmodes/cc-mode.el (set-keymap-parents):
14162 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14163 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14164 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14165 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14166 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14168 * progmodes/cc-vars.el (other): Emacs has this widget since
14169 at least 21.1, so don't (re)define it.
14171 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14172 Replace the obsolete alias pcomplete-arg-quote-list.
14174 2013-06-01 Leo Liu <sdl.web@gmail.com>
14176 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14177 punctuation syntax.
14178 (inferior-octave-minimal-columns)
14179 (inferior-octave-last-column-width): New variables.
14180 (inferior-octave-track-window-width-change): New function.
14181 (inferior-octave-mode): Adjust column width so that Octave output,
14182 for example from 'ls', can fit into the window nicely.
14184 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14186 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14187 Highlight expansions inside regexp literals.
14189 2013-05-31 Glenn Morris <rgm@gnu.org>
14191 * obsolete/sym-comp.el (symbol-complete):
14192 Replace obsolete completion-annotate-function.
14194 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14196 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14198 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14199 New function, checks if point is inside a literal that allows
14200 expression expansion.
14201 (ruby-syntax-propertize-expansion): Use it.
14202 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14205 2013-05-30 Juri Linkov <juri@jurta.org>
14207 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14209 (isearch-invisible): New variable.
14210 (isearch-forward): Doc fix.
14211 (isearch-mode): Set `isearch-invisible'
14212 to the value of `search-invisible'.
14213 (isearch-toggle-case-fold): Doc fix.
14214 (isearch-toggle-invisible): New command.
14215 (isearch-query-replace): Let-bind `search-invisible'
14216 to the value of `isearch-invisible'.
14217 (isearch-search): Use `isearch-invisible' instead of
14218 `search-invisible'. Let-bind `search-invisible'
14219 to the value of `isearch-invisible'. (Bug#11378)
14221 2013-05-30 Juri Linkov <juri@jurta.org>
14223 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14224 call when `query-flag' is nil and `search-invisible' is non-nil.
14227 2013-05-30 Glenn Morris <rgm@gnu.org>
14229 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14231 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14232 (cc-require): Suppress spurious "noruntime" warnings.
14233 (cc-require-when-compile): Use fboundp, for sake of compiler.
14235 * progmodes/cc-mode.el: Move load of cc-vars before that of
14236 cc-langs (which in turn loads cc-vars), to quieten compiler.
14238 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14240 * paren.el: Simplify the code.
14241 (show-paren-mode): Always start the timer.
14242 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14243 (show-paren--overlay, show-paren--overlay-1): Rename from
14244 show-paren-overlay and show-paren-overlay-1, and initialize to an
14245 overlay rather than to nil.
14246 (show-paren-function): Misc cleanup and simplifications.
14248 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14250 * paren.el (show-paren-data-function): New hook.
14251 (show-paren--default): New function, extracted from show-paren-function.
14252 (show-paren-function): Use show-paren-data-function.
14254 2013-05-30 Glenn Morris <rgm@gnu.org>
14256 * ielm.el (ielm-map, ielm-complete-symbol):
14257 Use completion-at-point rather than obsolete functions.
14258 (inferior-emacs-lisp-mode): Doc fix.
14259 Set completion-at-point-functions, rather than
14260 comint-dynamic-complete-functions.
14262 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14263 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14264 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14266 * image.el (image-animated-p): Tweak definition.
14268 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14269 (rlogin-process-connection-type): Tweak default. Add set-after.
14270 (rlogin-host): Doc fix.
14271 (rlogin): Tweak prompt.
14272 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14274 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14275 * progmodes/tcl.el (inferior-tcl-mode-map):
14276 Use completion-at-point rather than obsolete alias.
14278 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14280 * minibuffer.el (read-file-name-completion-ignore-case):
14281 Move before completion--in-region, for eager macro expansion.
14283 2013-05-29 Juri Linkov <juri@jurta.org>
14285 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14286 for total count of matching lines. Add `global-matches' for total
14287 count of matches. Rename `matches' to `lines' for count of
14288 matching lines. Add `matches' for count of matches.
14289 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14290 to `prev-line' for line number of prev match endpt.
14291 Increment `matches' for every match. Print the number of
14292 matching lines in the header.
14293 (occur-context-lines): Rename `lines' to `curr-line'.
14294 Rename `prev-lines' to `prev-line'. (Bug#14017)
14296 2013-05-29 Juri Linkov <juri@jurta.org>
14298 * replace.el (perform-replace): Add `skip-read-only-count',
14299 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14300 Increment them for corresponding conditions and report the number
14301 of skipped occurrences in the final message. (Bug#11746)
14302 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14303 (replace-string, replace-regexp): Doc fix.
14305 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14307 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14309 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14310 prog-mode-map (bug#14504).
14312 2013-05-29 Leo Liu <sdl.web@gmail.com>
14314 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14315 (octave-help): Small simplification.
14317 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14318 off the highlight first.
14320 2013-05-29 Glenn Morris <rgm@gnu.org>
14322 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14323 Handle idlwave-last-system-routine-info-cons-cell being nil.
14325 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14326 (idlwave-write-paths): Simplify via with-temp-buffer.
14328 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14329 * emulation/cua-rect.el: Also load cua-base at run time.
14331 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14332 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14333 (cperl-imenu-on-info): Require imenu.
14335 2013-05-28 Alan Mackenzie <acm@muc.de>
14337 Handle "capitalised keywords" correctly.
14338 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14340 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14342 * eshell/em-unix.el: Add -r option to cp.
14344 2013-05-28 Glenn Morris <rgm@gnu.org>
14346 * vc/vc-arch.el (vc-exec-after): Declare.
14347 (vc-switches): Autoload.
14348 * vc/vc-bzr.el: No need to require vc when compiling.
14349 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14350 (vc-resynch-buffer, vc-dir-refresh): Declare.
14351 (vc-setup-buffer, vc-switches): Autoload.
14352 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14353 (vc-resynch-buffer): Declare.
14354 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14355 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14356 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14357 (grep-read-regexp, grep-read-files, grep-expand-template)
14358 (vc-dir-refresh): Declare.
14359 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14360 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14361 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14362 * vc/vc-mtn.el (vc-exec-after): Declare.
14363 (vc-switches): Autoload.
14364 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14365 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14366 (vc-file-tree-walk): Declare.
14367 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14368 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14369 (vc-tag-precondition, vc-rename-master): Autoload.
14370 * vc/vc-svn.el (vc-exec-after): Declare.
14371 (vc-switches, vc-setup-buffer): Autoload.
14372 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14374 (vc-resynch-buffer): Declare.
14376 * obsolete/fast-lock.el (byte-compile-warnings):
14377 Don't warn about obsolete features in this obsolete file.
14379 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14380 Move definition before use.
14382 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14383 (dun-unix-verbs): Remove dun-zippy.
14384 (dun-zippy): Remove function.
14386 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14388 2013-05-27 Juri Linkov <juri@jurta.org>
14390 * replace.el (replace-search): New function with code moved out
14391 from `perform-replace'.
14392 (replace-highlight, replace-dehighlight): Move function definitions
14393 up closer to `replace-search'. (Bug#11746)
14395 2013-05-27 Juri Linkov <juri@jurta.org>
14397 * replace.el (perform-replace): Ignore invisible matches.
14398 In addition to checking `query-replace-skip-read-only', also
14399 filter out matches by calling `run-hook-with-args-until-failure'
14400 on `isearch-filter-predicates', and also check `search-invisible'
14401 for t or call `isearch-range-invisible'.
14402 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14404 2013-05-27 Juri Linkov <juri@jurta.org>
14406 * isearch.el (isearch-filter-predicates): Rename from
14407 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14408 (isearch-message-prefix): Display text from the property
14409 `isearch-message-prefix' of the currently active filters.
14410 (isearch-search): Don't compare `isearch-filter-predicate' with
14411 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14412 on `isearch-filter-predicates'. Also check `search-invisible' for t
14413 or call `isearch-range-invisible'.
14414 (isearch-filter-visible): Make obsolete.
14415 (isearch-lazy-highlight-search):
14416 Call `run-hook-with-args-until-failure' on
14417 `isearch-filter-predicates' and use `isearch-range-invisible'.
14419 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14420 `isearch-filter-predicates' instead of `funcall'ing
14421 `isearch-filter-predicate'.
14422 (Info-mode): Set `Info-isearch-filter' to
14423 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14425 * dired-aux.el (dired-isearch-filter-predicate-orig):
14427 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14428 (dired-isearch-filenames-end): Add and remove
14429 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14430 instead of changing the value of `isearch-filter-predicate'.
14431 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14432 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14433 Put property `isearch-message-prefix' to "filename " on
14434 `dired-isearch-filter-filenames'.
14436 * wdired.el (wdired-change-to-wdired-mode):
14437 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14438 locally instead of changing `isearch-filter-predicate'.
14439 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14441 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14443 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14444 return the commit hash (Bug#14459). Also set the
14445 `vc-git-detached' property.
14446 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14447 (vc-git-mode-line-string): Use the same help-echo format whether
14448 in detached mode or not, because we know the actual revision now.
14449 When in detached mode, shorten the revision to 7 chars.
14451 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14453 * emacs-lisp/easy-mmode.el (define-minor-mode):
14454 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14455 mode hook and provide a docstring.
14457 2013-05-27 Alan Mackenzie <acm@muc.de>
14459 Remove spurious syntax-table text properties inserted by C-y.
14460 * progmodes/cc-mode.el (c-after-change): Also clear hard
14461 syntax-table property with value nil.
14463 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14465 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14466 when reading the events; the buffer layout shall not be changed.
14468 2013-05-27 Leo Liu <sdl.web@gmail.com>
14470 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14472 (inferior-octave-directory-tracker): Automatically re-sync
14474 (octave-help): Improve handling of 'See also'.
14476 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14478 * doc-view.el: Minor naming convention tweaks.
14479 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14481 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14482 even if there's no `display' property yet (bug#14435).
14484 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14486 * subr.el (unmsys--file-name): Rename from reveal-filename.
14488 * Makefile.in (custom-deps, finder-data, autoloads)
14489 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14490 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14491 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14493 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14495 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14496 error-completion on the first 2 args of condition-case (bug#14446).
14499 2013-05-25 Leo Liu <sdl.web@gmail.com>
14501 * comint.el (comint-previous-matching-input): Do not flood the
14502 *Messages* buffer with trivial messages.
14504 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14506 * progmodes/flymake.el (flymake-nop): Don't return a string.
14507 (flymake-set-at): Fix typo.
14509 * simple.el (read--expression): New function, extracted from
14510 eval-expression. Set completion-at-point-functions (bug#14465).
14511 (eval-expression, eval-minibuffer): Use it.
14513 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14515 * progmodes/flymake.el (flymake-save-buffer-in-file)
14516 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14517 (flymake-selected-frame, flymake-log, flymake-ins-after)
14518 (flymake-set-at, flymake-get-buildfile-from-cache)
14519 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14520 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14521 Refine the doc string.
14522 (flymake-get-file-name-mode-and-masks): Reformat.
14523 (flymake-get-real-file-name-function): Fix a minor bug.
14525 2013-05-24 Juri Linkov <juri@jurta.org>
14527 * progmodes/grep.el (grep-mode-font-lock-keywords):
14528 Support =linenumber= format used by git-grep for lines with
14529 function names. (Bug#13549)
14531 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14533 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14534 0 after a semi-colon; it works better for smie-auto-fill.
14535 (octave--indent-new-comment-line): New function.
14536 (octave-indent-new-comment-line): Use it (indirectly).
14537 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14538 modify comment-line-break-function.
14540 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14541 (smie-setup): Use add-function to set it.
14543 2013-05-24 Sam Steingold <sds@gnu.org>
14545 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14546 argument (before the `interactive' argument).
14548 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14550 * image-mode.el (image-mode-winprops): Add winprops to
14551 image-mode-winprops-alist before running
14552 image-mode-new-window-functions.
14553 * doc-view.el (doc-view-new-window-function): Don't delay
14554 doc-view-goto-page via timers (bug#14435).
14556 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14558 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14559 (doc-view-desktop-save-buffer): New function.
14560 (doc-view-restore-desktop-buffer): New function.
14561 (desktop-buffer-mode-handlers):
14562 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14564 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14565 `desktop-save-buffer' function.
14567 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14569 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14570 (tramp-gvfs-file-name-handler): Raise a user error when
14571 `tramp-gvfs-enabled' is nil.
14572 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14573 Do not raise a user error when loading package. (Bug#14447)
14575 * net/xesam.el: Move to obsolete/.
14577 2013-05-24 Glenn Morris <rgm@gnu.org>
14579 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14581 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14583 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14584 (Info-find-node, Man-getpage-in-background): Declare.
14586 * mail/unrmail.el (unrmail):
14587 Replace obsolete detect-coding-with-priority.
14589 * net/socks.el (socks-split-string): Use this rather than split-string.
14590 (socks-nslookup-host): Update for above change.
14591 (dynamic-choice, s5-dynamic-choice-match)
14592 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14593 Comment out unused code.
14595 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14596 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14597 (gud-tooltip-echo-area): Make obsolete.
14598 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14600 * progmodes/js.el (js--optimize-arglist): Declare.
14602 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14604 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14605 (ediff-window-C): Declare.
14607 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14608 Tweak requires to silence compiler.
14610 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14611 (he-search-string, he-tried-table, he-expand-list)
14612 (he-init-string, he-string-member, he-substitute-string)
14613 (he-reset-string): Declare.
14615 * obsolete/options.el (list-options): Use custom-variable-p,
14616 rather than obsolete alias.
14618 2013-05-23 Sam Steingold <sds@gnu.org>
14620 * simple.el (shell-command-on-region): Pass the `replace' argument
14621 down to `call-process-region' to comply with the doc as reported on
14622 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14624 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14626 * emacs-lisp/smie.el (smie-indent-forward-token)
14627 (smie-indent-backward-token): Handle string tokens (bug#14381).
14629 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14631 * ielm.el (ielm-menu): New menu.
14632 (inferior-emacs-lisp-mode): Set comment-start.
14634 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14636 * textmodes/reftex.el (reftex-ref-style-toggle):
14637 Fix deactivate action.
14639 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14640 Add cleveref macros.
14642 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14643 Accept options for bibliography commands.
14644 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14645 Add addbibresource. Basic Biblatex support.
14647 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14649 * net/tramp-gvfs.el (top):
14650 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14651 when loading package. (Bug#14447)
14653 2013-05-23 Glenn Morris <rgm@gnu.org>
14655 * progmodes/js.el: No need to load comint when compiling.
14656 (ring-insert, comint-send-string, comint-send-input)
14657 (comint-last-input-end, ido-chop): Declare.
14659 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14660 * vc/ediff-mult.el: Adjust requires.
14661 (ediff-directories-internal, ediff-directory-revisions-internal)
14662 (ediff-patch-file-internal): Declare.
14663 * vc/ediff-ptch.el: Adjust requires.
14664 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14665 (ediff-find-file): Autoload.
14666 * vc/ediff-util.el: No need to load ediff when compiling.
14667 (ediff-regions-internal): Declare.
14668 * vc/ediff-wind.el: Adjust requires.
14669 (ediff-compute-toolbar-width): Define when compiling.
14670 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14671 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14672 (dired-get-filename, dired-get-marked-files)
14673 (ediff-last-dir-patch, ediff-patch-default-directory)
14674 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14675 (ediff-patch-buffer-internal): Declare.
14677 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14678 (ispell-process, ispell-buffer-local-words, lm-summary)
14679 (lm-section-start, lm-section-end): Declare.
14680 (checkdoc-ispell-init): Simplify.
14682 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14683 (he-string-member, he-reset-string, he-substitute-string): Declare.
14685 * eshell/em-ls.el: Adjust requires.
14686 (eshell-glob-regexp): Declare.
14687 * eshell/em-tramp.el: Adjust requires.
14688 (eshell-parse-command): Autoload.
14689 * eshell/em-xtra.el: Adjust requires.
14690 (eshell-parse-command): Autoload.
14691 * eshell/esh-ext.el: Adjust requires.
14692 (eshell-parse-command, eshell-close-handles): Autoload.
14693 * eshell/esh-io.el: Adjust requires.
14694 (eshell-output-filter): Autoload.
14695 * eshell/esh-util.el: No need to load tramp when compiling.
14696 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14698 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14699 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14700 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14701 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14702 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14703 * eshell/esh-opt.el, eshell/esh-proc.el:
14704 * eshell/esh-var.el: Adjust requires.
14705 * eshell/eshell.el: Do not require esh-util twice.
14706 (eshell-add-input-to-history): Declare.
14707 (eshell-command): Check history module is active before using it.
14709 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14711 2013-05-22 Leo Liu <sdl.web@gmail.com>
14713 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14715 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14717 * autorevert.el (auto-revert-notify-add-watch)
14718 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14719 it indicates changes in file modification time.
14721 2013-05-22 Glenn Morris <rgm@gnu.org>
14723 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14724 Always delete the autoloaded function from the noruntime and
14725 unresolved functions lists.
14727 * allout.el: No need to load epa, epg, overlay when compiling.
14728 (epg-context-set-passphrase-callback, epg-list-keys)
14729 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14730 (epg-key-user-id-list): Declare.
14732 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14733 (viper-set-parsing-style-toggling-macro)
14734 (viper-set-emacs-state-searchstyle-macros):
14735 Use called-interactively-p on Emacs.
14736 (viper-looking-back): Make it an obsolete alias. Update callers.
14737 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14738 Use looking-back rather than viper-looking-back.
14739 (viper-tmp-insert-at-eob, viper-enlarge-region)
14740 (viper-read-string-with-history, viper-register-to-point)
14741 (viper-append-to-register, viper-change-state-to-vi)
14742 (viper-backward-char-carefully, viper-forward-char-carefully)
14743 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14744 (viper-change-state-to-emacs): Declare.
14745 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14746 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14747 * emulation/viper-mous.el: Do not load viper-cmd.
14748 (viper-backward-char-carefully, viper-forward-char-carefully)
14749 (viper-forward-word, viper-adjust-window): Declare.
14751 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14753 * progmodes/idlw-help.el (idlwave-help-fontify):
14754 Use called-interactively-p.
14756 * term/w32console.el (w32-get-console-codepage)
14757 (w32-get-console-output-codepage): Declare.
14759 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14760 Remove unnecessary declarations.
14761 (dframe-message): Doc fix.
14763 * info.el (dframe-select-attached-frame, dframe-current-frame):
14766 * speedbar.el (speedbar-message): Make it an obsolete alias.
14767 Update all callers.
14768 (speedbar-with-attached-buffer)
14769 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14770 (speedbar-with-writable): Use backquote.
14771 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14772 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14773 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14774 rather than speedbar- aliases.
14775 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14776 (speedbar-make-specialized-keymap, speedbar-insert-button)
14777 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14778 (speedbar-do-function-pointer): Declare.
14779 (rmail-speedbar-button, rmail-speedbar-find-file)
14780 (rmail-speedbar-move-message):
14781 Use dframe-with-attached-buffer rather than speedbar- alias.
14782 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14783 (dframe-message, speedbar-make-specialized-keymap)
14784 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14785 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14786 (speedbar-insert-button, dframe-select-attached-frame)
14787 (dframe-maybee-jump-to-attached-frame)
14788 (speedbar-change-initial-expansion-list)
14789 (speedbar-previously-used-expansion-list-name): Declare.
14790 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14791 Use dframe-message, dframe-with-attached-buffer rather than
14793 (gud-sentinel): Silence compiler.
14794 * progmodes/vhdl-mode.el (speedbar-refresh)
14795 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14796 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14797 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14798 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14799 (speedbar-file-lists, speedbar-make-tag-line)
14800 (speedbar-line-directory, speedbar-goto-this-file)
14801 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14802 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14803 (speedbar-make-button, speedbar-reset-scanners)
14804 (speedbar-files-item-info, speedbar-line-text)
14805 (speedbar-find-file-in-frame, speedbar-set-timer)
14806 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14807 (speedbar-with-writable): Do not (re)define it.
14808 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14809 rather than speedbar- alias.
14811 2013-05-21 Leo Liu <sdl.web@gmail.com>
14813 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14815 (octave-mode): Tweak fill-nobreak-predicate.
14816 (inferior-octave-startup): Check process to avoid infinite loop.
14817 (inferior-octave): Pop to buffer first to show abornmal process
14820 2013-05-21 Glenn Morris <rgm@gnu.org>
14822 * printing.el (pr-menu-bar): Define when compiling.
14824 2013-05-21 Leo Liu <sdl.web@gmail.com>
14826 * progmodes/octave.el (octave-auto-fill): Remove.
14827 (octave-indent-new-comment-line): Improve.
14828 (octave-mode): Use auto fill mode through
14829 comment-line-break-function and fill-nobreak-predicate.
14830 (octave-goto-function-definition): Support DEFUN_DLD.
14831 (octave-beginning-of-defun): Small tweak.
14832 (octave-help): Show parent directory.
14834 2013-05-21 Glenn Morris <rgm@gnu.org>
14836 * files.el (dired-unmark):
14837 * progmodes/gud.el (gdb-input): Update declarations.
14839 * calculator.el (electric, ehelp): No need to load when compiling.
14840 (Electric-command-loop, electric-describe-mode): Declare.
14842 * doc-view.el (doc-view-current-converter-processes): Move before use.
14844 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14845 Move MODE-set-explicitly definition before use.
14847 * international/mule-diag.el (mule-diag):
14848 Don't use obsolete window-system-version.
14850 * mail/feedmail.el (smtpmail): No need to load when compiling.
14851 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14853 * mail/mail-utils.el (rfc822): No need to load when compiling.
14854 (rfc822-addresses): Autoload it.
14855 (mail-strip-quoted-names): Trivial simplification.
14857 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14858 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14860 * net/snmp-mode.el (tempo): Don't duplicate requires.
14862 * progmodes/prolog.el (info): No need to load when compiling.
14863 (comint): Require before shell requires it.
14864 (Info-goto-node): Autoload it.
14865 (Info-follow-nearest-node): Declare.
14866 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14868 * textmodes/artist.el (picture-mode-exit): Declare.
14870 * textmodes/reftex-parse.el (reftex-parse-from-file):
14871 Trivial rewrite so the compiler can parse it better.
14873 2013-05-20 Leo Liu <sdl.web@gmail.com>
14875 * progmodes/octave.el (octave-help-mode-map)
14876 (octave-help-mode-finish-hook): New variables.
14877 (octave-help-mode, octave-help-mode-finish): New functions.
14878 (octave-help): Use octave-help-mode.
14880 2013-05-20 Glenn Morris <rgm@gnu.org>
14882 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14884 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14886 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14887 start at point, so that expansion starting right after opening
14888 slash in a regexp is recognized.
14889 (ruby-syntax-before-regexp-re): New defvar, extracted from
14890 ruby-syntax-propertize-function. Since the value of this regexp
14891 is looked up at runtime now, we should be able to turn
14892 `ruby-syntax-methods-before-regexp' into a defcustom later.
14893 (ruby-syntax-propertize-function): Split regexp matching into two
14894 parts, for opening and closing slashes. That allows us to skip
14895 over string interpolations and support multiline regexps.
14896 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14897 for them, which calls `ruby-syntax-propertize-expansion'.
14898 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14899 call to `ruby-syntax-propertize-function'.
14900 (ruby-syntax-propertize-expansion): Extracted from
14901 `ruby-syntax-propertize-expansions'. Handles one expansion.
14902 (ruby-syntax-propertize-percent-literal): Leave point right after
14903 the percent symbol, so that the expression expansion rule can
14904 propertize the contents.
14905 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14907 (ruby-syntax-propertize-expansions): Remove.
14909 2013-05-18 Juri Linkov <juri@jurta.org>
14911 * man.el (Man-default-man-entry): Remove `-' from the end
14912 of the default value. (Bug#14400)
14914 2013-05-18 Glenn Morris <rgm@gnu.org>
14916 * comint.el (comint-password-prompt-regexp):
14917 Allow "password for XXX" where XXX contains colons (eg https://...).
14919 2013-05-18 Leo Liu <sdl.web@gmail.com>
14921 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14922 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14923 (octave-source-directories): Don't check process.
14924 (octave-source-directories, octave-find-definition): Doc fix.
14926 2013-05-18 Glenn Morris <rgm@gnu.org>
14928 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14929 Remove backspace/delete bindings. (Bug#14392)
14931 * cus-dep.el (custom-make-dependencies): Sort the output.
14932 (custom-versions-load-alist): Convert comment to doc.
14934 2013-05-17 Leo Liu <sdl.web@gmail.com>
14936 * newcomment.el (comment-search-backward): Stricter in finding
14937 comment start. (Bug#14303)
14939 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14940 (octave-comment-start-skip): Properly anchored.
14942 2013-05-17 Leo Liu <sdl.web@gmail.com>
14944 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14945 Clean up when turned off. (Bug#14395)
14946 (smie--highlight-matching-block-overlay): No longer buffer-local.
14947 (smie-highlight-matching-block): Adjust.
14949 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14951 Doc string fix for "nanoseconds" (Bug#14406).
14952 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14953 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14955 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14957 * calc/calc-units.el (math-extract-units): Preserve powers
14960 2013-05-17 Leo Liu <sdl.web@gmail.com>
14962 * subr.el (delete-consecutive-dups): New function.
14963 * ido.el (ido-set-matches-1): Use it.
14964 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14965 * ido.el (ido-remove-consecutive-dups): Remove.
14967 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14969 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14970 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14971 regexp-opt's `words'.
14973 2013-05-16 Leo Liu <sdl.web@gmail.com>
14975 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14976 (smie--highlight-matching-block-overlay)
14977 (smie--highlight-matching-block-lastpos)
14978 (smie--highlight-matching-block-timer): New variables.
14979 (smie-highlight-matching-block): New function.
14980 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14981 (smie-setup): Conditionally enable smie-blink-matching-open.
14983 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14985 Sync with upstream verilog-mode r840.
14986 * progmodes/verilog-mode.el (verilog-mode-version)
14987 (verilog-mode-release-date): Update.
14988 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14989 (verilog-sig-tieoff): Fix string error on
14990 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14991 (verilog-read-decls): Fix parameters confusing
14992 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14994 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14996 * subr.el (reveal-filename): New function.
14998 * loadup.el: Compute Emacs executable versions on MS-Windows,
14999 where executables have the .exe extension. Add a hard link
15000 emacs-XX.YY.ZZ.exe on MS-Windows.
15002 * Makefile.in (XARGS_LIMIT): New variable.
15003 (custom-deps, finder-data, autoloads)
15004 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15005 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15006 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15007 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15009 2013-05-16 Leo Liu <sdl.web@gmail.com>
15011 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15012 (octave-mode-menu, octave-mode-map): Remove its uses.
15014 2013-05-16 Reto Zimmermann <reto@gnu.org>
15016 Sync with upstream vhdl mode v3.34.2.
15017 * progmodes/vhdl-mode.el: Use `push' throughout.
15018 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15019 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15020 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15021 (vhdl-actual-generic-name): New option to derive actual generic name.
15022 (vhdl-port-paste-signals): Replace formal by actual generics.
15023 (vhdl-beautify): New name for old group vhdl-align. Update users.
15024 (vhdl-beautify-options): New option.
15025 (vhdl-last-input-event): New compat alias. Use throughout.
15026 (vhdl-goto-line): Replace user level function `goto-line'.
15027 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15028 vhdl-fix-statement-buffer.
15029 (vhdl-create-mode-menu): Add some entries.
15030 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15031 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15032 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15033 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15034 to force statements on one line.
15035 (vhdl-remove-trailing-spaces-region):
15036 New, split from vhdl-remove-trailing-spaces.
15037 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15038 Respect vhdl-beautify-options.
15039 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15040 (vhdl-update-sensitivity-list): Not add with index if exists without.
15041 Not include array index with signal. Ignore keywords in comments.
15042 (vhdl-get-visible-signals): Regexp tweaks.
15043 (vhdl-template-component-inst): Handle empty library.
15044 (vhdl-template-type): Add template for 'enum' type.
15045 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15046 Use vhdl-replace-string.
15047 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15048 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15049 (vhdl-speedbar-initialize): Update for above name change.
15050 (vhdl-compose-wire-components): Fix in handling of constants.
15051 (vhdl-error-regexp-emacs-alist): New variable.
15052 (vhdl-error-regexp-add-emacs): New function;
15053 adds support for new compile.el (Emacs 22+)
15054 (vhdl-generate-makefile-1): Change target order for single lib. units.
15055 Allow use of absolute file names.
15057 2013-05-16 Leo Liu <sdl.web@gmail.com>
15059 * simple.el (prog-indent-sexp): Indent enclosing defun.
15061 2013-05-15 Glenn Morris <rgm@gnu.org>
15063 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15064 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15065 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15066 (whitespace-highlight): Move to whitespace group.
15068 * comint.el (comint-source):
15069 * pcmpl-linux.el (pcmpl-linux):
15070 * shell.el (shell-faces):
15071 * eshell/esh-opt.el (eshell-opt):
15072 * international/ccl.el (ccl): Remove empty custom groups.
15074 * completion.el (dynamic-completion-mode):
15075 * jit-lock.el (jit-lock-debug-mode):
15076 * minibuffer.el (completion-in-region-mode):
15077 * type-break.el (type-break-mode-line-message-mode)
15078 (type-break-query-mode):
15079 * emulation/tpu-edt.el (tpu-edt-mode):
15080 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15081 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15082 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15084 * term/xterm.el (xterm): Change parent group to terminals.
15086 * master.el (master): Remove empty custom group.
15087 (master-mode): Remove unused :group argument.
15088 * textmodes/refill.el (refill): Remove empty custom group.
15089 (refill-mode): Remove unused :group argument.
15091 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15093 * cus-dep.el: Provide a feature.
15094 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15095 Don't mistakenly ignore files whose basenames match a basename
15096 from preloaded-file-list (eg cedet/ede/simple.el).
15097 Add a fallback method for getting :group.
15099 2013-05-15 Juri Linkov <juri@jurta.org>
15101 * isearch.el (isearch-char-by-name): Rename from
15102 `isearch-insert-char-by-name'. Doc fix.
15103 (isearch-forward): Mention `isearch-char-by-name' in
15104 the docstring. (Bug#13348)
15106 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15107 `exit-minibuffer' instead of
15108 `isearch-nonincremental-exit-minibuffer'.
15109 (isearch-edit-string): Remove mention of
15110 `isearch-nonincremental-exit-minibuffer' from docstring.
15111 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15112 (isearch-forward-exit-minibuffer)
15113 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15115 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15117 * loadup.el: Just use unversioned DOC.
15119 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15120 literals as extending to EOB.
15121 (nxml-last-fontify-end): Remove unused variable.
15122 (nxml-after-change1): Use with-silent-modifications.
15123 (nxml-extend-after-change-region): Simplify.
15124 (nxml-extend-after-change-region1): Remove function.
15125 (nxml-after-change1): Don't adjust for dependent regions.
15126 (nxml-fontify-matcher): Simplify.
15127 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15128 (xmltok-add-dependent): Remove function.
15129 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15130 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15131 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15132 unclosed <[[, <?, comment, and other literals as extending to EOB.
15133 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15134 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15136 (rng-do-some-validation-1): Don't mark dependent regions.
15137 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15138 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15139 (nxml-clear-dependent-regions): Remove functions.
15140 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15141 (nxml-ensure-scan-up-to-date):
15142 Don't clear&mark dependent regions.
15144 2013-05-15 Leo Liu <sdl.web@gmail.com>
15146 * progmodes/octave.el (octave-goto-function-definition):
15147 Improve and fix callers.
15149 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15151 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15152 the setter (bug#14387).
15154 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15155 surrounding group (bug#14402).
15157 2013-05-14 Juri Linkov <juri@jurta.org>
15159 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15162 2013-05-14 Glenn Morris <rgm@gnu.org>
15164 * progmodes/f90.el (f90-imenu-generic-expression):
15165 Fix typo in 2013-05-08 change. (Bug#14402)
15167 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15169 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15170 Remove signals for which replies are never received.
15172 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15174 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15175 (gdb-handler-alist, gdb-handler-number): Remove variables.
15176 (gdb-handler-list): New variable.
15177 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15178 (gdb-pending-handler-p, gdb-handle-reply)
15179 (gdb-remove-all-pending-triggers): New functions.
15180 (gdb-discard-unordered-replies): New defcustom.
15181 (gdb-handler): New defstruct.
15182 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15183 instead of gdb-pending-triggers. Update docstring.
15184 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15185 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15186 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15187 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15188 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15189 (gdb-frame-handler): Pending triggers are now automatically managed.
15190 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15192 (gdb-input): Automatically handles pending triggers. Update docstring.
15193 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15194 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15196 (gdb-done-or-error): Now use gdb-handle-reply.
15198 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15200 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15203 2013-05-14 Glenn Morris <rgm@gnu.org>
15205 * subr.el (user-emacs-directory-warning): New option.
15206 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15208 2013-05-14 Leo Liu <sdl.web@gmail.com>
15210 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15212 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15213 (octave-font-lock-texinfo-comment): Fix invalid search bound
15214 error: wrong side of point.
15216 2013-05-14 Glenn Morris <rgm@gnu.org>
15218 * progmodes/flymake.el (flymake-xml-program): New option.
15219 (flymake-xml-init): Use it.
15221 * term/xterm.el: Provide a feature.
15223 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15225 2013-05-13 Glenn Morris <rgm@gnu.org>
15227 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15228 Add compat aliases as a hack workaround. (Bug#14384)
15230 2013-05-13 Leo Liu <sdl.web@gmail.com>
15232 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15234 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15236 (octave-comment-start-skip): Include %!.
15237 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15239 2013-05-12 Leo Liu <sdl.web@gmail.com>
15241 * progmodes/octave.el (inferior-octave-startup): Store the value
15242 of __octave_srcdir__ for octave-source-directories.
15243 (inferior-octave-check-process): New function refactored out of
15244 inferior-octave-send-list-and-digest.
15245 (octave-source-directories)
15246 (octave-find-definition-filename-function): New variables.
15247 (octave-source-directories)
15248 (octave-find-definition-default-filename): New functions.
15249 (octave-find-definition): Improve to find functions implemented in C++.
15251 2013-05-12 Glenn Morris <rgm@gnu.org>
15253 * calendar/diary-lib.el (diary-outlook-format-1):
15254 Don't include dayname in the output. (Bug#14349)
15256 2013-05-11 Glenn Morris <rgm@gnu.org>
15258 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15260 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15261 Treat cc-provide like provide.
15263 2013-05-11 Kevin Ryde <user42@zip.com.au>
15265 * cus-dep.el (custom-make-dependencies):
15266 Use generated-autoload-load-name for the sake of files such
15267 such cedet/semantic/bovine/c.el, where the base file name
15268 is not in load-path. (Bug#5277)
15270 2013-05-11 Glenn Morris <rgm@gnu.org>
15272 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15275 2013-05-11 Leo Liu <sdl.web@gmail.com>
15277 * progmodes/octave.el (octave-indent-comment): Improve.
15278 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15279 (octave-eldoc-function-signatures, octave-eldoc-function):
15281 (octave-mode, inferior-octave-mode): Add eldoc support.
15283 2013-05-11 Richard Stallman <rms@gnu.org>
15285 * epa.el (epa-decrypt-file): Take output file name as argument
15286 and read it using `interactive'.
15288 2013-05-11 Leo Liu <sdl.web@gmail.com>
15290 * progmodes/octave.el (octave-beginning-of-line)
15291 (octave-end-of-line): Check before using up-list because it jumps
15292 out of more syntactic contructs since moving to smie.
15293 (octave-indent-comment): New function.
15294 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15295 (octave-begin-keywords, octave-end-keywords)
15296 (octave-reserved-words, octave-smie-bnf-table)
15297 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15299 2013-05-11 Glenn Morris <rgm@gnu.org>
15301 * faces.el (internal-face-x-get-resource):
15302 * frame.el (ns-display-monitor-attributes-list):
15303 * calc/calc-aent.el (math-to-radians-2):
15304 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15307 * calc/calc-menu.el: Make it loadable in isolation.
15309 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15310 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15311 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15312 (eudc-bbdb-query-internal): Require 'bbdb.
15314 * lpr.el (lpr-headers-switches):
15315 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15317 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15319 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15321 * term.el (term-set-escape-char): Make it idempotent.
15323 2013-05-10 Leo Liu <sdl.web@gmail.com>
15325 * progmodes/octave.el (inferior-octave-completion-table):
15326 No longer a function and all uses changed. Use cache to speed up
15327 completion due to bug#11906.
15328 (octave-beginning-of-defun): Re-write to be more general.
15330 2013-05-10 Glenn Morris <rgm@gnu.org>
15332 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15334 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15336 * comint.el (comint-redirect-send-command-to-process): Use :around
15337 rather than :override for comint-redirect-filter.
15338 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15339 Call it instead of comint-redirect-original-filter-function (which
15340 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15342 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15344 * frame.el (display-monitor-attributes-list): Add NS case.
15345 (ns-display-monitor-attributes-list): Declare.
15347 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15349 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15351 2013-05-09 Glenn Morris <rgm@gnu.org>
15353 * international/fontset.el (vertical-centering-font-regexp):
15354 Set standard-value.
15356 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15358 * bookmark.el (bookmark-search-delay):
15359 * cus-start.el (vertical-centering-font-regexp):
15360 * ps-mule.el (ps-mule-font-info-database-default):
15361 * ps-print.el (ps-default-fg, ps-default-bg):
15362 * type-break.el (type-break-good-break-interval):
15363 * whitespace.el (whitespace-indentation-regexp)
15364 (whitespace-space-after-tab-regexp):
15365 * emacs-lisp/testcover.el (testcover-1value-functions)
15366 (testcover-noreturn-functions, testcover-progn-functions)
15367 (testcover-prog1-functions):
15368 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15369 * eshell/em-glob.el (eshell-glob-translate-alist):
15370 * play/tetris.el (tetris-tty-colors):
15371 * progmodes/cpp.el (cpp-face-default-list):
15372 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15373 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15374 (idlwave-help-browser-generic-args):
15375 * progmodes/make-mode.el (makefile-special-targets-list):
15376 * progmodes/python.el (python-shell-virtualenv-path):
15377 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15378 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15379 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15380 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15381 * textmodes/reftex-vars.el (reftex-format-label-function):
15382 * textmodes/remember.el (remember-diary-file): Fix custom types.
15384 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15387 2013-05-09 Leo Liu <sdl.web@gmail.com>
15389 * progmodes/octave.el (inferior-octave-completion-at-point):
15390 Restore file completion. (Bug#14300)
15391 (inferior-octave-startup): Fix incorrect highlighting for the
15394 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15396 * progmodes/ruby-mode.el: First cut at SMIE support.
15397 (ruby-use-smie): New var.
15398 (ruby-smie-grammar): New constant.
15399 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15400 (ruby-smie--forward-token, ruby-smie--backward-token)
15401 (ruby-smie-rules): New functions.
15402 (ruby-mode-variables): Setup SMIE if applicable.
15404 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15406 * simple.el (line-move-visual): Signal beginning/end of buffer
15407 only if vertical-motion moved less than it was requested. Avoids
15408 silly incorrect error messages when there are display strings with
15409 multiple newlines at EOL.
15411 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15413 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15414 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15415 (prolog-char-quote-workaround):
15416 * progmodes/cperl-mode.el (cperl-under-as-char):
15417 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15419 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15421 (vhdl-mode-syntax-table-init): Remove.
15423 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15426 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15428 (ld-script-font-lock-keywords):
15429 Change regexps to use things like \_< and \_>.
15431 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15432 Change all regexps to use things like \_< and \_>.
15434 * progmodes/autoconf.el (autoconf-definition-regexp)
15435 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15436 Handle a _ with symbol syntax.
15437 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15439 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15440 Consolidate declaration.
15441 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15443 (ada-create-syntax-table): Remove.
15444 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15445 already has the right syntax nowadays.
15446 (ada-goto-next-word): Don't change the syntax of "_".
15448 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15451 2013-05-08 Sam Steingold <sds@gnu.org>
15453 * thingatpt.el (thing-at-point): Accept optional second argument
15454 NO-PROPERTIES to strip the text properties from the return value.
15455 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15456 to `thing-at-point' instead of stripping the properties ourselves.
15457 Also, when `thing-at-point' fails to find a url, prepend "http://"
15458 to the filename at point on the assumption that the user is
15459 pointing at something like gnu.org/gnu.
15461 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15463 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15464 * faces.el (crm-separator):
15465 Silence byte-compiler.
15467 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15468 (tool-bar-map): Remove unneeded defvars.
15470 2013-05-08 Leo Liu <sdl.web@gmail.com>
15472 Re-work a fix for bug#10994 based on Le Wang's patch.
15473 * ido.el (ido-remove-consecutive-dups): New helper.
15474 (ido-completing-read): Use it.
15475 (ido-chop): Revert fix for bug#10994.
15477 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15479 * cus-edit.el (custom-save-variables):
15480 Pretty-print long values. (Bug#14187)
15482 2013-05-08 Glenn Morris <rgm@gnu.org>
15484 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15485 (m4-mode-syntax-table): Init in the defvar.
15486 (m4-mode-abbrev-table): Let define-derived-mode define it.
15488 2013-05-08 Tom Tromey <tromey@redhat.com>
15490 * progmodes/m4-mode.el (m4-mode-syntax-table):
15491 Do not treat "_" as word constituent. (Bug#14167)
15493 2013-05-07 Glenn Morris <rgm@gnu.org>
15495 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15496 Remove explicit eshell-isearch-cancel-map.
15498 * progmodes/f90.el (f90-smart-end-names): New option.
15499 (f90-smart-end): Doc fix.
15500 (f90-end-block-optional-name): New constant.
15501 (f90-block-match): Respect f90-smart-end-names.
15503 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15505 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15506 about implicit semi-colons (bug#14218).
15508 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15510 * frame.el (display-monitor-attributes-list)
15511 (frame-monitor-attributes): New functions.
15513 2013-05-06 Leo Liu <sdl.web@gmail.com>
15515 * progmodes/octave.el (octave-syntax-propertize-function): Change
15516 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15517 (octave-font-lock-keywords): Use octave-operator-regexp.
15518 (octave-completion-at-point): Rename from
15519 octave-completion-at-point-function.
15520 (inferior-octave-directory-tracker): Robustify.
15521 (octave-text-functions): Remove and fix its uses. No such things
15524 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15526 * emacs-lisp/trace.el (trace--display-buffer): New function.
15527 (trace-make-advice): Use it.
15529 2013-05-06 Juri Linkov <juri@jurta.org>
15531 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15532 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15534 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15535 in the help string. (Bug#12985)
15537 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15539 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15541 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15543 * progmodes/perl-mode.el: Add support for here documents.
15544 (perl-syntax-propertize-function): Match here-doc markers.
15545 (perl-syntax-propertize-special-constructs): Find their end.
15546 (perl-imenu-generic-expression): Use [:alnum:].
15548 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15549 (advice--add-function): Refresh the advice if already present
15552 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15554 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15556 2013-05-06 Glenn Morris <rgm@gnu.org>
15558 * w32-fns.el (w32-charset-info-alist): Declare.
15560 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15561 of its defcustom properties.
15562 (eshell-cmpl-initialize): No need to load pcomplete.
15564 * generic-x.el: No need to require comint when compiling.
15566 * net/eudc-export.el: Make it loadable without bbdb.
15567 (top-level): Use require rather than load-library.
15568 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15569 (eudc-batch-export-records-to-bbdb)
15570 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15573 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15575 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15576 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15577 some tweaks, instead.
15579 2013-05-05 Leo Liu <sdl.web@gmail.com>
15581 * progmodes/octave.el (octave-font-lock-keywords)
15582 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15583 (inferior-octave-send-list-and-digest): Improve error message.
15584 (octave-mode, inferior-octave-mode): Use setq-local.
15585 (octave-help): Set info-lookup-mode.
15587 2013-05-05 Richard Stallman <rms@gnu.org>
15589 * vc/compare-w.el (compare-windows-whitespace):
15590 Treat no-break space as whitespace.
15592 * mail/rmailsum.el (rmail-summary-rmail-update):
15593 Detect empty summary and don't change selected message.
15594 (rmail-summary-goto-msg): Likewise.
15596 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15597 Doc fixes, rename args.
15599 2013-05-05 Alan Mackenzie <acm@muc.de>
15601 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15603 2013-05-05 Juri Linkov <juri@jurta.org>
15605 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15606 to not add the length of the summary segment to the return value.
15609 2013-05-05 Leo Liu <sdl.web@gmail.com>
15611 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15612 (inferior-octave-output-filter): Remove.
15613 (octave-send-region, inferior-octave-startup): Fix callers.
15614 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15615 (octave-binary-file-extensions): New user variable.
15616 (octave-find-definition): Confirm if opening binary files.
15617 (octave-help-file): Use octave-find-definition to get the binary
15619 (octave-help): Adjust for octave-help-file change.
15621 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15623 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15624 Merge the two entries that handle function definitions.
15625 (pascal--syntax-propertize): New const.
15626 (pascal-mode): Use it. Use setq-local.
15628 2013-05-04 Glenn Morris <rgm@gnu.org>
15630 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15631 (diary-from-outlook): Respect diary-from-outlook-function.
15633 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15635 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15636 Move the declaration from C.
15637 (read-minibuffer, eval-minibuffer): Move from C.
15638 (completion-setup-function): Avoid minibuffer-completion-contents.
15640 2013-05-03 Leo Liu <sdl.web@gmail.com>
15642 * progmodes/octave.el (octave-font-lock-keywords): Do not
15643 dehighlight 'end' in comments or strings.
15644 (octave-completing-read, octave-goto-function-definition):
15646 (octave-help-buffer): New user variable.
15647 (octave-help-file, octave-help-function): New button types.
15648 (octave-help): New command and bind it to C-h ;.
15649 (octave-find-definition): New command and bind it to M-.
15650 (user-error): Alias to error if not defined.
15652 2013-05-02 Leo Liu <sdl.web@gmail.com>
15654 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15656 (octave-font-lock-keywords): Include [ and {.
15658 2013-05-02 Leo Liu <sdl.web@gmail.com>
15660 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15661 (inferior-octave): Remove calling comint-mode and return the buffer.
15662 (inferior-octave-startup): Cosmetic changes.
15664 2013-05-02 Leo Liu <sdl.web@gmail.com>
15666 * progmodes/octave.el (octave-syntax-propertize-function):
15667 Include the case when ' is at line beginning. (Bug#14336)
15669 2013-05-02 Glenn Morris <rgm@gnu.org>
15671 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15672 * desktop.el (vc-dir-mode): Just autoload it here.
15674 2013-05-02 Alan Mackenzie <acm@muc.de>
15676 Eliminate variable c-standard-font-lock-fontify-region-function.
15677 * progmodes/cc-mode.el
15678 (c-standard-font-lock-fontify-region-function): Remove.
15679 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15681 2013-05-01 Leo Liu <sdl.web@gmail.com>
15683 * progmodes/octave.el: Compatible with older emacs-24 releases.
15684 (inferior-octave-has-built-in-variables): Remove. Built-in
15685 variables were removed from Octave in 2007.
15686 (inferior-octave-startup): Fix uses.
15687 (comint-line-beginning-position): Remove compatibility code for
15690 2013-05-01 Juri Linkov <juri@jurta.org>
15692 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15694 2013-05-01 Juri Linkov <juri@jurta.org>
15696 * comint.el (comint-previous-matching-input): Don't print message
15697 "History item: %d" when `isearch-mode' is active.
15698 (comint-history-isearch-message): Print message "History item: %d"
15699 when `comint-input-ring-index' is not empty and this function is
15700 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15702 2013-05-01 Leo Liu <sdl.web@gmail.com>
15704 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15705 definitions. Use completion-at-point to insert keywords.
15706 (octave-abbrev-start): Remove.
15707 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15709 2013-04-30 Leo Liu <sdl.web@gmail.com>
15711 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15714 2013-04-30 Alan Mackenzie <acm@muc.de>
15716 Handle arbitrarily long C++ member initialisation lists.
15717 * progmodes/cc-engine.el (c-back-over-member-initializers):
15719 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15720 (most) member init lists.
15722 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15724 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15727 2013-04-30 Leo Liu <sdl.web@gmail.com>
15729 * progmodes/octave.el (octave-variables): Remove. No builtin
15730 variables any more. All converted to functions.
15731 (octave-font-lock-keywords, octave-completion-at-point-function):
15733 (octave-font-lock-texinfo-comment): New user variable.
15734 (octave-texinfo-font-lock-keywords): New variable for texinfo
15736 (octave-function-comment-block): New face.
15737 (octave-font-lock-texinfo-comment): New function.
15738 (octave-mode): Font lock texinfo comment block.
15740 2013-04-29 Leo Liu <sdl.web@gmail.com>
15742 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15743 indexing expression.
15744 (octave-continuation-string): Do not use \.
15745 (inferior-octave-complete-impossible): Remove.
15746 (inferior-octave-completion-table)
15747 (inferior-octave-completion-at-point): Remove its uses.
15748 (inferior-octave-startup): completion_matches was introduced to
15749 Octave in 1996 so safe to assume it.
15750 (octave-function-file-comment): Improve to follow how Octave does it.
15751 (octave-update-function-file-comment): Tweak.
15753 2013-04-29 Leo Liu <sdl.web@gmail.com>
15755 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15756 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15757 (octave-function-file-comment): Fix typo.
15758 (octave-sync-function-file-names): Use read-char-choice.
15760 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15762 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15763 to t for the less important warnings.
15765 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15767 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15769 2013-04-27 Glenn Morris <rgm@gnu.org>
15771 * vc/log-view.el (log-view-current-entry):
15772 Treat "---" separator lines as part of the following rev. (Bug#14169)
15774 2013-04-27 Juri Linkov <juri@jurta.org>
15776 * subr.el (read-number): Doc fix about using it by interactive
15777 code letter `n'. (Bug#14254)
15779 2013-04-27 Juri Linkov <juri@jurta.org>
15781 * desktop.el (desktop-auto-save-timeout): New option.
15782 (desktop-file-checksum): New variable.
15783 (desktop-save): Add optional arg `auto-save' and don't auto-save
15784 if nothing changed.
15785 (desktop-auto-save-timer): New variable.
15786 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15787 (after-init-hook): Call `desktop-auto-save-set-timer'.
15788 Suggested by Reuben Thomas <rrt@sc3d.org> in
15789 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15791 2013-04-27 Leo Liu <sdl.web@gmail.com>
15793 * progmodes/octave.el (octave-function-file-p)
15794 (octave-skip-comment-forward, octave-function-file-comment)
15795 (octave-update-function-file-comment): New functions.
15796 (octave-mode-map): Bind C-c ; to
15797 octave-update-function-file-comment.
15798 (octave-mode-menu): Add octave-update-function-file-comment.
15799 (octave-mode, inferior-octave-mode): Fix doc-string.
15800 (octave-insert-defun): Conform to Octave's coding convention.
15803 * files.el (basic-save-buffer): Don't let errors in
15804 before-save-hook prevent saving buffer.
15806 2013-04-20 Roland Winkler <winkler@gnu.org>
15808 * faces.el (read-face-name): Use completing-read if arg multiple
15811 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15813 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15814 displayed, move point to after the totals line.
15815 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15818 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15820 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15821 Add current dir to the load-path.
15822 (package-generate-autoloads): Don't rely on
15823 autoload-ensure-default-file.
15825 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15827 * textmodes/remember.el (remember-store-in-files): Document that
15828 the file name format is passed to `format-time-string'.
15830 2013-04-26 Leo Liu <sdl.web@gmail.com>
15832 * progmodes/octave.el (octave-sync-function-file-names): New function.
15833 (octave-mode): Use it in before-save-hook.
15835 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15837 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15840 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15841 \n and comment, even if it's not an implicit ; (bug#14218).
15843 2013-04-26 Glenn Morris <rgm@gnu.org>
15845 * subr.el (read-number): Once more use `read' rather than
15846 `string-to-number', to trap non-numeric input. (Bug#14254)
15848 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15850 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15851 Use `syntax-multiline' text property consistently instead of
15852 `font-lock-multiline'. (Bug#14237)
15854 2013-04-26 Glenn Morris <rgm@gnu.org>
15856 * emacs-lisp/shadow.el (list-load-path-shadows):
15857 No longer necessary to check for duplicate simple.el, since
15858 2012-07-07 change to init_lread to not include installation lisp
15859 directories in load-path when running uninstalled. (Bug#14270)
15861 2013-04-26 Leo Liu <sdl.web@gmail.com>
15863 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15864 (octave-mode, inferior-octave-mode): Use setq-local.
15865 (octave-not-in-string-or-comment-p): Rename to
15866 octave-in-string-or-comment-p.
15867 (octave-in-comment-p, octave-in-string-p)
15868 (octave-in-string-or-comment-p): Replace defsubst with defun.
15870 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15872 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15874 2013-04-25 Bastien Guerry <bzg@gnu.org>
15876 * textmodes/remember.el (remember-data-directory)
15877 (remember-directory-file-name-format): Fix custom types.
15879 2013-04-25 Leo Liu <sdl.web@gmail.com>
15881 * progmodes/octave.el (octave-completion-at-point-function):
15882 Make use of inferior octave process.
15883 (octave-initialize-completions): Remove.
15884 (inferior-octave-completion-table): New function.
15885 (inferior-octave-completion-at-point): Use it.
15886 (octave-completion-alist): Remove.
15888 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15890 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15891 (opascal-mode-syntax-table): New var.
15892 (opascal-literal-kind, opascal-is-literal-end)
15893 (opascal-literal-token-at): Rewrite.
15894 (opascal--literal-start-re, opascal-font-lock-keywords)
15895 (opascal--syntax-propertize): New constants.
15896 (opascal-font-lock-defaults): Adjust.
15897 (opascal-mode): Use them. Set comment-<foo> variables as well.
15898 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15899 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15900 (delphi-other-face, opascal-other-face): Remove face variables.
15901 (opascal-save-state): Remove macro.
15902 (opascal-fontifying-progress-step): Remove constant.
15903 (opascal--ignore-changes): Remove var.
15904 (opascal-set-token-property, opascal-parse-next-literal)
15905 (opascal-is-stable-literal, opascal-complete-literal)
15906 (opascal-is-literal-start, opascal-face-of)
15907 (opascal-parse-region, opascal-parse-region-until-stable)
15908 (opascal-fontify-region, opascal-after-change)
15909 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15910 (opascal-debug-parse-region, opascal-debug-parse-window)
15911 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15912 (opascal-debug-fontify-buffer): Remove.
15913 (opascal-debug-mode-map): Adjust accordingly.
15915 2013-04-25 Leo Liu <sdl.web@gmail.com>
15917 Merge octave-mod.el and octave-inf.el into octave.el with some
15919 * progmodes/octave.el: New file renamed from octave-mod.el.
15920 * progmodes/octave-inf.el: Merged into octave.el.
15921 * progmodes/octave-mod.el: Renamed to octave.el.
15923 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15925 * textmodes/reftex-vars.el
15926 (reftex-label-ignored-macros-and-environments): New defcustom.
15928 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15930 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15933 (smie-indent-keyword): Improve the check to ensure that the next
15934 comment is really on the same line.
15935 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15937 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15938 semi-colons if the line is not otherwise empty (bug#14218).
15940 2013-04-25 Glenn Morris <rgm@gnu.org>
15942 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15944 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * progmodes/opascal.el (opascal-set-token-property): Rename from
15947 opascal-set-text-properties and only set `token' (bug#14134).
15948 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15949 (opascal-literal-text-properties): Remove.
15950 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15953 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15955 * textmodes/remember.el (remember-handler-functions): Add an
15956 option for a new handler `remember-store-in-files'.
15957 (remember-data-directory, remember-directory-file-name-format):
15959 (remember-store-in-files): New function to store remember notes
15960 as separate files within a directory.
15962 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15964 * progmodes/compile.el (compilation-next-error-function):
15965 Pass "formats" to compilation-find-file (bug#11777).
15967 2013-04-24 Glenn Morris <rgm@gnu.org>
15969 * vc/vc-bzr.el (vc-bzr-print-log):
15970 * vc/vc-hg.el (vc-hg-print-log):
15971 * vc/vc-svn.el (vc-svn-print-log):
15972 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15974 * vc/vc-bzr.el (vc-bzr-print-log):
15975 * vc/vc-cvs.el (vc-cvs-print-log):
15976 * vc/vc-git.el (vc-git-print-log):
15977 * vc/vc-hg.el (vc-hg-print-log):
15978 * vc/vc-mtn.el (vc-mtn-print-log):
15979 * vc/vc-rcs.el (vc-rcs-print-log):
15980 * vc/vc-sccs.el (vc-sccs-print-log):
15981 * vc/vc-svn.el (vc-svn-print-log):
15982 * vc/vc.el (vc-print-log-internal): Doc fixes.
15984 2013-04-23 Glenn Morris <rgm@gnu.org>
15986 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15987 Remove venerable code attempting to avoid substitute-command-keys.
15989 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15991 * textmodes/reftex-vars.el (reftex-label-regexps):
15992 Call `reftex-compile-variables' after changes to this variable.
15994 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15997 Use lexical-binding.
15998 (jit-lock-force-redisplay): Use markers, check buffer's continued
15999 existence and beware narrowed buffers.
16000 (jit-lock-fontify-now): Adjust call accordingly.
16002 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16004 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16005 to avoid misleading the user.
16007 2013-04-22 Leo Liu <sdl.web@gmail.com>
16009 * info-look.el: Prefer latex2e.info. (Bug#14240)
16011 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16013 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16015 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16016 * net/tramp.el (tramp-call-process): ... here.
16017 (tramp-set-completion-function, tramp-parse-putty):
16018 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16019 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16020 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16021 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16022 (tramp-call-local-coding-command): Use `tramp-call-process'
16023 instead of `tramp-compat-call-process'.
16025 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16026 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16027 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16028 (tramp-find-inline-compress): Improve traces.
16029 (tramp-maybe-send-script): Check for Perl binary.
16030 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16032 2013-04-22 Daiki Ueno <ueno@gnu.org>
16034 * epg.el (epg-context-pinentry-mode): New function.
16035 (epg-context-set-pinentry-mode): New function.
16036 (epg--start): Pass --pinentry-mode option to gpg command.
16038 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16040 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16041 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16042 `completion-at-point'. (Bug#13774)
16044 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16045 default key binding for `describe-distribution' has been moved to
16046 `C-h C-o'. (Bug#13970)
16048 2013-04-21 Glenn Morris <rgm@gnu.org>
16050 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16052 (vc-print-log): Clarify interactive prompt.
16054 2013-04-20 Glenn Morris <rgm@gnu.org>
16056 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16057 No longer include timestamp etc information.
16059 2013-04-20 Roland Winkler <winkler@gnu.org>
16061 * faces.el (read-face-name): Bug fix, return just one face if arg
16062 multiple is nil. (Bug#14209)
16064 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16066 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16067 (remove-function): Autoload.
16069 * comint.el (comint-redirect-original-filter-function): Remove.
16070 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16071 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16072 (vc-cvs-annotate-command):
16073 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16074 * progmodes/prolog.el (prolog-consult-compile):
16075 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16076 Use add/remove-function instead.
16077 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16078 (gud-tooltip-process-output, gud-tooltip-tips):
16079 Use add/remove-function instead.
16080 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16081 (scheme-interaction-mode, exit-scheme-interaction-mode):
16082 Use add/remove-function instead.
16084 * vc/vc-dispatcher.el: Use lexical-binding.
16085 (vc--process-sentinel): Rename from vc-process-sentinel.
16086 Change last arg to be the code to run. Don't use vc-previous-sentinel
16087 and vc-sentinel-commands any more.
16088 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16089 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16091 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16093 * progmodes/sh-script.el (sh-imenu-generic-expression):
16094 Handle function names with a single character. (Bug#14111)
16096 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16098 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16099 for subroutines defined in an eval (bug#14182).
16101 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16103 * bookmark.el (bookmark-completing-read): Improve handling of empty
16104 string (bug#14176).
16106 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16108 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16110 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16112 New faster Imenu implementation (bug#14058).
16113 * progmodes/python.el (python-imenu-prev-index-position)
16114 (python-imenu-format-item-label-function)
16115 (python-imenu-format-parent-item-label-function)
16116 (python-imenu-format-parent-item-jump-label-function):
16118 (python-imenu-format-item-label)
16119 (python-imenu-format-parent-item-label)
16120 (python-imenu-format-parent-item-jump-label)
16121 (python-imenu--put-parent, python-imenu--build-tree)
16122 (python-imenu-create-index, python-imenu-create-flat-index)
16123 (python-util-popn): New functions.
16124 (python-mode): Set imenu-create-index-function to
16125 python-imenu-create-index.
16127 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16129 * winner.el (winner-active-region): Use region-active-p, activate-mark
16130 and deactivate-mark (bug#14225).
16132 * simple.el (deactivate-mark): Don't inline it.
16134 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16136 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16138 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16140 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16141 file extensions from the archive-mode entry in order to prefer
16142 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16144 2013-04-18 Leo Liu <sdl.web@gmail.com>
16146 * bindings.el (help-event-list): Add ?\?.
16148 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * subr.el (with-wrapper-hook): Declare obsolete.
16151 * simple.el (filter-buffer-substring-function): New hook.
16152 (filter-buffer-substring): Use it.
16153 (filter-buffer-substring-functions): Mark obsolete.
16154 * minibuffer.el (completion-in-region-function): New hook.
16155 (completion-in-region): Use it.
16156 (completion-in-region-functions): Mark obsolete.
16157 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16158 * abbrev.el (abbrev-expand-function): New hook.
16159 (expand-abbrev): Use it.
16160 (abbrev-expand-functions): Mark obsolete.
16161 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16162 and :filter-return.
16164 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16166 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16167 and do not care about match data.
16169 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16171 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16172 completion tables when completing error conditions and
16173 `declare' arguments.
16174 (lisp-complete-symbol, field-complete): Mark as obsolete.
16175 (check-parens): Unmatched parens are user errors.
16176 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16178 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16180 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16181 command changed buffer (ie. `flyspell-pre-buffer' is not current
16182 buffer), which prevents making decisions based on invalid value of
16183 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16184 cause an error when `flyspell-pre-point' was nil after switching
16186 (flyspell-post-command-hook): No longer needs to change buffers when
16187 checking pre-word. While at it remove unnecessary progn.
16189 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16191 * textmodes/ispell.el (ispell-add-per-file-word-list):
16192 Fix `flyspell-correct-word-before-point' error when accepting
16193 words and `coment-padding' is an integer by using
16194 `comment-normalize-vars' (Bug #14214).
16196 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16198 New defun movement commands.
16199 * progmodes/python.el (python-nav--syntactically)
16200 (python-nav--forward-defun, python-nav-backward-defun)
16201 (python-nav-forward-defun): New functions.
16203 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16205 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16206 (python-syntax-context): Use named compiler-macro for backwards
16207 compatibility with Emacs 24.x.
16209 2013-04-17 Leo Liu <sdl.web@gmail.com>
16211 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16212 octave-hide-process-buffer.
16214 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16216 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16219 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16221 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16222 Fix adjustment of offset when receiving incomplete responses from GDB
16225 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16227 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16228 python-mode-abbrev-table.
16229 (python-skeleton-define): Adjust accordingly.
16230 (python-mode-abbrev-table): New table that inherits from it so that
16231 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16233 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16234 (abbrev-symbol): Use it.
16235 (abbrev--before-point): Use it since we already handle inheritance.
16237 2013-04-16 Leo Liu <sdl.web@gmail.com>
16239 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16240 binding to info-lookup-symbol.
16242 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16244 * minibuffer.el (completion--twq-all):
16245 * term/ns-win.el (ns-initialize-window-system):
16246 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16248 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16250 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16253 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16255 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16257 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16258 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16260 (ruby-end-of-defun): Remove the unused arg, change the docstring
16261 to reflect that this function is only used as the value of
16262 `end-of-defun-function'.
16263 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16264 to reflect an earlier change that beginning/end-of-defun functions
16265 jump between methods in a class definition, as well as top-level
16268 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16270 * minibuffer.el (minibuffer-complete): Don't just scroll
16271 a *Completions* that's been iconified.
16272 (minibuffer-force-complete): Make sure repetitions do cycle when going
16273 through completion-in-region -> minibuffer-complete.
16275 2013-04-15 Alan Mackenzie <acm@muc.de>
16277 Correct the placement of c-cpp-delimiters when there're #s not at
16280 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16281 place a submatch around the #.
16282 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16283 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16286 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16288 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16289 (advice--member-p): New arg `name'.
16290 (advice--add-function, advice-member-p): Use it (bug#14202).
16292 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16294 Reformulate java imenu-generic-expression.
16295 The old expression contained ill formed regexps.
16297 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16298 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16299 (cc-imenu-java-method-arg-regexp): New defconsts.
16300 (cc-imenu-java-build-type-args-regex): New defun.
16301 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16302 handling of spaces in the regexp.
16304 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16306 * textmodes/ispell.el (ispell-command-loop): Remove
16307 flyspell highlight of a word when ispell accepts it (bug #14178).
16309 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16311 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16312 uses code from the previous `ange-ftp-run-real-handler'.
16313 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16314 only in case that function exist. This is needed for proper
16315 unloading of Tramp.
16317 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16319 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16321 * textmodes/reftex.el (reftex-compile-variables): Use it.
16323 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16325 * files.el (normal-mode): Only use default major-mode if no other mode
16328 * emacs-lisp/trace.el (trace-values): New function.
16330 * files.el: Allow : in local variables (bug#14089).
16331 (hack-local-variable-regexp): New var.
16332 (hack-local-variables-prop-line, hack-local-variables): Use it.
16334 2013-04-13 Roland Winkler <winkler@gnu.org>
16336 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16337 data before it gets modified by bibtex-beginning-of-entry.
16339 2013-04-13 Roland Winkler <winkler@gnu.org>
16341 * textmodes/bibtex.el (bibtex-url): Doc fix.
16343 2013-04-13 Roland Winkler <winkler@gnu.org>
16345 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16346 does not visit a BibTeX file, exclude it from the list of buffers
16347 returned by bibtex-initialize.
16349 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16351 * window.el (split-window): Remove interactive form, since as a
16352 command this function is a special case of split-window-below.
16353 Correct doc string.
16355 2013-04-12 Roland Winkler <winkler@gnu.org>
16357 * faces.el (read-face-name): Do not override value of arg default.
16358 Allow single faces and strings as default values. Remove those
16359 elements from return value that are not faces.
16360 (describe-face): Simplify.
16361 (face-at-point): New optional args thing and multiple so that this
16362 function can provide the same functionality previously provided by
16364 (make-face-bold, make-face-unbold, make-face-italic)
16365 (make-face-unitalic, make-face-bold-italic, invert-face)
16366 (modify-face, read-face-and-attribute): Use face-at-point.
16368 * cus-edit.el (customize-face, customize-face-other-window)
16369 * cus-theme.el (custom-theme-add-face)
16370 * face-remap.el (buffer-face-set)
16371 * facemenu.el (facemenu-set-face): Use face-at-point.
16373 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16375 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16377 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16379 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16380 off leading { and trailing } from field values.
16382 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16384 * emacs-lisp/timer.el (timer--check): New function.
16385 (timer--time, timer-set-function, timer-event-handler): Use it.
16386 (timer-set-idle-time): Simplify.
16387 (timer--activate): CSE.
16388 (timer-event-handler): Give more info in error message.
16389 (internal-timer-start-idle): New function, moved from C.
16391 * mpc.el (mpc-proc): Add `restart' argument.
16392 (mpc-proc-cmd): Use it.
16393 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16394 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16397 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16399 * progmodes/sh-script.el: Implement `sh-mode' own
16400 `add-log-current-defun-function' (bug#14112).
16401 (sh-current-defun-name): New function.
16402 (sh-mode): Use the function.
16404 2013-04-09 Bastien Guerry <bzg@gnu.org>
16406 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16408 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16410 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16412 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16415 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16417 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16420 2013-04-07 Leo Liu <sdl.web@gmail.com>
16422 * pcmpl-x.el: New file.
16424 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16426 Do not set x-display-name until X connection is established.
16427 This is needed to prevent from weird situation described at
16428 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16429 * frame.el (make-frame): Set x-display-name after call to
16430 window system initialization function, not before.
16431 * term/x-win.el (x-initialize-window-system): Add optional
16432 display argument and use it.
16433 * term/w32-win.el (w32-initialize-window-system):
16434 * term/ns-win.el (ns-initialize-window-system):
16435 * term/pc-win.el (msdos-initialize-window-system):
16436 Add compatible optional display argument.
16438 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16440 * files.el (normal-backup-enable-predicate): On MS-Windows and
16441 MS-DOS compare truenames of temporary-file-directory and of the
16442 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16443 don't fail comparison by compare-strings. Also, compare file
16444 names case-insensitively on MS-Windows and MS-DOS.
16446 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16448 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16449 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16451 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16453 * whitespace.el (whitespace-color-on, whitespace-color-off):
16454 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16456 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16458 * ispell.el (ispell-set-spellchecker-params):
16459 Really set `ispell-args' for all equivs.
16461 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16463 * ido.el (ido-completions): Use extra elements of ido-decorations
16465 (ido-decorations): Update docstring.
16467 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16469 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16470 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16471 nil during initialization, in order not to miss changes since the
16472 file was opened. (Bug#14140)
16474 2013-04-05 Leo Liu <sdl.web@gmail.com>
16476 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16478 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16480 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16482 2013-04-04 Glenn Morris <rgm@gnu.org>
16484 * electric.el (electric-pair-inhibit-predicate): Add :version.
16486 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16488 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16489 when a package is required several times (bug#14082).
16491 2013-04-04 Roland Winkler <winkler@gnu.org>
16493 * faces.el (read-face-name): Behave as promised by the docstring.
16494 Assume that arg default is a list of faces.
16495 (describe-face): Call read-face-name with list of default faces.
16497 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16499 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16500 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16501 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16503 (bookmark-exit-hook-internal): Save even if list is empty.
16505 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16507 * emacs-lisp/package.el (package-pinned-packages): New var.
16508 (package--add-to-archive-contents): Obey it (bug#14118).
16510 2013-04-03 Alan Mackenzie <acm@muc.de>
16512 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16513 Also adapt to the new values of element 7 of a parse state.
16515 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16516 parameter `not-in-delimiter'. Handle being inside comment opener.
16517 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16518 character in case we're typing a '*' after a '/'.
16519 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16520 instead by passing the parameter to c-state-pp-to-literal.
16522 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16523 for elt. 7 of a parse state.
16525 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16527 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16528 * international/latin1-disp.el, international/mule-util.el:
16529 * language/cyril-util.el, language/european.el, language/ind-util.el:
16530 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16531 * language/tibetan.el, language/viet-util.el:
16532 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16534 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16536 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16537 (electric-pair-post-self-insert-function): Use it.
16538 (electric-pair-default-inhibit): New function, extracted from
16539 electric-pair-post-self-insert-function.
16541 2013-03-31 Roland Winkler <winkler@gnu.org>
16543 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16545 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16547 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16549 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16551 Un-indent after "pass" and "return" statements (Bug#13888)
16552 * progmodes/python.el (python-indent-block-enders): New var.
16553 (python-indent-calculate-indentation): Use it.
16555 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16557 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16558 defun. Defining it as defalias could introduce too eager
16559 byte-compiler optimization. (Bug#14030)
16561 2013-03-30 Chong Yidong <cyd@gnu.org>
16563 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16565 2013-03-30 Leo Liu <sdl.web@gmail.com>
16567 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16568 (kmacro-execute-from-register): Pass the keyboard macro to
16569 kmacro-call-macro or repeating won't work correctly.
16571 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16573 * progmodes/subword.el: Back to using `forward-symbol'.
16575 * subr.el (forward-whitespace, forward-symbol)
16576 (forward-same-syntax): Move from thingatpt.el.
16578 2013-03-29 Leo Liu <sdl.web@gmail.com>
16580 * kmacro.el (kmacro-to-register): New command.
16581 (kmacro-execute-from-register): New function.
16582 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16584 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16586 * mpc.el: Use defvar-local and setq-local.
16587 (mpc--proc-connect): Connection failures are not bugs.
16588 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16589 (mpc-volume-map): Bind to the up-events.
16591 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16593 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16594 instead of `forward-symbol'.
16596 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16598 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16599 (edebug--recursive-edit): Use it.
16600 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16601 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16603 2013-03-28 Leo Liu <sdl.web@gmail.com>
16605 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16607 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16609 * facemenu.el (list-colors-callback): New defvar.
16610 (list-colors-redisplay): New function.
16611 (list-colors-display): Install list-colors-redisplay as the
16612 revert-buffer-function. (Bug#14063)
16614 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16616 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16617 and suffixes don't overlap (bug#14061).
16619 * case-table.el: Use lexical-binding.
16620 (case-table-get-table): New function.
16621 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16623 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16625 * progmodes/subword.el: Add `superword-mode' to do word motion
16626 over symbol_words (parallels and leverages `subword-mode' which
16627 does word motion inside MixedCaseWords).
16629 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16631 * eshell/em-unix.el: Move su and sudo to...
16632 * eshell/em-tramp.el: ...Eshell tramp module.
16634 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16636 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16637 Change return value to be a sexp. Delay `get-buffer' to after
16638 restoring the desktop (bug#13951).
16640 2013-03-26 Leo Liu <sdl.web@gmail.com>
16642 * register.el: Move semantic tag handling back to
16643 cedet/semantic/senator.el. (Bug#14052)
16645 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16647 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16648 into the prompt either (bug#13963).
16650 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16652 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16653 part of "(error-foo)".
16655 2013-03-24 Juri Linkov <juri@jurta.org>
16657 * replace.el (list-matching-lines-prefix-face): New defcustom.
16658 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16659 `occur-engine' if `face-differs-from-default-p' returns t.
16660 (occur-engine): Add `,' inside backquote construct to evaluate
16661 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16662 Pass `prefix-face' to the functions `occur-context-lines' and
16663 `occur-engine-add-prefix'.
16664 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16665 `prefix-face' and propertize the prefix with `prefix-face'.
16668 2013-03-24 Leo Liu <sdl.web@gmail.com>
16670 * nxml/rng-valid.el (rng-validate-while-idle)
16671 (rng-validate-quick-while-idle): Guard against deleted buffer.
16674 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16675 is the last entry in kill-buffer-hook.
16677 * files.el (kill-buffer-hook): Doc fix.
16679 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16681 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16682 Make it safe-local.
16684 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16686 2013-03-23 Leo Liu <sdl.web@gmail.com>
16688 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16691 * nxml/rng-valid.el (rng-validate-mode)
16692 (rng-after-change-function, rng-do-some-validation):
16693 * nxml/rng-maint.el (rng-validate-buffer):
16694 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16695 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16696 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16697 (nxml-extend-after-change-region): Use with-silent-modifications.
16699 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16702 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16703 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16704 timer-idle-list. (Bug#13999)
16706 2013-03-23 Juri Linkov <juri@jurta.org>
16708 * info.el (info-index-match): New face.
16709 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16710 main pattern and add text properties with the new face to matches
16711 in index entries relative to the beginning of the index entry.
16714 2013-03-21 Eric Ludlam <zappo@gnu.org>
16716 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16717 Inhibit read only while inserting objects.
16719 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16721 * progmodes/cfengine.el: Update docs to mention
16722 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16723 symbol motion. Remove "_" from the word syntax.
16725 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16727 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16728 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16730 2013-03-20 Juri Linkov <juri@jurta.org>
16732 * info.el (Info-next-reference-or-link)
16733 (Info-prev-reference-or-link): New functions.
16734 (Info-next-reference, Info-prev-reference): Use them.
16735 (Info-try-follow-nearest-node): Handle footnote navigation.
16736 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16738 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16740 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16741 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16743 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16745 Suppress unnecessary non-ASCII chatter during build process.
16746 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16747 (batch-skkdic-convert): Suppress most of the chatter.
16748 It's not needed so much now that machines are faster,
16749 and its non-ASCII component was confusing; see Dmitry Gutov in
16750 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16752 2013-03-20 Leo Liu <sdl.web@gmail.com>
16754 * ido.el (ido-chop): Fix bug#10994.
16756 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16758 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16760 (whitespace-color-on, whitespace-color-off):
16761 Use `font-lock-fontify-buffer' (Bug#13817).
16763 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16765 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16766 remapping in mode-line.
16767 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16769 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16771 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16772 value for `whitespace-line' face (Bug#13875).
16773 (whitespace-font-lock-keywords): Change description.
16774 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16775 the constructed keywords instead.
16776 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16778 2013-03-19 Leo Liu <sdl.web@gmail.com>
16780 * progmodes/compile.el (compilation-display-error): New command.
16781 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16784 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16786 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16788 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16790 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16792 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16794 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16796 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16797 * net/tramp-gvfs.el (top):
16798 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16799 (tramp-handle-shell-command): Use it.
16800 (tramp-dissect-file-name): Raise an error when hostname is a
16801 method name, and neither method nor user is specified.
16803 * net/trampver.el: Update release number.
16805 2013-03-18 Leo Liu <sdl.web@gmail.com>
16807 Make sure eldoc can be turned off properly.
16808 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16810 (eldoc-display-message-p): Revert last change.
16811 (eldoc-display-message-no-interference-p)
16812 (eldoc-print-current-symbol-info): Tweak.
16814 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16816 * doc-view.el (doc-view-new-window-function): Check the new window
16817 overlay's display property instead the char property of the
16818 buffer's first char. Use `with-selected-window' instead of
16819 `save-window-excursion' with `select-window'.
16820 (doc-view-document->bitmap): Check the current doc-view overlay's
16821 display property instead the char property of the buffer's first char.
16823 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16825 Automate the build of ja-dic.el (Bug#13984).
16826 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16827 from the input, rather than assume that it's been done for us by the
16828 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16829 the current date into a ja-dic.el comment, as that complicates
16830 regression testing.
16832 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16834 * whitespace.el: Fix double evaluation.
16835 (whitespace-space, whitespace-hspace, whitespace-tab)
16836 (whitespace-newline, whitespace-trailing, whitespace-line)
16837 (whitespace-space-before-tab, whitespace-indentation)
16838 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16840 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16841 (whitespace-color-on): Use a single font-lock-add-keywords call.
16842 Fix double-evaluation of face variables.
16844 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16846 * net/tramp-adb.el (tramp-adb-parse-device-names):
16847 Use `start-process' instead of `call-process'. Otherwise, the
16848 function might be blocked under MS Windows. (Bug#13299)
16850 2013-03-17 Leo Liu <sdl.web@gmail.com>
16852 Extend eldoc to display info in the mode-line. (Bug#13978)
16853 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16854 (eldoc-mode-line-string): New variable.
16855 (eldoc-minibuffer-message): New function.
16856 (eldoc-message-function): New variable.
16857 (eldoc-message): Use it.
16858 (eldoc-display-message-p)
16859 (eldoc-display-message-no-interference-p):
16860 Support eldoc-post-insert-mode.
16862 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16863 (eval-expression): Run it.
16865 2013-03-17 Roland Winkler <winkler@gnu.org>
16867 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16868 strings in the list of return values.
16870 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16872 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16873 radix before checking for HMS forms.
16875 2013-03-16 Leo Liu <sdl.web@gmail.com>
16877 * progmodes/scheme.el: Add indentation and font-locking for λ.
16880 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16882 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16883 token before point (bug#13942).
16885 2013-03-16 Leo Liu <sdl.web@gmail.com>
16887 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16889 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16891 * startup.el (command-line-normalize-file-name): Fix handling of
16892 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16893 <xfq.free@gmail.com> in
16894 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16896 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16898 Sync with Tramp 2.2.7.
16900 * net/trampver.el: Update release number.
16902 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16904 * doc-view.el: Fix bug#13887.
16905 (doc-view-insert-image): Don't modify overlay associated to
16906 non-live windows, and implement horizontal centering of image in
16907 case it's smaller than the window.
16908 (doc-view-new-window-function): Force redisplay of new windows on
16911 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16913 * saveplace.el (save-place-alist-to-file): Don't sort
16914 `save-place-alist', just pretty-print it (bug#13882).
16916 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16918 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16919 Check whether `default-file-name-coding-system' is bound.
16920 It isn't in XEmacs.
16922 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16924 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16925 backquotes for `obsolete' (bug#13929).
16927 * international/mule.el (find-auto-coding): Include file name in
16928 obsolescence warning (bug#13922).
16930 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16932 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16933 for CFEngine 3-specific indentation.
16934 (cfengine3-indent-line): Use it. Fix up category regex.
16935 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16937 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16939 * type-break.el (type-break-file-name):
16940 * textmodes/remember.el (remember-data-file):
16941 * strokes.el (strokes-file):
16942 * shadowfile.el (shadow-initialize):
16943 * saveplace.el (save-place-file):
16944 * ps-bdf.el (bdf-cache-file):
16945 * progmodes/idlwave.el (idlwave-config-directory):
16946 * net/quickurl.el (quickurl-url-file):
16947 * international/kkc.el (kkc-init-file-name):
16948 * ido.el (ido-save-directory-list-file):
16949 * emulation/viper.el (viper-custom-file-name):
16950 * emulation/vip.el (vip-startup-file):
16951 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16952 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16954 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16956 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16957 * language/thai-word.el: Switch to UTF-8.
16959 See ChangeLog.16 for earlier changes.
16961 ;; Local Variables:
16965 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16967 This file is part of GNU Emacs.
16969 GNU Emacs is free software: you can redistribute it and/or modify
16970 it under the terms of the GNU General Public License as published by
16971 the Free Software Foundation, either version 3 of the License, or
16972 (at your option) any later version.
16974 GNU Emacs is distributed in the hope that it will be useful,
16975 but WITHOUT ANY WARRANTY; without even the implied warranty of
16976 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16977 GNU General Public License for more details.
16979 You should have received a copy of the GNU General Public License
16980 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.