1 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
3 Support rendering of HTML parts in Rmail (bug#4258).
4 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5 separately from other text/ types. Suppress tagline for
7 (rmail-mime-parse): Don't change visibility of tagline here.
8 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
9 Handle text/html specially.
10 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
11 (rmail-mime-insert-html, rmail-mime-render-html-shr)
12 (rmail-mime-render-html-lynx): New functions.
13 (rmail-mime-fix-inserted-faces): New function.
14 (rmail-mime-process-multipart): Find the best part to show
15 following rmail-mime-prefer-html if set.
16 (rmail-mime-searching): New variable.
17 (rmail-search-mime-message): Bind rmail-mime-searching to
18 suppress rendering while searching.
20 2014-09-12 Sam Steingold <sds@gnu.org>
22 * progmodes/sql.el (sql-product-alist): Add vertica.
23 (sql-vertica-program, sql-vertica-options)
24 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
25 New functions and variables to support Vertica.
26 Inspired by code by Roman Scherer <roman@burningswell.com>.
28 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
30 * ses.el (ses-file-format-extend-parameter-list): Rename from
31 ses-file-format-extend-paramter-list, to correct a misspelling.
34 2014-09-10 Alan Mackenzie <acm@muc.de>
36 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
37 gets loaded at run-time).
38 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
39 c-lang-const to c-make-no-parens-syntax-table and correct the
41 (c-no-parens-syntax-table): Correct the logic of the
44 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
46 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
48 * progmodes/cc-mode.el (c-basic-common-init):
49 Set open-paren-in-column-0-is-defun-start.
50 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
51 Remove declarations, unused.
52 (run-mode-hooks): Remove declaration.
53 (font-lock-defaults): Use plain `defvar' to declare.
54 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
55 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
56 (c-make-mode-syntax-table): Don't micro-optimize.
57 (c-keywords, c-keyword-member-alist): Simplify.
58 (c-kwds-lang-consts): Don't eval at compile-time.
59 (c-primary-expr-regexp): Comment out unused vars.
60 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
61 (c-font-byte-compile): New var.
62 (c--compile): New function. Use it instead of `byte-compile'.
63 (c-cpp-matchers): Quote the value returned by
64 `c-make-syntactic-matcher' in case it's not self-evaluating.
65 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
66 parentheses instead (in case MATCHER happens to be a list).
67 (c-font-lock-enum-tail): Remove unused var `start'.
68 (c-font-lock-objc-methods): Silence byte-compiler warnings.
69 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
70 test into an argument.
71 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
72 (c-get-char-property): Don't use `eval' just to unquote a constant.
73 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
75 (c-put-char-property-fun): Don't call `byte-compile' by hand.
76 (c-clear-char-property, c-clear-char-properties): Check that `property'
78 (c-emacs-features): Remove `infodock', `syntax-properties', and
79 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
80 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
81 changing buffer, so we don't have to setq them again afterwards.
82 (c-lang-const): Remove redundant symbolp assertions.
83 (c-find-assignment-for-mode): Use `or'.
84 * Makefile.in (compile-one-process): Remove cc-mode dependency.
86 2014-09-09 Sam Steingold <sds@gnu.org>
88 * progmodes/sql.el (sql-default-directory): Fix type annotation.
90 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
92 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
93 Change doc comments into docstrings.
94 * Makefile.in: Remove cc-awk dependency.
96 2014-09-08 Sam Steingold <sds@gnu.org>
98 * progmodes/sql.el (sql-send-line-and-next): New command,
100 (sql-show-sqli-buffer): Display the buffer instead of its name and
101 bind the command to C-c C-z.
102 (sql-default-directory): New user option.
103 (sql-product-interactive): Bind `default-directory' to it to
104 enable remote connections using Tramp.
105 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
106 suitable buffer is available.
108 2014-09-08 Glenn Morris <rgm@gnu.org>
110 * calendar/calendar.el (calendar-basic-setup):
111 Fix calendar-view-holidays-initially-flag and fancy display.
112 * calendar/diary-lib.el (diary-live-p): Doc fix.
114 * calendar/calendar.el (calendar-basic-setup):
115 Avoid clobbering calendar with diary. (Bug#18381)
117 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
119 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
121 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
123 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
126 2014-09-08 Eli Zaretskii <eliz@gnu.org>
128 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
130 2014-09-06 Leo Liu <sdl.web@gmail.com>
132 * emacs-lisp/pcase.el (pcase): Doc fix.
133 (pcase--split-vector): New function.
134 (pcase--q1): Support vector qpattern. (Bug#18327)
136 2014-09-05 Sam Steingold <sds@gnu.org>
138 * textmodes/tex-mode.el (tex-print-file-extension): New user
140 (tex-print): Use it instead of the hard-coded string.
142 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
144 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
145 Expand `default-directory'.
147 2014-09-05 Martin Rudalics <rudalics@gmx.at>
149 * scroll-bar.el (horizontal-scroll-bars-available-p): New
151 (horizontal-scroll-bar-mode): Rewrite using
152 horizontal-scroll-bars-available-p.
153 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
154 horizontal-scroll-bars-available-p.
156 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
158 * subr.el (call-process-shell-command, process-file-shell-command):
159 Make the `args' obsolete (bug#18409).
160 (start-process-shell-command, start-file-process-shell-command):
163 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
165 * calc/calc-forms.el (math-normalize-hms): Do a better check for
166 "negative" hms forms.
168 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
170 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
171 returns nil (bug#18391).
173 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
175 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
176 terminating paren (bug#18352).
177 (eldoc-last-data-store): Return cached data.
178 (eldoc-get-var-docstring): Avoid setq.
179 (eldoc-get-fnsym-args-string): Clarify data flow.
181 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
183 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
184 case where we're currently providing part of the &rest arg after some
185 &key args, as in define-ibuffer-op (bug#18048).
187 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
189 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
190 buffer-local setting of which-func-mode.
191 (which-func-mode): Use defvar-local.
192 (which-function-mode): Don't reset which-func-mode in each buffer since
193 it might have been set by someone else.
194 (which-func-update-ediff-windows): Check which-function-mode.
196 2014-09-03 Martin Rudalics <rudalics@gmx.at>
198 * frame.el (frame-initialize): Remove horizontal-scroll-bars
199 from frame-initial-frame-alist.
200 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
201 (horizontal-scroll-bar-mode-explicit)
202 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
203 (toggle-horizontal-scroll-bar): Remove.
204 (horizontal-scroll-bar-mode): Remove defcustom.
205 (horizontal-scroll-bar-mode): Fix doc-string.
206 (scroll-bar-toolkit-scroll)
207 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
209 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
211 * emacs-lisp/package.el (package-generate-description-file):
212 Properly quote the arguments (bug#18332). Change second arg.
213 (package--alist-to-plist-args): Rename from package--alist-to-plist and
215 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
216 the *-pkg.el file. Adjust to new calling convention of
217 package-generate-description-file.
219 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
220 (gud-gdb-completions): Remove obsolete workaround.
222 2014-09-03 Eli Zaretskii <eliz@gnu.org>
224 * subr.el (posn-col-row): Revert the change from commit
225 2010-11-13T21:07:58Z!eliz@gnu.org, which
226 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
227 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
228 introduced an off-by-one error in the reported row when there is a
229 header line. (Bug#18384)
231 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
233 * progmodes/python.el (python-indent-post-self-insert-function):
234 Avoid electric colon at beginning-of-defun. (Bug#18228)
236 2014-09-03 Glenn Morris <rgm@gnu.org>
238 * tutorial.el (tutorial--display-changes):
239 Fix 2014-08-01 change. (Bug#18382)
241 2014-09-03 Ken Brown <kbrown@cornell.edu>
243 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
244 the Cygwin-w32 build. (Bug#18347)
246 2014-09-03 Glenn Morris <rgm@gnu.org>
248 * tar-mode.el (tar--extract, tar-extract):
249 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
251 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
253 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
254 handle multiline elements (bug#18380).
256 2014-09-01 Eli Zaretskii <eliz@gnu.org>
258 * ls-lisp.el (ls-lisp-use-string-collate)
259 (ls-lisp-UCA-like-collation): New defcustoms.
260 (ls-lisp-string-lessp): Use them to control sorting by file
262 (ls-lisp-version-lessp): New function.
263 (ls-lisp-handle-switches): Use it to implement the -v switch of
265 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
267 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
269 * ibuffer.el: Replace mode-specific quit function with
270 `quit-window' via `special-mode'.
271 (ibuffer-mode-map): Use keybindings from special-mode-map instead
273 (ibuffer): Don't store previous windows configuration.
274 Let `quit-window' handle restoring.
275 (ibuffer-quit): Remove function. Use `quit-window' instead.
276 (ibuffer-restore-window-config-on-quit): Remove variable.
277 (ibuffer-prev-window-config): Remove variable.
279 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
281 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
282 name instead of variable name in hook docstring. (Bug#18349)
284 2014-08-29 Martin Rudalics <rudalics@gmx.at>
286 * window.el (display-buffer-at-bottom): Prefer bottom-left
287 window to other bottom windows. Reuse a bottom window if it
288 shows the buffer already. Suggested by Juri Linkov
289 <juri@jurta.org> in discussion of (Bug#18181).
291 2014-08-29 Leo Liu <sdl.web@gmail.com>
293 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
294 append to minibuffer-setup-hook. (Bug#18341)
296 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
298 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
300 (lookup-syntax-properties): Silence byte-compiler.
301 (c-lang-defconst): Quote the code with `lambda' rather than with
303 (c-lang-const): Avoid unneeded setq.
304 (c-lang-constants-under-evaluation): Add docstring.
305 (c-lang--novalue): New constant.
306 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
307 (c-get-lang-constant): Same here.
308 Get the mode's value using `funcall' now that the code is quoted
311 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
313 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
316 2014-08-28 Martin Rudalics <rudalics@gmx.at>
318 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
319 interpretation of `portion-whole'.
321 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
323 * net/tramp-adb.el: Spell author name correctly.
325 2014-08-28 João Távora <joaotavora@gmail.com>
327 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
328 use url-expand-file-name. (Bug#18310)
330 2014-08-28 Glenn Morris <rgm@gnu.org>
332 * emulation/cua-rect.el (cua--highlight-rectangle):
333 Avoid error at point-min. (Bug#18309)
335 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
337 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
338 executable-find (bug#18244).
340 * simple.el (self-insert-uses-region-functions): Defvar.
342 2014-08-28 Glenn Morris <rgm@gnu.org>
344 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
346 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
348 * startup.el (normal-top-level): Now use internal--top-level-message.
350 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
352 * startup.el (normal-top-level): Use top-level-message.
354 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
356 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
357 URLs containing spaces and the like.
359 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
361 * subr.el (remq): Fix docstring (Bug#18253).
363 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
365 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
367 2014-08-24 Alan Mackenzie <acm@muc.de>
369 Handle C++11's "auto" and "decltype" constructions.
370 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
371 and return 'decltype.
372 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
373 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
375 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
377 (c-font-lock-c++-new): Handle "decltype" constructions.
378 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
379 New c-lang-defconsts/defvars.
380 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
381 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
382 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
383 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
385 Make ">>" act as double template ender in C++ Mode.
386 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
387 off from c->-op-cont-re.
388 (c->-op-cont-tokens): Change to use the above.
389 (c->-op-without->-cont-regexp): New lang-const.
390 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
391 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
394 2014-08-23 Alan Mackenzie <acm@muc.de>
396 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
397 loop, bug #18306. The bug was introduced on 2014-08-02.
399 2014-08-21 Eli Zaretskii <eliz@gnu.org>
401 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
402 Don't recognize a Top node if there are other sectioning commands
403 earlier in the Texinfo file. This fixes a bug in
404 texinfo-make-menu and avoids inflooping in
405 texinfo-all-menus-update when they are invoked on texinfo.texi.
407 2014-08-21 Martin Rudalics <rudalics@gmx.at>
409 * window.el (window--side-window-p): New function.
410 (split-window, window-splittable-p): Use window--side-window-p to
411 determine whether WINDOW can be split (Bug#18304).
412 * calendar/calendar.el (calendar-basic-setup): Fix one call of
413 `window-splittable-p' and add another (Bug#18304).
415 2014-08-20 Sam Steingold <sds@gnu.org>
417 * progmodes/python.el (python-new-pythonpath): Extract from
418 `python-shell-calculate-process-environment'.
420 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
422 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
423 for &key args (bug#18048).
425 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
427 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
428 (eldoc-function-argstring-format): Remove.
429 (eldoc-function-argstring): Always return upcase args.
430 Use help-make-usage. Don't add parens.
431 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
432 it's too late to do it right (bug#18048).
434 2014-08-18 Eli Zaretskii <eliz@gnu.org>
436 * scroll-bar.el (scroll-bar-horizontal-drag-1)
437 (scroll-bar-toolkit-horizontal-scroll): When determining the
438 paragraph direction, use the buffer of the window designated in
441 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
443 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
444 context of unified diff.
446 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
448 Add dependencies to fix loaddefs race during parallel builds.
449 Without this, for example, 'make -j bootstrap' can fail and report
450 "Opening input file: no such file or directory,
451 .../lisp/calendar/diary-loaddefs.el ... recipe for target
452 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
453 got confused because diary-loaddefs.el was being built in parallel.
454 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
455 Depend on $(CAL_DIR)/cal-loaddefs.el.
456 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
458 2014-08-16 Martin Rudalics <rudalics@gmx.at>
460 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
461 portion-whole for scrolling right-to-left text.
463 2014-08-15 Leo Liu <sdl.web@gmail.com>
465 * speedbar.el (speedbar-generic-list-tag-p): Allow special
468 2014-08-15 Glenn Morris <rgm@gnu.org>
470 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
472 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
477 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
479 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
480 add Guile debugger support for GUD.
482 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
484 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
485 (mouse-sel--ignore): New function.
486 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
487 (mouse-sel-original-interprogram-cut-function)
488 (mouse-sel-original-interprogram-paste-function): Remove.
490 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
492 * vc/vc-git.el (vc-git-resolve-when-done): New function.
493 Call "git add" when there are no longer conflict markers.
495 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
497 * vc/vc-git.el (vc-git-find-file-hook): New function.
498 Adds support for calling smerge (and resolve) on a conflicted file.
499 (vc-git-conflicted-files): New function.
500 Useful in itself and a step towards better smerge support.
502 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
504 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
505 to the first part if they're the same as the selection.
507 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
509 * image-mode.el (image-transform-reset): New command and menu item.
510 (image-mode-map): Rearrange the menu items to put presumably more
511 obscure items at the end.
513 2014-08-12 Juri Linkov <juri@jurta.org>
515 * vc/vc-annotate.el (vc-annotate-background-mode):
516 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
518 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
520 * files.el (out-of-memory-warning-percentage): Turn it off by default.
522 2014-08-11 Sam Steingold <sds@gnu.org>
524 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
525 the presence of known validators (tidy, (o)nsgmls).
527 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
529 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
531 * net/newst-treeview.el (newsticker-treeview-date-format): New.
532 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
534 2014-08-11 Glenn Morris <rgm@gnu.org>
536 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
537 chose coding system for writing before backing up, since it causes
538 a more serious problem than the one it solves. (Closes Bug#18141,
541 2014-08-11 Martin Rudalics <rudalics@gmx.at>
543 * window.el (window-total-size): Make doc-string more self-contained.
545 * window.el (display-buffer-below-selected): Restore original
546 behavior if buffer is already displayed in the window below the
547 selected one (Bug#18181).
549 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
551 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
554 2014-08-11 Eli Zaretskii <eliz@gnu.org>
556 * info.el (info): Doc fix.
558 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
560 * info.el (Info-mode-map): Override a global down-mouse-2 binding
563 2014-08-11 Eli Zaretskii <eliz@gnu.org>
565 * simple.el (default-line-height): A floating-point value of
566 line-spacing means a fraction of the default frame font's height,
567 not of the font currently used by the 'default' face.
568 Truncate the pixel value, like the display engine does.
569 (window-screen-lines): Use window-inside-pixel-edges for
570 determining the window height in pixels. (Bug#18195)
572 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
574 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
576 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
578 Enumerate evaluated sexp diary entries (Bug#7911).
579 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
580 (icalendar-export-sexp-enumeration-days): New.
581 (icalendar-export-region): Now `icalendar--convert-to-ical'
582 returns a cons cell or a list of cons cells.
583 (icalendar--convert-to-ical): Take care of
584 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
585 (icalendar--convert-ordinary-to-ical)
586 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
587 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
588 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
589 (icalendar--convert-anniversary-to-ical): Return cons cell.
590 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
591 entries. Return (list of) cons cells.
593 2014-08-09 Juri Linkov <juri@jurta.org>
595 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
596 to reevaluate `vc-annotate-color-map'. (Bug#18189)
598 2014-08-09 Alan Mackenzie <acm@muc.de>
600 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
601 for top-level that can cause unacceptable slow-down in scrolling.
602 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
603 Antipov from 2013-10-14 in emacs-devel.
605 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
607 * ibuffer.el (ibuffer-mode-map): Use toggle button for
608 `ibuffer-auto-mode' menu entry.
609 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
611 2014-08-08 Matthias Meulien <orontee@gmail.com>
613 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
616 2014-08-07 Martin Rudalics <rudalics@gmx.at>
618 * window.el (window--min-size-1): Explicitly set WINDOW arg in
619 calls of window-min-pixel-height and window-min-pixel-width.
621 2014-08-07 Reuben Thomas <rrt@sc3d.org>
623 * progmodes/ada-mode.el:
624 * net/tramp.el (tramp-handle-file-symlink-p):
625 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
626 about VMS, which we no longer support.
627 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
628 and fix a FIXME, using convert-standard-filename in place of
629 removed ada-convert-file-name.
631 2014-08-07 Eli Zaretskii <eliz@gnu.org>
633 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
635 2014-08-07 Reuben Thomas <rrt@sc3d.org>
637 Refer to MS-DOS using the same name everywhere.
638 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
639 ``msdog'' become ``MS-DOS''.
641 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
644 Use cached "remote-copy-args" value, if available. (Bug#18199)
646 2014-08-07 Leo Liu <sdl.web@gmail.com>
648 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
649 Revert change on 2014-03-22.
651 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
653 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
654 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
658 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
660 * image-mode.el (image-toggle-display-image): Always rescale images
661 to not be bigger than the current window.
663 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
665 * net/eww.el (eww-bookmarks-directory): New variable.
666 (eww-write-bookmarks): Use it.
667 (eww-read-bookmarks): Ditto.
669 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
671 * net/shr.el (shr-copy-url): Also copy the image URL.
673 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
675 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
676 also for Tramp working buffers.
678 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
680 * progmodes/python.el: Fix completions inside (i)pdb.
681 (python-shell-completion-pdb-string-code): Make obsolete.
682 (python-shell-completion-get-completions):
683 Use python-shell-completion-string-code resending setup code
684 continuously for (i)pdb.
686 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
688 * rect.el (rectangle--default-line-number-format): Rename
689 from misspelled rectange--default-line-number-format (Bug#18045).
692 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
694 Don't mishandle year-9999 dates (Bug#18176).
695 * calendar/parse-time.el (parse-time-rules):
696 Allow years up to most-positive-fixnum.
697 * calendar/time-date.el (date-to-time):
698 Pass "Specified time is not representable" errors through.
700 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
702 * progmodes/python.el: Completion code cleanups.
703 (python-shell-completion-get-completions): Detect and send import
704 statements directly to completion function.
705 (python-shell-completion-at-point): Simplify prompt calculation
706 and import vs input completion logic.
708 2014-08-02 Alan Mackenzie <acm@muc.de>
710 Fix confusion in C++ file caused by comma in "= {1,2},".
712 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
713 for a statement boundary marked by "}", check there's no "="
715 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
716 non-nil `comma-delim' argument.
717 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
718 initializer expression more accurately.
720 Correct loop termination condition in c-syntactic-skip-backward.
721 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
722 the situation where, after moving back out of a literal,
723 skip-chars-backward doesn't move further, yet checks have still to
726 2014-08-01 Eli Zaretskii <eliz@gnu.org>
728 * tutorial.el (tutorial--display-changes): Accept punctuation
729 characters before the key binding. (Bug#18146)
731 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
733 * progmodes/python.el: Shell output capture enhancements.
734 (python-shell-accept-process-output): New function.
735 (inferior-python-mode)
736 (python-shell-send-setup-code): Use it.
738 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
740 * calendar/icalendar.el (icalendar--decode-isodatetime):
741 Use actual current-time-zone when converting to local time. (Bug#15408)
743 2014-07-29 Martin Rudalics <rudalics@gmx.at>
745 * window.el (window--state-put-2): Handle horizontal scroll
748 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
750 * menu-bar.el (menu-bar-update-buffers): Update item list format
751 in `buffers-menu' to confirm with changes to `get_keyelt'
752 (r117463). (Bug#18016)
754 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
756 * progmodes/python.el (inferior-python-mode): Make input prompts
759 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
761 * net/tramp-sh.el (tramp-get-remote-python): Also search for
762 executables named "python2" or "python3".
763 (tramp-get-remote-uid-with-python): Use parentheses around
764 arguments to `print' to make it compatible with Python 3.
765 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
767 2014-07-28 Eli Zaretskii <eliz@gnu.org>
769 * window.el (window--pixel-to-total): Use FRAME's root window, not
770 that of the selected frame. (Bug#18112, Bug#16674)
772 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
774 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
777 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
779 * progmodes/python.el (inferior-python-mode): Doc fix.
781 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
783 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
784 not a character, ignore it instead of raising an error.
786 * calendar/todo-mode.el: Fix handling of marked items and make
787 minor code improvements.
788 (todo-edit-item): If there are marked items, ensure user can only
789 invoke editing commands that work with marked items.
790 (todo-edit-item--text): When there are marked items, make it a
791 noop if invoked with point not on an item; otherwise, ensure it
792 applies only to item at point.
793 (todo-item-undone): If there are marked not-done items, return
794 point to its original position before signaling user error.
795 (todo--user-error-if-marked-done-item): New function.
796 (todo-edit-item--header, todo-edit-item--diary-inclusion)
797 (todo-item-done): Use it.
799 2014-07-28 Glenn Morris <rgm@gnu.org>
801 * files.el (toggle-read-only): Re-add basic doc-string.
802 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
804 * progmodes/prolog.el (prolog-mode-keybindings-edit):
805 Replace missing `switch-to-prolog' with `run-prolog'.
806 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
808 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
810 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
811 of file-wide setting when changing category-wide setting.
813 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
815 * doc-view.el (doc-view-open-text): Don't require that the
816 document is saved in a file (e.g., email attachment).
818 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
820 Parse completion input in a iPython friendly way. (Bug#18084)
821 * progmodes/python.el
822 (python-shell-completion-at-point): Rename from
823 python-shell-completion-complete-at-point.
824 (inferior-python-mode): Use it.
825 (python-completion-at-point): Rename from
826 python-completion-complete-at-point. Parse input up to first
827 backward occurrence of whitespace, open-paren, close-paren or
829 (python-mode): Use it.
831 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
833 Prevent Python process shell buffer to pop twice.
834 * progmodes/python.el (python-shell-switch-to-shell): Do not call
837 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
839 * progmodes/python.el
840 (python-shell-with-shell-buffer): New macro.
841 (python-shell-font-lock-get-or-create-buffer)
842 (python-shell-font-lock-kill-buffer)
843 (python-shell-font-lock-with-font-lock-buffer)
844 (python-shell-font-lock-cleanup-buffer)
845 (python-shell-font-lock-toggle): Use it.
846 (python-shell-font-lock-turn-on)
847 (python-shell-font-lock-turn-off): Use it. Make command.
849 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
851 Grab all Python process output before inferior-python-mode hooks.
852 * progmodes/python.el (inferior-python-mode):
853 Call accept-process-output and sit-for to ensure all output for process
854 has been received before running hooks.
855 (python-shell-internal-get-or-create-process):
856 Cleanup accept-process-output and sit-for calls.
858 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
860 More robust shell startup and code setup.
861 * progmodes/python.el (python-shell-make-comint):
862 Remove accept-process-output call.
863 (python-shell-get-buffer): Return current buffer if major-mode is
864 inferior-python-mode.
865 (python-shell-get-or-create-process): Use it.
866 (python-shell-send-setup-code): Send all setup code in one string,
867 output success message and accept-process-output.
869 2014-07-27 Eli Zaretskii <eliz@gnu.org>
871 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
872 Add rudimentary support for bidirectional text.
874 2014-07-27 Martin Rudalics <rudalics@gmx.at>
876 * frame.el (frame-notice-user-settings): Rewrite using
877 frame-initial-frame-tool-bar-height.
878 * menu-bar.el (menu-bar-horizontal-scroll-bar)
879 (menu-bar-no-horizontal-scroll-bar): New functions.
880 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
882 * scroll-bar.el (scroll-bar-lines)
883 (set-horizontal-scroll-bar-mode)
884 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
885 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
886 (scroll-bar-toolkit-horizontal-scroll): New functions.
887 (horizontal-scroll-bar-mode)
888 (previous-horizontal-scroll-bar-mode)
889 (horizontal-scroll-bar-mode-explicit): New variables.
890 (horizontal-scroll-bar-mode): New option.
891 (toggle-horizontal-scroll-bar): Do something.
892 (top-level): Bind horizontal-scroll-bar mouse-1.
893 * startup.el (tool-bar-originally-present): Remove variable.
894 (command-line): Don't set tool-bar-originally-present.
895 * window.el (window-min-height): Update doc-string.
896 (window--dump-frame): Dump horizontal scroll bar values.
897 (window--min-size-1): Handle minibuffer window separately.
898 Count in margins and horizontal scroll bar. Return safe value
899 iff IGNORE equals 'safe.
900 (frame-windows-min-size): New function (used by frame resizing
902 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
904 (window--sanitize-window-sizes): New function.
905 (window-split-min-size): Remove.
906 (split-window): Count divider-width. Don't use
907 `window-split-min-size' any more. Reword error messages.
908 Sanitize windows sizes after splitting.
910 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
912 Use `defvar-local' more.
913 * progmodes/hideshow.el
914 (hs-c-start-regexp, hs-block-start-regexp)
915 (hs-block-start-mdata-select, hs-block-end-regexp)
916 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
917 remove corresponding `make-variable-buffer-local' top-level calls.
919 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
921 Cleanup error signals. (Bug#18067)
922 * progmodes/python.el
923 (python-indent-shift-left): Use user-error instead.
924 (python-shell-prompt-detect): Use lwarn with python group.
925 (python-completion-complete-at-point)
926 (python-eldoc--get-doc-at-point): Don't signal error.
928 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
930 Support for packages in Python shell. (Bug#13570)
931 * progmodes/python.el (python-shell--package-depth): New var.
932 (python-shell-package-enable): New command.
933 (python-util-list-directories, python-util-list-files)
934 (python-util-list-packages): New functions.
936 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
938 Faster comint output. (Bug#16875)
939 * progmodes/python.el:
940 (python-comint-output-filter-function): Make obsolete.
941 (python-comint-postoutput-scroll-to-bottom): New function.
942 (inferior-python-mode): Set comint-output-filter-functions to a
945 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
947 * progmodes/python.el (python-shell-font-lock-post-command-hook):
948 Safeguard current point and undo history.
950 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
952 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
953 * progmodes/python.el:
954 (python-shell-prompt-input-regexps): Add iPython block prompt.
955 (python-shell-output-syntax-table): Delete var.
956 (python-shell-font-lock-with-font-lock-buffer): New macro.
957 (python-shell-font-lock-get-or-create-buffer)
958 (python-shell-font-lock-kill-buffer)
959 (python-shell-font-lock-cleanup-buffer)
960 (python-shell-font-lock-post-command-hook)
961 (python-shell-font-lock-turn-off): New functions.
962 (python-shell-font-lock-turn-on): New function.
963 (inferior-python-mode): Use it.
964 (python-shell-font-lock-toggle): New command.
965 (python-shell-font-lock-enable): Rename from
966 python-shell-enable-font-lock.
967 (run-python-internal): Use it.
968 (python-shell-font-lock-comint-output-filter-function): New function.
969 (python-shell-comint-end-of-output-p): New function.
970 (python-shell-output-filter): Use it.
971 (python-util-comint-last-prompt): New function.
972 (python-util-text-properties-replace-name): New function.
974 2014-07-25 Glenn Morris <rgm@gnu.org>
976 * vc/ediff-init.el (ediff-toggle-read-only-function):
977 * vc/ediff-util.el (ediff-toggle-read-only):
978 Replace obsolete toggle-read-only with read-only-mode.
980 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
982 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
983 with `save-match-data'. (Bug#18095)
985 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
987 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
988 order to ensure that row and col are lexically bound inside the
991 2014-07-21 Glenn Morris <rgm@gnu.org>
993 * progmodes/hideif.el (hide-ifdef-mode-submap):
994 Also substitute read-only-mode.
995 * bindings.el (mode-line-toggle-read-only):
996 * bs.el (bs-toggle-readonly):
997 * buff-menu.el (Buffer-menu-toggle-read-only):
998 * dired.el (dired-toggle-read-only):
999 * files.el (view-read-only, find-file-read-only)
1000 (find-file-read-only-other-window)
1001 (find-file-read-only-other-frame):
1002 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1003 Doc fixes re toggle-read-only.
1005 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1007 * progmodes/python.el: Add comment about pipe buffering and
1008 solutions for missing/delayed output in inferior Python shells.
1011 * progmodes/python.el (python-mode): Don't set
1012 mode-require-final-newline. (Bug#17990)
1014 Make python.el work with IPython automatically. (Bug#15510)
1015 * progmodes/python.el:
1016 (python-shell-completion-setup-code): New value supporting iPython.
1017 (python-shell-completion-string-code): New value supporting iPython.
1018 (python-shell-completion-get-completions): Use them.
1019 (python-shell-completion-module-string-code): Make obsolete.
1020 (python-shell-prompt-input-regexps)
1021 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1022 (python-shell-output-filter): Fix comment typo.
1024 Fix Python shell prompts detection for remote hosts.
1025 * progmodes/python.el (python-shell-prompt-detect):
1026 Replace call-process with process-file and make it more robust.
1028 Autodetect Python shell prompts. (Bug#17370)
1029 * progmodes/python.el:
1030 (python-shell-interpreter-interactive-arg)
1031 (python-shell-prompt-detect-enabled)
1032 (python-shell-prompt-detect-failure-warning)
1033 (python-shell-prompt-input-regexps)
1034 (python-shell-prompt-output-regexps): New vars.
1035 (python-shell-prompt-calculated-input-regexp)
1036 (python-shell-prompt-calculated-output-regexp): New vars.
1037 (python-shell-get-process-name)
1038 (python-shell-internal-get-process-name)
1039 (python-shell-output-filter)
1040 (python-shell-completion-get-completions): Use them.
1041 (python-shell-prompt-detect)
1042 (python-shell-prompt-validate-regexps): New functions.
1043 (python-shell-prompt-set-calculated-regexps): New function.
1044 (inferior-python-mode): Use it. Also honor overriden
1045 python-shell-interpreter and python-shell-interpreter-args.
1046 (python-shell-make-comint): Honor overriden
1047 python-shell-interpreter and python-shell-interpreter-args.
1048 (python-shell-get-or-create-process): Make it testable by allowing
1049 to call run-python non-interactively.
1050 (python-util-valid-regexp-p): New function.
1051 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1052 (python-shell-prompt-output-regexp)
1053 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1055 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1059 (smie-config--guess): Use it.
1061 * emacs-lisp/edebug.el: Use nadvice.
1062 (edebug-original-read): Remove.
1063 (edebug--read): Rename from edebug-read and add `orig' arg.
1064 (edebug-uninstall-read-eval-functions)
1065 (edebug-install-read-eval-functions): Use nadvice.
1066 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1067 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1068 (edebug-read-string, edebug-read-function): Use just `read'.
1069 (edebug-original-debug-on-entry): Remove.
1070 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1072 (debug-on-entry): Override with nadvice.
1074 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1075 it also makes sense to bind it to a non-mouse event.
1077 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1079 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1084 * rect.el (rectangle--string-preview): Don't assume there
1085 a non-nil default (bug#17984).
1087 2014-07-16 Glenn Morris <rgm@gnu.org>
1089 * desktop.el (after-init-hook): Disable startup frame restoration
1090 in non-graphical situations. (Bug#17693)
1092 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1093 if it was "empty", or used for a different set of files. (Bug#17884)
1095 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1097 * bindings.el (mode-line-remote): If default-directory is not a
1098 string, don't call file-remote-p on it; instead state in the
1099 help-echo that it is nil. (Bug#17986)
1101 2014-07-14 Daniel Colascione <dancol@dancol.org>
1103 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1104 to `macroexpand-all'
1106 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1107 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1109 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1111 Fix bug: C-x v v discarded existing log message (Bug#17884).
1112 * vc/vc-dispatcher.el (vc-log-edit):
1113 Don't clobber an already-existing log message.
1115 2014-07-12 Glenn Morris <rgm@gnu.org>
1117 * vc/log-edit.el (log-edit-changelog-entries):
1118 Check for a visited-but-never-saved ChangeLog.
1120 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1123 a non-existing file (bug#17970).
1125 * faces.el (face-name): Undo last change.
1126 (x-resolve-font-name): Don't call face-name (bug#17956).
1128 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1130 Fix dedenters and electric colon handling. (Bug#15163)
1131 * progmodes/python.el
1132 (python-rx-constituents): Add dedenter and block-ender.
1133 (python-indent-dedenters, python-indent-block-enders): Delete.
1134 (python-indent-context): Return new case for dedenter-statement.
1135 (python-indent-calculate-indentation): Handle new case.
1136 (python-indent-calculate-levels): Fix levels calculation for
1137 dedenter statements.
1138 (python-indent-post-self-insert-function): Fix colon handling.
1139 (python-info-dedenter-opening-block-message): New function.
1140 (python-indent-line): Use it.
1141 (python-info-closing-block)
1142 (python-info-closing-block-message): Remove.
1143 (python-info-dedenter-opening-block-position)
1144 (python-info-dedenter-opening-block-positions)
1145 (python-info-dedenter-statement-p): New functions.
1147 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1149 * files.el (out-of-memory-warning-percentage): New defcustom.
1150 (warn-maybe-out-of-memory): Use it.
1152 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1154 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1155 when calling `read-string'. (Bug#17839)
1157 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1159 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1162 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1164 * files.el (warn-maybe-out-of-memory): New function.
1165 (find-file-noselect): Use it.
1167 2014-07-09 Sam Steingold <sds@gnu.org>
1169 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1170 `constant' like `bless', `return' &c
1172 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1177 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1180 the middle of a line (bug#17896).
1182 2014-07-09 Juri Linkov <juri@jurta.org>
1184 * startup.el (command-line): Append displaying the warning about
1185 the errors in the init file to the end of `after-init-hook'.
1188 * faces.el (face-name): Return input arg `face' as-is
1189 when it's not a symbol.
1190 (x-resolve-font-name): Don't check if the face is a symbol.
1193 * facemenu.el (list-colors-print): In help-echo format use %.2f
1194 instead of %d because now HSV values are floating-point components
1195 between 0.0 and 1.0.
1197 2014-07-09 Glenn Morris <rgm@gnu.org>
1199 * emulation/cua-rect.el (cua--activate-rectangle):
1200 Avoid setting cua--rectangle to nil. (Bug#17877)
1202 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1204 * calendar/todo-mode.el: Fix wrong-type-argument error when
1205 marking multiple consecutive items.
1206 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1207 end of the todo and done items sections. Note in doc string that
1208 items marked by passing a numeric prefix argument can include the
1209 last todo and first done items.
1210 (todo-mark-category): Don't try to mark the empty line between the
1211 todo and done items sections.
1213 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1216 proper Lisp quoting (bug#17934).
1218 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1219 require-final-newline since prog-mode already took care of it (bug#17947).
1221 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1223 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1224 refer to the Todo mode Info manual. Update the comment on
1226 (todo-find-filtered-items-file): Add todo-prefix overlays.
1227 (todo-filter-items): Reorder a let-bound variable to avoid a
1228 wrong-type-argument error on canceling the file choice dialog.
1230 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1232 * progmodes/octave.el (inferior-octave-mode):
1233 Set comint-input-ring-size to a number (bug#17912).
1235 2014-07-09 Juri Linkov <juri@jurta.org>
1237 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1238 and `isearch-mode' associated with nil. (Bug#17849)
1240 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * linum.el (linum--face-height): New function (bug#17813).
1243 (linum-update-window): Use it to adjust margin to linum's width.
1245 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1246 * eshell/em-smart.el (eshell-smart-scroll-window):
1247 Use with-selected-window.
1249 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1250 Remove also pointless window&mark manipulation.
1252 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1253 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1254 (perl-continuation-line-p): Don't skip over anything else than labels.
1255 Return the previous char.
1256 (perl-calculate-indent): Use syntax-ppss instead of parse-start
1257 and update callers accordingly. For continuation lines, check the
1258 the case of array hashes.
1259 (perl-backward-to-noncomment): Make it non-interactive.
1260 (perl-backward-to-start-of-continued-exp): Rewrite.
1262 2014-07-08 Sam Steingold <sds@gnu.org>
1264 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1267 2014-07-08 Juri Linkov <juri@jurta.org>
1269 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1270 (vc-annotate-color-map): Use less saturated colors (20%) for
1272 (vc-annotate-very-old-color): Add default value for background-mode.
1273 (vc-annotate-background): Set default value to nil since now text on
1274 the default backgrounds should be legible in light and dark modes.
1275 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
1278 2014-07-08 Juri Linkov <juri@jurta.org>
1280 * simple.el (transpose-chars): Don't move point into read-only area.
1283 2014-07-08 Juri Linkov <juri@jurta.org>
1285 * window.el (with-displayed-buffer-window): New macro.
1286 (with-temp-buffer-window, with-current-buffer-window):
1287 Use `macroexp-let2' to evaluate and bind variables
1288 in the same order as macro arguments.
1289 (display-buffer--action-function-custom-type):
1290 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1292 * minibuffer.el (minibuffer-completion-help): Replace
1293 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1294 with actions that display *Completions* at-bottom when called
1295 from the minibuffer, or below-selected in a normal buffer.
1296 Associate `window-height' with `fit-window-to-buffer'.
1297 Let-bind `pop-up-windows' to nil.
1299 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1300 instead of `with-current-buffer-window'. (Bug#17809)
1302 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1304 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1305 (hide-ifdef-env-backup): New variable.
1306 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1307 New customizable variables.
1308 (hif-clear-all-ifdef-defined): New defun.
1309 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1310 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1311 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1312 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1313 Fix bug to hide the correct #elif region(s).
1314 (hif-range-elif): New defun.
1315 (hif-recurse-level): New var.
1316 (hif-evaluate-region, hif-evaluate-macro): New defun.
1317 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1319 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1322 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1324 * net/dbus.el (dbus-peer-handler): New defun.
1325 (dbus-register-service): Register it. (Bug#17858)
1326 (dbus-managed-objects-handler): Fix docstring.
1328 2014-07-04 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1330 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1331 (narrow-to-defun): New arg include-comments, defaulting to it
1334 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1337 different calling convention to rectangle--unhighlight-for-redisplay.
1339 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1341 * net/tramp.el (tramp-call-process): Handle error strings.
1343 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1345 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1346 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1348 * net/trampver.el: Update release number.
1350 2014-07-03 Juri Linkov <juri@jurta.org>
1352 * desktop.el (desktop-save): Rename arg `auto-save' to
1353 `only-if-changed'. Doc fix. (Bug#17873)
1355 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1358 Use insert-for-yank (bug#17271).
1360 2014-07-03 Leo Liu <sdl.web@gmail.com>
1362 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1363 Support lexical-binding.
1365 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * vc/log-edit.el (log-edit-goto-eoh): New function.
1368 (log-edit--match-first-line): Use it (bug#17861).
1370 2014-07-03 Glenn Morris <rgm@gnu.org>
1372 * vc/log-edit.el (log-edit-hook): Add missing :version.
1374 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1376 * progmodes/python.el (python-indent-post-self-insert-function):
1377 Enhancements to electric indentation behavior inside
1380 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1383 buffer-invisibility-spec (bug#17867).
1385 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1387 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1390 2014-07-03 Glenn Morris <rgm@gnu.org>
1392 * cus-edit.el (help):
1393 * finder.el (finder-known-keywords):
1394 * help.el (help-for-help-internal):
1395 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1396 (ediff-redraw-registry-buffer):
1397 * vc/ediff-ptch.el (ediff-patch-file-internal):
1398 Doc fixes re "online" help. (Bug#17803)
1400 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1401 (idlwave-mode): Doc URL update.
1403 2014-07-01 Juri Linkov <juri@jurta.org>
1405 * man.el: Display man pages immediately and use process-filter
1406 to format them asynchronously.
1407 (Man-width): Doc fix.
1409 (Man-start-calling): Use `with-selected-window' to get
1410 `frame-width' and `window-width'.
1411 (Man-getpage-in-background): Call `Man-notify-when-ready'
1412 immediately after creating a new buffer. Call `Man-mode' and set
1413 `mode-line-process' in the created buffer. Set process-filter to
1414 `Man-bgproc-filter' in start-process branch. In call-process branch
1415 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1416 Use `Man-start-calling' inside `with-current-buffer'.
1417 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
1418 (Man-cleanup-manpage): Don't print messages.
1419 (Man-bgproc-filter): New function.
1420 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1421 user moved it during asynchronous formatting. Move calls of
1422 `Man-fontify-manpage' and `Man-cleanup-manpage' to
1423 `Man-bgproc-filter'. Move the call of `Man-mode' to
1424 `Man-getpage-in-background'. Use `quit-restore-window'
1425 instead of `kill-buffer'. Use `message' instead of `error'
1426 because errors are caught by process sentinel.
1427 (Man-mode): Move calls of `Man-build-page-list',
1428 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1429 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
1431 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1432 for the message about the man page cleaned up.
1434 2014-07-01 Mario Lang <mlang@delysid.org>
1436 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1437 cosutomization option `gnutls-verify-error'.
1439 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1442 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1444 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1445 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1446 is suspended (bug#17857).
1448 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
1450 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1451 Prefer utf-8 coding. (Bug#17859)
1453 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1455 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1458 2014-06-30 Glenn Morris <rgm@gnu.org>
1460 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1461 (autoload-ensure-default-file): Maybe make existing output writable.
1462 * Makefile.in (AUTOGEN_VCS): Remove.
1463 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1465 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1467 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1469 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1471 New if-let, when-let, thread-first and thread-last macros.
1473 * emacs-lisp/subr-x.el
1474 (internal--listify, internal--check-binding)
1475 (internal--build-binding-value-form, internal--build-binding)
1476 (internal--build-bindings): New functions.
1477 (internal--thread-argument, thread-first, thread-last)
1478 (if-let, when-let): New macros.
1480 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
1482 * net/rcirc.el (rcirc-buffer-process): Restore previous
1483 behaviour. (Bug#17772)
1485 2014-06-29 Alan Mackenzie <acm@muc.de>
1487 Don't call c-parse-state when c++-template-syntax-table is active.
1488 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1489 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1490 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1492 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1494 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1495 account for file-wide setting of todo-top-priorities-overrides.
1496 Make code a bit cleaner.
1498 2014-06-28 Glenn Morris <rgm@gnu.org>
1500 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1502 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1504 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1505 category-wide setting of todo-top-priorities-overrides, check for
1506 a file-wide setting and fontify accordingly.
1508 2014-06-28 Glenn Morris <rgm@gnu.org>
1510 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1512 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1514 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
1516 2014-06-28 K. Handa <handa@gnu.org>
1520 * composite.el: Setup composition-function-table for dotted circle.
1521 (compose-gstring-for-dotted-circle): New function.
1523 * international/characters.el: Add category "^" to all
1524 non-spacing characters.
1526 2014-06-28 Glenn Morris <rgm@gnu.org>
1528 * Makefile.in (doit): Remove force rule.
1529 (custom-deps, finder-data, autoloads, update-subdirs)
1530 (compile-one-process): PHONY targets do not need force rules.
1532 * Makefile.in (compile-main, compile, compile-always):
1533 No need to explicitly pass variables to ourself in recursive calls.
1535 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1539 2014-06-26 Glenn Morris <rgm@gnu.org>
1541 * Makefile.in (update-authors): Update for moved authors.el.
1543 2014-06-26 Leo Liu <sdl.web@gmail.com>
1545 * skeleton.el (skeleton-end-hook): Default to nil and move the
1546 work to skeleton-insert. (Bug#17850)
1548 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
1550 * calc/calc-alg.el (math-beforep):
1551 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1552 Simplify because string-lessp can accept symbols as args.
1554 2014-06-26 Daiki Ueno <ueno@gnu.org>
1556 * emacs-lisp/package.el (package--check-signature):
1557 If package-check-signature is allow-unsigned, don't signal error when
1558 we can't verify signature because of missing public key
1561 2014-06-26 Glenn Morris <rgm@gnu.org>
1563 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1564 Remove outdated declaration.
1566 * emacs-lisp/authors.el (authors-valid-file-names)
1567 (authors-renamed-files-alist): Additions.
1569 2014-06-26 Leo Liu <sdl.web@gmail.com>
1571 * textmodes/picture.el (picture-set-tab-stops):
1572 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1573 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1575 * progmodes/asm-mode.el (asm-calculate-indentation):
1576 Use indent-next-tab-stop.
1578 * indent.el (indent-accumulate-tab-stops): New function.
1580 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1583 (package-desc-status): Obey it.
1585 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1587 * calendar/todo-mode.el: Fix two bugs.
1588 (todo-insert-item--basic): If user cancels item insertion to
1589 another category before setting priority, show original category
1590 whether it is in the same or a different file.
1591 (todo-set-item-priority): After selecting category, instead of
1592 moving point to top, which extends an active region, restore it.
1594 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * help-fns.el (describe-function-1): Check file-name is a string before
1597 calling help-fns--autoloaded-p (bug#17564).
1599 2014-06-26 Juri Linkov <juri@jurta.org>
1601 * desktop.el (desktop-auto-save-enable)
1602 (desktop-auto-save-disable): New functions.
1603 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1604 (desktop-read): Disable the autosave before loading the desktop,
1605 and enable afterwards. (Bug#17351)
1607 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1609 Fix some indentation problem with \; and pipes (bug#17842).
1610 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1611 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1613 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1614 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1615 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1617 2014-06-26 Glenn Morris <rgm@gnu.org>
1619 * emacs-lisp/find-func.el (find-function-C-source-directory):
1620 Use file-accessible-directory-p.
1622 * ps-samp.el: Make it slightly less awful.
1623 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1624 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1625 Only set local values.
1626 (ps-article-subject, ps-article-author): Use standard functions
1627 like mail-fetch-field.
1628 (ps-info-file, ps-info-node): Use match-string.
1629 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1630 (ps-samp-ps-setup): ... new function.
1632 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1633 Optimize away code unneeded on any modern Emacs.
1635 * emacs-lisp/authors.el: Move to ../admin.
1637 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1639 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
1641 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1642 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1643 performance enhancements.
1644 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
1646 (hif-factor, hif-string-concatenation, intern-safe): Support string
1647 concatenation and argumented macro expansion.
1648 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1649 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1650 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1651 (hif-canonicalize-tokens, hif-place-macro-invocation)
1652 (hif-parse-macro-arglist): Mostly new functions for supporting
1653 argumented macro expansion.
1654 (hif-string-concatenation, hif-stringify, hif-token-concat)
1655 (hif-token-stringification, hif-token-concatenation):
1656 Stringification and concatenation.
1657 (hif-find-next-relevant): Fix comments.
1658 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1659 some cases involving #elif.
1660 (hif-find-define, hif-add-new-defines): New functions for automatically
1661 scanning of defined symbols.
1662 (hide-ifdef-guts): Fix for defined symbol auto scanning.
1663 (hide-ifdef-undef): Fix behavior to match CPP.
1665 2014-06-25 Glenn Morris <rgm@gnu.org>
1667 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1668 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1669 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1670 files. They are not relevant to the original issue (bug#1004),
1671 and cause unnecessary recompilation (bug#2151).
1673 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * play/landmark.el: Use lexical-binding and avoid `intangible'.
1676 (landmark--last-pos): New var.
1677 (landmark--intangible-chars): New const.
1678 (landmark--intangible): New function.
1679 (landmark-mode, landmark-move): Use it.
1680 (landmark-mode): Remove properties.
1681 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1682 (landmark-cross-qtuple):
1683 Don't worry about `intangible' any more.
1684 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1685 (landmark-init-display): Don't set `intangible' and `point-entered'.
1686 (square): Remove. Inline it instead.
1687 (landmark--distance): Rename from `distance'.
1688 (landmark-calc-distance-of-robot-from): Rename from
1689 calc-distance-of-robot-from.
1690 (landmark-calc-smell-internal): Rename from calc-smell-internal.
1692 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
1694 * files.el (dir-locals-find-file, file-relative-name):
1695 * info.el (Info-complete-menu-item):
1696 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1697 to compare-strings to avoid out-of-range errors.
1698 * subr.el (string-prefix-p): Adjust to match strict range
1699 checking in compare-strings.
1701 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
1703 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1704 for comment lines non-greedy and stopping at newlines to fix stack
1705 overflows with large files.
1707 2014-06-24 Eli Barzilay <eli@barzilay.org>
1709 * calculator.el (calculator-last-input): Drop 'ascii-character property
1712 2014-06-24 Leo Liu <sdl.web@gmail.com>
1714 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1715 tab-stop-list to nil. (Bug#16381)
1717 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1718 (indent-rigidly-left-to-tab-stop)
1719 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1720 (move-to-tab-stop): Change callers.
1722 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1724 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1725 wrt behavior of \n as the first/last element of a skeleton.
1727 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
1729 * net/tramp-adb.el (tramp-adb-handle-process-file):
1730 * net/tramp-sh.el (tramp-sh-handle-process-file):
1731 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1732 the output buffer when DISPLAY is non-nil. (Bug#17815)
1734 2014-06-24 Glenn Morris <rgm@gnu.org>
1736 * play/landmark.el (landmark-move-down, landmark-move-up):
1737 Fix 2007-10-20 change - preserve horizontal position.
1739 2014-06-23 Sam Steingold <sds@gnu.org>
1741 * simple.el (kill-append): Remove undo boundary depending on ...
1742 (kill-append-merge-undo): New user option.
1744 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1746 * simple.el (handle-shift-selection, exchange-point-and-mark)
1747 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1748 (transient-mark-mode): Use&set the global value.
1749 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1750 * emulation/edt.el (edt-emulation-off): Save&restore the global
1751 transient-mark-mode setting.
1752 * obsolete/pc-select.el (pc-selection-mode): Use the
1753 transient-mark-mode function.
1755 2014-06-23 Eli Zaretskii <eliz@gnu.org>
1757 * international/fontset.el (script-representative-chars):
1758 Add representative characters for scripts added in Unicode 7.0.
1759 (otf-script-alist): Synchronize with the latest registry of OTF
1762 * international/characters.el (char-script-table): Update for
1763 scripts added and codepoint ranges changed in Unicode 7.0.
1765 2014-06-23 Eli Barzilay <eli@barzilay.org>
1767 * calculator.el (calculator-standard-displayer): Fix bug in use of
1768 `calculator-groupize-number'.
1769 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1770 `eval' code, so it works in v24.3.1 too.
1771 (calculator-last-input): Comment to clarify purpose.
1773 2014-06-22 Mario Lang <mlang@delysid.org>
1775 * textmodes/rst.el (rst-comment-region): From from -> from.
1777 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1779 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
1781 * electric.el (electric-layout-post-self-insert-function):
1782 * emacs-lisp/ert.el (ert--insert-infos):
1783 * obsolete/vi.el (vi-set-mark):
1784 * term.el (term-handle-scroll):
1785 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1786 * wid-edit.el (widget-editable-list-value-create):
1787 Prefer point-marker to copy-marker of point.
1789 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1791 Fix completion retrieval parsing (bug#17209).
1792 * progmodes/python.el (python-mode):
1793 (python-util-strip-string): New function.
1794 (python-shell-completion-get-completions): Use it.
1796 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1798 * skeleton.el (skeleton-insert): Fix last change.
1800 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1802 Enhancements for outline integration (bug#17796).
1803 * progmodes/python.el (python-mode): Properly set
1804 outline-heading-end-regexp so that comments after colons for
1805 defuns are supported.
1807 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1809 * skeleton.el (skeleton-insert): Doc fix.
1811 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1814 (smie-config-guess): Use smie-config-local so the rules are obeyed
1817 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1818 since it's already done inside the loop (bug#17819).
1820 2014-06-21 Martin Rudalics <rudalics@gmx.at>
1822 * mouse.el (mouse-drag-line): Re-remove code initially removed
1823 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1826 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1828 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1829 align with the surrounding parent (bug#17721).
1831 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1833 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1835 (texinfo-insert-block, texinfo-insert-@end)
1836 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1837 local setting of skeleton-end-newline by adding an explicit \n to
1838 the skeletons where appropriate. (Bug#17801)
1840 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1842 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1843 (smie-indent--hanging-p): Use it.
1844 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1846 2014-06-21 Leo Liu <sdl.web@gmail.com>
1848 * simple.el (read-quoted-char): Don't let help chars pop up help
1851 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1856 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1857 Drop unknown events instead of burping.
1859 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1861 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1862 and later. (Bug#17790)
1864 2014-06-21 Juri Linkov <juri@jurta.org>
1866 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1867 to `soft'. (Bug#17554)
1869 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1874 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
1876 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1877 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1879 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
1881 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1882 `unread-command-events'.
1884 2014-06-19 William Xu <william.xwl@gmail.com>
1886 * progmodes/hideif.el (hif-string-to-number): Don't return float for
1887 hex integer constants (bug#17807).
1889 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1891 * international/mule-util.el (truncate-string-ellipsis): New var.
1892 (truncate-string-to-width): Use it.
1894 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
1896 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1897 (lisp-string-in-doc-position-p): New function, extracted from
1898 lisp-font-lock-syntactic-face-function.
1899 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1901 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
1903 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
1905 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1907 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1908 (bubbles--game-over): Don't add `intangible' properties since they
1911 2014-06-18 Juri Linkov <juri@jurta.org>
1913 * vc/ediff-init.el (ediff-current-diff-Ancestor)
1914 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1915 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1916 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1917 Add `min-colors 88' version with removed black/white foregrounds.
1920 2014-06-18 Juri Linkov <juri@jurta.org>
1922 * vc/diff-mode.el (diff-changed): Empty face definition to use
1923 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
1924 (diff-context): Use darker color on light background and
1925 lighter color on dark background.
1927 2014-06-18 Juri Linkov <juri@jurta.org>
1929 * vc/diff-mode.el (diff-refine-changed): Rename from
1930 `diff-refine-change' for consistency with `diff-changed'.
1931 (diff-refine-change): Add obsolete face alias. (Bug#10181)
1933 * vc/smerge-mode.el (smerge-refined-changed): Rename from
1934 `smerge-refined-change'.
1935 (smerge-refined-change): Add obsolete face alias.
1937 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * rect.el (rectangle-preview): New custom.
1940 (rectangle): New group.
1941 (rectangle--pos-cols): Add `window' argument.
1942 (rectangle--string-preview-state, rectangle--string-preview-window):
1944 (rectangle--string-flush-preview, rectangle--string-erase-preview)
1945 (rectangle--space-to, rectangle--string-preview): New functions.
1946 (string-rectangle): Use them.
1947 (rectangle--inhibit-region-highlight): New var.
1948 (rectangle--highlight-for-redisplay): Obey it. Make sure
1949 `apply-on-region' uses the point-crutches of the right window.
1950 Use :align-to rather than multiple spaces.
1952 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
1954 * ruler-mode.el (ruler-mode-window-col)
1955 (ruler-mode-mouse-set-left-margin)
1956 (ruler-mode-mouse-set-right-margin): Fix calculation of column
1957 from mouse position (Bug#17768).
1959 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
1961 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1962 without varname or rhs causes crash.
1963 (dun-ftp): Fix bug where blank ftp password is allowed, making it
1964 impossible to win endgame.
1965 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1967 (dun-help): Bump version number; update contact info.
1969 2014-06-15 Eli Barzilay <eli@barzilay.org>
1971 * calculator.el (calculator-prompt, calculator-remove-zeros)
1972 (calculator-mode-hook, calculator-operators, calculator-stack)
1973 (calculator-mode): Tweak docstring.
1974 (calculator-user-operators): Tweak docstring, fix a bug in the last
1976 (calculator-displayer): `std' case has an optional boolean.
1977 (calculator-displayers): Use the new boolean to group in decimal mode.
1978 (calculator-mode-map, calculator, calculator-message)
1979 (calculator-op-arity, calculator-add-operators)
1980 (calculator-string-to-number, calculator-displayer-prev)
1981 (calculator-displayer-next, calculator-remove-zeros)
1982 (calculator-eng-display, calculator-number-to-string)
1983 (calculator-update-display, calculator-last-input)
1984 (calculator-clear-fragile, calculator-digit, calculator-decimal)
1985 (calculator-exp, calculator-saved-move, calculator-clear)
1986 (calculator-copy, calculator-put-value, calculator-help)
1987 (calculator-expt, calculator-truncate): Minor code improvements.
1988 (calculator-need-3-lines): New function pulling out code from
1990 (calculator-get-display): Rename from `calculator-get-prompt', and
1992 (calculator-push-curnum): Rename from `calculator-curnum-value', and
1993 extended for all uses of it. All callers changed.
1994 (calculator-groupize-number): New utility for splitting a number into
1996 (calculator-standard-displayer): Improve code, new optional argument to
1997 use comma-split groups, make second argument optional too to use with
1998 'left/'right inputs. All callers changed.
1999 (calculator-reduce-stack-once): New utility, doing the meat of what
2000 `calculator-reduce-stack' used to do, much improved (mostly using
2001 `pcase' for conciseness and clarity).
2002 (calculator-reduce-stack): Now doing just the reduction loop using
2003 `calculator-reduce-stack-once'.
2004 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2005 (calculator-last-input): Improve code, remove some old cruft.
2006 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2007 (calculator-integer-p): Remove.
2008 (calculator-fact): Improve code, make it work on non-integer values
2009 too (using truncated numbers).
2011 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2013 Sync with Tramp 2.2.10.
2015 * net/tramp.el (tramp-methods): Tweak docstring.
2016 (tramp-handle-file-accessible-directory-p): Check for
2017 `file-readable-p' instead of `file-executable-p'.
2018 (tramp-check-cached-permissions):
2019 Use `tramp-compat-file-attributes'.
2020 (tramp-call-process): Add new argument VEC. Adapt callees in all
2023 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2024 (tramp-adb-maybe-open-connection): Don't set
2025 `tramp-current-*' variables.
2027 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2028 file properties of temporary buffers.
2030 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2032 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2033 (tramp-gvfs-handle-delete-file): Flush file
2034 properties, not directory properties.
2035 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2036 reading "unix::mode".
2037 (tramp-gvfs-handle-file-name-all-completions):
2038 Use "-h" option for "gvfs-ls".
2039 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2040 (tramp-gvfs-send-command): Simplify traces.
2042 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2043 (vc-git-program, vc-hg-program): Declare.
2044 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2045 (tramp-methods) <nc>: Add new method.
2046 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2047 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2049 (tramp-default-user-alist): Add "nc".
2050 (top): Remove completion function for "sftp". Add completion
2051 functions for "nc" and "psftp".
2052 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2053 Implement support for "nc" method.
2054 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2055 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2057 (tramp-sh-handle-write-region): Tweak error message.
2058 (tramp-sh-handle-vc-registered): Remove backends when the remote
2059 binary does not exist.
2060 (tramp-find-inline-encoding): Do not raise an error.
2061 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2062 the "nc" case. Quote result also locally.
2064 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2065 (tramp-smb-handle-set-file-acl): Use `start-process'.
2066 (tramp-smb-handle-insert-directory): Use progress reporter.
2067 (tramp-smb-handle-rename-file): Flush also file properties of
2070 * net/trampver.el: Update release number.
2072 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2076 (ses-localvars): Remove ses--local-printer-list, unused.
2077 (ses--metaprogramming): New macro. Use it to defvar variables.
2078 (ses-set-localvars): Simplify.
2079 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2080 property-list into an alist.
2081 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2082 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2083 Remove; use defstruct accessors/setters instead.
2084 (ses-cell-formula-aset, ses-cell-printer-aset)
2085 (ses-cell-references-aset): Remove, use setf instead.
2086 (ses--alist-get): New function.
2087 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2088 Use an alist instead of a plist and don't do move-to-front since the
2089 list is always short.
2090 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2091 (ses-cell-property-set-fun, ses-cell-property-set)
2092 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2093 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2094 (ses--letref): New macro.
2095 (ses-cell-property-pop): Rewrite.
2096 (ses--cell): Rename from ses-cell and make it into a function.
2097 Make `formula' fallback on `value' if nil.
2098 (ses--local-printer): Rename from ses-local-printer and make it into
2100 (ses-set-cell): Turn it into a macro so finding the accessor from the
2101 field name is done at compile time.
2102 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2103 `ref' before adding `sym' to :ses-repair-reference.
2104 (ses-calculate-cell): Use ses--letref rather than
2105 ses-cell-property-get-handle.
2106 (ses-write-cells): Use a single prin1-to-string.
2107 (ses-setter-with-undo): New function.
2108 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2109 (ses-unset-with-undo): Remove.
2110 (ses-load): Prefer apply' over `eval'.
2111 (ses-read-printer, ses-set-column-width): Use standard "(default
2114 2014-06-15 Glenn Morris <rgm@gnu.org>
2116 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2118 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2119 Replace delete-duplicates and mapcan by cl- versions throughout.
2120 And cl-macroexpand-all by macroexpand-all.
2121 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2123 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2125 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2127 2014-06-15 Juri Linkov <juri@jurta.org>
2129 * bindings.el: Put `ascii-character' property on keypad keys
2130 mapped to characters. (Bug#17759)
2132 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2135 bumping forward into a closing paren (bug#17761).
2137 * term/xterm.el (xterm--version-handler): Work around for OSX
2138 Terminal.app (bug#17607).
2140 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2142 * play/dunnet.el (dun-describe-room, dun-mode):
2143 If a lamp is in the room, you won't be eaten by a grue.
2145 2014-06-13 Glenn Morris <rgm@gnu.org>
2147 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2148 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2149 (compile-always): GNU make automatically passes
2150 command-line arguments to sub-makes.
2152 * calendar/calendar.el (calendar-generate-window):
2153 Remove pointless call to font-lock-fontify-buffer.
2155 2014-06-13 Matthias Meulien <orontee@gmail.com>
2157 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2160 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * simple.el (set-mark-command): Simplify a bit.
2164 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2166 * help.el (help--key-binding-keymap): New function.
2167 (help--binding-locus): New function.
2168 (describe-key): Mention the keymap in which the binding was
2171 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2173 * hippie-exp.el (he--all-buffers): New function.
2174 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2175 (try-expand-dabbrev-all-buffers): Use it.
2177 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2179 * hippie-exp.el (try-expand-line-all-buffers)
2180 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2181 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2182 original buffer, in case they're buffer-local.
2184 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2186 * ses.el (ses-initial-global-parameters-re): New defconst, a
2187 specific regexp is needed now that ses.el can handle both
2188 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2190 (ses-localvars): Add local variables needed for local printer handling.
2191 (ses-set-localvars): Handle hashmap initialisation.
2192 (ses-paramlines-plist): Add param-line for number of local printers.
2193 (ses-paramfmt-plist): New defconst, needed for code factorization
2194 between functions `ses-set-parameter' and
2195 `ses-file-format-extend-paramter-list'
2196 (ses-make-local-printer-info): New defsubst.
2197 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2198 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2199 (ses-cell-printer-aset): New defmacro.
2200 (ses-local-printer-compile): New defun.
2201 (ses-local-printer): New defmacro.
2202 (ses-printer-validate, ses-call-printer): Add support for local
2204 (ses-file-format-extend-paramter-list): New defun.
2205 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2207 (ses-load): Add support for local printer functions.
2208 (ses-read-printer): Update docstring and add support for local printer
2210 (ses-refresh-local-printer, ses-define-local-printer): New defun.
2211 (ses-safe-printer): Add support for local printer functions.
2213 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
2215 * ffap.el (ffap-lax-url): New var (bug#17723).
2216 (ffap-url-at-point): Use it.
2217 (ffap-file-at-point): Avoid returning just "/".
2219 2014-06-12 Matthias Meulien <orontee@gmail.com>
2221 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2222 (python-mode-map): Bind it.
2224 * progmodes/python.el (class skeleton): Don't erase last char of class
2227 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
2229 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2231 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
2233 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2236 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2238 * international/mule-cmds.el: Use lexical-binding.
2239 (ucs-names): Simplify.
2241 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
2243 * progmodes/python.el (run-python): Use read-shell-command.
2245 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * rect.el: Make it possible to move bounds past EOL or into TABs.
2248 (operate-on-rectangle): Use apply-on-rectangle.
2249 (rectangle--mark-crutches): New var.
2250 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2251 (rectangle--crutches, rectangle--reset-crutches): New functions.
2252 (apply-on-rectangle): Obey crutches. Avoid setq.
2253 Fix missing final iteration if end is at EOB&BOL.
2254 (rectangle-mark-mode-map): Add remap bindings for
2255 exchange-point-and-mark and char/line movements.
2256 (rectangle--*-char): New function.
2257 (rectangle-exchange-point-and-mark, rectangle-right-char)
2258 (rectangle-left-char, rectangle-forward-char)
2259 (rectangle-backward-char, rectangle-next-line)
2260 (rectangle-previous-line): New commands.
2261 (rectangle--place-cursor): New function.
2262 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
2264 2014-06-08 Glenn Morris <rgm@gnu.org>
2266 * startup.el (initial-buffer-choice): Doc fix.
2267 Reset :version (adding an option does not merit a :version bump).
2269 * bookmark.el (bookmark-load):
2270 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2272 2014-06-08 Juri Linkov <juri@jurta.org>
2274 * desktop.el: Activate auto-saving on window configuration changes.
2275 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2276 `desktop-auto-save-set-timer' to/from
2277 `window-configuration-change-hook'.
2278 (desktop-auto-save-set-timer): Change REPEAT arg of
2279 `run-with-idle-timer' from t to nil.
2280 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2282 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
2284 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2285 vc-hg-command (bug#17570).
2287 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2289 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2292 2014-06-08 Glenn Morris <rgm@gnu.org>
2294 * startup.el (window-setup-hook): Doc fix.
2296 * emacs-lisp/package.el (package-check-signature)
2297 (package-unsigned-archives): Doc fixes.
2299 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2301 * window.el (display-buffer-use-some-window): Don't make window
2302 used smaller than it was before (Bug#17671).
2304 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2306 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2307 'redisplay' instead of '(sit-for 0)'.
2309 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2311 * net/tramp.el (tramp-ssh-controlmaster-options):
2312 Improve search regexp. (Bug#17653)
2314 2014-06-08 Glenn Morris <rgm@gnu.org>
2316 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2318 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2320 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2322 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2324 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2327 * vc/vc-hg.el (vc-hg-log-graph): New var.
2328 (vc-hg-print-log): Use it.
2329 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2330 graph output (bug#17515).
2332 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2334 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2335 even happened elsewhere.
2337 2014-06-06 Mario Lang <mlang@delysid.org>
2339 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2340 `recenter' if `current-buffer' is equal to `window-buffer'.
2342 2014-06-05 Leo Liu <sdl.web@gmail.com>
2344 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2346 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2348 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2349 New function which calls a callback on portions of the buffer that are
2350 outside of ignored environments.
2351 (tildify-build-regexp): Remove function since it is now
2352 incorporated in `tildify-foreach-region-outside-env' where it is
2353 optimised and simplified by the use of `mapconcat'.
2354 (tildify-tildify): Return number of substitutions made so that…
2355 (tildify-count): …can be removed.
2356 (tildify-find-env): Accept a new PAIRS argument which was
2357 previously looked up in `tildify-ignored-environments-alist' each
2358 time the function was called. With this change, the lookup is
2359 performed only once in `tildify-foreach-region-outside-env'.
2360 (tildify-region): Greatly simplify the function since now most of
2361 the work is done by `tildify-foreach-region-outside-env'.
2362 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2363 and instead using or.
2365 * textmodes/tildify.el (tildify-ignored-environments-alist):
2366 Optimise environments regexes
2368 Each time beginning of an environment to ignore is found,
2369 `tildify-find-env' needs to identify regexp for the ending
2370 of the environment. This is done by trying all the opening
2371 regexes on matched text in a loop, so to speed that up, this
2372 loop should have fewer things to match, which can be done by
2373 using alternatives in the opening regexes.
2375 Coincidentally, this should make matching of the opening
2376 regexp faster as well thanks to the use of `regexp-opt' and
2377 having common prefix pulled from many regexes.
2379 * textmodes/tildify.el (tildify-string-alist)
2380 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2381 of supported modes since `xml-mode' is no longer a thing but just
2382 an alias to the former. Also include comments and insides of tags
2383 in `tildify-ignored-environments-alist' for XML modes. Finally,
2384 since XML does not define “ ”[1], use a numeric reference for
2385 a no-break space (namely “ ”)
2387 [1] XML specification defines only a handful of predefined entities.
2388 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2389 and includes only <, >, &, ' and " (meaning <,
2390 >, &, ' and " respectively). This is in contrast to HTML and even
2391 XHTML which defined a whole bunch of entities including “ ”.
2393 * textmodes/tildify.el (tildify-pattern-alist)
2394 (tildify-string-alist, tildify-ignored-environments-alist):
2395 Improve defcustom's types by adding more tags explaining what each
2396 value means and replace “sexp” used in
2397 `tildify-ignored-environments-alist' with a full type declaration.
2399 * textmodes/tildify.el (tildify-find-env): Fix matched group
2400 indexes in end-regex building
2402 When looking for a start of an ignore-environment, the regex is built
2403 by concatenating regexes of all the environments configured in
2404 `tildify-ignored-environments-alist'. So for example, the following
2405 list could be used to match TeX's \verb and \verb* commands:
2407 (("\\\\verb\\(.\\)" . (1))
2408 ("\\\\verb\\*\\(.\\)" . (1)))
2410 This would result in the following regex being used to find the start
2411 of any of the variants of the \verb command:
2413 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2415 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2416 won't match anything, and thus (match-string 1) will be nil, which
2417 will cause building of the end-matching regex to fail.
2419 Fix this by using capture groups from the time when the opening
2420 regexes are matched individually.
2422 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2423 in `tildify-find-env'
2425 The `tildify-ignored-environments-alist' allows the end-regex to
2426 be provided not as a static string but mix of strings and indexes
2427 of groups matched the begin-regex. For example, the “\verb!…!”
2428 TeX-command (where “!” is an arbitrary character) is handled
2431 ("\\\\verb\\*?\\(.\\)" . (1))
2433 In the same way, the following should be supported as well:
2435 ("open-\\(.\\)" . ("end-" 1))
2437 However the tildify-find-env function fails at
2440 (if (stringp (setq aux (car expression)))
2441 expression ; BUG: expression is a list
2442 (regexp-quote (match-string aux))))
2444 where the string part is handled incorrectly.
2446 The most trivial fix would be to replace `expression' in the
2447 true-part of the if-statement with `aux', but instead, this commit
2448 optimises `tildify-find-env' by changing it to use `mapconcat'
2449 rather than open-coded while-loop.
2451 2014-06-05 Mario Lang <mlang@delysid.org>
2453 * woman.el (woman-mapcan): Remove.
2454 (woman-parse-colon-path): Use cl-mapcan instead.
2456 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2458 * register.el: Add link to Emacs manual in Commentary.
2460 2014-06-02 Sam Steingold <sds@gnu.org>
2462 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2463 (popup-menu): ...here.
2464 (menu-bar-open): Use it to avoid an error when `lookup-key'
2467 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
2469 * net/tramp.el (tramp-call-process): Add traces.
2470 (tramp-handle-unhandled-file-name-directory): Return "/".
2472 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
2474 Sync with upstream verilog-mode revision 3cd8144.
2475 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2476 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2477 (verilog-type-font-keywords): Add nor.
2478 (verilog-batch-execute-func): Force reading of Local Variables.
2479 Fix printing "no changes to be saved" with verilog-batch.
2480 (verilog-auto-arg-ports): Doc fix.
2481 Add verilog-auto-arg-format to support newlines in AUTOARG.
2482 (verilog-auto-arg): Doc fix.
2484 2014-06-02 Glenn Morris <rgm@gnu.org>
2486 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2487 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2488 * emulation/ws-mode.el: Move to obsolete/.
2489 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2491 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2493 * simple.el (keyboard-quit): Force update of mode lines, to remove
2494 the "Def" indicator, if we were defining a macro. (Bug#17615)
2496 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * minibuffer.el (minibuffer-force-complete-and-exit):
2499 Obey minibuffer-default (bug#17545).
2501 * progmodes/js.el (js-indent-line): Don't mix columns and chars
2504 * subr.el (set-transient-map): Don't wait for some "nested"
2505 transient-map to finish if we're only supposed to be active for
2506 the next command (bug#17642).
2508 2014-06-02 Leo Liu <sdl.web@gmail.com>
2510 * emacs-lisp/gv.el (window-buffer, window-display-table)
2511 (window-dedicated-p, window-hscroll, window-point, window-start):
2512 Fix gv-expander. (Bug#17630)
2514 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2519 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2520 for the single comma, since ", " is *very* common in normal French text
2523 2014-06-02 Glenn Morris <rgm@gnu.org>
2525 * emacs-lisp/package.el (package-check-signature)
2526 (package-unsigned-archives): Fix :version.
2528 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * subr.el (sit-for): Don't run input-methods (bug#15614).
2532 2014-06-02 Glenn Morris <rgm@gnu.org>
2534 * cus-start.el: Fix some :version numbers.
2536 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * simple.el (deactivate-mark): Set mark-active to nil even if
2539 deactivation is done via setting transient-mark-mode to nil,
2540 since one is buffer-local and the other is global.
2542 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2543 there can't be more than 2 arguments (bug#17584).
2545 2014-06-02 Glenn Morris <rgm@gnu.org>
2547 * simple.el (filter-buffer-substring-functions)
2548 (filter-buffer-substring-function, buffer-substring-filters)
2549 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2551 * minibuffer.el (completion-in-region-functions, completion-in-region)
2552 (completion--in-region): Doc fixes.
2554 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2555 (expand-abbrev, abbrev--default-expand): Doc fixes.
2557 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
2559 Include sources used to create macuvs.h.
2560 * international/README: Refer to the Unicode Terms of Use rather
2561 than copying it bodily here, as that simplifies maintenance.
2563 2014-06-01 Glenn Morris <rgm@gnu.org>
2565 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
2567 2014-05-31 Glenn Morris <rgm@gnu.org>
2569 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
2571 2014-05-30 Glenn Morris <rgm@gnu.org>
2573 * loadup.el: Treat `command-line-args' more flexibly.
2575 2014-05-30 Alan Mackenzie <acm@muc.de>
2577 Guard (looking-at "\\s!") from XEmacs.
2578 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2580 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
2582 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2583 The argument COUNT is now optional, to be more backward-compatible.
2584 Doc fix. (Bug#17560)
2586 2014-05-29 Reuben Thomas <rrt@sc3d.org>
2588 * whitespace.el (whitespace-report-region):
2589 Simplify documentation.
2590 (whitespace-report-region): Allow report-if-bogus to take the
2591 value `never', for non-interactive use.
2592 (whitespace-report): Refer to whitespace-report-region's
2595 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2597 * whitespace.el: Use font-lock-flush. Minimize refontifications.
2598 Side benefit: it works without jit-lock.
2599 (whitespace-point--used): New buffer-local var.
2600 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
2601 (whitespace-color-off): Use font-lock-flush.
2602 (whitespace-point--used, whitespace-point--flush-used): New functions.
2603 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2604 (whitespace-empty-at-eob-regexp): Use them.
2605 (whitespace-post-command-hook): Rewrite.
2607 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2608 (font-lock-fontify-buffer): Mark interactive-only.
2609 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2611 (font-lock-specified-p): Remove redundant boundp check.
2612 (font-lock-flush-function, font-lock-ensure-function): New vars.
2613 (font-lock-turn-on-thing-lock): Set them.
2614 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2615 (font-lock-after-change-function): Make `old-len' optional.
2616 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2617 Call font-lock-flush, just in case.
2618 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2620 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2621 (vera-mode-map, vera-mode-menu): Remove bindings to it.
2622 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2623 and with-syntax-table.
2624 * textmodes/conf-mode.el (conf-quote-normal):
2625 * progmodes/sh-script.el (sh-set-shell):
2626 * progmodes/prog-mode.el (prettify-symbols-mode):
2627 * progmodes/f90.el (f90-font-lock-n):
2628 * progmodes/cwarn.el (cwarn-mode):
2629 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2630 * progmodes/compile.el (compilation-setup, compilation--unsetup):
2631 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2632 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2633 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2634 font-lock-fontify-buffer-function and
2635 font-lock-unfontify-buffer-function.
2636 (rmail-unfontify-buffer-function, rmail-fontify-message):
2637 Use with-silent-modifications.
2638 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2639 and font-lock-ensure.
2640 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2642 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
2644 * emacs-lisp/package.el (package-generate-autoloads):
2645 Inhibit backup files.
2647 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2652 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
2654 * textmodes/tildify.el (tildify-buffer, tildify-region):
2655 Add dont-ask option.
2657 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
2660 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2662 * subr.el (internal--funcall-interactively): New.
2663 (internal--call-interactively): Remove.
2664 (called-interactively-p): Detect funcall-interactively instead of
2666 * simple.el (repeat-complex-command): Use funcall-interactively.
2667 (repeat-complex-command--called-interactively-skip): Remove.
2669 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * register.el (register-read-with-preview): Don't burp on
2672 frame switches (e.g. due to the frame we just popped).
2674 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2675 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2677 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
2679 * cus-face.el (custom-face-attributes): Add :distant-foreground.
2681 2014-05-26 Martin Rudalics <rudalics@gmx.at>
2683 * window.el (window--dump-frame): Remove interactive specification.
2685 2014-05-26 Glenn Morris <rgm@gnu.org>
2687 * hippie-exp.el (he-line-search-regexp):
2688 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
2690 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2692 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2693 to avoid errors when trying to create or visit a file foo.todo
2694 located outside to todo-directory, and to allow having such files
2695 without them being tied to Todo mode (bug#17482).
2696 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2697 (todo-archive-done-item, todo-find-filtered-items-file)
2698 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2699 (todo-category-completions, todo-read-category): When visiting a
2700 Todo file, make sure we're in the right mode and the buffer local
2702 (todo-make-categories-list, todo-reset-nondiary-marker)
2703 (todo-reset-done-string, todo-reset-comment-string):
2704 After processing all Todo files, kill the buffers of those files that
2705 weren't being visited before the processing.
2706 (todo-display-as-todo-file, todo-add-to-buffer-list)
2707 (todo-visit-files-commands): Comment out.
2708 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2709 (auto-mode-alist): Remove add-to-list calls making Todo file
2710 extensions unrestrictedly tied to Todo modes.
2712 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2714 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2715 (advice-function-member-p): Tell it to check both names and functions
2717 (advice--add-function): Adjust call accordingly.
2719 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2721 * calendar/todo-mode.el: Miscellaneous bug fixes.
2722 (todo-delete-file): When deleting an archive but not its todo
2723 file, make sure to update the todo file's category sexp.
2724 (todo-move-category): Keep the moved category's name unless the
2725 file moved to already has a category with that name. If the
2726 numerically last category of the source file was moved, make the
2727 first category current to avoid selecting a nonexisting category.
2728 (todo-merge-category): Fix implementation to make merging to a
2729 category in another file work as documented. Eliminate now
2730 insufficient and unnecessary renaming of archive category, correct
2731 document string accordingly, and clarify it. If the numerically
2732 last category of the source file was merged, make the first
2733 category current to avoid selecting a nonexisting category.
2734 (todo-archive-done-item): When there are marked items and point
2735 happens to be on an unmarked item, ignore the latter. Don't leave
2736 point below last item after archiving marked items.
2737 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2738 from an archive with only one category deletes the archive only
2739 when the category is empty after unarchiving. Make sure the todo
2740 file's category sexp is updated.
2741 (todo-read-file-name): Allow an existing file name even when it is
2742 not required (todo-move-category needs this to work as documented).
2743 (todo-add-file): Call todo-validate-name to reject the name of an
2744 existing todo file (needed due to fix in todo-read-file-name).
2745 (todo-reset-nondiary-marker): Also reset in filtered items files.
2746 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2747 regexp filtered items files.
2748 (todo-reset-highlight-item): Also reset in filtered items files.
2749 Fix incorrect variable reference in document string.
2751 2014-05-26 Glenn Morris <rgm@gnu.org>
2753 * window.el (window--dump-frame): Avoid error in --without-x builds.
2755 2014-05-26 Glenn Morris <rgm@gnu.org>
2757 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2759 2014-05-26 Eli Zaretskii <eliz@gnu.org>
2761 * frame.el (set-frame-font): Doc fix.
2763 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2765 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
2767 * emacs-lisp/package.el (package--download-one-archive):
2768 Use `write-region' instead of `save-buffer' to avoid running various
2770 (describe-package-1): Same. Insert newline at the end of the
2771 buffer if appropriate.
2773 2014-05-26 Juri Linkov <juri@jurta.org>
2775 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2776 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2777 Add more modifiers: meta, control, shift, hyper, super, alt.
2780 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2781 to allow changing its value with `set-variable'.
2783 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2785 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2787 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2789 (scheme-mode-variables): Set syntax-propertize-function instead of
2790 font-lock-syntactic-face-function.
2791 (scheme-font-lock-syntactic-face-function): Delete.
2793 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2795 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2798 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
2800 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2801 for a temporary file name.
2803 2014-05-26 Eli Zaretskii <eliz@gnu.org>
2805 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2807 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
2809 * net/dbus.el (dbus-init-bus, dbus-call-method)
2810 (dbus-call-method-asynchronously, dbus-send-signal)
2811 (dbus-method-return-internal, dbus-method-error-internal):
2812 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2814 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2816 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2817 methods which do not have a doc string. (Bug#17490)
2819 2014-05-25 Tassilo Horn <tsdh@gnu.org>
2821 * textmodes/reftex-ref.el (reftex-format-special): Make it work
2822 also for AMS Math's \eqref macro.
2824 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2826 Arrange to never byte-compile the generated -pkg.el file.
2828 * emacs-lisp/package.el (package-generate-description-file):
2829 Output first-line comment to set buffer-local var `no-byte-compile'.
2830 Suggested by Dmitry Gutov:
2831 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2833 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2835 Fix bug: Properly quote args to generated -pkg.el `define-package'.
2837 * emacs-lisp/package.el (package-generate-description-file):
2838 Inline `package--alist-to-plist'; rewrite to selectively
2839 quote alist values that are not self-quoting.
2840 (package--alist-to-plist): Delete func.
2842 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
2844 * term/xterm.el (xterm-function-map): Add mapping for shifted
2847 2014-05-24 Daniel Colascione <dancol@dancol.org>
2849 * progmodes/subword.el (subword-find-word-boundary): Move point to
2850 correct spot before search. (Bug#17580)
2852 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2855 2014-05-24 Leo Liu <sdl.web@gmail.com>
2857 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
2859 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * minibuffer.el (completion--sreverse): Remove.
2862 (completion--common-suffix): Use `reverse' instead.
2863 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2865 2014-05-22 Glenn Morris <rgm@gnu.org>
2867 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2869 2014-05-21 Daniel Colascione <dancol@dancol.org>
2871 * files.el (interpreter-mode-alist): Add mksh.
2873 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2875 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2876 mksh. Improve custom spec; allow regular expressions.
2877 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2878 (sh-after-hack-local-variables): New function.
2879 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2880 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2882 (sh-canonicalize-shell): Rewrite to support regexes.
2884 2014-05-21 Leo Liu <sdl.web@gmail.com>
2886 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2888 2014-05-19 Leo Liu <sdl.web@gmail.com>
2890 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2892 2014-05-18 Glenn Morris <rgm@gnu.org>
2895 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2897 2014-05-14 Sam Steingold <sds@gnu.org>
2899 * progmodes/python.el (python-shell-get-or-create-process):
2900 Do not bind `current-prefix-arg' so that C-c C-z does not talk
2901 back unless requested.
2903 2014-05-14 Glenn Morris <rgm@gnu.org>
2905 * subr.el (with-file-modes): New macro.
2906 * printing.el (pr-save-file-modes): Make obsolete.
2907 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2908 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2909 Add with-file-modes.
2910 * doc-view.el (doc-view-make-safe-dir):
2911 * epg.el (epg--start):
2912 * files.el (locate-user-emacs-file, make-temp-file)
2913 (backup-buffer-copy, move-file-to-trash):
2914 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2915 * eshell/esh-util.el (eshell-with-private-file-modes)
2916 (eshell-make-private-directory):
2917 * net/browse-url.el (browse-url-mosaic):
2918 * obsolete/mailpost.el (post-mail-send-it):
2919 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2920 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2921 Use with-file-modes.
2923 * vc/emerge.el (emerge-make-temp-file): Simplify.
2925 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2926 Stefan Monnier <monnier@iro.umontreal.ca>
2928 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2931 2014-05-14 Glenn Morris <rgm@gnu.org>
2933 * vc/emerge.el (emerge-temp-file-prefix):
2934 Make pointless option obsolete.
2935 (emerge-temp-file-mode): Make non-functional option obsolete.
2937 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
2939 * net/browse-url.el (browse-url):
2940 Use `unhandled-file-name-directory' when setting `default-directory',
2941 in order to circumvent stalled remote connections. (Bug#17425)
2943 2014-05-14 Glenn Morris <rgm@gnu.org>
2945 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2946 Optimize on Emacs, which has the relevant functions for ages.
2948 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * simple.el (undo-make-selective-list): Obey undo-no-redo.
2952 2014-05-12 Sam Steingold <sds@gnu.org>
2954 * calendar/time-date.el (seconds-to-string): New function to
2955 pretty print time delay in seconds.
2957 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * mpc.el (mpc-format): Trim Date to the year.
2960 (mpc-songs-hashcons): Shorten the Date field.
2962 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2963 into autoloading just because of a silly indirection.
2965 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2967 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2969 2014-05-12 Glenn Morris <rgm@gnu.org>
2971 * emacs-lisp/find-gc.el: Move to ../admin.
2973 * printing.el (pr-version):
2974 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2976 * net/browse-url.el (browse-url-mosaic):
2977 Create /tmp/Mosaic.PID as a private file.
2979 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2981 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2982 (advice--member-p): If name is given, only compare the name.
2983 (advice--remove-function): Don't stop at the first match.
2984 (advice--normalize-place): New function.
2985 (add-function, remove-function): Use it.
2986 (advice--add-function): Pass the name, if any, to
2987 advice--remove-function.
2989 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2991 * electric.el (electric-indent-post-self-insert-function): Don't use
2992 `pos' after modifying the buffer (bug#17449).
2994 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
2996 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2997 Correct argument list to conform to todo-insert-item--basic.
2999 2014-05-12 Glenn Morris <rgm@gnu.org>
3001 * files.el (cd-absolute): Test if directory is accessible
3002 rather than executable. (Bug#17330)
3004 * progmodes/compile.el (recompile):
3005 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3007 * net/browse-url.el (browse-url-mosaic):
3008 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3009 This is CVE-2014-3423.
3011 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * mouse.el: Use the normal toplevel loop while dragging.
3014 (mouse-set-point): Handle multi-clicks.
3015 (mouse-set-region): Handle multi-clicks for drags.
3016 (mouse-drag-region): Update call accordingly.
3017 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3018 Use the normal event loop instead of a local while/read-event loop.
3019 (global-map): Remove redundant bindings for double/triple-mouse-1.
3020 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3021 Generate synthetic down events when the protocol only sends up events.
3022 (xterm-mouse-last): Remove.
3023 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3024 terminal parameter instead.
3025 (xterm-mouse--set-click-count): New function.
3026 (xterm-mouse-event): Detect/generate double/triple clicks.
3027 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3029 * info.el (Info-quoted): New face.
3030 (Info-mode-font-lock-keywords): New var.
3031 (Info-mode): Use it.
3033 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3034 are a hindrance for C-x C-e.
3036 2014-05-11 Leo Liu <sdl.web@gmail.com>
3038 * net/rcirc.el (rcirc-sentinel): Fix last change.
3040 2014-05-08 Sam Steingold <sds@gnu.org>
3042 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3043 (rcirc-sentinel): Auto-reconnect to the server if
3044 `rcirc-reconnect-delay' is non-0 (but not more often than its
3045 value in case the host is off-line).
3047 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3049 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3051 2014-05-09 Glenn Morris <rgm@gnu.org>
3053 * files.el (file-expand-wildcards):
3054 * man.el (Man-support-local-filenames):
3055 * printing.el (pr-i-directory, pr-interface-directory):
3056 * progmodes/grep.el (lgrep, rgrep):
3057 * textmodes/ispell.el (ispell-call-process)
3058 (ispell-call-process-region, ispell-start-process)
3059 (ispell-init-process): Use file-accessible-directory-p.
3061 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3064 (xterm-mouse--read-event-sequence-1000): Return nil if something
3066 (xterm-mouse-event): Propagate it.
3067 (xterm-mouse-translate-1): Handle it.
3069 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3071 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3072 four slots of the parameter list are filled, make sure to pass it
3073 to the argument list of todo-insert-item--basic.
3075 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3078 Add optional `seen' argument to detect and break infinite loops.
3080 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3082 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3083 (trace-unsafe, trace-use-tree): Make parentheses style be
3084 according to Emacs style.
3086 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3088 * net/tramp-sh.el (tramp-remote-process-environment):
3089 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3091 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3092 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3093 extra "PSx=..." commands.
3094 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3097 (tramp-uudecode): Replace the hard-coded temporary file name by a
3099 (tramp-remote-coding-commands): Enhance docstring.
3100 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3102 This is CVE-2014-3424.
3104 2014-05-08 Glenn Morris <rgm@gnu.org>
3106 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3107 (find-gc-source-files): Update some names.
3108 (trace-call-tree): Simplify and update.
3109 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3110 This is CVE-2014-3422.
3112 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3114 * minibuffer.el (completion--try-word-completion): Revert fix for
3115 Bug#15980 (bug#17375).
3117 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3118 Always store button numbers in the same way in xterm-mouse-last;
3119 Don't burp is xterm-mouse-last is not set as expected.
3120 Never return negative indices.
3122 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3124 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3125 Backtrack one char if the global/char-literal var matcher hits
3126 inside a string. The next char could be the beginning of an
3127 expression expansion.
3129 2014-05-08 Glenn Morris <rgm@gnu.org>
3131 * help-fns.el (describe-function-1): Test for an autoload before a
3132 macro, since `macrop' works on autoloads. (Bug#17410)
3134 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3136 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3138 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3139 Make sure the new point we return is within the new string (bug#17239).
3141 2014-05-05 Daniel Colascione <dancol@dancol.org>
3143 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3144 Port `gnu' pattern to rx.
3146 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3148 Remove unneeded prompt when closing a buffer with active
3149 emacsclient ("Buffer ... still has clients"), #16548.
3150 * server.el (server-start): Remove the only call to:
3151 (server-kill-buffer-query-function): Remove.
3153 2014-05-04 Leo Liu <sdl.web@gmail.com>
3155 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3156 Defvar to pacify compiler.
3158 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3160 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3162 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3164 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3165 Use nil rather than `default' for the "default" appearance (bug#17388).
3166 * vc/ediff-util.el (ediff-inferior-compare-regions)
3167 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3168 a misleading `default' value when it's really a boolean.
3169 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3170 overlay is not visible.
3172 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3174 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3175 (todo-menu): Uncomment and update.
3177 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3179 * calendar/todo-mode.el: Reimplement item editing to have the same
3180 basic user interface as item insertion, and make small UI and
3181 larger internal improvements to the latter.
3182 (todo-insert-item): Add reference to the Todo mode user manual to
3183 the documentation string.
3184 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3185 adjust all callers. Change signature to combine diary and
3186 nonmarking arguments. Incorporate functionality of deleted item
3187 copying command and add error checking. Remove detailed
3188 descriptions of the arguments from the documentation string, since
3189 this is treated in the Todo mode user manual.
3190 (todo-copy-item, todo-edit-multiline-item)
3191 (todo-edit-done-item-comment, todo-edit-item-header)
3192 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3193 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3194 (todo-edit-item-date-year, todo-edit-item-date-month)
3195 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3197 (todo-edit-item): Reimplement as wrapper command for
3198 todo-edit-item--next-key and make it distinguish done and not done
3200 (todo-edit-item--text): New function, replacing old command
3201 todo-edit-item and incorporating deleted commands
3202 todo-edit-multiline-item and todo-edit-done-item-comment.
3203 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3204 Use only numeric value of prefix argument. Remove detailed
3205 descriptions of the arguments from the documentation string, since
3206 this is treated in the Todo mode user manual.
3207 (todo-edit-item--diary-inclusion): New function, replacing old
3208 command todo-edit-item-diary-inclusion and incorporating and fixing
3209 functionality of deleted command todo-edit-item-diary-nonmarking,
3210 making sure to remove todo-nondiary-marker when adding
3211 diary-nonmarking-symbol.
3212 (todo-edit-category-diary-inclusion): Make sure to delete
3213 diary-nonmarking-symbol when adding todo-nondiary-marker.
3214 (todo-edit-category-diary-nonmarking): Fix indentation.
3215 (todo-insert-item--parameters): Group diary and nonmarking
3216 parameters together.
3217 (todo-insert-item--apply-args): Adjust to signature of
3218 todo-insert-item--basic and incorporate copy parameter.
3219 Make small code improvements.
3220 (todo-insert-item--next-param): Improve prompt and adjust it to
3221 new parameter grouping. Remove obsolete code.
3222 (todo-edit-item--param-key-alist)
3223 (todo-edit-item--date-param-key-alist)
3224 (todo-edit-done-item--param-key-alist): New defconsts.
3225 (todo-edit-item--prompt): New variable.
3226 (todo-edit-item--next-key): New function.
3227 (todo-key-bindings-t): Bind "e" to todo-edit-item.
3228 Remove bindings of deleted commands.
3230 2014-05-04 Leo Liu <sdl.web@gmail.com>
3232 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3234 2014-05-04 Glenn Morris <rgm@gnu.org>
3236 * allout-widgets.el (allout-widgets-tally)
3237 (allout-decorate-item-guides):
3238 * menu-bar.el (menu-bar-positive-p):
3239 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3240 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3241 * progmodes/js.el (js--inside-param-list-p)
3242 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3243 * progmodes/prolog.el (region-exists-p):
3244 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3245 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3246 Doc fixes (replace `iff').
3248 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3252 2014-05-04 Leo Liu <sdl.web@gmail.com>
3254 Support Chinese diary entries in calendar and diary. (Bug#17393)
3255 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3256 (calendar-chinese-from-absolute-for-diary)
3257 (calendar-chinese-to-absolute-for-diary)
3258 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3259 (diary-chinese-list-entries): New functions to list and mark
3260 Chinese diary entries in the calendar window.
3261 (diary-chinese-anniversary)
3262 (diary-chinese-insert-anniversary-entry)
3263 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3264 (diary-chinese-insert-yearly-entry): New commands to insert
3265 Chinese diary entries.
3267 * calendar/diary-lib.el (diary-font-lock-keywords):
3268 Support font-locking Chinese dates.
3270 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3271 inserting Chinese diary entries.
3273 * calendar/calendar.el (diary-chinese-entry-symbol):
3274 New customizable variable.
3275 (calendar-mode-map): Add bindings for inserting Chinese diary
3278 2014-05-03 Juri Linkov <juri@jurta.org>
3280 * dired.el (dired-check-switches, dired-switches-recursive-p):
3281 New functions. (Bug#17218)
3282 (dired-switches-escape-p, dired-move-to-end-of-filename):
3283 Use `dired-check-switches'.
3284 (dired-insert-old-subdirs, dired-build-subdir-alist)
3285 (dired-sort-R-check): Use `dired-switches-recursive-p'.
3287 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
3289 * simple.el (undo-make-selective-list): New algorithm fixes
3290 incorrectness of position adjustments when undoing in region.
3292 (undo-elt-crosses-region): Make obsolete.
3293 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3294 New functions to adjust positions using undo-deltas.
3296 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3298 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3299 the last consecutive closing paren (bug#17345).
3301 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3303 * dired.el (dired-mode): make terminology for eXpunge command
3304 consistent. (Bug#17276)
3306 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3308 * dired.el (dired-initial-position-hook, dired-initial-position):
3311 2014-04-30 Glenn Morris <rgm@gnu.org>
3313 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3315 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3317 * faces.el (face-spec-recalc): Apply X resources only after the
3318 defface spec has been applied. Thus, X resources are no longer
3319 overriden by the defface spec which also fixes issues on win32 where
3320 the toolbar coloring was wrong because it is set through X resources
3321 and was (wrongfully) overriden. (Bug#16694)
3323 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * textmodes/rst.el (electric-pair-pairs): Declare.
3326 (rst-mode): Set it (bug#17131).
3328 2014-04-30 Juri Linkov <juri@jurta.org>
3330 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3331 and `print-level' to nil. (Bug#17351)
3333 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3335 * battery.el (battery-update): Handle the case where battery
3336 status is "N/A" (bug#17319).
3338 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3341 to syntax-propertize.
3342 (ps-mode-auto-indent): Mark as obsolete.
3343 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3344 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3345 word regexp operators.
3346 (ps-mode-map): Move initialization into declaration. Remove binding
3347 for TAB, RET, >, ], and }.
3348 (ps-mode-syntax-table): Move initialization into declaration.
3349 Don't give word syntax to non-word chars.
3350 (ps-run-mode-map): Move initialization into declaration.
3351 (ps-mode-menu-main): Remove auto-indent entry.
3352 (ps-mode-smie-rules): New function.
3353 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3354 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3355 (ps-mode--string-syntax-table): New const.
3356 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3358 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3359 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3361 2014-04-27 Daniel Colascione <dancol@dancol.org>
3363 * term/xterm.el (xterm-paste): Use large finite timeout when
3364 reading event to avoid putting keys in this-command-keys.
3366 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3369 (perl-syntax-propertize-function): Use it. Extend handling of
3370 here-docs to the unquoted case.
3372 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3374 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3375 Use equal-including-properties to compare help-echo strings (bug#17331).
3377 2014-04-25 Leo Liu <sdl.web@gmail.com>
3379 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3380 Fix syntax for @. (Bug#17325)
3382 2014-04-25 Daniel Colascione <dancol@dancol.org>
3384 * emacs-lisp/cl.el (gv): Require gv early to break eager
3385 macro-expansion cycles.
3387 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * simple.el (region-active-p): Check there's a mark (bug#17324).
3391 * simple.el (completion-list-mode-map): Use choose-completion for the
3392 mouse binding as well (bug#17302).
3393 (completion-list-mode, completion-setup-function): Adjust docstring and
3394 echo area message accordingly.
3395 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3396 calling convention of choose-completion.
3397 * comint.el (comint-dynamic-list-completions):
3398 * term.el (term-dynamic-list-completions): Accept choose-completion.
3400 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3401 &, |, +, - and * can't be a division (bug#17317).
3403 * term/xterm.el (xterm--version-handler): Don't use modern xterm
3404 features on gnome-terminal (bug#16988).
3406 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
3408 Improve Scheme font-locking for (define ((foo ...) ...) ...).
3410 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3411 the declared object, ignore zero or more parens, not zero or one.
3413 2014-04-24 Leo Liu <sdl.web@gmail.com>
3415 * progmodes/xscheme.el (xscheme-expressions-ring)
3416 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3417 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3418 (xscheme-allow-output-p, xscheme-prompt)
3419 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3421 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3422 Comment out unused functions.
3424 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3426 * info.el: Use lexical-binding and cl-lib.
3427 Use defvar-local and setq-local instead of make-local-variable.
3428 (Info-apropos-matches): Avoid add-to-list.
3429 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3431 2014-04-24 Daniel Colascione <dancol@dancol.org>
3433 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3435 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3439 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
3441 * dired.el (dired-insert-set-properties): Do not consider
3442 subdirectory headings and empty lines to be information that
3443 `dired-hide-details-mode' should hide. (Bug#17228)
3445 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3447 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3448 Remove test messages.
3449 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3452 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3454 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3455 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3457 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3459 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3461 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3462 Set "IFS=" when using read builtin, in order to preserve spaces in
3463 the file name. Add test messages for hunting a bug on hydra.
3464 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
3466 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3469 Don't prettify a word within a symbol.
3471 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3473 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3476 2014-04-22 Daniel Colascione <dancol@dancol.org>
3478 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3479 use defun to define `function-put'.
3481 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3484 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3485 (lisp-mode-variables): Set font-lock-extra-managed-props.
3487 * emacs-lisp/byte-run.el (function-put): New function.
3488 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
3489 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3490 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3493 2014-04-22 Daniel Colascione <dancol@dancol.org>
3495 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3496 Add `full-p' parameter; when nil, call `macroexpand' instead of
3499 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3502 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3503 Use lambda function values, not quoted lambdas.
3504 (byte-compile-recurse-toplevel): Remove extraneous &optional.
3506 * emacs-lisp/cl-macs.el
3507 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3508 (cl-struct-slot-value): Conditionally use aref or nth so that the
3509 compiler produces optimal code.
3511 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3513 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3514 (inline): Don't inline cl--set-elt.
3515 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3516 Define as inlinable instead.
3517 (cl-struct-set-slot-value): Remove.
3519 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3520 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3523 2014-04-21 Daniel Colascione <dancol@dancol.org>
3525 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3526 last two parameters after all.
3527 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3528 (cl--compiler-macro-assoc,cl-struct-slot-value)
3529 (cl-struct-set-slot-value): Stop using them.
3531 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
3533 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3534 entry in image-mode-winprops-alist.
3536 2014-04-21 Daniel Colascione <dancol@dancol.org>
3538 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3539 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3540 (byte-compile-toplevel-file-form): Use it.
3542 * emacs-lisp/cl-macs.el:
3543 (cl--loop-let): Properly destructure `while' clauses.
3545 2014-04-20 Daniel Colascione <dancol@dancol.org>
3547 * vc/vc.el (vc-root-dir): New public autoloaded function for
3548 generically finding the current VC root.
3549 * vc/vc-hooks.el (vc-not-supported): New error.
3550 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3552 2014-04-20 Daniel Colascione <dancol@dancol.org>
3554 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3556 (cl--const-expr-val): cl--const-expr-val should macroexpand its
3557 argument in case we're inside a symbol-macrolet.
3558 (cl--do-arglist, cl--compiler-macro-typep)
3559 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3560 environment to `cl--const-expr-val'.
3561 (cl-struct-sequence-type,cl-struct-slot-info)
3562 (cl-struct-slot-offset, cl-struct-slot-value)
3563 (cl-struct-set-slot-value): New functions.
3565 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3568 assignments such as "case=hello" (bug#17297).
3570 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
3572 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3574 (tramp-file-name-handler, tramp-completion-file-name-handler):
3575 Revert patch from 2014-04-10, it isn't necessary anymore.
3576 (tramp-autoload-file-name-handler)
3577 (tramp-register-autoload-file-name-handlers): New defuns.
3578 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3579 (tramp-register-file-name-handlers): Remove also
3580 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3581 Do not autoload its invocation, but eval it after loading of 'tramp.
3583 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3585 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3587 2014-04-17 Daniel Colascione <dancol@dancol.org>
3589 Add support for bracketed paste mode; add infrastructure for
3590 managing terminal mode enabling and disabling automatically.
3593 (xterm-mouse-mode): Simplify.
3594 (xterm-mouse-tracking-enable-sequence)
3595 (xterm-mouse-tracking-disable-sequence): New constants.
3596 (turn-on-xterm-mouse-tracking-on-terminal)
3597 (turn-off-xterm-mouse-tracking-on-terminal):
3598 Use tty-mode-set-strings and tty-mode-reset-strings terminal
3599 parameters instead of random hooks.
3600 (turn-on-xterm-mouse-tracking)
3601 (turn-off-xterm-mouse-tracking): Delete.
3603 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3604 (xterm-paste-ending-sequence): New constant.
3605 (xterm-paste): New command used for bracketed paste support.
3607 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3608 (terminal-init-xterm-bracketed-paste-mode): New function.
3609 (terminal-init-xterm): Call it.
3610 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3611 and tty-mode-reset-strings instead of random hooks.
3612 (xterm-turn-on-modify-other-keys)
3613 (xterm-turn-off-modify-other-keys)
3614 (xterm-remove-modify-other-keys): Delete obsolete functions.
3616 * term/screen.el: Rewrite to just use the xterm code.
3617 Add copyright notice. Mention tmux.
3619 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
3621 * image-mode.el (image-mode-window-put): Also update the property of
3622 the "default window".
3623 * doc-view.el (doc-view-new-window-function): If no window
3624 exists, move to the last known page.
3626 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3629 here-documents (bug#17262).
3631 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3633 * term/pc-win.el (x-list-fonts, x-get-selection-value):
3634 Provide doc strings, as required by snarf-documentation.
3636 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3638 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3639 arg of overlays-at. Use `invisible-p'.
3641 * obsolete/lucid.el (extent-at):
3642 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3644 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3646 2014-04-16 João Távora <joaotavora@gmail.com>
3648 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3651 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3653 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3654 Use mapc to loop over a vector. (Bug#17257).
3656 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
3658 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3659 patch, there are new problems with file names containing spaces.
3660 Get rid of backticks. (Bug#17238)
3662 2014-04-16 João Távora <joaotavora@gmail.com>
3664 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3667 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3669 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3670 (blink-cursor-mode): Mention customization variables and the
3671 effect of 'blink-cursor-blinks'.
3673 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
3675 * simple.el (undo): Prevent insertion of identity mapping into
3676 undo-equiv-table so as undo-only does not inf loop in the presence
3677 of consecutive nils in undo list.
3679 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
3681 * faces.el (make-face): Deprecate optional argument as it is no
3682 longer needed/used since the conditional X resources handling
3683 has been pushed down to make-face-x-resource-internal itself.
3684 (make-empty-face): Don't pass optional argument to make-face.
3686 2014-04-16 Karl Fogel <kfogel@red-bean.com>
3688 * savehist.el (savehist-save): Remove workaround for a read-passwd
3689 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
3690 noticing that the shim was still present.
3692 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3696 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
3698 * faces.el (face-set-after-frame-default): Remove unused local variable.
3700 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3702 * progmodes/grep.el: Use lexical-binding.
3703 (grep-expand-template): Pass explicit lexical env to `eval'.
3704 (zrgrep): Let-bind grep-find-template explicitly.
3706 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3707 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3709 2014-04-12 Eli Zaretskii <eliz@gnu.org>
3711 * international/characters.el <standard-case-table>: Add entries
3712 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
3713 Set category of Coptic characters be 'g' (Greek).
3715 2014-04-12 Leo Liu <sdl.web@gmail.com>
3717 * progmodes/octave.el (completion-table-with-cache):
3718 Define if not available.
3719 (octave-goto-function-definition, octave-sync-function-file-names)
3720 (octave-find-definition-default-filename):
3721 Backquote upattern for compatibility.
3723 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
3725 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3726 name twice due to backticks. (Bug#17238)
3728 2014-04-12 Glenn Morris <rgm@gnu.org>
3730 * term/w32-win.el (x-win-suspend-error):
3731 * term/x-win.el (x-win-suspend-error): Sync docs.
3733 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
3735 * faces.el (make-face): Remove deprecated optional argument.
3736 The conditional application of X resources is handled directly by
3737 make-face-x-resource-internal since Emacs 24.4.
3738 (make-empty-face): Don't pass optional argument to make-face.
3740 2014-04-11 Glenn Morris <rgm@gnu.org>
3742 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
3744 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3746 Ediff's overlay priorities cause more trouble than they solve.
3747 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3748 (ediff-highest-priority): Remove function (bug#17234).
3749 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3750 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3751 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3754 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
3756 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3757 entry; use symbol boundaries to avoid mis-matches.
3759 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
3761 * net/tramp.el (tramp-file-name-handler)
3762 (tramp-completion-file-name-handler): Avoid recursive loading.
3764 * net/tramp-sh.el (tramp-make-copy-program-file-name):
3765 Quote result also locally.
3767 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3770 Remove left-over code.
3772 * newcomment.el (comment-indent-new-line): Sink code where it's used.
3773 Reuse the previous comment's indentation unconditionally if it's on its
3776 2014-04-09 Daniel Colascione <dancol@dancol.org>
3778 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3779 `no-syntax-crossing' arguments. Forward to `up-list'.
3780 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3781 Implement logic for escaping from strings. Use narrowing to deal
3784 2014-04-09 Leo Liu <sdl.web@gmail.com>
3786 * net/rcirc.el (rcirc-connection-info): New variable.
3787 (rcirc-connect): Use it to store connection info.
3788 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3790 (rcirc-cmd-reconnect): New command. (Bug#17045)
3791 (rcirc-mode, set-rcirc-encode-coding-system)
3792 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3794 2014-04-09 Daniel Colascione <dancol@dancol.org>
3796 * emacs-lisp/cl-indent.el: Add comment claiming
3797 facility is also good for elisp.
3798 (lisp-indent-find-method): New function.
3799 (common-lisp-indent-function): Recognize cl-loop.
3800 (common-lisp-indent-function-1): Recognize cl constructs; use
3801 `lisp-indent-find-method' instead of `get' directly.
3802 (if): Use else-body style for elisp.
3804 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
3806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3807 Module methods. (Bug#17216)
3809 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3811 * help.el (describe-bindings): Fix buffer handling (bug#17210).
3812 (describe-bindings-internal): Mark obsolete.
3814 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3817 buffer-file-name, and buffer-file-truename any more.
3819 2014-04-08 Leo Liu <sdl.web@gmail.com>
3821 Use lexical-binding and require cl-lib.
3822 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3823 (rcirc-handler-generic, rcirc-fill-paragraph)
3824 (rcirc-format-response-string, rcirc-target-buffer)
3825 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3826 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3827 (rcirc-ctcp-sender-PING, rcirc-browse-url)
3828 (rcirc-markup-timestamp, rcirc-markup-attributes)
3829 (rcirc-markup-my-nick, rcirc-markup-urls)
3830 (rcirc-markup-bright-nicks, rcirc-markup-fill)
3831 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3832 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3833 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3834 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3835 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3836 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3837 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3838 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3839 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3840 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3843 2014-04-07 João Távora <joaotavora@gmail.com>
3845 * elec-pair.el (electric-pair--syntax-ppss):
3846 When inside comments parse from comment beginning.
3847 (electric-pair--balance-info): Fix typo in comment.
3848 (electric-pair--in-unterminated-string-p): Delete.
3849 (electric-pair--unbalanced-strings-p): New function.
3850 (electric-pair-string-bound-function): New var.
3851 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3852 according to `electric-pair--in-unterminated-string-p'
3854 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3855 Inhibit quote pairing if point-max is inside an unterminated string.
3856 (electric-pair--looking-at-unterminated-string-p): Delete.
3857 (electric-pair--in-unterminated-string-p): New function.
3859 2014-04-07 Glenn Morris <rgm@gnu.org>
3861 * shell.el (shell-directory-tracker):
3862 Go back to just ignoring failures. (Bug#17159)
3864 2014-04-07 João Távora <joaotavora@gmail.com>
3866 Fix `electric-pair-delete-adjacent-pairs' in modes binding
3867 backspace. (bug#16981)
3868 * elec-pair.el (electric-pair-backward-delete-char): Delete.
3869 (electric-pair-backward-delete-char-untabify): Delete.
3870 (electric-pair-mode-map): Bind backspace to a menu item filtering
3871 a new `electric-pair-delete-pair' command.
3872 (electric-pair-delete-pair): New command.
3874 * progmodes/python.el (python-electric-pair-string-delimiter):
3875 Fix triple-quoting electricity. (Bug#17192)
3877 * elec-pair.el (electric-pair-post-self-insert-function):
3878 Don't skip whitespace when `electric-pair-text-pairs' and
3879 `electric-pair-pairs' were used. syntax to
3880 electric-pair--skip-whitespace. (Bug#17183)
3882 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3884 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3887 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3889 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3890 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3892 2014-04-07 Glenn Morris <rgm@gnu.org>
3894 * help.el (view-lossage): Doc tweak.
3896 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
3898 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3899 only when inhibit-x-resources is nil, and do that earlier in the
3900 function. Doc fix. (Bug#16694)
3901 (face-spec-choose): Accept additional optional argument, whose
3902 value is returned if no matching attributes are found.
3903 (face-spec-recalc): Use the new optional argument when calling
3904 face-spec-choose. (Bug#16378)
3905 (make-face-x-resource-internal): Do nothing when
3906 inhibit-x-resources is non-nil. Don't touch the default face if
3907 reversed video is given--as was done in previous versions of Emacs.
3908 (face-set-after-frame-default): Don't call
3909 make-face-x-resource-internal here. (Bug#16434)
3911 2014-04-07 Tassilo Horn <tsdh@gnu.org>
3913 * doc-view.el (doc-view-bookmark-jump):
3914 Use `bookmark-after-jump-hook' to jump to the right page after the
3915 buffer is shown in a window. (bug#16090)
3917 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3919 * international/characters.el (mirroring): Fix last change:
3920 instead of loading uni-mirrored.el explicitly, do that implicitly
3921 by creating the 'mirroring' uniprop table. This avoids announcing
3922 the loading of uni-mirrored.el.
3924 2014-04-07 Glenn Morris <rgm@gnu.org>
3926 * files.el (buffer-stale--default-function)
3927 (buffer-stale-function, revert-buffer--default):
3928 * autorevert.el (auto-revert-buffers): Doc tweaks.
3930 2014-04-07 Eli Zaretskii <eliz@gnu.org>
3932 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
3934 2014-04-07 Glenn Morris <rgm@gnu.org>
3936 * files.el (make-backup-file-name-function)
3937 (make-backup-file-name, make-backup-file-name--default-function)
3938 (make-backup-file-name-1, find-backup-file-name)
3939 (revert-buffer-function, revert-buffer-insert-file-contents-function)
3940 (buffer-stale--default-function, buffer-stale-function)
3941 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3942 (revert-buffer, revert-buffer--default)
3943 (revert-buffer-insert-file-contents--default-function):
3944 Doc fixes related to defaults no longer being nil.
3945 (make-backup-file-name-function): Bump :version.
3946 Restore nil as a valid but deprecated custom type.
3948 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3951 Handle $' used as a variable (bug#17174).
3953 * progmodes/perl-mode.el (perl-indent-new-calculate):
3954 Handle forward-sexp failure (bug#16985).
3955 (perl-syntax-propertize-function): Add "foreach" and "for" statement
3956 modifiers introducing expressions (bug#17116).
3958 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3962 2014-04-05 Leo Liu <sdl.web@gmail.com>
3964 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3965 Add define-compilation-mode.
3967 2014-04-04 João Távora <joaotavora@gmail.com>
3969 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3970 parse from comment beginning.
3971 (electric-pair--balance-info): Fix typo in comment.
3972 (electric-pair--in-unterminated-string-p): Delete.
3973 (electric-pair--unbalanced-strings-p): New function.
3974 (electric-pair-string-bound-function): New var.
3975 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3976 according to `electric-pair--in-unterminated-string-p'.
3978 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3980 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3981 Move declaration before first use.
3982 (reftex-move-to-next-arg): Silence compiler warning.
3984 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
3986 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3987 Use `window-total-width' instead of `window-width'.
3989 2014-04-03 Daniel Colascione <dancol@dancol.org>
3991 * subr.el (set-transient-map): Remove rms's workaround entirely;
3992 use new `suspicious-object' subr to mark our lambda for closer
3995 2014-04-02 Richard Stallman <rms@gnu.org>
3997 * subr.el (set-transient-map): Comment out previous change.
3999 2014-04-02 Glenn Morris <rgm@gnu.org>
4001 * menu-bar.el (menu-bar-file-menu):
4002 * vc/ediff.el (ediff-current-file):
4003 Update for revert-buffer-function no longer being nil by default.
4005 * simple.el (command-execute): Respect nil disabled-command-function.
4007 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4009 * simple.el (command-execute): Do not execute the command when it
4010 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4012 2014-04-02 Juri Linkov <juri@jurta.org>
4014 * dired-aux.el (dired-compress-file): Don't use string-match-p
4015 because its match data is used afterwards.
4017 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4022 2014-04-02 João Távora <joaotavora@gmail.com>
4024 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4025 Inhibit quote pairing if point-max is inside an unterminated string.
4026 (electric-pair--looking-at-unterminated-string-p):
4028 (electric-pair--in-unterminated-string-p): New function.
4030 2014-04-01 Daniel Colascione <dancol@dancol.org>
4032 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4033 when trying to complete the prompt.
4035 2014-03-31 Leo Liu <sdl.web@gmail.com>
4037 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4038 Refactor out eldoc-documentation-function-default.
4039 (eldoc-documentation-function-default): New function.
4040 (eldoc-documentation-function): Change value.
4042 2014-03-31 Glenn Morris <rgm@gnu.org>
4044 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4046 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4047 (vhdl-compose-components-package, vhdl-compose-configuration):
4048 Abbreviate default-directory (missing from some previous upstream sync).
4050 2014-03-31 Reto Zimmermann <reto@gnu.org>
4052 Sync with upstream vhdl mode v3.35.2.
4053 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4054 (top-level): No longer require assoc.
4055 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4056 New functions. Use throughout to replace aget etc.
4057 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4058 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4059 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4060 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4061 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4062 except `vhdl-compiler'.
4063 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4066 2014-03-31 Glenn Morris <rgm@gnu.org>
4068 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4069 Revert 2014-03-26 merge goof; go back to using defalias.
4071 2014-03-30 Daniel Colascione <dancol@dancol.org>
4073 * comint.el (comint-send-input):
4074 Deactivate completion-in-region-mode before we send comint input.
4077 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4080 2014-03-29 Glenn Morris <rgm@gnu.org>
4082 * textmodes/reftex.el: Manage most autoloads automatically.
4083 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4084 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4085 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4086 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4087 * textmodes/reftex-toc.el: Set generated-autoload-file,
4088 and add autoload cookies for reftex.el.
4089 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4091 2014-03-28 Glenn Morris <rgm@gnu.org>
4093 * cus-start.el (report-emacs-bug-address): Set custom properties.
4094 * mail/emacsbug.el (report-emacs-bug-address):
4095 Variable is now defined in emacs.c.
4097 * mail/emacsbug.el (report-emacs-bug):
4098 Include system-configuration-features.
4100 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4102 * simple.el (cycle-spacing): Never delete spaces on first run by
4103 default, but do so in a new 'fast mode and if there are already
4104 N spaces (the previous behavior).
4105 Compare N with its value in previous invocation so that changing
4106 prefix argument restarts `cycle-spacing' sequence.
4107 The idea is that with this change, binding M-SPC to
4108 `cycle-spacing' should not introduce any changes in behavior of
4109 the binding so long as users do not type M-SPC twice in a raw with
4110 the same prefix argument or lack thereof.
4112 2014-03-28 Glenn Morris <rgm@gnu.org>
4114 * faces.el (term-file-aliases): New variable.
4115 (tty-run-terminal-initialization): Respect term-file-aliases.
4116 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4117 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4118 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4120 2014-03-27 Glenn Morris <rgm@gnu.org>
4122 * startup.el (inhibit-startup-hooks): Doc tweak.
4123 (normal-top-level): Simplify running of hooks.
4124 For window-setup-hook, respect inhibit-startup-hooks.
4125 (command-line-1): Don't set window-setup-hook to nil.
4127 Allow selective autoloading from obsolete/ directory.
4128 * Makefile.in (obsolete-autoloads): New rule.
4129 (autoloads): Run obsolete-autoloads.
4130 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4131 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4133 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4135 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4136 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4138 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4139 Don't propertize `?' or `!' as symbol constituent when after
4142 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4144 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4145 which is no longer needed and causes trouble in GTK builds (bug#17046).
4147 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4148 Use url-insert-file-contents; package-handle-response no longer exists.
4150 2014-03-26 Daniel Colascione <dancol@dancol.org>
4152 * simple.el (process-menu-mode-map): New variable.
4153 (process-menu-delete-process): New command.
4155 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4157 * emacs-lisp/package.el: Fix bug#16733 (again).
4158 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4159 (url-http-target-url): Remove unused declarations.
4160 (package-handle-response): Remove.
4161 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4162 (package--download-one-archive): Use current-buffer instead of
4163 dynamic binding of `buffer'.
4164 (describe-package-1): Do not decode readme-string.
4166 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4168 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4170 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4171 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4172 `remote-file-name-inhibit-cache' to nil in the second pass.
4173 (tramp-find-executable): Do not call "which" on SunOS.
4174 (tramp-send-command-and-check): Fix docstring.
4175 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4176 check whether source directory has set the sticky bit.
4178 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4180 * simple.el (primitive-undo): Only process marker adjustments
4181 validated against their corresponding (TEXT . POS). Issue warning
4182 for lone marker adjustments in undo history. (Bug#16818)
4183 (undo-make-selective-list): Add marker adjustments to selective
4184 undo list based on whether their corresponding (TEXT . POS) is in
4185 the region. Remove variable adjusted-markers, which was unused
4186 and only non nil during undo-make-selective-list.
4187 (undo-elt-in-region): Return nil when passed a marker adjustment
4188 and explain in function doc.
4190 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4192 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4194 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4196 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4197 Match special global variables without curlies, too.
4198 (ruby-font-lock-keywords): Simplify the matcher for special global
4199 variables. Don't require a non-word character after the variable.
4202 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4204 * simple.el (redisplay-highlight-region-function): Increase priority of
4205 overlay to make sure boundaries are visible (bug#15899).
4207 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4209 * frameset.el (frameset--initial-params): Fix typo in parameter name.
4210 (frameset-restore): Compare display strings with equal.
4212 * frame.el (make-frame): Don't quote display name in error message,
4213 it is already a string.
4215 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4217 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4220 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4222 * emacs-lisp/package.el (package--add-to-archive-contents):
4223 Include already installed and built-in packages in
4224 `package-archive-contents'.
4225 (package-install): Don't include already installed packages in the
4226 options during interactive invocation. (Bug#16762)
4227 (package-show-package-list): If the buffer is already displayed in
4228 another window, switch to that window.
4230 2014-03-26 Reto Zimmermann <reto@gnu.org>
4232 Sync with upstream vhdl mode v3.35.1.
4233 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4234 (vhdl-compiler-alist): Doc fix.
4235 (vhdl-goto-line): Remove.
4236 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4237 (vhdl-mode) <paragraph-start>: Fix value.
4238 (vhdl-fix-statement-region): Not `for' in wait-statement.
4239 (vhdl-beautify-region): Also (un)tabify.
4240 (vhdl-get-visible-signals):
4241 Scan declarative part of generate statements.
4242 (vhdl-template-record): Fix indentation for record type declaration.
4243 (vhdl-expand-abbrev, vhdl-expand-paren):
4244 Revert to using fset again rather than defalias.
4245 (vhdl-scan-directory-contents): Tweak.
4246 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4247 (vhdl-compose-components-package):
4248 Replace vhdl-goto-line with forward-line.
4249 (top-level): Tweak speedbar frame selection.
4250 (vhdl-generate-makefile-1): Support for compilers with no
4251 unit-to-file name mapping (create directory with dummy files).
4253 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
4255 Sync with upstream verilog-mode revision 702457d.
4256 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4257 (create-lockfiles): Declare.
4258 (verilog-read-decls): Fix module header imports, bug709.
4259 Reported by Victor Lau.
4260 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
4261 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4262 interface-only modules, bug721. Reported by Dean Hoyt.
4264 2014-03-26 Glenn Morris <rgm@gnu.org>
4266 * obsolete/gulp.el: Move here from emacs-lisp/.
4268 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4269 Remove fallback aliases, since they are always defined now.
4271 2014-03-24 Daniel Colascione <dancol@dancol.org>
4273 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4274 instead of cl-loop search function.
4276 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4278 * calendar/parse-time.el (parse-time-iso8601-regexp)
4279 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4282 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4284 * net/dns.el (network-interface-list): Define for XEmacs.
4286 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
4288 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4289 the network interfaces changed.
4290 (dns-query): Use it to flush the data.
4292 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4294 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4296 2014-03-23 Daniel Colascione <dancol@dancol.org>
4298 Change subword-mode to use `find-word-boundary-function-table' and
4299 replace `capitalized-words-mode'. Also, convert to lexical binding.
4300 * progmodes/cap-words.el: Delete now-obsolete file.
4301 * progmodes/subword.el: Reimplement using
4302 `find-word-boundary-function-table'.
4303 (subword-mode-map): Hollow out.
4304 (capitalized-words-mode): Define as obsolete alias for
4306 (subword-mode, superword-mode): Tweak documentation to reflect new
4307 implementation; call `subword-setup-buffer'.
4308 (subword-forward, subword-capitalize): Add underscore to indicate
4310 (subword-find-word-boundary-function-table): New constant.
4311 (subword-empty-char-table): New constant.
4312 (subword-setup-buffer): New function.
4313 (subword-find-word-boundary): New function.
4315 2014-03-23 Daniel Colascione <dancol@dancol.org>
4317 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4318 list to look for keyword arguments instead of `memq', fixing
4319 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4320 Please make bootstrap.
4322 2014-03-22 Glenn Morris <rgm@gnu.org>
4324 * dired.el (dired-read-regexp): Make obsolete.
4325 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4326 (dired-flag-files-regexp):
4327 * dired-aux.el (dired-mark-read-regexp):
4328 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4330 * startup.el (fancy-startup-text):
4331 * help.el (describe-gnu-project): Visit online info about GNU project.
4333 * help-fns.el (help-fns--interactive-only): New function.
4334 (help-fns-describe-function-functions): Add the above function.
4335 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4336 (next-line, previous-line): Remove hand-written interactive-only
4337 information from doc strings, it is auto-generated now.
4338 * bookmark.el (bookmark-write):
4339 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4340 (epa-mail-import-keys): Mark interactive-only,
4341 and remove hand-written interactive-only information from doc strings.
4342 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4343 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4344 * files.el (not-modified):
4345 * simple.el (mark-whole-buffer): Mark interactive-only.
4347 * emacs-lisp/byte-run.el (defun-declarations-alist):
4348 Add interactive-only. Doc tweak.
4349 (macro-declarations-alist): Doc tweak.
4350 * subr.el (declare): Doc tweak (add xref to manual).
4351 * comint.el (comint-run):
4352 * files.el (insert-file-literally, insert-file):
4353 * replace.el (replace-string, replace-regexp):
4354 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4355 (delete-forward-char, goto-line, insert-buffer, next-line)
4356 (previous-line): Set interactive-only via declare.
4358 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4360 * emacs-lisp/package.el (package-desc): Use the contents of the
4361 quoted form, not its cdr. (Bug#16873)
4363 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4365 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4366 benefit of doc.c; change parameter profile to match the X function.
4368 2014-03-22 Leo Liu <sdl.web@gmail.com>
4370 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4371 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4373 2014-03-21 Richard Stallman <rms@gnu.org>
4375 * battery.el (battery-linux-sysfs): Search for each field
4376 from the beginning of the buffer.
4378 * subr.el (set-transient-map): Clear out function and value
4379 of the temporary symbol when we're done with it.
4381 * mail/rmailsum.el (rmail-summary-delete-forward):
4382 Optimize case of reaching end and handling count.
4383 (rmail-summary-mark-deleted): Optimize when N is current msg.
4384 Don't create new summary line.
4385 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4386 (rmail-summary-undelete-many): Rewrite for speed.
4387 (rmail-summary-msg-number): New function.
4389 * mail/rmail.el (rmail-delete-message): Update summary.
4390 (rmail-undelete-previous-message): Handle repeat count arg.
4391 (rmail-delete-backward, rmail-delete-forward): Likewise.
4393 2014-03-21 Daniel Colascione <dancol@dancol.org>
4395 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4396 information in bug reports.
4398 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
4400 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4401 and `tramp-copy-env'.
4403 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4404 (tramp-maybe-open-connection): Handle `tramp-login-env'.
4406 2014-03-21 Glenn Morris <rgm@gnu.org>
4408 * electric.el (electric-indent-post-self-insert-function): Add doc.
4410 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
4412 * emacs-lisp/package.el (package-compute-transaction):
4413 Use `version-list-<=' to compare the requirement version against
4414 the version of package already to be installed. Update the error
4415 message. (Bug#16826)
4417 * progmodes/ruby-mode.el (ruby-smie-rules):
4418 Add indentation rule for ` @ '. (Bug#17050)
4420 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4422 * align.el (align-regexp): Remove superfluous backslash.
4424 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4425 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4426 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4427 Fix docstring typos.
4428 (ffap-next): Use C-u in docstring.
4429 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4430 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4431 Remove superfluous backslashes.
4432 (ffap-string-at-point): Reflow docstring.
4434 * server.el (server-host): Reflow docstring.
4435 (server-unload-function): Fix docstring typo.
4436 (server-eval-at): Remove superfluous backslash.
4438 * skeleton.el (skeleton-insert): Remove superfluous backslash.
4439 (skeleton-insert): Doc fix.
4440 (skeleton-insert): Reflow docstring.
4442 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4443 (tty-color-approximate, tty-color-by-index, tty-color-values)
4444 (tty-color-desc): Remove superfluous backslashes.
4446 2014-03-21 Glenn Morris <rgm@gnu.org>
4448 * cus-start.el (history-length): Bump :version.
4450 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4451 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4452 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4453 Don't set `make-backup-files'.
4455 * info.el (info--prettify-description): New function,
4456 to give info-finder descriptions consistent case, punctuation.
4457 (Info-finder-find-node): Use it. Sort packages.
4458 Refer to "description" rather than "commentary".
4460 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4462 * frameset.el (frameset--print-register): New function.
4463 (frameset-to-register): Use it.
4465 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
4467 * progmodes/hideif.el (hif-string-to-number): New function.
4468 (hif-tokenize): Use it to understand non-decimal floats.
4470 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4472 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4474 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * electric.el (electric-newline-and-maybe-indent): New command.
4477 Bind it globally to C-j.
4478 (electric-indent-mode): Don't mess with the global map any more.
4479 Don't drop the post-self-insert-hook is some buffer is still using it
4482 * bindings.el (global-map): Remove C-j binding.
4484 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4485 the docstring of functions advised before dumping (bug#16993).
4487 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
4489 * ps-print.el (ps-generate-postscript-with-faces):
4490 Explicitly deactivate the mark (bug#16866).
4491 * simple.el (deactivate-mark): Update region highlight.
4493 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
4495 * emacs-lisp/package.el (describe-package-1):
4496 Decode commentary (bug#16733).
4498 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
4500 * custom.el (defcustom): Doc fix: recommend avoiding destructive
4501 modification of the value argument of :set (bug#16755).
4503 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4505 * simple.el (newline-and-indent): Do autofill (bug#17031).
4507 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
4509 * newcomment.el (comment-normalize-vars): Only add escaping check
4510 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
4511 (comment-beginning): Use `narrow-to-region' instead of moving back
4513 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4514 (comment-start-skip): Update the docstring.
4516 2014-03-18 Richard Stallman <rms@gnu.org>
4518 * dired.el (dired-display-file): Force use of other window.
4520 2014-03-18 Daniel Colascione <dancol@dancol.org>
4522 * startup.el (tty-handle-args): Remove debug message from 2007.
4524 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4527 (advice--make-interactive-form): Use it to avoid (auto)loading function.
4528 (advice--make-1, advice-add, advice-remove):
4529 Remove braindead :advice-pending hack.
4531 2014-03-17 Glenn Morris <rgm@gnu.org>
4533 * calendar/calendar.el (calendar-generate-month): Apply weekend
4534 face to the right days; fixes 2013-08-06 change. (Bug#17028)
4536 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
4538 * net/tramp.el (tramp-action-out-of-band): Read pending output.
4539 (tramp-call-process): Trace also DESTINATION.
4541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4542 Quote file names when they are local. Remove superfluous trace.
4544 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
4546 * newcomment.el (comment-beginning): If `comment-start-skip'
4547 doesn't match, move back one char and try again. (Bug#16971)
4549 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4550 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4551 Set `comment-start-skip' to a simpler value that doesn't try to
4552 check if the semicolon is escaped (this is handled by
4553 `syntax-ppss' now). (Bug#16971)
4555 * progmodes/scheme.el (scheme-mode-variables): Same.
4557 2014-03-16 Martin Rudalics <rudalics@gmx.at>
4559 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4560 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4561 current (Bug#16816, Bug#17007).
4562 (with-current-buffer-window): New macro doing the same as
4563 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4564 * help.el (help-print-return-message): Warn in doc-string to not
4565 use this in `with-help-window'.
4566 (describe-bindings-internal): Call `describe-buffer-bindings'
4567 from within help buffer. See Juanma's scenario in (Bug#16816).
4568 (with-help-window): Update doc-string.
4569 * dired.el (dired-mark-pop-up):
4570 * files.el (save-buffers-kill-emacs):
4571 * register.el (register-preview): Use `with-current-buffer-window'
4572 instead of `with-temp-buffer-window'.
4574 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
4576 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4577 Implement inserting into current buffer, documented in their docstrings.
4578 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4579 (rst-section-tree-point, rst-forward-section, rst-indent)
4580 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4581 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4582 (rst-font-lock-handle-adornment-pre-match-form)
4583 (rst-repeat-last-character): Reflow docstrings.
4584 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4585 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4586 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4587 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4588 Fix docstring typos.
4589 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4590 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4591 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4593 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
4595 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4596 for compatibility with other ports.
4597 (ns-initialize-window-system): Use it. It is set in term/common-win.el
4598 from the -xrm command line argument, but in the Nextstep port its value
4599 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4601 * progmodes/python.el (defconst, python-syntax-count-quotes)
4602 (python-indent-region, python-indent-shift-right)
4603 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4604 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4605 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4606 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4607 (inferior-python-mode, python-shell-make-comint, run-python-internal)
4608 (python-shell-buffer-substring, python-shell-send-buffer)
4609 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4610 (python-completion-complete-at-point, python-fill-docstring-style)
4611 (python-eldoc-function, python-imenu-format-item-label)
4612 (python-imenu-format-parent-item-label)
4613 (python-imenu-format-parent-item-jump-label)
4614 (python-imenu--build-tree, python-imenu-create-index)
4615 (python-imenu-create-flat-index): Fix docstring typos.
4616 (python-indent-context, python-shell-prompt-regexp, run-python):
4617 Remove superfluous backslashes.
4618 (python-indent-line, python-nav-beginning-of-defun)
4619 (python-shell-get-buffer, python-shell-get-process)
4620 (python-info-current-defun, python-info-current-line-comment-p)
4621 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4622 (python-indent-post-self-insert-function, python-shell-send-file)
4623 (python-shell-completion-get-completions)
4624 (python-shell-completion-complete-or-indent)
4625 (python-eldoc--get-doc-at-point): Reflow docstrings.
4627 2014-03-14 Glenn Morris <rgm@gnu.org>
4629 * emacs-lisp/package.el (package-menu-mode-map):
4630 Replace use of obsolete function alias. Tweak menu item text.
4632 * info.el (Info-finder-find-node):
4633 Ignore the `emacs' metapackage. (Bug#10813)
4635 * finder.el (finder-list-matches): Include unversioned packages
4636 in the result of a keyword search.
4638 * finder.el (finder--builtins-descriptions): New constant.
4639 (finder-compile-keywords): Use finder--builtins-descriptions.
4641 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
4643 * simple.el (blink-matching-paren): Describe the new value,
4644 `jump', enabling the old behavior.
4645 (blink-matching-open): Use that value. (Bug#17008)
4647 2014-03-14 Glenn Morris <rgm@gnu.org>
4649 * finder.el (finder-no-scan-regexp): Add leim-list.
4650 (finder-compile-keywords):
4651 Don't skip files with same basename. (Bug#14010)
4652 * Makefile.in (setwins_finder): New, excluding leim.
4653 (finder-data): Use setwins_finder.
4655 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4656 (help-function-arglist, help-make-usage): Move from here...
4657 * help.el (help-split-fundoc, help-add-fundoc-usage)
4658 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
4659 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4661 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
4663 * net/socks.el (socks, socks-override-functions)
4664 (socks-find-services-entry):
4665 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4666 (hif-find-ifdef-block):
4667 * progmodes/modula2.el (m2-indent): Fix docstring typos.
4669 * net/tls.el (tls-program): Reflow docstring.
4671 * progmodes/pascal.el (pascal-mode-abbrev-table)
4672 (pascal-imenu-generic-expression, pascal-auto-endcomments)
4673 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4674 (pascal-outline-mode): Fix docstring typos.
4675 (pascal-mode): Let define-derived-mode document mode hook.
4676 (pascal-uncomment-area): Reflow.
4677 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4679 * progmodes/opascal.el (opascal-compound-block-indent)
4680 (opascal-case-label-indent): Fix docstring typos.
4681 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4683 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
4685 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4686 Fontify multiple adjacent negation chars. (Bug#17004)
4688 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
4690 * emacs-lisp/package.el (package--prepare-dependencies):
4691 Accept requirements without explicit version (bug#14941).
4693 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4695 * register.el (register-separator, copy-to-register): Doc fixes.
4696 (register-preview-default): Remove unnecessary call to concat.
4698 * frameset.el (frameset-restore): When checking for a visible frame,
4699 use the action map instead of calling visible-frame-list.
4701 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
4703 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4705 2014-03-12 Martin Rudalics <rudalics@gmx.at>
4707 * window.el (fit-frame-to-buffer): Get maximum width from
4708 display's width instead of height.
4710 2014-03-12 Glenn Morris <rgm@gnu.org>
4712 * desktop.el (desktop-restore-frames)
4713 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4714 (desktop-restore-reuses-frames): Doc tweaks.
4716 * electric.el (electric-indent-mode): Doc fix.
4718 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4720 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4721 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4722 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4723 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4724 (cvs-dired-use-hook): Fix docstring typos.
4725 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4728 * vc/pcvs-defs.el (cvs-auto-remove-handled)
4729 (cvs-auto-remove-directories, cvs-default-ignore-marks)
4730 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4731 (cvs-execute-single-dir): Fix docstring typos.
4733 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4734 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4736 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4738 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4739 Fix docstring typos.
4741 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4743 * frameset.el (frameset--jump-to-register): Add autoload; it could be
4744 called from jump-to-register after unloading the frameset package.
4746 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
4748 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4749 (bug#16975). Deactivate the mark before setting it to nil.
4750 (activate-mark): Do nothing if region is already active.
4752 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
4754 * frameset.el (frameset--target-display): Remove definition; declare.
4755 (frameset-save, frameset-restore): Let-bind frameset--target-display.
4757 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
4759 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4760 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4761 when the advice is pending.
4762 (advice-remove): Remove this marker when not needed any more.
4764 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
4766 * frameset.el: Separate options for reusing frames and cleaning up.
4767 (frameset--reuse-list): Remove definition; declare.
4768 (frameset--action-map): Declare.
4769 (frameset--find-frame-if): Doc fix.
4770 (frameset--restore-frame): Cache frame action.
4771 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4772 how to clean up the frame list after restoring. Remove cleaning
4773 options from REUSE-FRAMES. Change all keyword values to symbols.
4774 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4776 * desktop.el (desktop-restore-forces-onscreen)
4777 (desktop-restore-reuses-frames): Use non-keyword values.
4778 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4780 2014-03-10 Glenn Morris <rgm@gnu.org>
4782 * files.el (find-file): Doc fix: update info node name.
4784 * emacs-lisp/advice.el (ad-add-advice, defadvice):
4785 Doc fix: remove references to deleted info nodes.
4787 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
4789 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4790 Do not add nil to the environment, when there's no remote `locale'.
4791 (tramp-find-inline-encoding): Check, that the remote host has
4792 installed perl, before sending scripts.
4794 2014-03-10 Leo Liu <sdl.web@gmail.com>
4796 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4797 Clear eldoc-last-message. (Bug#16920)
4799 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4804 2014-03-09 Juri Linkov <juri@jurta.org>
4806 * ansi-color.el (ansi-color-names-vector): Copy default colors
4807 from `xterm-standard-colors' that look well on the default white
4808 background (and also on the black background) to avoid illegible
4809 color combinations like yellow-on-white and white-on-white.
4810 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4812 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
4814 * frameset.el (frameset-restore): When no frame is visible, do not
4815 generate a list of frames, just make visible the selected one.
4817 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
4819 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4820 it only contains the repository root. (Bug#16897)
4822 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
4824 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4825 only when `remote-file-name-inhibit-cache' is nil.
4826 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
4828 2014-03-06 Martin Rudalics <rudalics@gmx.at>
4830 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4832 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
4833 fit-frame-to-buffer variable. Fix doc-string.
4834 (fit-window-to-buffer): Set ONLY argument in call of
4835 fit-frame-to-buffer. Fix doc-string.
4837 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
4839 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4840 (tramp-action-password): Clear password cache if needed.
4841 (tramp-read-passwd): Do not clear password cache.
4843 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4844 cache unless it is the first password request.
4846 2014-03-06 Glenn Morris <rgm@gnu.org>
4848 * simple.el (newline): Doc tweak.
4850 * emacs-lisp/shadow.el (load-path-shadows-find):
4851 Ignore dir-locals. (Bug#12357)
4853 2014-03-05 Glenn Morris <rgm@gnu.org>
4855 * files.el (interpreter-mode-alist):
4856 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
4858 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
4860 * frameset.el (frameset--initial-params): Filter out null entries.
4862 2014-03-05 Martin Rudalics <rudalics@gmx.at>
4864 * window.el (window-min-height, window-min-width):
4865 Rewrite doc-strings.
4866 (window-body-size): Add PIXELWISE argument to make it consistent
4869 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
4871 * finder.el (finder-mode-map, finder-mode-syntax-table):
4872 Revert part of 2014-02-28 change.
4874 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
4876 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4877 (eww-setup-buffer): Clear next/prev/etc more reliably.
4878 (eww-textarea-map): [tab] doesn't work on tty.
4879 Reported by Mario Lang.
4881 * net/shr.el (shr-map): Ditto.
4883 2014-03-04 Glenn Morris <rgm@gnu.org>
4885 * minibuffer.el (completion-hilit-commonality):
4886 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4888 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
4890 * hilit-chg.el (hilit-chg-unload-function): New function.
4891 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4892 (hilit-chg-map-changes): Prefer cardinal number to digit.
4893 (hilit-chg-display-changes): Reflow docstring.
4894 (highlight-changes-rotate-faces): Remove superfluous backslash.
4896 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
4898 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4899 `tramp-send-command-and-check'.
4901 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
4903 * hexl.el (hexl-address-region, hexl-ascii-region)
4904 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4905 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4906 (hexl-forward-word, hexl-previous-line, hexl-next-line):
4907 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4908 (hexl-mode): Doc fix.
4909 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4910 (hexl-mode-ruler): Fix typos in docstrings.
4912 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4913 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4914 Remove superfluous backslashes.
4915 (strokes-last-stroke, strokes-global-map, strokes-mode):
4917 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4918 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4919 (strokes-distance-squared, strokes-global-set-stroke)
4920 (strokes-global-set-stroke-string): Doc fixes.
4921 (strokes-help): Fix typos; reflow docstring.
4923 2014-03-04 Martin Rudalics <rudalics@gmx.at>
4925 * window.el (window-in-direction): Fix doc-string.
4927 2014-03-04 Glenn Morris <rgm@gnu.org>
4929 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4930 Explicit error if no grammar.
4931 (smie-config-save): Doc fix. Fix quote typo.
4933 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4936 electric-indent-mode-hook if we obey electric-indent-mode.
4937 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4938 decide whether we obey electric-indent-mode.
4939 (c-change-set-fl-decl-start, c-extend-after-change-region):
4941 (c-electric-indent-mode-hook): Assume we do want to obey
4942 electric-indent-mode.
4944 * electric.el (electric-indent-mode-has-been-called): Remove.
4945 (electric-indent-mode): Fix accordingly.
4947 * files.el (hack-local-variables): Mention file name in warning.
4949 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4951 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
4953 * bindings.el: Add comment describing why C-d binds to `delete-char'.
4954 * simple.el (delete-forward-char): Mark as interactive-only.
4956 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
4958 * icomplete.el (icomplete-completions):
4959 Follow-up to 2014-03-01 change.
4961 * icomplete.el: Miscellaneous doc fixes.
4962 Use Icomplete everywhere instead of icomplete for consistency.
4963 (icomplete-max-delay-chars): Fix typo.
4964 (icomplete-mode): Use \[].
4965 (icomplete-tidy, icomplete-exhibit): Reflow.
4966 (icomplete-minibuffer-setup-hook, icomplete-completions):
4967 Remove superfluous backlashes.
4969 * ido.el: Miscellaneous doc fixes.
4970 Use Ido everywhere instead of ido or `ido' for consistency.
4971 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4972 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4973 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4974 (ido-separator): Extract obsolescence info from docstring and declare
4975 with make-obsolete-variable.
4976 (ido-minibuffer-setup-hook): Simplify example.
4977 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4978 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4979 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4980 (ido-everywhere): Reflow docstring.
4981 (ido-toggle-vc): Doc fix.
4982 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4983 of long list of keybindings.
4985 2014-03-03 Glenn Morris <rgm@gnu.org>
4987 * frame.el (display-pixel-height, display-pixel-width)
4988 (display-mm-dimensions-alist, display-mm-height)
4989 (display-mm-width): Doc tweaks.
4991 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
4993 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4994 case of undo in region.
4996 2014-03-02 Martin Rudalics <rudalics@gmx.at>
4998 * window.el (fit-window-to-buffer): Fix argument in window-size
4999 call when window is horizontally combined.
5001 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5003 * icomplete.el (icomplete-completions): Use string-width.
5004 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5006 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5008 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5009 Highlight regexp options. (Bug#16914)
5011 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5013 * window.el (window--max-delta-1): Round down when calculating
5014 how many lines/columns we can get from a window.
5016 2014-03-01 Glenn Morris <rgm@gnu.org>
5018 * isearch.el (search-invisible): Doc fix.
5020 * minibuffer.el (completion-hilit-commonality):
5021 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5022 * comint.el (comint-dynamic-list-completions): Doc fix.
5023 * comint.el (comint-dynamic-list-completions):
5024 * filecache.el (file-cache-minibuffer-complete):
5025 * tempo.el (tempo-display-completions):
5026 * eshell/em-hist.el (eshell-list-history):
5027 Replace use of obsolete argument of display-completion-list.
5029 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5031 * icomplete.el (icomplete-completions):
5032 Revert back to using "..." when ?… cannot be displayed.
5034 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5036 * finder.el (finder-unload-function): New function.
5038 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5040 * dframe.el (dframe-detach):
5041 * find-dired.el (find-dired, find-name-dired):
5042 * finder.el (finder-mode-map, finder-mode-syntax-table)
5043 (finder-headmark, finder-select, finder-mouse-select):
5044 Fix docstring typos.
5046 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5048 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5049 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5050 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5051 Fix doc-string based on a suggestion by Nicolas Richard
5052 <theonewiththeevillook@yahoo.fr>.
5053 * help.el (with-help-window): Fix doc-string.
5055 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5057 * net/shr.el (shr-image-animate): New option.
5058 (shr-put-image): Respect shr-image-animate.
5060 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5062 * net/tramp-adb.el (tramp-adb-parse-device-names):
5063 Use `accept-process-output'.
5064 (tramp-adb-handle-file-truename): Cache the localname only.
5065 (tramp-adb-handle-make-directory)
5066 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5067 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5068 modes cannot be changed.
5070 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5071 file properties of symlinks.
5073 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5075 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5076 required/optional fields to match development biblatex. (Bug#16781)
5078 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5080 * saveplace.el (toggle-save-place):
5081 Fix argument handling. (Bug#16673)
5083 2014-02-28 Glenn Morris <rgm@gnu.org>
5085 * minibuffer.el (completions-first-difference)
5086 (completions-common-part, completion-hilit-commonality): Doc fixes.
5088 2014-02-28 Karl Berry <karl@gnu.org>
5090 * info.el (Info-mode-map): Add H for describe-mode,
5091 to synchronize with standalone Info.
5093 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5095 * progmodes/sql.el (sql-interactive-mode):
5096 Avoid setting global comint-input-ring-separator. (Bug#16814)
5098 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5100 * net/dbus.el (dbus--init-bus): Declare function.
5101 (dbus-path-local, dbus-interface-local): New defconst.
5102 (dbus-init-bus): Use them.
5103 (dbus-return-values-table): Extend doc.
5104 (dbus-handle-bus-disconnect): Extend error message.
5106 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5108 * subr.el (y-or-n-p): Fix double space issue in message.
5110 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5112 * net/tramp.el (tramp-call-process): Improve trace message.
5113 (tramp-handle-insert-file-contents): Trace error case.
5115 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5116 <insert-directory>: Use `tramp-handle-insert-directory'.
5117 (tramp-adb-handle-insert-directory): Remove function.
5118 (tramp-adb-send-command-and-check): New defun, replacing
5119 `tramp-adb-command-exit-status'. Change all callees.
5120 (tramp-adb-handle-file-attributes)
5121 (tramp-adb-handle-directory-files-and-attributes): Use it.
5122 (tramp-adb-ls-output-name-less-p):
5123 Use `directory-listing-before-filename-regexp'.
5124 (tramp-adb-handle-delete-directory): Flush also file properties of
5125 the truename of directory.
5126 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5127 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5128 (tramp-adb-handle-write-region): Implement APPEND.
5129 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5130 properties correctly.
5131 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5132 variables. Check for connected devices only when needed.
5134 2014-02-27 Glenn Morris <rgm@gnu.org>
5136 * minibuffer.el (completion-table-dynamic)
5137 (completion-table-with-cache): Doc fixes.
5139 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5140 (completing-read-multiple): Doc fixes.
5142 2014-02-27 Daniel Colascione <dancol@dancol.org>
5144 * minibuffer.el (completion--nth-completion): Fix indentation.
5146 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5147 explicit tramp path is empty.
5149 2014-02-27 Glenn Morris <rgm@gnu.org>
5151 * emacs-lisp/crm.el (completing-read-multiple):
5152 Empower help-enable-auto-load.
5154 2014-02-26 Glenn Morris <rgm@gnu.org>
5156 * startup.el (command-line): Don't init the tty in daemon mode.
5158 Avoid calling tty-setup-hook twice, eg if a term file
5159 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5160 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5161 (tty-create-frame-with-faces): Use it.
5162 * startup.el (command-line): Pass run-hook argument
5163 to tty-run-terminal-initialization.
5165 * dired.el (dired-restore-desktop-buffer): Demote errors;
5166 eg in case a glob match fails. (Bug#16884)
5168 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5170 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5171 error from `read-from-string'. (Bug#16850)
5173 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5174 result of `completing-read' in the interactive form. (Bug#16854)
5176 2014-02-25 Glenn Morris <rgm@gnu.org>
5178 * image.el (image-animate, image-animate-timeout):
5179 Stop animating images in dead buffers. (Bug#16878)
5181 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5183 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5185 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5186 * term/sun.el (sun-raw-prefix-hooks):
5187 Use tty-setup-hook instead of term-setup-hook.
5188 (terminal-init-sun): Construct message from bytecomp plist.
5189 * term/wyse50.el (enable-arrow-keys): Doc fix.
5191 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5193 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5194 Fix docstring typos.
5196 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
5198 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5200 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5202 * minibuffer.el (completion--try-word-completion):
5203 Fix error when completing M-x commands (bug#16808).
5205 2014-02-24 Leo Liu <sdl.web@gmail.com>
5207 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5209 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5211 * apropos.el (apropos-print): Avoid formatting error when
5212 apropos-do-all and apropos-compact-layout are both t.
5214 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5216 * apropos.el (apropos-property, apropos-all-words-regexp)
5217 (apropos-true-hit, apropos-variable, apropos-print):
5218 Fix docstring typos, and remove obsolete comment.
5220 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
5222 * net/tramp-sh.el (tramp-sh-handle-file-truename):
5223 Preserve trailing "/". (Bug#16851)
5225 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
5227 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5228 after `=>' (bug#16811).
5229 (ruby-smie-rules): Handle the inconsistent second element of the
5230 list returned by `smie-indent--parent'.
5231 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5234 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5236 * elec-pair.el (electric-pair-text-syntax-table)
5237 (electric-pair-syntax-info, electric-pair--syntax-ppss)
5238 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5239 (electric-pair--looking-at-unterminated-string-p): Doc fix.
5240 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
5242 2014-02-22 Glenn Morris <rgm@gnu.org>
5244 * imenu.el (imenu--generic-function): Doc fix.
5246 * register.el (frame-configuration-to-register): Make obsolete.
5248 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
5250 * desktop.el (desktop-save-buffer-p): Do not fail when
5251 desktop-files-not-to-save is nil. Return t for true result
5254 2014-02-22 Daniel Colascione <dancol@dancol.org>
5256 * net/secrets.el (secrets-create-item, secrets-search-items):
5257 Check that attribute values are strings, avoiding the construction
5258 of invalid dbus messages.
5260 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5262 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5263 defun-declarations-alist.
5265 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5270 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5272 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5273 (whitespace-newline, whitespace-trailing, whitespace-line)
5274 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5275 (whitespace-space-after-tab): Fix typo in docstrings.
5277 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
5279 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5281 * electric.el (electric-indent-functions-without-reindent):
5282 Add `yaml-indent-line'.
5284 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5286 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5287 It has done nothing for years; should be removed after the release.
5289 * simple.el (choose-completion): Fix docstring typo.
5290 (read-quoted-char-radix): Remove unneeded * in docstring.
5291 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5292 Don't escape parentheses unnecessarily in docstrings.
5294 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5296 Fix handling of window-min-height/-width (Bug#16738).
5297 * window.el (window--dump-window, window--dump-frame):
5299 (window--min-size-1): Account for window dividers.
5300 When window-resize-pixelwise is nil, delay rounding till after the
5301 sum of the window components has been calculated.
5302 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5303 nil make sure at least one text line and two text columns remain
5305 (window-resize): Signal an error when window-resize-apply fails.
5306 (window--resize-child-windows): Fix calculation of by how many
5307 pixels a window can still be shrunk via window-new-normal.
5308 (adjust-window-trailing-edge): Call window--resizable with
5309 correct TRAIL argument.
5311 (with-temp-buffer-window): Don't evaluate BODY within
5312 with-current-buffer (Bug#16816).
5314 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5316 * net/tramp.el (tramp-check-cached-permissions):
5317 Call `file-attributes' with `suffix' being a symbol but a string.
5319 2014-02-21 Daniel Colascione <dancol@dancol.org>
5321 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5322 (dbus-init-bus): New function: call into dbus-init-bus-1
5323 and installs a handler for the disconnect signal.
5324 (dbus-call-method): Rewrite to look for result in cons.
5325 (dbus-call-method-handler): Store result in cons.
5326 (dbus-check-event): Recognize events with nil sender as valid.
5327 (dbus-handle-bus-disconnect): New function. React to bus
5328 disconnection signal by synthesizing dbus error for each
5329 pending synchronous or asynchronous call.
5330 (dbus-notice-synchronous-call-errors): New function.
5331 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5332 is true, not all the time.
5334 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5336 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5337 Remove obsolescence declarations, these variables do not exist anymore.
5339 * savehist.el (savehist-save-minibuffer-history)
5340 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5341 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5342 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5343 mostly, refer to "Savehist mode" when talking about the mode,
5344 and not the function.
5346 * saveplace.el (save-place): Remove redundant info in docstring.
5347 (save-place-forget-unreadable-files, toggle-save-place)
5348 (save-place-forget-unreadable-files, save-place-dired-hook):
5349 Fix typos and remove unneeded backslashes.
5351 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5353 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5354 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5356 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5357 <insert-directory>: Use `tramp-handle-insert-directory'.
5358 (tramp-gvfs-handle-insert-directory): Remove function.
5360 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5361 Call `tramp-handle-insert-directory'.
5363 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5365 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5366 before the start of buffer/region (bug#16799).
5368 2014-02-20 Glenn Morris <rgm@gnu.org>
5370 * isearch.el (search-invisible): Doc fix.
5372 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5374 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5377 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5379 * frameset.el (frameset-restore): Delay removing an old frame's
5380 duplicate id until the new frame has been correctly created.
5382 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5384 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5385 (tramp-check-cached-permissions): Call `file-attributes' if the
5388 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5389 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5391 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5392 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5393 (tramp-gvfs-maybe-open-connection): Set always connection
5394 properties, even if target is mounted already.
5396 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5397 Set tramp-autoload cookie.
5398 (tramp-get-remote-touch): New defun.
5399 (tramp-sh-handle-set-file-times): Use it.
5400 (tramp-sh-handle-directory-files-and-attributes):
5401 Use `tramp-handle-directory-files-and-attributes' if neither stat
5402 nor perl are available on the remote host.
5404 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5405 "/". Write long listing only when "l" belongs to the switches.
5407 * net/trampver.el: Update release number.
5409 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5411 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5413 2014-02-19 Martin Rudalics <rudalics@gmx.at>
5415 * window.el (window-state-put): Allow WINDOW to refer to an
5416 internal window (Bug#16793).
5418 2014-02-19 Glenn Morris <rgm@gnu.org>
5420 * textmodes/remember.el: Move provide statement to end.
5421 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5422 (remember-notes): Doc fixes.
5424 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * delsel.el (delete-char): Restore incorrectly erased property
5429 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
5431 * frameset.el (frameset--restore-frame): When a frame is being reused
5432 and its root window is not alive, delete all the frame's windows before
5433 restoring the window state. This works around the issue in bug#16793.
5435 2014-02-18 Glenn Morris <rgm@gnu.org>
5437 * textmodes/remember.el (remember-data-directory)
5438 (remember-directory-file-name-format, remember-store-in-files)
5439 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5440 (remember-notes-save-and-bury-buffer)
5441 (remember-notes--kill-buffer-query): Doc fixes.
5443 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5445 2014-02-17 Alan Mackenzie <acm@muc.de>
5447 Connect electric-indent-mode up with CC Mode. Bug #15478.
5448 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5449 to electric-indent-{,local-}-mode.
5450 (c-basic-common-init): Set electric-indent-inhibit.
5451 Initialise c-electric-flag from electric-indent-mode.
5452 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5453 New hook functions which propagate electric-indent-mode to CC mode.
5455 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5456 hit, toggle electric-indent-local-mode.
5458 * electric.el (electric-indent-mode-has-been-called):
5461 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
5463 * frameset.el (frameset-cfg-id): New function.
5464 (frameset--reuse-frame, frameset-restore): Use it.
5465 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5467 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * ido.el (ido-file-internal): Remove unused var `d'.
5470 Use \` for to match BoS. Fit within 80n columns.
5472 2014-02-17 Daniel Colascione <dancol@dancol.org>
5474 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5475 dbus-call-method check for completion using a busy-wait loop with
5478 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
5480 Sync with Tramp 2.2.9.
5482 * net/trampver.el: Update release number.
5484 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
5486 * ido.el (ido-file-internal): Don't add the name of an existing
5487 directory twice. (Bug#16747)
5489 2014-02-16 Glenn Morris <rgm@gnu.org>
5491 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5492 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5494 2014-02-15 Michael R. Mauger <michael@mauger.com>
5496 * progmodes/sql.el: Version 3.4
5497 (sql-oracle-options): New default value ("-L").
5498 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5499 (sql-placeholders-filter): Correct placeholder pattern.
5500 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
5501 (sql-login-delay): New variable.
5502 (sql-product-interactive): Use it.
5504 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
5506 * frameset.el (frameset--jump-to-register): Check that buffer is live
5509 2014-02-15 Glenn Morris <rgm@gnu.org>
5511 * info.el (info-initialize): Revert 2014-01-10 change.
5513 2014-02-14 Glenn Morris <rgm@gnu.org>
5515 * replace.el (map-query-replace-regexp)
5516 (read-regexp-defaults-function, read-regexp): Doc fixes.
5518 * dired.el (dired-read-regexp):
5519 * faces.el (list-faces-display):
5520 * misearch.el (multi-isearch-read-matching-buffers)
5521 (multi-isearch-read-matching-files):
5522 * play/cookie1.el (cookie-apropos):
5523 * progmodes/grep.el (grep-read-regexp): Doc fixes.
5525 * textmodes/remember.el (remember): Use frameset-to-register
5526 rather than frame-configuration-to-register.
5528 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
5530 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5531 incorrect keybinding.
5533 2014-02-13 Daniel Colascione <dancol@dancol.org>
5535 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5536 when adding overlays so that line numbers from compiler match line
5539 2014-02-13 Glenn Morris <rgm@gnu.org>
5541 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
5543 * jit-lock.el (jit-lock-mode): Doc fix.
5545 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
5547 * apropos.el (apropos-read-pattern): When the user passes an empty
5548 string, give a more helpful error message than "Wrong type
5549 argument: stringp, nil".
5551 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
5553 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5555 2014-02-13 Glenn Morris <rgm@gnu.org>
5557 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5559 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
5561 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5562 shift-select commands.
5564 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
5566 * progmodes/js.el (js-indent-line): Don't widen.
5567 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5569 2014-02-12 Glenn Morris <rgm@gnu.org>
5571 * icomplete.el (icomplete): Add info-link to defgroup.
5572 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5573 (icomplete-minibuffer-map, icomplete-mode)
5574 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5576 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5577 (package-menu-filter): Rename from package-menu-filter-interactive.
5580 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
5582 * frameset.el (frameset--jump-to-register): Select the required
5583 window and buffer before restoring position (bug#16696).
5585 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
5587 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5589 2014-02-10 Glenn Morris <rgm@gnu.org>
5591 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
5593 2014-02-10 Eli Zaretskii <eliz@gnu.org>
5595 * w32-common-fns.el (x-get-selection): Doc fix.
5596 * select.el (x-get-selection): Doc fix. (Bug#15109)
5598 * face-remap.el (face-remap-add-relative)
5599 (face-remap-remove-relative, face-remap-reset-base)
5600 (face-remap-set-base): Call force-mode-line-update to redisplay
5601 the current buffer due to potential change in faces. (Bug#16709)
5603 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
5605 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5606 script more robustly.
5608 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5610 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5612 * simple.el (choose-completion): Doc fix (bug#14160).
5614 * subr.el (event-start): Say what a nil EVENT value means.
5616 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5619 * progmodes/grep.el (find-program): Doc fix (bug#14289).
5621 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5623 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5625 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5626 predicate function (bug#15455).
5628 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
5630 * ielm.el (inferior-emacs-lisp-mode): Instead of
5631 `comment-use-global-state', set `comment-use-syntax'.
5633 2014-02-10 Glenn Morris <rgm@gnu.org>
5635 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5637 2014-02-09 Alan Mackenzie <acm@muc.de>
5639 Fix c-invalidate-state-cache on narrowed buffers.
5640 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5641 Widen when setting and clearing the CPP delimiter properties.
5643 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
5645 * help.el (describe-bindings): Doc fix (bug#9888).
5647 * files.el (save-buffer): Use ARG as the parameter name for
5648 consistency (bug#10346).
5649 (save-buffer): Clarify the 0 argument (bug#10346).
5651 * cus-edit.el (customize-apropos): Fix error string.
5652 (custom-buffer-create): Doc fix (bug#11122).
5653 (custom-sort-items): Doc fix (bug#11121).
5655 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5657 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5658 (icomplete-simple-completing-p): Mention the previous variable.
5660 * font-lock.el (font-lock-value-in-major-mode): Clarify the
5661 meaning of the parameter (bug#12282).
5663 * files.el (find-file-noselect): Clarify prompt when changing
5664 readedness (bug#13261).
5665 (locate-file): Suffixes aren't returned, so don't say that they
5667 (backup-inhibited): Doc clarification (bug#12525).
5669 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5670 before we actually start to delete things (bug#16331).
5672 * subr.el (event-start): Doc fix (bug#14228).
5675 2014-02-09 Glenn Morris <rgm@gnu.org>
5677 * emacs-lisp/warnings.el (lwarn):
5678 Empower help-enable-auto-load. (Bug#15940)
5680 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5682 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5685 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
5687 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5688 Insert output at end of buffer. (Bug#16120)
5690 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5692 * simple.el (choose-completion-string-functions): Document new
5693 calling convention (bug#14153).
5694 (execute-extended-command): Clarify doc string (bug#13373).
5696 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5698 * find-dired.el (find-name-dired): Doc fix (bug#14290).
5699 (find-grep-dired): Doc fix (bug#14288).
5701 2014-02-08 Juri Linkov <juri@jurta.org>
5703 * isearch.el (isearch-quote-char): Check character validity
5704 like in `quoted-insert' (bug#16677).
5706 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5708 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5710 * isearch.el (isearch-hide-immediately): Doc clarification
5713 * simple.el (line-move): Document utility function used many
5714 places in the Emacs sources (bug#14843).
5716 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5717 (dired-prev-marked-file): Doc fix (bug#14855).
5718 (dired-up-directory): Doc fix (bug#14848).
5720 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5722 * files.el (file-relative-name): Doc fix (bug#15159).
5724 * fringe.el (fringe-styles): Doc fix (bug#15239).
5726 * isearch.el (isearch-filter-predicate): Documentation typo fix
5729 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5731 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5733 * replace.el (replace-match-maybe-edit): Doc clarification
5736 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5738 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5740 2014-02-08 Glenn Morris <rgm@gnu.org>
5742 * help-fns.el (describe-variable):
5743 Check {file,dir}-local-variables-alist, and buffer-file-name,
5744 in the correct buffer.
5746 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
5748 * help-fns.el (describe-variable): Fix the case where
5749 a value is directory-local with no dir-locals file. (Bug#16635)
5751 2014-02-08 Glenn Morris <rgm@gnu.org>
5753 * abbrev.el (edit-abbrevs-mode):
5754 Derive from fundamental-mode. (Bug#16682)
5756 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
5758 * simple.el (quoted-insert): Check character validity (bug#16677).
5760 2014-02-07 Juri Linkov <juri@jurta.org>
5762 * desktop.el (desktop-read): Claim the lock when the owner is not
5763 the current process. (Bug#16157)
5765 2014-02-07 Juri Linkov <juri@jurta.org>
5767 * desktop.el (desktop-buffers-not-to-save): Change default from nil
5768 to "\\` ". (Bug#16651)
5770 2014-02-07 Juri Linkov <juri@jurta.org>
5772 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5773 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5774 (desktop-auto-save-cancel-timer): New function with some code from
5775 `desktop-auto-save-set-timer'.
5776 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5777 Instead of setting `desktop-save-mode' to nil, call
5778 `desktop-save-mode' with arg 0. (Bug#16630)
5780 2014-02-07 Glenn Morris <rgm@gnu.org>
5782 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5783 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5784 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5786 * obsolete/iswitchb.el: Move to obsolete/.
5787 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5788 since obsolete/ is not scanned for autoloads.
5789 * emacs-lisp/authors.el (authors-valid-file-names):
5792 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5793 Disable now non-functional find-file-hook.
5795 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
5797 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5798 instead of ";" in order to avoid additional prompts. Let heredoc
5799 scripts read from tty. (Bug#16582)
5800 (tramp-send-command): No special handling of heredocs, it isn't
5803 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5806 with a space (bug#16664). Limit the symbols considered to the ones
5807 that are bound or fbound (bug#16646).
5809 2014-02-06 Glenn Morris <rgm@gnu.org>
5811 * epa.el (epa-mail-aliases): Doc fix.
5813 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
5815 * emacs-lisp/lisp.el (lisp-completion-at-point):
5816 Use `completion-table-merge' instead of `completion-table-in-turn'
5819 * minibuffer.el (completion-table-merge): New function.
5821 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
5823 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5824 (tramp-sh-handle-set-file-acl)
5825 (tramp-sh-handle-start-file-process)
5826 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5827 (tramp-find-executable, tramp-send-command): Use it.
5829 2014-02-05 Glenn Morris <rgm@gnu.org>
5831 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
5833 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
5835 * progmodes/python.el (python-shell-send-string)
5836 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5838 2014-02-04 Anders Lindgren <andlind@gmail.com>
5840 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5841 the names (bug#16620).
5843 2014-02-03 Martin Rudalics <rudalics@gmx.at>
5845 * faces.el (window-divider): New default value. Rewrite doc-string.
5846 (window-divider-first-pixel, window-divider-last-pixel): New faces.
5848 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
5850 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5851 `protected' and `public' can also be called without arguments.
5853 2014-02-03 Glenn Morris <rgm@gnu.org>
5855 * register.el (window-configuration-to-register)
5856 (frame-configuration-to-register): Unadvertise unused argument.
5857 * frameset.el (frameset-to-register): Remove unused argument.
5859 * frameset.el (frameset-to-register):
5860 * kmacro.el (kmacro-to-register):
5861 * register.el (increment-register):
5862 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5863 (calc-append-to-register, calc-prepend-to-register):
5864 * play/gametree.el (gametree-layout-to-register)
5865 (gametree-apply-register-layout):
5866 * textmodes/picture.el (picture-clear-rectangle-to-register)
5867 (picture-yank-rectangle-from-register):
5868 * vc/emerge.el (emerge-combine-versions-register):
5869 Use register-read-with-preview to read registers.
5871 2014-02-03 João Távora <joaotavora@gmail.com>
5873 * elec-pair.el (electric-pair-backward-delete-char): Don't error
5874 when at beginning of (possibly narrowed) buffer.
5876 2014-02-02 Daniel Colascione <dancol@dancol.org>
5878 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5879 Also try to display local help from just before point.
5881 2014-02-02 Alan Mackenzie <acm@muc.de>
5883 c-parse-state. Don't "append-lower-brace-pair" in certain
5884 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
5885 recognised as a comment.
5887 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5888 as well as normal comment starter.
5889 (c-parse-state-get-strategy): Extra return possibility
5891 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5892 return value list to indicate replacement of a brace-pair cons
5894 (c-parse-state-1): With 'back-and-forward, only call
5895 c-append-lower-brace-pair-to state-cache when cons-separated.
5897 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
5899 * term/ns-win.el (ns-suspend-error): New function.
5900 (ns-initialize-window-system): Add ns-suspend-error to
5901 suspend-hook (Bug#16612).
5903 2014-02-02 Daniel Colascione <dancol@dancol.org>
5905 * progmodes/cc-defs.el (c-find-assignment-for-mode):
5906 Make loading cc-mode silent.
5908 2014-02-02 Daniel Colascione <dancol@dancol.org>
5910 * comint.el (comint-prompt-read-only): Change doc to suggest
5913 2014-02-02 Glenn Morris <rgm@gnu.org>
5915 * register.el (register-read-with-preview, point-to-register)
5916 (window-configuration-to-register, frame-configuration-to-register)
5917 (jump-to-register, number-to-register, view-register, insert-register)
5918 (copy-to-register, append-to-register, prepend-to-register)
5919 (copy-rectangle-to-register): Doc fixes.
5921 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
5923 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5924 * emacs-lisp/find-func.el (find-function-C-source): Idem.
5925 * emacs-lisp/nadvice.el (advice--cd*r): New function.
5926 * help-fns.el (describe-function-1): Use it.
5928 2014-02-02 Glenn Morris <rgm@gnu.org>
5930 * register.el (register-preview-default): New function,
5931 split from register-preview.
5932 (register-preview-function): Rename from register-preview-functions,
5934 (register-preview): Use register-preview-function.
5935 (register-read-with-preview): Error on non-character event. (Bug#16595)
5937 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
5939 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5940 `:' before binary operators (bug#16609). Don't check for `:'
5941 before `[' and `(', or their syntax status. A percent literal
5942 can't end with either.
5943 (ruby-font-lock-keywords): For built-ins that require arguments,
5944 check that they're followed by something that looks like argument
5947 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
5949 * subr.el (butlast): Document what an omitted N means (bug#13437).
5952 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
5954 * net/shr.el (shr-generic): Make into a defsubst to make the stack
5955 depth shallower (bug#16587).
5956 (shr-tag-svg): Respect `shr-inhibit-images'.
5957 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5959 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
5961 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5962 (ruby-smie-grammar): Make "." right-associative. Make its priority
5963 lower than the ternary and all binary operators.
5964 (ruby-smie-rules): Indent "(" relative to the first non-"."
5965 parent, or the first "." parent at indentation.
5966 Use `ruby-align-chained-calls' for indentation of "." tokens.
5969 2014-01-31 Juri Linkov <juri@jurta.org>
5971 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5972 from `make-hash-table'.
5974 * textmodes/ispell.el (ispell-init-process): Change message format
5975 to be consistent with other messages.
5977 2014-01-31 Glenn Morris <rgm@gnu.org>
5979 * delsel.el (delete-selection-mode): Doc fix.
5981 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5982 (trace-function-background): Doc fixes.
5984 * ido.el (ido-use-virtual-buffers): Doc fix.
5985 Reset :version, since the default value has not changed.
5987 * register.el (register-preview-delay, register-read-with-preview):
5990 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5991 do not mess with mail-buffer position (fixes 2009-11-03 change).
5992 * progmodes/cc-mode.el (c-submit-bug-report):
5993 Check auto-fill-mode is bound. (Bug#16592)
5995 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
5997 * startup.el (fancy-splash-image-file): New function,
5998 split from fancy-splash-head.
5999 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6000 so that we are both using the same image. (Bug#16574)
6002 2014-01-30 Glenn Morris <rgm@gnu.org>
6004 * simple.el (eval-expression): Doc fix.
6006 * hexl.el (hexl-mode-hook):
6007 * ielm.el (ielm-mode-hook):
6008 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6009 (lisp-interaction-mode-hook):
6010 * progmodes/cfengine.el (cfengine3-documentation-function):
6011 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6013 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6015 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6016 is a symbol (bug#16584).
6018 2014-01-30 Glenn Morris <rgm@gnu.org>
6020 * help.el (help-for-help-internal): Add "P" to text.
6022 2014-01-29 Glenn Morris <rgm@gnu.org>
6024 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6026 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6028 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6031 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6033 * progmodes/hideif.el: Extend to full CPP expression syntax.
6034 (hif-token-alist): Add missing tokens.
6035 (hif-token-regexp): Add support for float/octal/hex immediates.
6036 (hif-string-literal-regexp): New const.
6037 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6038 (hif-exprlist): New function.
6039 (hif-parse-if-exp): Use it.
6040 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6041 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6042 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6043 (hif-logxor, hif-comma): New functions.
6045 2014-01-28 Glenn Morris <rgm@gnu.org>
6047 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6049 * indent.el (tab-stop-list): Doc fix. Add :version.
6051 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6052 (cvs-append-to-ignore): Add compatibility alias.
6054 2014-01-27 Glenn Morris <rgm@gnu.org>
6056 * dired.el (dired-hide-details-mode): Don't autoload it,
6057 since it cannot be used outside Dired buffers anyway.
6059 * emulation/cua-base.el (cua-mode): Doc fix.
6061 * dired.el (dired-hide-details-hide-symlink-targets)
6062 (dired-hide-details-hide-information-lines)
6063 (dired-hide-details-mode): Doc fixes.
6065 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6066 * strokes.el (strokes-file): Doc fix. Bump :version.
6067 (strokes-help): Doc fix.
6068 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6069 * emulation/viper.el (viper): Doc fix for custom group.
6070 (top-level): Remove oh-so-no-longer-relevant text about vip.
6071 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6073 * ido.el (ido-save-directory-list-file):
6074 * saveplace.el (save-place-file):
6075 * calendar/timeclock.el (timeclock-file):
6076 * net/quickurl.el (quickurl-url-file):
6077 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6078 * progmodes/idlwave.el (idlwave-config-directory):
6079 * textmodes/remember.el (remember-data-file):
6082 2014-01-26 Glenn Morris <rgm@gnu.org>
6084 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6085 Doc fix. Make obsolete.
6086 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6088 * sort.el (delete-duplicate-lines): Doc fix.
6090 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6092 * progmodes/ada-mode.el (ada):
6093 * woman.el (woman): Link to info manual and Commentary section.
6095 * progmodes/flymake.el (flymake):
6096 * nxml/nxml-mode.el (nxml):
6098 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6099 * htmlfontify.el (htmlfontify):
6102 * ido.el (ido): Link to info manual.
6104 2014-01-25 Leo Liu <sdl.web@gmail.com>
6106 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6108 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6110 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6113 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6115 * net/eww.el (eww-download-callback):
6116 Fix reference to eww-download-directory.
6118 * emacs-lisp/bytecomp.el (byte-compile-file):
6119 Remove unused local variable `file-name'.
6121 2014-01-24 Glenn Morris <rgm@gnu.org>
6123 * woman.el (woman-default-faces, woman-monochrome-faces):
6124 Fix obsolescence specification.
6126 * subr.el (with-demoted-errors): Doc fix.
6128 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6130 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6131 (cl--macroexp-fboundp): New function.
6132 (cl--make-type-test): Use it.
6134 2014-01-23 Glenn Morris <rgm@gnu.org>
6136 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6137 * simple.el (eval-expression): Doc fixes.
6139 2014-01-22 Glenn Morris <rgm@gnu.org>
6141 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6143 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6145 * emacs-lisp/package.el: Write files silently.
6146 (package-autoload-ensure-default-file, package--write-file-no-coding)
6147 (package-generate-description-file, package--download-one-archive)
6148 (package-install-from-archive): Tell `write-region' to stay quiet.
6149 (package-menu-mode, package-menu--print-info): Omit the Archive column
6150 if there's only one archive.
6151 (package-all-keywords, package--has-keyword-p): Remove dead code.
6153 2014-01-22 Glenn Morris <rgm@gnu.org>
6155 * version.el (emacs-bzr-version-bzr): Fix typo.
6157 * version.el (emacs-repository-get-version):
6158 Check either .bzr or .git, but not both.
6159 Make the git case actually use the DIR argument, and return nil
6160 rather than the empty string.
6161 Avoid error if .git exists but the git executable is not found.
6163 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6165 Fixes in window size functions around Bug#16430 and Bug#16470.
6166 * window.el (window-total-size, window-size): New argument ROUND.
6167 (window--min-delta-1, window-min-delta, window--max-delta-1):
6168 Be more conservative when calculating the numbers of lines or
6169 columns a window can shrink (Bug#16430).
6170 (fit-window-to-buffer): Simplify code.
6171 * term.el (term-window-width): Call window-body-width again.
6173 2014-01-22 Glenn Morris <rgm@gnu.org>
6175 * image.el (image-format-suffixes): Doc fix.
6177 * international/quail.el (quail-define-package): Doc fix.
6179 * emacs-lisp/authors.el (authors-valid-file-names)
6180 (authors-renamed-files-alist): Additions.
6182 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6183 reverts 2014-01-09 change. (Bug#16422)
6185 * calc/calc-embed.el (thing-at-point-looking-at):
6186 * emacs-lisp/map-ynp.el (x-popup-dialog):
6187 * obsolete/lmenu.el (x-popup-dialog):
6188 * emacs-lisp/package.el (url-recreate-url):
6189 * mail/mailclient.el (clipboard-kill-ring-save):
6190 * subr.el (x-popup-dialog): Update declaration.
6191 * mail/rmail.el (rmail-mime-message-p):
6192 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6194 2014-01-21 Daniel Colascione <dancol@dancol.org>
6196 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6197 Correctly detect when we're inside an arithmetic expansion form
6198 containing nested parenthesis.
6199 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6200 to detect cases where we shouldn't expand "<<" to a heredoc
6203 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6206 (eldoc--message-command-p): New function.
6207 (eldoc-display-message-p): Use it.
6208 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6209 message is not automatically erased for us.
6210 (eldoc-print-current-symbol-info): Erase previous message, if any.
6212 2014-01-21 Tassilo Horn <tsdh@gnu.org>
6214 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6215 specify it's an interactive function.
6217 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6218 Fix regex used for scanning for citation keys which failed for
6219 citations with optional arguments.
6221 2014-01-21 Leo Liu <sdl.web@gmail.com>
6223 * simple.el (read--expression): Don't enable eldoc-mode.
6225 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
6227 * simple.el (move-beginning-of-line): Make sure we don't move forward
6230 2014-01-20 Juri Linkov <juri@jurta.org>
6232 * saveplace.el (toggle-save-place, save-place-to-alist)
6233 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6234 'dired-mode) before checking for dired-directory. (Bug#16477)
6236 2014-01-20 Juri Linkov <juri@jurta.org>
6238 * indent.el (indent-line-to): Use backward-to-indentation
6239 instead of back-to-indentation. (Bug#16461)
6241 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
6243 Revert some of the CANNOT_DUMP fix (Bug#16494).
6244 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6245 but fixing this can wait until after the next release.
6246 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6248 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
6250 * eshell/esh-mode.el (eshell-password-prompt-regexp):
6251 Use `password-word-equivalents'.
6252 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6253 to t. (Bug#5664, Bug#13124)
6255 2014-01-19 Alan Mackenzie <acm@muc.de>
6257 Bind open-paren-in-column-0-is-defun-start to nil at some entry
6259 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6260 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6261 * progmodes/cc-mode.el (c-before-change, c-after-change)
6262 (c-font-lock-fontify-region): Bind it here.
6264 2014-01-19 Martin Rudalics <rudalics@gmx.at>
6266 * term.el (term-window-width): Call window-text-width instead of
6267 window-width (Bug#16470).
6269 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
6271 * simple.el (password-word-equivalents): Remove duplicates.
6272 Sort, to make this easier next time.
6273 Downcase. Omit ": " after "jelszó".
6275 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
6277 * term/common-win.el (saved-region-selection): Defvar it.
6278 (x-select-text): Set saved-region-selection (Bug#16382).
6280 2014-01-18 Glenn Morris <rgm@gnu.org>
6282 * emacs-lisp/authors.el (authors-aliases)
6283 (authors-renamed-files-alist): Add some entries.
6285 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
6287 * net/tramp.el (tramp-password-prompt-regexp):
6288 Use `password-word-equivalents' if available.
6289 (tramp-action-password, tramp-process-one-action)
6290 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6292 2014-01-17 Chong Yidong <cyd@gnu.org>
6294 * simple.el (password-word-equivalents): New defcustom.
6295 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6297 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6300 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6302 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6303 (ruby-align-to-stmt-keywords): Change the default value.
6304 Use `ruby-alignable-keywords' to generate the possible customization
6306 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6307 keywords, check against the value of `ruby-alignable-keywords'
6308 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6310 2014-01-17 Glenn Morris <rgm@gnu.org>
6312 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6314 Make M-x authors return zero *Authors Errors* from current logs.
6315 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6316 (authors-ignored-files): Add some entries, remove others.
6317 (authors-ambiguous-files, authors-valid-file-names):
6319 (authors-renamed-files-alist): Add, remove, and adjust entries.
6320 (authors-renamed-files-regexps): Add some entries.
6321 Remove some very broad ones. Make some entries `lax'.
6322 (authors-lax-changelogs): New constant.
6323 (authors-disambiguate-file-name): Treat top-level specially.
6324 (authors-lax-changelog-p): New function.
6325 (authors-canonical-file-name): Check file as written against
6326 authors-valid-file-names. Do not special-case etc/.
6327 Handle `lax' logs and authors-renamed-files-regexps elements.
6329 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6331 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6332 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6335 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6337 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6338 Assume we're already in the proper buffer.
6339 Inspired by Anders Lindgren <andlind@gmail.com>.
6340 (follow-post-command-hook): Call it from the right buffer.
6341 (follow-comint-scroll-to-bottom): Adjust call.
6342 (follow-all-followers): Use get-buffer-window-list.
6344 2014-01-15 Daniel Colascione <dancol@dancol.org>
6346 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6347 `buffer-file-name' in interactive-form so that we don't leave
6348 pathless file names in `file-name-history'.
6350 2014-01-15 Juri Linkov <juri@jurta.org>
6352 * indent.el (indent-rigidly): Set deactivate-mark to nil
6353 in transient indentation mode. (Bug#16438)
6355 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6357 * emacs-lisp/package.el (package-desc-keywords): New function
6359 (describe-package-1, package-all-keywords)
6360 (package--has-keyword-p): Use it.
6362 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6364 * simple.el (define-alternatives): When creating the
6365 COMMAND-alternatives variable, assign COMMAND as its definition
6366 name so that `describe-variable' can relocate it.
6368 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
6370 * font-lock.el (font-lock-keywords): Fix typo in docstring
6373 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6375 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6376 line instead of wrongly reset `add-coment' (bug#13577).
6378 2014-01-14 Daiki Ueno <ueno@gnu.org>
6380 * epa-file.el (epa-file-write-region): Encode the region according
6381 to `buffer-file-format'. Problem reported at:
6382 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6384 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6386 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6387 so it applies in the right buffer (bug#16410).
6389 2014-01-13 Daniel Colascione <dancol@dancol.org>
6391 * textmodes/rst.el (rst-define-key): Provide deprecated
6392 keybindings through named functions instead of anonymous ones so
6393 that "??" doesn't appear in describe-mode output.
6395 2014-01-13 Bastien Guerry <bzg@gnu.org>
6397 * simple.el (define-alternatives): Call the selected command
6398 interactively. When setting `COMMAND--implementation' for the
6399 first time, tell the user how to chose another implementation.
6400 Enhance the docstring.
6402 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6405 (log-edit--match-first-line): New function.
6406 (log-edit-font-lock-keywords): Use it.
6407 (log-edit-mode): Make jit-lock-defer-multiline work.
6409 2014-01-13 Bastien Guerry <bzg@gnu.org>
6411 * rect.el (rectangle-mark-mode): When the region is not active,
6412 display a message saying that the mark as been set and that
6413 rectangle mode is in use.
6414 (rectangle--highlight-for-redisplay): Only put an overlay with a
6415 visible vertical bar when (display-graphic-p) is non-nil.
6416 This partially fixes Bug#16403.
6418 2014-01-13 Juri Linkov <juri@jurta.org>
6420 * info.el (Info-find-file): Go to DIR before displaying the error
6421 about a nonexistent file if no previous Info file is visited.
6422 Use `user-error' instead of `error' for "Info file %s does not exist".
6423 (Info-find-node-2): In case of a nonexistent node in unwind forms
6424 go to the Top node if there is no previous node to revert to.
6427 2014-01-13 Martin Rudalics <rudalics@gmx.at>
6429 fit-frame/window-to-buffer code fixes including one for Bug#14096.
6430 * window.el (fit-frame-to-buffer): Fix doc-string.
6431 Respect window-min-height/-width. Fit pixelwise when
6432 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
6433 when avoiding that frame goes partially off-screen.
6434 (fit-window-to-buffer): Respect window-min-height/-width
6437 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6440 after an empty line.
6442 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
6444 * net/shr.el (shr-render-region): Autoload.
6446 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
6448 * net/eww.el (eww-download-directory): Rename from
6449 `eww-download-path' (Bug#16419).
6451 2014-01-12 Leo Liu <sdl.web@gmail.com>
6453 * dired-x.el (dired-mode-map): Fix last change.
6455 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6457 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
6460 * emacs-lisp/generic.el (generic--normalize-comments):
6461 Rename from generic--normalise-comments. All uses changed.
6462 * play/bubbles.el (bubbles--neighborhood-score)
6463 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6464 (bubbles--neighborhood-available)
6465 (bubbles--update-neighborhood-score):
6466 Rename from names with 'neighbourhood'. All uses changed.
6468 2014-01-12 Leo Liu <sdl.web@gmail.com>
6470 Re-implement the feature of showing eldoc info after editing.
6471 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6472 (eldoc-edit-message-commands): New function.
6473 (eldoc-print-after-edit): New variable.
6474 (eldoc-pre-command-refresh-echo-area): Emit message only by
6475 eldoc-message-commands.
6476 (eldoc-mode): Restrict eldoc-message-commands to editing commands
6477 if eldoc-print-after-edit is set. (Bug#16346)
6478 * simple.el (read--expression): Enable eldoc-mode.
6479 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6481 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
6482 Eric S. Raymond <esr@thyrsus.com>
6484 * version.el (emacs-repository-get-version): Enhance so the
6485 function works correctly in either a Bazaar or Git repo.
6487 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
6489 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6490 Goes with removal of the joke manpages from /etc.
6492 2014-01-10 Kenichi Handa <handa@gnu.org>
6494 * mail/rmail.el (rmail-get-coding-system):
6495 Check rmail-get-coding-function before "funcall"ing it.
6497 2014-01-10 Glenn Morris <rgm@gnu.org>
6499 * emacs-lisp/authors.el (authors-fixed-entries):
6500 Update for files that no longer exist.
6502 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
6504 * version.el (emacs-bzr-get-version): Restore compatibilty with
6507 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
6509 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6512 2014-01-10 Eli Zaretskii <eliz@gnu.org>
6514 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6516 2014-01-10 Chong Yidong <cyd@gnu.org>
6518 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6520 2014-01-10 Anders Lindgren <andlind@gmail.com>
6522 * follow.el (follow-cache-command-list): Include right-char and
6525 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
6528 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6529 * woman.el (woman-mark-horizontal-position):
6530 Rename from woman-mark-horizonal-position. Use changed.
6532 2014-01-10 Glenn Morris <rgm@gnu.org>
6534 * info.el (info-initialize): If running uninstalled, ensure our
6535 own info files are always found first, even if INFOPATH is set.
6537 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6539 2014-01-09 David Engster <deng@randomsample.de>
6541 * emacs-lisp/eieio-custom.el:
6542 * emacs-lisp/eieio-opt.el: Set generated autoload file to
6543 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6544 * emacs-lisp/eieio.el: Regenerate autoloads.
6546 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
6548 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6549 following renames. (Bug#8756)
6551 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6555 (activate-mark): Add `no-tmm' argument.
6556 (set-mark, push-mark-command): Use it instead of running
6557 activate-mark-hook by hand.
6559 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
6561 In preparation for the move to git, sanitize out some
6562 Bazaar-specific names.
6564 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6566 * version.el (emacs-bzr-version): Name changed to
6567 emacs-repository-version. Obsolete-variable alias made.
6568 * loadup.el: Follow through on this name change.
6569 * mail/emacsbug.el (report-emacs-bug): Factor out any
6570 assumption about the version control system in use.
6572 2014-01-08 David Engster <deng@randomsample.de>
6574 * help-fns.el (help-fns-describe-function-functions):
6575 New variable to call functions for augmenting help buffers.
6576 (describe-function-1): Remove explicit calls to
6577 `help-fns--compiler-macro', `help-fns--parent-mode' and
6578 `help-fns--obsolete'. Put them in above new variable instead, and
6579 call them through `run-hook-with-args'.
6580 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6581 `eieio-describe-class'. Not meant for interactive use anymore,
6582 but to augment existing help buffers. Remove optional second
6583 argument. Create proper button for file location.
6584 Rewrite function to use `insert' instead of `princ' and `prin1' where
6586 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6587 (eieio-method-def, eieio-class-def): Move further up.
6588 (describe-method, describe-generic, eieio-describe-method):
6590 (eieio-help-constructor, eieio-help-generic): Rename from
6591 `eieio-describe-constructor' and `eieio-describe-generic', resp.
6592 Rewrite to use `insert' in the current buffer and use proper help
6594 (eieio-help-find-method-definition)
6595 (eieio-help-find-class-definition): Also accept symbols as
6597 (eieio-help-mode-augmentation-maybee): Remove.
6598 (eieio-describe-class-sb): Use `describe-function'.
6599 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6600 Add `eieio-help-generic' and `eieio-help-constructor'.
6602 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
6605 * language/china-util.el (hz-ascii-designation):
6606 Rename from hz-ascii-designnation.
6607 (hz-ascii-designation): Rename from hz-ascii-designnation.
6610 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6615 2014-01-08 Bastien Guerry <bzg@gnu.org>
6617 * emacs-lisp/package.el (package-delete):
6618 Correctly delete the package from package-alist.
6620 2014-01-08 Daiki Ueno <ueno@gnu.org>
6622 * emacs-lisp/package.el (url-recreate-url): Declare.
6623 (url-http-target-url): Declare.
6624 (package-handle-response): Include requested URL in the error message.
6625 (package--check-signature): Don't re-signal errors from
6626 package--with-work-buffer. Suggested by Stefan Monnier.
6628 2014-01-07 Bastien Guerry <bzg@gnu.org>
6630 * minibuffer.el (completion--try-word-completion): When both a
6631 hyphen and a space are possible candidates for the character
6632 following a word, display both candidates. (Bug#15980)
6634 2014-01-07 Martin Rudalics <rudalics@gmx.at>
6636 * window.el (balance-windows-2): While rounding don't give a
6637 window more than the remainder. Bug#16351, bug#16383.
6639 2014-01-07 Glenn Morris <rgm@gnu.org>
6641 * menu-bar.el (menu-bar-help-extra-packages): Remove.
6642 (menu-bar-help-menu): Use view-external-packages instead.
6644 2014-01-07 Bastien Guerry <bzg@gnu.org>
6646 * emacs-lisp/package.el (package-delete): Also delete the package
6647 name from `package-alist', not its description only.
6649 2014-01-07 Glenn Morris <rgm@gnu.org>
6651 * help.el (view-external-packages):
6652 * menu-bar.el (menu-bar-help-extra-packages):
6653 Visit efaq.info rather than etc/MORE.STUFF.
6655 2014-01-07 Juri Linkov <juri@jurta.org>
6657 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6658 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
6660 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6661 that shadows RET. (Bug#16342)
6663 2014-01-07 Chong Yidong <cyd@gnu.org>
6665 * isearch.el (isearch-yank-char, isearch-yank-word)
6666 (isearch-yank-line): Doc fix.
6668 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6671 * emacs-lisp/elint.el (elint-find-builtins):
6672 * emacs-lisp/eldoc.el (eldoc-symbol-function):
6673 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6674 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6675 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6676 * apropos.el (apropos-safe-documentation):
6677 * subr.el (symbol-file): Remove redundant fboundp.
6678 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6680 2014-01-06 Bastien Guerry <bzg@gnu.org>
6682 * hl-line.el (global-hl-line-overlay): Make a local variable.
6683 (global-hl-line-overlays): New variable to store all overlays.
6684 (global-hl-line-mode): Don't delete overlays from the current
6685 buffer when `global-hl-line-sticky-flag' is non-nil.
6686 (global-hl-line-highlight): Add new overlays to
6687 `global-hl-line-overlays'.
6688 (global-hl-line-unhighlight-all): New function to delete all
6689 overlays when turning off `global-hl-line-mode'.
6690 This fixes Bug#16183.
6692 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6694 * subr.el (set-transient-map): Fix nested case and docstring.
6696 2014-01-06 Tassilo Horn <tsdh@gnu.org>
6698 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6701 2014-01-06 Daniel Colascione <dancol@dancol.org>
6703 Fix defun navigation in vc log view.
6705 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6706 like `beginning-of-defun'.
6707 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6708 log-view-end-of-defun to log-view-end-of-defun-1. Replace
6709 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6710 (log-view-extract-comment): Call `log-view-current-entry' directly
6711 instead of relying on broken `log-view-beginning-of-defun' behavior.
6713 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
6716 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6717 * emacs-lisp/debug.el (cancel-debug-on-entry):
6718 * epg.el (epg-error-to-string):
6719 * files.el (recover-file):
6720 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6721 * mail/emacsbug.el (report-emacs-bug-hook):
6722 * mail/sendmail.el (mail-recover):
6723 * ses.el (ses-yank-resize):
6724 * term/ns-win.el (ns-print-buffer):
6725 Spelling fixes in diagnostics, mostly for "canceled" with one L.
6726 * epg.el (epg-key-capability-alist): Rename from misspelled version.
6728 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6730 2014-01-06 Leo Liu <sdl.web@gmail.com>
6732 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6733 to avoid shadowing global key. (Bug#16354)
6735 2014-01-06 Daniel Colascione <dancol@dancol.org>
6737 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6740 2014-01-05 Martin Rudalics <rudalics@gmx.at>
6742 * window.el (balance-windows): Add mising t to fix Bug#16351.
6744 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6746 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6748 (shr-insert): If we have a word that's longer than `shr-width',
6749 break after it anyway. Otherwise we'll do no breaking once we get
6752 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6754 * net/eww.el (eww): Support single/double quote for search.
6755 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6756 (eww-history-quit): Delete and use quit-window.
6757 (eww-history-kill): Delete, because it doesn't work well and
6759 (eww-history-mode-map): Delete some keys and add easy-menu.
6761 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
6763 Fix misspelling of 'chinese' in rx (Bug#16237).
6764 * emacs-lisp/rx.el (rx-categories): Correct spelling of
6767 Change subword regexps back to vars (Bug#16296).
6768 * progmodes/subword.el (subword-forward-regexp)
6769 (subword-backward-regexp): Change these back to variables.
6771 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
6773 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6774 syntax-begin-function (bug#16247).
6776 2014-01-03 Chong Yidong <cyd@gnu.org>
6778 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6779 (advice--docstring): Delete variable.
6780 (advice--make-1): Leave the docstring empty.
6781 (advice-add): Use function-documentation for advised docstring.
6783 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6784 Ignore function-documentation property when getting documentation.
6785 (ad-activate-advised-definition): Use function-documentation
6786 generate the docstring.
6787 (ad-make-advised-definition): Don't call
6788 ad-make-advised-definition-docstring.
6789 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6792 * progmodes/sql.el (sql-help): Use function-documentation instead
6793 of dynamic-docstring-function property. No need to autoload now.
6794 (sql--help-docstring): New variable.
6795 (sql--make-help-docstring): Use it.
6797 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
6799 * ielm.el (ielm-tab): Retarget.
6800 (ielm-map): Use ielm-tab for tab.
6801 (ielm-complete-filename): Use comint-filename-completion.
6802 (ielm-complete-symbol): Remove.
6803 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6804 remove ielm-tab from completion-at-point-functions (bug#16224).
6806 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6807 Beware signals raised by predicates (bug#16201).
6809 2014-01-02 Richard Stallman <rms@gnu.org>
6811 * dired-aux.el (dired-do-print): Handle printer-name.
6813 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6814 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6815 (rmail-epa-decrypt): Turn off mime processing.
6817 * mail/rmail.el (rmail-make-in-reply-to-field):
6818 Add parens in message-id.
6820 * mail/rmail.el (rmail-get-coding-function): Variable.
6821 (rmail-get-coding-system): Use it.
6823 2013-12-31 Eli Zaretskii <eliz@gnu.org>
6825 * international/mule-conf.el: Unify the charset indian-is13194.
6826 (indian-is13194): Specify unify-map.
6828 2013-12-31 Leo Liu <sdl.web@gmail.com>
6830 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
6832 2013-12-30 Daniel Colascione <dancol@dancol.org>
6834 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6835 of printing a useless when we resume from sleep.
6837 * progmodes/sh-script.el
6838 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6839 in indentation code. (Bug#16233)
6841 2013-12-28 João Távora <joaotavora@gmail.com>
6843 * elec-pair.el (electric-pair-post-self-insert-function):
6844 Don't open extra newlines at beginning of buffer. (Bug#16272)
6846 2013-12-28 Eli Zaretskii <eliz@gnu.org>
6848 * frame.el (window-system-for-display): Don't allow to create a
6849 GUI frame from a -nw session on MS-Windows. (Bug#14739)
6851 2013-12-28 Glenn Morris <rgm@gnu.org>
6853 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6856 * apropos.el (apropos-match-face):
6857 * calculator.el (calculator-displayer):
6858 * dabbrev.el (dabbrev-search-these-buffers-only):
6859 * face-remap.el (buffer-face-mode-face):
6860 * simple.el (yank-handled-properties):
6861 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6862 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6863 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6864 (hashcash-double-spend-database):
6865 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6866 (ruby-deep-indent-paren-style):
6867 * textmodes/flyspell.el (flyspell-auto-correct-binding):
6868 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6869 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6870 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6871 Specify custom types.
6873 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6874 * bookmark.el (bookmark-bmenu-use-header-line):
6875 * doc-view.el (doc-view-scale-internally):
6876 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6877 * register.el (register-preview-delay):
6878 * net/shr.el (shr-bullet):
6879 * progmodes/cfengine.el (cfengine-cf-promises)
6880 (cfengine-parameters-indent):
6881 * progmodes/octave.el (inferior-octave-error-regexp-alist):
6882 * textmodes/reftex-vars.el (reftex-label-regexps):
6883 * vc/log-edit.el (log-edit-setup-add-author): Add version.
6885 * net/tls.el (tls-certtool-program): Fix default value.
6887 * desktop.el (desktop-restore-in-current-display):
6888 * newcomment.el (comment-empty-lines):
6889 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6890 (idlwave-pad-keyword):
6891 * progmodes/tcl.el (tcl-tab-always-indent):
6892 * textmodes/reftex-vars.el (reftex-index-default-tag):
6893 * elec-pair.el (electric-pair-skip-whitespace):
6894 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6896 * emacs-lisp/authors.el (authors-ignored-files)
6897 (authors-valid-file-names, authors-renamed-files-alist): Additions.
6899 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
6901 * shell.el (shell-dynamic-complete-command): Doc fix.
6902 (shell--command-completion-data): Shell completion now matches
6903 executable filenames from the current buffer's directory, on
6904 systems in which this behavior is the default (windows-nt, ms-dos).
6906 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
6908 * net/shr.el (shr-insert): Don't infloop if the width is zero.
6910 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6915 * electric.el: Move all electric-pair-* to elec-pair.el.
6916 * elec-pair.el: New file, split from electric.el.
6918 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
6920 * net/shr.el (shr-find-fill-point): Don't try to fill if the
6921 indentation level is larger than the width, because that will
6923 (shr-insert): Fill repeatedly long texts, so that Japanese is
6924 formatted correctly (bug#16263).
6925 (shr-find-fill-point): Off by one error in comparison with the
6928 2013-12-26 João Távora <joaotavora@gmail.com>
6930 * electric.el (electric-pair-mode): More flexible engine for skip-
6931 and inhibit predicates, new options for pairing-related functionality.
6932 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6933 if that keeps or improves their balance in buffers.
6934 (electric-pair-delete-adjacent-pairs): Delete the pair when
6935 backspacing over adjacent matched delimiters.
6936 (electric-pair-open-extra-newline): Open extra newline when
6937 inserting newlines between adjacent matched delimiters.
6938 (electric--sort-post-self-insertion-hook):
6939 Sort post-self-insert-hook according to priority values when
6940 minor-modes are activated.
6941 * simple.el (newline-and-indent): Call newline with interactive
6943 (blink-paren-post-self-insert-function): Set priority to 100.
6944 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6945 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6946 comments. Locally set electric-pair-skip-whitespace to 'chomp and
6947 electric-pair-open-newline-between-pairs to nil.
6949 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6951 * progmodes/python.el: Use lexical-binding.
6952 (python-nav-beginning-of-defun): Stop searching ASAP.
6954 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
6956 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6957 Fix interactive spec. Doc fix. (Bug#15754)
6959 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
6961 * emacs-lisp/byte-run.el (eval-when-compile):
6962 * progmodes/cc-defs.el (cc-eval-when-compile):
6963 Fix edebug spec (bug#16184).
6965 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
6967 * net/shr.el (shr-visit-file): Remove debugging function.
6968 (shr-insert): Don't infloop if we can't find a good place to break
6969 the line (bug#16256).
6971 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
6973 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6974 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
6975 python-nav-lisp-forward-sexp-safe.
6976 (python-nav--forward-sexp): New argument SAFE allows switching
6977 forward sexp movement behavior for parens.
6978 (python-nav-forward-sexp): Throw errors on unterminated parens
6980 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6981 (python-nav-backward-sexp-safe): New functions.
6982 (python-shell-buffer-substring):
6983 Use `python-nav-forward-sexp-safe'.
6985 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
6987 * net/shr.el (shr-find-fill-point): Don't break lines before a
6989 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6990 (shr-find-fill-point): Remove the special checks for the quotation
6991 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6993 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6995 * net/eww.el (eww-form-textarea): Use a different face for
6996 textareas than text input since they have different keymaps
6999 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7001 * progmodes/python.el (python-nav-beginning-of-statement):
7002 Speed up (Bug#15295).
7004 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7006 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7007 the window configuration.
7009 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7011 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7012 we run on MS-Windows or MS-DOS.
7014 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7016 * window.el (balance-windows-area): Call window-size instead of
7017 window-height and window-width. Bug#16241.
7019 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7021 * net/eww.el (eww-bookmark-quit): Remove.
7022 (eww-bookmark-browse): Restore the window configuration when you
7023 choose a bookmark (bug#16144).
7025 2013-12-24 Daniel Colascione <dancol@dancol.org>
7027 * icomplete.el: Remove redundant :group arguments to `defcustom'
7029 (icomplete-show-matches-on-no-input): New customizable variable.
7030 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7031 we have something to show.
7032 (icomplete-exhibit): Compute completions even if we have no user input.
7034 2013-12-23 Daniel Colascione <dancol@dancol.org>
7036 * icomplete.el: Move `provide' to end of file.
7038 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7040 * net/gnutls.el (gnutls-verify-error): Add version tag.
7042 2013-12-23 Chong Yidong <cyd@gnu.org>
7044 * subr.el (set-transient-map): Rename from
7045 set-temporary-overlay-map. Doc fix.
7047 * face-remap.el (text-scale-adjust):
7048 * indent.el (indent-rigidly):
7049 * kmacro.el (kmacro-call-macro):
7050 * minibuffer.el (minibuffer-force-complete):
7051 * repeat.el (repeat):
7052 * simple.el (universal-argument--mode):
7053 * calendar/todo-mode.el (todo-insert-item--next-param):
7054 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7056 * indent.el (indent-rigidly): Use substitute-command-keys.
7058 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7060 * net/eww.el (eww-tag-select): Add text-property to jump to next
7062 (eww): Add non-supported ftp error.
7064 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7066 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7067 comments. Handle electric indent after typing `?' and `!'.
7069 2013-12-22 Chong Yidong <cyd@gnu.org>
7071 * faces.el (face-spec-recalc): If the theme specs are not
7072 applicable to a frame, fall back on the defface spec.
7073 This prevents themes from obliterating faces on low-color terminals.
7075 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7077 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7078 after `{'. We need it after block openers, and it doesn't seem
7079 to hurt after hash openers.
7081 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7083 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7084 extracted from `ruby-smie-rules'.
7085 (ruby--electric-indent-chars): New variable.
7086 (ruby--electric-indent-p): New function.
7087 (ruby-mode): Use `electric-indent-functions' instead of
7088 `electric-indent-chars'.
7090 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7092 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7094 (ruby-smie-rules): Indent plus one level after `=>'.
7096 2013-12-21 Richard Stallman <rms@gnu.org>
7098 * simple.el (newline): Doc fix.
7100 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7102 * net/eww.el (eww-list-histories, eww-list-histories)
7103 (eww-history-browse, eww-history-quit, eww-history-kill)
7104 (eww-history-mode-map, eww-history-mode): New command and
7105 functions to list browser histories.
7106 (eww-form-text): Support text form with disabled
7107 and readonly attributes.
7108 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7110 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7112 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7113 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7114 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7115 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7117 (eww-bookmark-mode-map): Add menu.
7118 (eww-render, eww-mode): Use `setq-local'.
7119 (eww-tool-bar-map): New variable.
7120 (eww-mode): Set `tool-bar-map'.
7121 (eww-view-source): Check for `html-mode' with `fboundp'.
7123 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7125 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7126 elements with text inside. Also remove debugging.
7128 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7130 * cus-start.el (all): Add ns-use-srgb-colorspace.
7132 2013-12-21 Chong Yidong <cyd@gnu.org>
7134 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7135 undefined. Thus, theme settings for undefined faces do not take
7136 effect until the faces are defined with defface, the same as with
7139 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7140 (face-spec-reset-face): Don't assign extra properties in temacs.
7141 (face-spec-recalc): Apply X resources too.
7143 2013-12-21 Chong Yidong <cyd@gnu.org>
7145 * faces.el (face-spec-set):
7146 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7147 * custom.el (defface): Doc fixes (Bug#16203).
7149 * indent.el (indent-rigidly-map): Add docstring, and move commands
7150 into named functions.
7151 (indent-rigidly-left, indent-rigidly-right)
7152 (indent-rigidly-left-to-tab-stop)
7153 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7154 indentation direction based on bidi direction, and accumulate
7155 sequential commands in a single undo boundary.
7156 (indent-rigidly--pop-undo): New utility function.
7158 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7160 * faces.el (read-face-name): Require crm.el when using crm-separator.
7162 2013-12-20 Daniel Colascione <dancol@dancol.org>
7164 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7165 so that we don't reflow comments into the shebang line.
7167 2013-12-20 Juri Linkov <juri@jurta.org>
7169 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7170 a position when `dired-directory' is non-nil. Check integer
7171 positions with `integerp'.
7172 (toggle-save-place, save-places-to-alist): Add check for
7174 (save-place-find-file-hook): Check integer positions with
7176 (save-place-dired-hook): Use `dired-goto-file' when
7177 `dired-filename' is found in the assoc list. Check integer
7178 positions with `integerp'.
7179 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7181 * dired.el (dired-initial-position-hook): Rename back from
7182 `dired-initial-point-hook'.
7183 (dired-initial-position): Rename `dired-initial-point-hook' to
7184 `dired-initial-position-hook'.
7185 (dired-file-name-at-point): Doc fix. (Bug#15329)
7187 2013-12-20 Juri Linkov <juri@jurta.org>
7189 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7190 (read-regexp-suggestions): New function.
7191 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7192 Use `read-regexp-suggestions'. Add non-empty default to history
7194 (occur-read-regexp-defaults-function): Remove function.
7195 (occur-read-primary-args): Use `regexp-history-last' instead of
7196 `occur-read-regexp-defaults-function'.
7198 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7199 (hi-lock-line-face-buffer, hi-lock-face-buffer)
7200 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7201 `hi-lock-read-regexp-defaults-function'. Doc fix.
7202 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7203 with `find-tag-default-as-symbol-regexp'. Doc fix.
7204 (hi-lock-read-regexp-defaults): Remove function.
7205 (hi-lock-regexp-okay): Add check for null.
7207 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7208 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
7210 * subr.el (find-tag-default-as-symbol-regexp): New function.
7211 (find-tag-default-as-regexp): Move symbol regexp formatting to
7212 `find-tag-default-as-symbol-regexp'.
7214 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
7216 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7219 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7221 * calendar/todo-mode.el: New implementation of item insertion
7222 commands and key bindings.
7223 (todo-key-prompt): New face.
7224 (todo-insert-item): New command.
7225 (todo-insert-item--parameters): New defconst, replacing defvar
7226 todo-insertion-commands-args-genlist.
7227 (todo-insert-item--param-key-alist): New defconst, replacing
7228 defvar todo-insertion-commands-arg-key-list.
7229 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7230 (todo-insert-item--argsleft, todo-insert-item--apply-args)
7231 (todo-insert-item--next-param): New functions.
7232 (todo-insert-item--args, todo-insert-item--argleft)
7233 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7235 (todo-key-bindings-t): Change binding of "i" from
7236 todo-insertion-map to todo-insert-item.
7237 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7238 (todo-insertion-command-name, todo-insertion-commands-names)
7239 (todo-define-insertion-command, todo-insertion-commands)
7240 (todo-insertion-key-bindings, todo-insertion-map): Remove.
7242 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7244 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7245 (todo-toggle-item-highlighting): Use eval-and-compile instead of
7247 (todo-move-category): Allow choosing a non-existing todo file to
7248 move the category to, and create that file.
7249 (todo-default-priority): New user option.
7250 (todo-set-item-priority): Use it.
7251 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7252 (desktop-restore-file-buffer): Declare.
7253 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7254 (todo-modes-set-2): Locally set desktop-save-buffer to
7255 todo-desktop-save-buffer.
7256 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7257 (auto-mode-alist): Add autoload cookie.
7259 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
7261 * emacs-lisp/subr-x.el: Renamed from helpers.el.
7262 helpers.el was a poor choice of name.
7263 (string-remove-prefix): New function.
7264 (string-remove-suffix): New function.
7266 2013-12-20 Martin Rudalics <rudalics@gmx.at>
7268 Fix assignment for new window total sizes.
7269 * window.el (window--pixel-to-size): Remove function.
7270 (window--pixel-to-total-1, window--pixel-to-total):
7271 Fix calculation of new total sizes.
7273 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
7275 * comint.el (comint-output-filter): Fix rear-nonsticky property
7276 placement (Bug#16010).
7278 2013-12-20 Chong Yidong <cyd@gnu.org>
7280 * faces.el (read-color): Minor fix for completion function.
7282 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
7284 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7285 New option. (Bug#16182)
7286 (ruby-smie--indent-to-stmt-p): Use it.
7287 (ruby-smie-rules): Revert the logic in the handling of `when'.
7288 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7289 (ruby-deep-arglist, ruby-deep-indent-paren)
7290 (ruby-deep-indent-paren-style): Update docstrings to note that the
7291 vars don't have any effect with SMIE.
7293 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7295 * calc/calc.el (calc-enter, calc-pop): Use the variable
7296 `calc-context-sensitive-enter'.
7298 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300 * net/shr.el (shr-insert): Protect against infloops in degenerate
7303 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7305 * progmodes/octave.el (octave): Add link to manual and octave
7307 (octave-mode-menu): Link to octave-mode manual.
7309 2013-12-20 Leo Liu <sdl.web@gmail.com>
7311 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7312 insertion using skeleton-end-newline. (Bug#16138)
7314 2013-12-20 Juri Linkov <juri@jurta.org>
7316 * replace.el (occur-engine): Use `add-face-text-property'
7317 to add the face property to matches and titles. (Bug#14645)
7319 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7320 the palette of other hi-lock colors.
7321 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7323 2013-12-19 Juri Linkov <juri@jurta.org>
7325 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7326 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7327 (minibuffer-history-symbol): Move variable declaration closer to
7330 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7333 2013-12-19 Juri Linkov <juri@jurta.org>
7335 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7337 (log-edit-hook): Add it to :options. (Bug#16170)
7339 2013-12-19 Juri Linkov <juri@jurta.org>
7341 * simple.el (eval-expression-print-format): Don't check for
7342 command names and the last command. Always display additional
7343 formats of the integer result in the echo area, and insert them
7344 to the current buffer only with a zero prefix arg.
7345 Display character when char-displayable-p is non-nil.
7346 (eval-expression): With a zero prefix arg, set `print-length' and
7347 `print-level' to nil, and insert the integer values from
7348 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7350 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7351 `eval-last-sexp-arg-internal'. Doc fix.
7352 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7353 `eval-last-sexp-print-value'. Doc fix.
7354 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7355 Set `print-length' and `print-level' to nil when arg is zero.
7356 (eval-last-sexp): Doc fix.
7357 (eval-defun-2): Print the integer values from
7358 `eval-expression-print-format' at the end.
7360 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7361 values from `eval-expression-print-format' at the end.
7363 * ielm.el (ielm-eval-input): Print the integer
7364 values from `eval-expression-print-format' at the end.
7366 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7368 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7369 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7371 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7374 (hl-line-highlight, global-hl-line-highlight): Use it.
7375 (hl-line-overlay): Use defvar-local.
7377 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7379 * term/ns-win.el: Require dnd.
7380 (global-map): Remove drag items.
7381 (ns-insert-text, ns-set-foreground-at-mouse)
7382 (ns-set-background-at-mouse):
7383 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7384 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7387 2013-12-19 Glenn Morris <rgm@gnu.org>
7389 * emacs-lisp/ert.el (ert-select-tests):
7390 Fix string/symbol mixup. (Bug#16121)
7392 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7394 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7395 keywords to their parent.
7397 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7399 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7400 first arg to be a string (fixed dead code), or an operator symbol.
7401 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7403 (ruby-smie-rules): Remove parent token check in the `.' clause, it
7404 did nothing. Don't respond to `(:after ".")', it will be called
7405 with :before anyway. Remove the ` @ ' rule, it didn't seem to
7406 change anything. Only return indentation for binary operators
7407 when they are hanging. De-dent opening paren when its parent is
7408 `.', otherwise it looks bad when the dot is not at bol or eol
7411 2013-12-19 Juri Linkov <juri@jurta.org>
7413 * replace.el (query-replace-read-args): Split a non-negative arg
7414 and a negative arg into separate elements.
7415 (query-replace, query-replace-regexp, replace-string)
7416 (replace-regexp): Add arg `backward'. Doc fix.
7417 (replace-match-maybe-edit): When new arg `backward' is non-nil,
7418 move point to the beginning of the match.
7419 (replace-search, replace-highlight): Use new arg `backward'
7420 to set the value of `isearch-forward'.
7421 (perform-replace): Add arg `backward' and use it to perform
7422 replacement backward. (Bug#14979)
7424 * isearch.el (isearch-query-replace): Use a negative prefix arg
7425 to call `perform-replace' with a non-nil arg `backward'.
7427 2013-12-18 Juri Linkov <juri@jurta.org>
7429 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7430 to the default list. Move `log-edit-show-files' to the end.
7431 Add more available functions to options.
7432 (log-edit): Move default specific settings to
7433 `log-edit-insert-message-template'. Don't move point.
7434 (log-edit-insert-message-template): New function.
7435 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7438 2013-12-18 Juri Linkov <juri@jurta.org>
7440 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7441 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
7443 2013-12-18 Leo Liu <sdl.web@gmail.com>
7445 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7448 2013-12-18 Eli Zaretskii <eliz@gnu.org>
7450 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7451 formats for displaying file sizes when the -s switch is given.
7452 Instead, compute a separate format for displaying the size in
7453 blocks, which is displayed in addition to the "regular" size.
7454 When -h is given in addition to -s, produce size in blocks in
7455 human-readable form as well. (Bug#16179)
7457 2013-12-18 Tassilo Horn <tsdh@gnu.org>
7459 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7460 Reference tables with ~\ref{...} instead of only \ref{...}.
7462 2013-12-18 Chong Yidong <cyd@gnu.org>
7464 * cus-edit.el (custom-magic-alist): Fix "themed" description
7467 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7468 is non-nil, do not create a new entry in the symbol's theme-value
7469 or theme-face property; update theme-settings only (Bug#14664).
7470 (custom-available-themes): Doc fix.
7472 * cus-theme.el (custom-new-theme-mode-map): Add bindings
7475 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7477 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7479 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7482 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7484 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7486 2013-12-18 Glenn Morris <rgm@gnu.org>
7488 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7489 * cus-start.el (load-prefer-newer): New option.
7491 2013-12-18 Le Wang <l26wang@gmail.com>
7493 * comint.el (comint-previous-matching-input-from-input):
7494 Retain point (Bug#13404).
7496 2013-12-18 Chong Yidong <cyd@gnu.org>
7498 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7500 2013-12-18 Glenn Morris <rgm@gnu.org>
7502 * mail/emacsbug.el (report-emacs-bug):
7503 Only mention enable-multibyte-characters if non-standard.
7505 2013-12-17 Juri Linkov <juri@jurta.org>
7507 * arc-mode.el (archive-extract-by-file): Check if directory exists
7508 before deletion to not show irrelevant errors if it doesn't exist.
7510 2013-12-17 Juri Linkov <juri@jurta.org>
7512 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7515 * net/eww.el (browse-web): Add alias to `eww'.
7516 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7517 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
7519 * net/browse-url.el (browse-url-browser-function): Move `eww'
7520 closer to similar functions.
7522 * startup.el (fancy-startup-screen, fancy-about-screen):
7523 Set browse-url-browser-function to eww-browse-url locally.
7526 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7528 * window.el (window--pixel-to-total): Remove unused `mini' var.
7529 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7530 (split-window): Remove unused `new' var.
7531 (window--display-buffer): Remove unused `frame' and `delta' vars.
7532 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7535 2013-12-17 Martin Rudalics <rudalics@gmx.at>
7537 * dired.el (dired-mark-pop-up):
7538 * register.el (register-preview): Don't bind
7539 split-height-threshold here since it's now done in
7540 display-buffer-below-selected.
7542 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
7544 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7545 xterm-rgb-convert-to-16bit.
7546 (rxvt-register-default-colors): Standardize with
7547 xterm-register-default-colors (Bug#14078).
7549 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
7551 * simple.el (kill-region): Pass mark first, then point, so that
7552 kill-append works right (Bug#12819).
7553 (copy-region-as-kill, kill-ring-save): Likewise.
7555 2013-12-17 Leo Liu <sdl.web@gmail.com>
7557 * net/rcirc.el (rcirc-add-face):
7558 * eshell/em-prompt.el (eshell-emit-prompt):
7559 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7562 2013-12-17 Chong Yidong <cyd@gnu.org>
7564 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7565 Suggested by Xue Fuqiao.
7567 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7569 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7571 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7573 * net/shr.el (shr-insert-document): Remove unused var
7574 `shr-preliminary-table-render'.
7575 (shr-rescale-image): Remove unused arg `force'.
7576 (shr-put-image): Update calls accordingly.
7577 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7579 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7581 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7582 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7583 :close-all, to see which indentation method to use (Bug#16116).
7584 (smie-rules-function): Document the method :close-all.
7586 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7590 * net/eww.el (eww-display-html): If we can't find the anchor we're
7591 looking for, then go to point-min.
7593 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
7595 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7596 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7597 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7598 Expand dir too, in case it's relative.
7600 2013-12-16 Juri Linkov <juri@jurta.org>
7602 * desktop.el (desktop-auto-save-timeout): Change default to
7603 `auto-save-timeout'. Doc fix.
7604 (desktop-save): Skip the timestamp in desktop-saved-frameset
7605 when checking for auto-save changes.
7606 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7607 `desktop-auto-save' is called repeatedly by the idle timer.
7608 (desktop-auto-save-set-timer): Replace `run-with-timer' with
7609 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
7612 2013-12-16 Juri Linkov <juri@jurta.org>
7614 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7616 (isearch-pre-command-hook): Check `this-command' for symbolp.
7618 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7620 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7622 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
7624 * progmodes/cfengine.el (cfengine3--current-word): Remove.
7625 (cfengine3--current-function): Bring in the current-function
7626 functionality from `cfengine3--current-word'.
7627 (cfengine3-completion-function): Bring in the
7628 bounds-of-current-word functionality from
7629 `cfengine3--current-word'.
7631 2013-12-16 Martin Rudalics <rudalics@gmx.at>
7633 * window.el (display-buffer-below-selected):
7634 Bind split-height-threshold to 0 as suggested by Juri Linkov.
7636 2013-12-16 Leo Liu <sdl.web@gmail.com>
7638 * progmodes/compile.el (compile-goto-error): Do not push-mark.
7639 Remove NOMSG arg and all uses changed.
7641 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7644 (cua--deactivate-rectangle): Don't deactivate the mark.
7645 (cua-set-rectangle-mark): Don't set mark-active since
7646 cua--activate-rectangle already does it for us.
7647 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7648 non-rectangular region.
7650 * emulation/cua-base.el (cua-repeat-replace-region):
7651 Use with-current-buffer.
7653 * net/gnutls.el: Use cl-lib.
7654 (gnutls-negotiate): `mapcan' -> cl-mapcan.
7656 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7658 * emacs-lisp/package.el (package-built-in-p): Support both
7659 built-in and the package.el converted package descriptions.
7660 (package-show-package-list): Allow keywords.
7661 (package-keyword-button-action): Use it instead of
7662 `finder-list-matches'.
7663 (package-menu-filter-interactive): Interactive filtering (by
7665 (package-menu--generate): Support keywords and change keymappings
7666 and headers when they are given.
7667 (package--has-keyword-p): Helper function.
7668 (package-menu--refresh): Use it.
7669 (package--mapc): Helper function.
7670 (package-all-keywords): Use it.
7671 (package-menu-mode-map): Set up menu items and keybindings to
7672 provide a filtering UI.
7674 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7676 * net/gnutls.el (gnutls-verify-error): New defcustom to control
7677 the behavior when a certificate fails validation. Defaults to
7678 old behavior: never abort, just warn.
7679 (gnutls-negotiate): Use it.
7681 2013-12-14 Martin Rudalics <rudalics@gmx.at>
7683 * window.el (display-buffer-below-selected): Never split window
7684 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
7686 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
7688 * emacs-lisp/package.el (package--prepare-dependencies): New function.
7689 (package-buffer-info): Use it (bug#15108).
7691 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * icomplete.el (icomplete-completions): Make sure the prefix is already
7694 displayed elsewhere before hiding it (bug#16219).
7696 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
7698 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7699 open-paren tokens when preceded by a open-paren, too.
7700 (ruby-smie-rules): Handle virtual indentation after open-paren
7701 tokens specially. If there is code between it and eol, return the
7702 column where is starts (Bug#16118).
7704 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7706 * progmodes/cfengine.el: Fix `add-hook' doc.
7707 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7708 (cfengine3--current-word): Fix parameters.
7709 (cfengine3-make-syntax-cache): Simplify further.
7710 (cfengine3-completion-function, cfengine3--current-function):
7711 Use `assq' for symbols.
7712 (cfengine3--current-function): Fix `cfengine3--current-word' call.
7714 2013-12-13 Glenn Morris <rgm@gnu.org>
7716 * loadup.el (load-path): Warn if site-load or site-init changes it.
7717 No more need to reset it when bootstrapping.
7719 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7721 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7722 locations for cf-promises.
7723 (cfengine-mode-syntax-functions-regex): New caching variable.
7724 (cfengine3-fallback-syntax): Fallback syntax for cases where
7725 cf-promises doesn't run.
7726 (cfengine3--current-word): Reimplement using
7727 `cfengine-mode-syntax-functions-regex'.
7728 (cfengine3-completion-function, cfengine3--current-function):
7729 Use `cfengine3-make-syntax-cache' directly.
7730 (cfengine3-clear-syntax-cache): New function.
7731 (cfengine3-make-syntax-cache): Simplify and create
7732 `cfengine-mode-syntax-functions-regex' on demand.
7733 (cfengine3-format-function-docstring): Don't call
7734 `cfengine3-make-syntax-cache' explicitly.
7736 2013-12-13 Martin Rudalics <rudalics@gmx.at>
7738 Fix windmove-find-other-window broken after pixelwise resizing
7740 * windmove.el (windmove-other-window-loc): Revert change from
7742 (windmove-find-other-window): Call window-in-direction.
7743 * window.el (window-in-direction): New arguments SIGN, WRAP and
7744 MINI to emulate original windmove-find-other-window behavior.
7746 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
7748 * simple.el (blink-matching--overlay): New variable.
7749 (blink-matching-open): Instead of moving point, highlight the
7750 matching paren with an overlay
7751 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7753 * faces.el (paren-showing-faces, show-paren-match)
7754 (show-paren-mismatch): Move from paren.el.
7756 2013-12-13 Leo Liu <sdl.web@gmail.com>
7758 * indent.el (indent-region): Disable progress reporter in
7759 minibuffer. (Bug#16108)
7761 * bindings.el (visual-order-cursor-movement): Fix version.
7763 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7765 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7766 Also match after beginning of line.
7767 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7768 files. Thanks to Russell Sim. (Bug#15378)
7770 2013-12-13 Juri Linkov <juri@jurta.org>
7772 * simple.el <Keypad support>: Remove key bindings duplicated
7773 with bindings.el. (Bug#14397)
7775 2013-12-13 Juri Linkov <juri@jurta.org>
7777 * comint.el (comint-mode-map): Replace `delete-char' with
7778 `delete-forward-char'. (Bug#16109)
7780 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7782 * progmodes/python.el (python-indent-calculate-indentation):
7783 Fix de-denters cornercase. (Bug#15731)
7785 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
7787 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7788 (advice--make): Pay attention to `depth'.
7789 (advice--make-1): Don't autoload commands eagerly.
7790 * emacs-lisp/elp.el (elp-instrument-function):
7791 * emacs-lisp/trace.el (trace-function-internal):
7792 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7794 * iswitchb.el (iswitchb-mode): Don't belittle ido.
7796 2013-12-12 Eli Zaretskii <eliz@gnu.org>
7798 * term/w32-win.el (w32-handle-dropped-file):
7799 * startup.el (normal-top-level):
7800 * net/browse-url.el (browse-url-file-url):
7801 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7802 decode file names using 'utf-8' rather than
7803 file-name-coding-system.
7805 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7807 * progmodes/python.el (python-indent-context)
7808 (python-indent-calculate-indentation): Fix auto-identation
7809 behavior for comment blocks. (Bug#15916)
7811 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7813 * progmodes/python.el (python-indent-calculate-indentation):
7814 When determining indentation, don't treat "return", "pass", etc., as
7815 operators when they are just string constituents. (Bug#15812)
7817 2013-12-12 Juri Linkov <juri@jurta.org>
7819 * uniquify.el (uniquify-buffer-name-style): Change default to
7820 `post-forward-angle-brackets'.
7822 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7823 `uniquify'. Change default to `post-forward-angle-brackets'.
7825 2013-12-11 Glenn Morris <rgm@gnu.org>
7827 * emacs-lisp/package.el (finder-list-matches):
7828 Autoload rather than falsely declaring.
7830 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
7832 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7833 (eww-mode-map): Use them.
7835 2013-12-11 Martin Rudalics <rudalics@gmx.at>
7837 * window.el (display-buffer-in-side-window): Fix doc-string
7840 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
7842 * vc/vc-git.el: Silence byte-compiler warnings.
7843 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7844 (log-edit-set-header): Declare.
7846 2013-12-11 Eli Zaretskii <eliz@gnu.org>
7848 * Makefile.in (custom-deps, finder-data): Run output file names
7849 through unmsys--file-name. (Bug#16099)
7851 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7854 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7856 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7857 instead of deleting the selection "by hand" (bug#16098).
7858 Rely on insert-for-yank to yank rectangles.
7859 (cua-highlight-region-shift-only): Mark obsolete.
7860 (cua-mode): Don't enable/disable transient-mark-mode,
7861 shift-select-mode (cua-mode works both with and without them), and
7862 pc-selection-mode (obsolete).
7863 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7864 (cua--deactivate-rectangle): Deactivate it.
7866 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7867 (delete-selection-helper): Make sure yank starts at the top of the
7869 (minibuffer-keyboard-quit): Use region-active-p.
7871 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7873 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7874 to `delete' (bug#16109).
7876 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7878 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7879 info manual and show keybindings and set `:group' keyword.
7881 2013-12-11 Juri Linkov <juri@jurta.org>
7883 * delsel.el (delete-active-region): Let-bind `this-command'
7884 to prevent `kill-region' from changing its original value.
7885 (delete-selection-helper): Handle `overwrite-mode' for the type
7886 `kill' exactly the same way as for the type `t'.
7887 (insert-char, quoted-insert, reindent-then-newline-and-indent):
7888 Support more commands. (Bug#13312)
7890 2013-12-11 Juri Linkov <juri@jurta.org>
7892 * bindings.el: Map kp keys to non-kp keys systematically
7893 with basic modifiers control, meta and shift. (Bug#14397)
7895 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7897 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7898 "Close browser" menu items. Fix wrong function of "List
7901 2013-12-11 Juri Linkov <juri@jurta.org>
7903 * misearch.el (multi-isearch-buffers): Set the value of
7904 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
7905 arg of isearch-forward to t.
7906 (multi-isearch-buffers-regexp): Set the value of
7907 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
7908 arg of isearch-forward-regexp to t.
7909 (multi-isearch-files): Set the value of
7910 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
7911 arg of isearch-forward to t.
7912 (multi-isearch-files-regexp): Set the value of
7913 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
7914 arg of isearch-forward-regexp to t. (Bug#16035)
7916 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7917 arg of isearch-forward to t.
7918 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7919 arg of isearch-forward-regexp to t.
7920 (dired-isearch-filter-filenames): Remove unnecessary check for
7921 `dired-isearch-filenames'.
7923 * comint.el (comint-history-isearch-backward):
7924 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7925 (comint-history-isearch-backward-regexp):
7926 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7928 2013-12-10 Eli Zaretskii <eliz@gnu.org>
7930 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7931 unmsys--file-name. (Bug#16099)
7933 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
7935 * emacs-lisp/package.el (package-keyword-button-action):
7936 Remove finder.el require dependency.
7938 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
7940 * emacs-lisp/package.el: Require finder.el.
7941 (describe-package-1): Add keyword buttons.
7942 (package-make-button): New convenience function.
7943 (package-keyword-button-action): Keyword button action using
7944 `finder-list-matches'.
7946 2013-12-09 Eli Zaretskii <eliz@gnu.org>
7948 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7951 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
7953 * autorevert.el (auto-revert-notify-add-watch): Do not handle
7956 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
7958 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7959 after the end of a percent literal.
7961 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
7963 * progmodes/ruby-mode.el (ruby-forward-string): Document.
7964 Handle caret-delimited strings (Bug#16079).
7966 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
7968 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7969 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7970 `ruby-parse-partial' (Bug#16078).
7972 2013-12-09 Leo Liu <sdl.web@gmail.com>
7974 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
7976 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
7978 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7979 (js-switch-indent-offset): New option.
7980 (js--proper-indentation): Use it. And handle the case when
7981 "default" is actually a key in an object literal.
7982 (js--same-line): New function.
7983 (js--multi-line-declaration-indentation): Use it.
7984 (js--indent-in-array-comp, js--array-comp-indentation):
7986 (js--proper-indentation): Use them, to handle array comprehension
7989 2013-12-08 Leo Liu <sdl.web@gmail.com>
7991 * progmodes/flymake.el (flymake-highlight-line): Re-write.
7992 (flymake-make-overlay): Remove arg MOUSE-FACE.
7993 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7995 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7997 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7999 (redisplay-highlight-region-function): Use it.
8001 * emulation/cua-base.el (cua--explicit-region-start)
8002 (cua--last-region-shifted): Remove.
8003 (cua--deactivate): Use deactivate-mark.
8004 (cua--pre-command-handler-1): Don't handle shift-selection.
8005 (cua--post-command-handler-1): Don't change transient-mark-mode.
8006 (cua--select-keymaps): Use region-active-p rather than
8007 cua--explicit-region-start or cua--last-region-shifted.
8008 (cua-mode): Enable shift-select-mode.
8010 2013-12-08 Leo Liu <sdl.web@gmail.com>
8012 * progmodes/flymake.el (flymake-popup-current-error-menu):
8013 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8014 (flymake-posn-at-point-as-event, flymake-popup-menu)
8015 (flymake-make-emacs-menu): Remove. (Bug#16077)
8017 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * rect.el (rectangle-mark-mode): Activate mark even if
8020 transient-mark-mode is off (bug#16066).
8021 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8022 is > mark and at bolp.
8024 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8025 (region-extract-function): Use it.
8026 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8027 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8029 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8030 kill-ring-save, kill-region, delete-char, delete-forward-char.
8031 Ignore self-insert-iso.
8033 * emulation/cua-gmrk.el (cua--init-global-mark):
8034 Ignore `self-insert-iso'.
8036 * emulation/cua-base.el (cua--prefix-copy-handler)
8037 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8038 checking cua--rectangle.
8039 (cua-delete-region): Use region-extract-function.
8040 (cua-replace-region): Delete function.
8041 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8042 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8043 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8044 (cua--init-keymaps): Don't remap delete-selection commands.
8045 (cua-mode): Use delete-selection-mode instead of rolling our own
8048 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8049 Obey region-extract-function.
8051 Make registers and delete-selection-mode work on rectangles.
8052 * register.el (describe-register-1): Don't modify the register's value.
8053 (copy-to-register): Obey region-extract-function.
8054 * delsel.el (delete-active-region): Obey region-extract-function.
8056 2013-12-08 Leo Liu <sdl.web@gmail.com>
8058 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8059 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8060 (flymake-compilation-prevents-syntax-check)
8061 (flymake-start-syntax-check-on-newline)
8062 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8063 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8064 (flymake-xml-program, flymake-master-file-dirs)
8065 (flymake-master-file-count-limit)
8066 (flymake-allowed-file-name-masks): Relocate.
8067 (flymake-makehash, flymake-float-time)
8068 (flymake-replace-regexp-in-string, flymake-split-string)
8069 (flymake-get-temp-dir): Remove.
8070 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8071 (flymake-current-row, flymake-selected-frame)
8072 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8073 related functions. (Bug#16077)
8075 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8077 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8079 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8081 * help-fns.el (describe-function-1): Use new advice-* functions
8082 rather than old ad-* functions. Fix function type description and
8083 source links for advised functions and subrs.
8085 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8087 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8089 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8091 * progmodes/compile.el (compilation-start):
8092 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8094 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8095 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8097 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8099 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8100 Touch up the last change.
8102 2013-12-06 Leo Liu <sdl.web@gmail.com>
8104 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8105 (inferior-octave-startup): Always use "octave> " for prompt.
8106 (octave-goto-function-definition)
8107 (octave-sync-function-file-names)
8108 (octave-find-definition-default-filename): Remove redundant backquotes.
8110 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8112 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8114 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8115 where appropriate already.
8116 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8117 end of method names (Bug#15874).
8119 2013-12-06 Juri Linkov <juri@jurta.org>
8121 * isearch.el (isearch--saved-overriding-local-map):
8122 New internal variable.
8123 (isearch-mode): Set it to the initial value of
8124 `overriding-terminal-local-map'.
8125 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8126 with `isearch--saved-overriding-local-map'. (Bug#16035)
8128 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8130 * progmodes/octave.el (inferior-octave-completion-table):
8131 Turn back into function, use `completion-table-with-cache'
8132 (Bug#11906). Update all references.
8134 * minibuffer.el (completion-table-with-cache): New function.
8136 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8138 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8140 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8142 * net/eww.el (eww-current-source): New variable to store page
8144 (eww-display-html, eww-mode, eww-save-history)
8145 (eww-restore-history): Use it.
8146 (eww-view-source): New command to view page source.
8147 Opportunistically uses `html-mode' to highlight the buffer.
8148 (eww-mode-map): Install it.
8150 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8152 * net/dbus.el (dbus-unregister-service)
8153 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8155 (dbus-unregister-service): Skip :serial entries in
8156 `dbus-registered-objects-table'.
8157 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8159 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8161 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8162 around keywords with extra `split-string' argument.
8164 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8166 * windmove.el (windmove-other-window-loc): Handle navigation
8167 between windows (excluding the minibuffer window - Bug#16017).
8169 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8171 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8172 in D-Bus type syntax.
8173 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8174 preserve unibyte strings. (Bug#16048)
8176 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8179 Call force-mode-line-update is the proper buffer (bug#16042).
8181 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8183 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8184 `log-edit-remember-comment', make argument optional. Adjust all
8186 (log-edit-mode): Add `log-edit-remember-comment' to
8187 `kill-buffer-hook' locally.
8188 (log-edit-kill-buffer): Don't remember comment explicitly since
8189 the buffer is killed anyway.
8191 2013-12-04 Juri Linkov <juri@jurta.org>
8193 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8194 add-hook and remove-hook for multi-buffer search. (Bug#16035)
8196 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
8198 * notifications.el (notifications-close-notification): Call the
8199 D-Bus method with ID being a `:uint32'. (Bug#16030)
8201 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
8203 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8205 2013-12-03 Juri Linkov <juri@jurta.org>
8207 * progmodes/compile.el (compilation-start): Rename window alist
8208 entry `no-display-ok' to `allow-no-window'.
8210 * simple.el (shell-command): Add window alist entry
8211 `allow-no-window' to `display-buffer'.
8212 (async-shell-command): Doc fix.
8214 * window.el (display-buffer-no-window): New action function.
8215 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
8217 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8219 * vc/log-edit.el (log-edit-set-header): Extract from
8220 `log-edit-toggle-header'.
8221 (log-edit-extract-headers): Separate the summary, when extracted
8222 from header, from the rest of the message with an empty line.
8224 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8225 line, if present, to the Summary header.
8227 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8229 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8230 in current-buffer (bug#16029).
8232 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
8234 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8235 (debugger-mode-map): Bind it.
8236 (debugger--backtrace-base): New function.
8237 (debugger-eval-expression): Use it.
8238 (debugger-frame-number): Skip local vars when present.
8239 (debugger--locals-visible-p, debugger--insert-locals)
8240 (debugger--show-locals, debugger--hide-locals): New functions.
8242 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
8244 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8246 (tramp-get-remote-locale): New defun.
8247 (tramp-open-connection-setup-interactive-shell): Use it.
8249 2013-12-02 Leo Liu <sdl.web@gmail.com>
8251 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
8253 * progmodes/sh-script.el (sh-shell-process):
8254 * progmodes/octave.el (inferior-octave-process-live-p):
8255 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8256 (gdb-inferior-io-sentinel):
8257 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8259 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8261 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8262 `save-selected-window' to `log-edit-hide-buf'. This makes
8263 `log-edit-show-files' idempotent.
8264 (log-edit-show-files): Mark the new window as dedicated.
8266 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8268 * vc/log-edit.el (log-edit-mode-map): Add binding for
8269 `log-edit-kill-biffer'.
8270 (log-edit-hide-buf): Add a FIXME comment.
8271 (log-edit-add-new-comment): New function, extracted from
8273 (log-edit-done, log-edit-add-to-changelog): Use it.
8274 (log-edit-kill-buffer): New command.
8276 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8278 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8279 instead of killing the buffer.
8281 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8283 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8285 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8287 * net/eww.el (eww-form-checkbox-selected-symbol)
8288 (eww-form-checkbox-symbol): New customizable variable.
8289 (eww-form-checkbox, eww-toggle-checkbox):
8290 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8292 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8293 (shr--get-media-pref, shr--extract-best-source): New function.
8294 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8295 no :src tag was specified.
8297 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8298 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8299 Use \\` to match beginning of string instead of ^.
8300 (eww-browse-with-external-browser): Provide optional URL parameter.
8301 (eww-render): Set `eww-current-title' back to "".
8303 * net/shr.el (shr-tag-video): Display content for video if no
8304 poster is available.
8305 (shr-tag-audio): Add support for <audio> tag.
8307 * net/eww.el (eww-text-input-types): New const.
8308 (eww-process-text-input): Treat input types in
8309 `eww-text-input-types' as text.
8311 * net/shr.el (shr-tag-table): Fix comment typo.
8313 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8315 * net/eww.el (eww-follow-link): New command to avoid reloading
8316 pages when we follow #target links (bug#15243).
8317 (eww-quit): Special mode buffers shouldn't query before exiting.
8319 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8321 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8324 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326 * net/eww.el (eww-restore-history): Update the window title after
8327 moving in the history.
8328 (eww-current-dom): New variable used to save the current DOM.
8330 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8332 * vc/log-edit.el (log-edit-mode-map): Add binding for
8333 `log-edit-beginning-of-line'.
8334 (log-edit-setup-add-author): New user option.
8335 (log-edit-beginning-of-line): New command.
8336 (log-edit): Move major mode call above the contents setup so that
8337 the local variable values are already applied.
8338 (log-edit): Only insert "Author: " when
8339 `log-edit-setup-add-author' is non-nil.
8340 (log-edit): When SETUP is non-nil, position point after ": "
8341 instead of point-min.
8343 2013-12-01 Glenn Morris <rgm@gnu.org>
8345 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8347 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8349 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8350 redisplay to make sure the initial frame gets a chance to become
8351 visible. (Bug#16014)
8353 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8355 Support resizing frames and windows pixelwise.
8356 * cus-start.el (frame-resize-pixelwise)
8357 (window-resize-pixelwise): New entries.
8358 * emacs-lisp/debug.el (debug): Use window-total-height instead
8359 of window-total-size.
8360 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8361 * help.el (describe-bindings-internal): Use help-buffer as
8362 argument for with-help-window.
8363 (temp-buffer-max-width): New option.
8364 (resize-temp-buffer-window, help-window-setup)
8365 (with-help-window): Rewrite.
8366 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8368 * window.el (frame-char-size, window-min-pixel-height)
8369 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8370 (window-min-pixel-width, window-safe-min-pixel-size)
8371 (window-combination-p, window-safe-min-size)
8372 (window-resizable-p, window--size-to-pixel)
8373 (window--pixel-to-size, window--resize-apply-p): New functions.
8374 (window-safe-min-height): Fix doc-string.
8375 (window-size, window-min-size, window--min-size-1)
8376 (window-sizable, window-sizable-p, window--min-delta-1)
8377 (window-min-delta, window--max-delta-1, window-max-delta)
8378 (window--resizable, window--resizable-p, window-resizable)
8379 (window-full-height-p, window-full-width-p, window-at-side-p)
8380 (window--in-direction-2, window-in-direction)
8381 (window--resize-reset-1, window--resize-mini-window)
8382 (window-resize, window-resize-no-error)
8383 (window--resize-child-windows-normal)
8384 (window--resize-child-windows, window--resize-siblings)
8385 (window--resize-this-window, window--resize-root-window)
8386 (window--resize-root-window-vertically)
8387 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8388 (maximize-window, minimize-window, delete-window)
8389 (quit-restore-window, window-split-min-size, split-window)
8390 (balance-windows-2, balance-windows)
8391 (balance-windows-area-adjust, balance-windows-area)
8392 (window--state-get-1, window-state-get, window--state-put-1)
8393 (window--state-put-2, window-state-put)
8394 (display-buffer-record-window, window--display-buffer):
8395 Make functions handle pixelwise sizing of windows.
8396 (display-buffer--action-function-custom-type)
8397 (display-buffer-fallback-action):
8398 Add display-buffer-in-previous-window.
8399 (display-buffer-use-some-window): Resize window to height it had
8401 (fit-window-to-buffer-horizontally): New option.
8402 (fit-frame-to-buffer): Describe new values.
8403 (fit-frame-to-buffer-bottom-margin): Replace with
8404 fit-frame-to-buffer-margins.
8405 (window--sanitize-margin): New function.
8406 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8407 using window-text-pixel-size.
8409 2013-11-30 Glenn Morris <rgm@gnu.org>
8411 * emacs-lisp/bytecomp.el (byte-compile-form):
8412 Make the `interactive-only' warning like the `obsolete' one.
8413 * comint.el (comint-run):
8414 * files.el (insert-file-literally, insert-file):
8415 * replace.el (replace-string, replace-regexp):
8416 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8417 (goto-line, insert-buffer, next-line, previous-line):
8418 Tweak `interactive-only' spec.
8420 Stop keeping (most) generated cedet grammar files in the repository.
8421 * Makefile.in (semantic): New.
8422 (compile-main): Depend on semantic.
8424 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8427 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8429 * uniquify.el (uniquify-buffer-name-style): Change default.
8431 * loadup.el: Preload "uniquify".
8433 * time.el (display-time-update): Update all mode lines (bug#15999).
8435 * electric.el (electric-indent-mode): Enable by default.
8436 * loadup.el: Preload "electric".
8438 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
8440 * emacs-lisp/helpers.el (string-empty-p): New function.
8441 (string-blank-p): New function.
8443 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
8445 * imenu.el (imenu--index-alist): Add missing dot to the docstring
8448 2013-11-29 Andreas Politz <politza@fh-trier.de>
8449 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8450 allow non-lambda lists as functions.
8451 (imenu--in-alist): Don't recurse into non-subalists.
8452 (imenu): Don't pass function itself as an argument (Bug#14029).
8454 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * progmodes/python.el (python-mode-map): Remove binding for ":".
8457 (python-indent-electric-colon): Remove command.
8458 (python-indent-post-self-insert-function): Integrate the previous code
8459 of python-indent-electric-colon. Make it conditional on
8460 electric-indent-mode.
8461 (python-mode): Add ?: to electric-indent-chars.
8462 Move python-indent-post-self-insert-function to the end of
8463 post-self-insert-hook.
8465 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * doc-view.el (doc-view-goto-page): Update mode-line.
8469 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8471 2013-11-27 Glenn Morris <rgm@gnu.org>
8473 * international/charprop.el, international/uni-bidi.el:
8474 * international/uni-category.el, international/uni-combining.el:
8475 * international/uni-comment.el, international/uni-decimal.el:
8476 * international/uni-decomposition.el, international/uni-digit.el:
8477 * international/uni-lowercase.el, international/uni-mirrored.el:
8478 * international/uni-name.el, international/uni-numeric.el:
8479 * international/uni-old-name.el, international/uni-titlecase.el:
8480 * international/uni-uppercase.el:
8481 Remove generated files from VCS repository.
8483 2013-11-27 Eli Zaretskii <eliz@gnu.org>
8485 * filenotify.el (file-notify-add-watch): Don't special-case
8486 w32notify when computing the directory to watch.
8488 2013-11-27 Glenn Morris <rgm@gnu.org>
8490 Make bootstrap without generated uni-*.el files possible again.
8491 * loadup.el: Update command-line-args checking for unidata-gen.
8492 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8493 * composite.el, international/characters.el:
8494 Handle unicode tables being undefined.
8496 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8497 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8498 (compile-main): Depend on leim rule.
8500 * loadup.el: Move leim-list.el to leim/ subdirectory.
8501 * startup.el (normal-top-level): No more leim directory.
8502 * international/ja-dic-cnv.el (skkdic-convert):
8503 Disable version-control and autoloads in output files.
8504 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8505 Disable version-control and autoloads in output files.
8506 * leim/quail: Move here from ../leim.
8507 * leim/quail/hangul.el (hangul-input-method-activate):
8508 Add autoload cookie.
8509 (generated-autoload-load-name): Set file-local value.
8510 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8511 (generated-autoload-load-name): Set file-local value.
8513 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
8515 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8516 (eww-add-bookmark): Ask confirmation when add to bookmarks.
8517 (eww-quit): Ask confirmation before quitting eww.
8519 2013-11-26 Eli Zaretskii <eliz@gnu.org>
8521 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8522 reading output from Diff on MS-Windows and MS-DOS.
8524 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
8526 * emacs-lisp/helpers.el (string-reverse): New function.
8528 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
8530 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8531 names on MS Windows, like "/[::1]:".
8533 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8536 2013-11-26 Glenn Morris <rgm@gnu.org>
8538 * progmodes/python.el (python-indent-guess-indent-offset):
8539 Avoid corner-case error. (Bug#15975)
8541 Preload leim-list.el. (Bug#4789)
8542 * loadup.el: Load leim-list.el when found.
8543 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8545 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
8547 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8549 * emacs-lisp/helpers.el (string-join): New function.
8551 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
8553 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8554 Mark as obsolete and replace it with a symbol property.
8555 (byte-compile-form): Use new 'interactive-only property.
8556 * comint.el, files.el, replace.el, simple.el:
8557 Apply new 'interactive-only properly.
8559 2013-11-25 Martin Rudalics <rudalics@gmx.at>
8561 * window.el (display-buffer-at-bottom): Make sure that
8562 split-window-sensibly creates the new window on bottom
8565 2013-11-23 David Kastrup <dak@gnu.org>
8567 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8568 on the conflict markers when available.
8569 (smerge--get-marker): New function.
8570 (smerge-end-re, smerge-base-re): Add subgroup.
8572 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * frame.el (handle-focus-in, handle-focus-out): Add missing
8577 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
8579 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8580 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8582 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
8585 (gomoku--last-pos): New var.
8586 (gomoku--intangible-chars): New const.
8587 (gomoku--intangible): New function.
8588 (gomoku-mode): Use it. Derive from special-mode.
8589 (gomoku-move-up): Adjust line count.
8590 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8591 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8592 Simplify accordingly.
8594 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8595 Remove blink-cursor code.
8596 (blink-cursor-timer-function, blink-cursor-suspend):
8597 Don't special-case GUIs.
8598 (blink-cursor-mode): Use focus-in/out-hook.
8600 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
8602 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8603 work when annotation is invisible (Bug#13886).
8605 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
8607 * json.el (json-alist-p): Only return non-nil if the alist has
8608 simple keys (Bug#13518).
8610 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
8612 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8613 when control-statement is the first statement in a buffer (Bug#15956).
8615 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
8617 * imenu.el (imenu-generic-skip-comments-and-strings):
8618 New option (Bug#15560).
8619 (imenu--generic-function): Use it.
8621 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
8623 * minibuffer.el (completion--in-region-1): Scroll the correct window.
8626 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
8628 * emacs-lisp/helpers.el: Add some string helpers.
8629 (string-trim-left): Removes leading whitespace.
8630 (string-trim-right): Removes trailing whitespace.
8631 (string-trim): Removes leading and trailing whitespace.
8633 * subr.el (string-suffix-p): New function.
8635 2013-11-23 Glenn Morris <rgm@gnu.org>
8637 * progmodes/python.el (python-shell-send-file):
8638 Add option to delete file when done. (Bug#15647)
8639 (python-shell-send-string, python-shell-send-region): Use it.
8641 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
8643 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8644 to set buffer-read-only to t, never to nil. (Bug#15938)
8646 * textmodes/tex-mode.el (latex-noindent-environments):
8647 Add safe-local-variable property. (Bug#15936)
8649 2013-11-23 Glenn Morris <rgm@gnu.org>
8651 * textmodes/enriched.el (enriched-mode): Doc fix.
8652 * emacs-lisp/authors.el (authors-renamed-files-alist):
8653 Add enriched.doc -> enriched.txt.
8655 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8657 2013-11-22 Leo Liu <sdl.web@gmail.com>
8659 * progmodes/octave.el (inferior-octave-startup): Spit out error
8662 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
8664 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8667 (ruby-encoding-magic-comment-style): Add :version.
8669 2013-11-22 Leo Liu <sdl.web@gmail.com>
8671 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8673 (octave-help-mode): Adapt to change to help-mode-finish to use
8674 derived-mode-p on 2013-09-17.
8675 (inferior-octave-prompt): Also match octave-gui.
8676 (octave-kill-process): Don't ask twice. (Bug#10564)
8678 2013-11-22 Leo Liu <sdl.web@gmail.com>
8680 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8681 (inferior-octave-startup, inferior-octave-check-process)
8682 (inferior-octave-track-window-width-change)
8683 (octave-completion-at-point, octave-eldoc-function): Use it.
8684 (octave-kill-process): Provide confirmation. (Bug#10564)
8686 2013-11-21 Leo Liu <sdl.web@gmail.com>
8688 * progmodes/octave.el (octave-mode, inferior-octave-mode):
8689 Fix obsolete variable comment-use-global-state.
8691 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8693 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8694 Add `octave-source-file'.
8695 (octave-source-file): New function. (Bug#15935)
8697 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
8699 * net/eww.el (eww-local-regex): New variable.
8700 (eww): Use it to detect localhost and similar.
8702 2013-11-21 Leo Liu <sdl.web@gmail.com>
8704 Add completion for command `ag'.
8705 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8706 (pcomplete/ag): New function.
8707 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
8709 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8711 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8713 (make-obsolete): Remove interactive spec.
8715 2013-11-21 Glenn Morris <rgm@gnu.org>
8717 * startup.el (command-line-1): Use path-separator with -L.
8719 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
8721 * emacs-lisp/package.el (describe-package-1): Add package archive
8724 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
8726 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8727 Change default to "# encoding: %s" to differentiate it from the
8728 default Ruby encoding comment template.
8730 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
8732 * ses.el (ses-mode): Doc fix. (Bug#14748)
8734 2013-11-20 Leo Liu <sdl.web@gmail.com>
8736 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
8738 2013-11-19 Dan Nicolaescu <dann@gnu.org>
8740 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8741 when rebase or bisect are in progress.
8743 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
8745 * filenotify.el (file-notify-add-watch): Doc fix.
8747 2013-11-19 Leo Liu <sdl.web@gmail.com>
8749 * obsolete/rcompile.el: Mark obsolete.
8751 * progmodes/compile.el (compilation-start)
8752 (compilation-goto-locus, compilation-find-file):
8753 Pass no-display-ok and handle nil value from display-buffer.
8756 * window.el (display-buffer-alist, display-buffer): Document the
8757 new parameter no-display-ok. Return either a window or nil
8758 but never a non-window value.
8760 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8762 * electric.el (electric-indent-mode-map): Remove.
8763 (electric-indent-mode): Change the global-map instead (bug#15915).
8765 * textmodes/text-mode.el (paragraph-indent-minor-mode):
8768 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
8770 * emacs-lisp/nadvice.el (remove-function): Align with
8771 add-function's behavior.
8773 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8774 (gdb--string-regexp): New constant.
8775 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8776 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8777 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8779 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8780 Adjust use accordingly.
8781 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8783 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
8785 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8786 interpolation curlies (Bug#15914).
8788 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
8790 * calc/calc.el (calc-context-sensitive-enter): New variable.
8791 (calc-enter): Use `calc-context-sensitive-enter'.
8793 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
8795 * progmodes/cfengine.el: Version bump.
8796 (cfengine-cf-promises): New defcustom to locate cf-promises.
8797 (cfengine3-vartypes): Add new "data" type.
8798 (cfengine3--current-word): New function to get current name-like
8800 (cfengine3--current-function): New function to look up a CFEngine
8801 function's definition.
8802 (cfengine3-format-function-docstring): New function.
8803 (cfengine3-make-syntax-cache): New function.
8804 (cfengine3-documentation-function): New function: ElDoc glue.
8805 (cfengine3-completion-function): New function: completion glue.
8806 (cfengine3-mode): Set `compile-command',
8807 `eldoc-documentation-function', and add to
8808 `completion-at-point-functions'.
8810 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
8812 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8813 `tramp-current-connection'.
8815 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
8817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8818 nil/self/true/false with "end of symbol".
8820 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
8822 * subr.el (version-regexp-alist): Fix a typo.
8824 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
8826 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8827 "en_US.utf8" and "LC_CTYPE" to "".
8828 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8829 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8831 2013-11-15 Leo Liu <sdl.web@gmail.com>
8833 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
8835 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * progmodes/gud.el (ctl-x-map):
8838 Remove C-x SPC binding. (Bug#12342)
8839 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8841 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
8843 * subr.el (version-regexp-alist):
8844 Recognize hg, svn and darcs versions as snapshot versions.
8846 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8847 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8848 (ruby--encoding-comment-required-p): Extract from
8849 `ruby-mode-set-encoding'.
8850 (ruby-mode-set-encoding): Add the ability to always insert an
8851 utf-8 encoding comment. Fix and simplify coding comment update
8854 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
8856 * net/tramp-gvfs.el (top): Run init code only when
8857 `tramp-gvfs-enabled' is not nil.
8858 (tramp-gvfs-enabled): Check also :system bus.
8860 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8862 Sync with upstream verilog-mode revision 78e66ba.
8863 * progmodes/verilog-mode.el (verilog-end-of-defun)
8864 (verilog-type-completion, verilog-get-list): Remove unused funcs.
8865 (verilog-get-end-of-defun): Remove unused argument.
8866 (verilog-comment-depth): Remove unused local `e'.
8867 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8868 Don't pass arg to verilog-get-end-of-defun.
8870 2013-11-14 Glenn Morris <rgm@gnu.org>
8872 * obsolete/assoc.el (aget): Prefix dynamic variable.
8874 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8876 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * widget.el, hfy-cmap.el: Remove bogus package version number.
8880 2013-11-13 Glenn Morris <rgm@gnu.org>
8882 * replace.el (replace-eval-replacement):
8883 Try to give more helpful error message. (Bug#15836)
8885 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8886 (archive-7z-update): Avoid custom type mismatches.
8888 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8890 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
8892 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8893 address can be empty.
8895 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8896 Accept nil SWITCHES.
8897 (tramp-gvfs-handle-write-region): Implement APPEND.
8899 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
8901 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8902 binary "|" operator and closing block args delimiter.
8903 Remove FIXME comment referring to Ruby 1.8-only syntax.
8904 (ruby-smie--implicit-semi-p): Not after "|" operator.
8905 (ruby-smie--closing-pipe-p): New function.
8906 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8907 (ruby-smie-rules): Indent after "|".
8909 2013-11-12 Glenn Morris <rgm@gnu.org>
8911 * ps-print.el (ps-face-attribute-list):
8912 Handle anonymous faces. (Bug#15827)
8914 2013-11-12 Martin Rudalics <rudalics@gmx.at>
8916 * window.el (display-buffer-other-frame): Fix doc-string.
8919 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8921 * subr.el (force-mode-line-update): Delete, move to buffer.c.
8923 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
8925 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8926 (tramp-sh-handle-file-local-copy): Don't write a message when
8927 saving temporary files.
8929 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8930 both directories are remote.
8931 (tramp-smb-handle-directory-files): Do not return double entries.
8932 Do not expand full file names.
8933 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8934 (tramp-smb-handle-write-region): Implement APPEND.
8935 (tramp-smb-get-stat-capability): Fix a stupid bug.
8937 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8939 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8941 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8943 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8944 throwing error over malformed let/let* (bug#15814).
8946 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8948 * iswitchb.el (iswitchb-mode): Mark obsolete.
8950 2013-11-11 Glenn Morris <rgm@gnu.org>
8952 * international/uni-bidi.el, international/uni-category.el:
8953 * international/uni-name.el, international/uni-numeric.el:
8954 Regenerate for Unicode 6.3.0.
8956 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
8958 * net/tramp.el (tramp-methods):
8959 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8960 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8962 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
8964 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8965 Force highlighting text after Summary keyword in doc face for rpm.
8967 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
8969 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8970 available and the word has no wildcards, append one to the grep pattern.
8971 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8972 (ispell-complete-word): Call `ispell-lookup-words' with the value
8973 independent of `ispell-look-p'.
8975 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8977 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8979 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8982 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
8985 (ruby-font-lock-keywords): Use backquote.
8987 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8989 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8990 (ruby-smie--backward-token): Only consider full-string matches.
8992 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
8994 * faces.el (describe-face): Add distant-foreground.
8996 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
8998 * progmodes/ruby-mode.el: Improve encoding comment handling.
8999 (ruby-encoding-magic-comment-style): New option.
9000 (ruby-custom-encoding-magic-comment-template): New option.
9001 (ruby--insert-coding-comment, ruby--detect-encoding):
9002 New functions extracted from `ruby-mode-set-encoding'.
9003 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9004 to control the style of the auto-inserted encoding comment.
9006 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9008 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9009 Use `smie-backward-sexp' with token argument.
9011 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9013 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9014 Remove instrumentation code.
9016 2013-11-08 Glenn Morris <rgm@gnu.org>
9018 * progmodes/autoconf.el (autoconf-mode):
9019 Tweak comment-start-skip. (Bug#15822)
9021 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9024 at bobp (bug#15826).
9025 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9027 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9029 * man.el (Man-start-calling): New macro, extracted from
9030 Man-getpage-in-background.
9031 (Man-getpage-in-background): Use it.
9032 (Man-update-manpage): New command.
9033 (Man-mode-map): Bind it.
9035 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9037 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9038 of "and", "or", "&&" and "||".
9039 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9040 argument. Prohibit opening curly brace because it could only be a
9041 block opener in that position.
9042 (ruby-smie--forward-token, ruby-smie--backward-token):
9043 Separate "|" from "&" or "*" going after it. That can happen in block
9045 (ruby-smie--indent-to-stmt): New function, seeks the end of
9046 previous statement or beginning of buffer.
9047 (ruby-smie-rules): Use it.
9048 (ruby-smie-rules): Check if there's a ":" before a curly block
9049 opener candidate; if there is, it's a hash.
9051 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9054 (cl--block-wrapper): Fix last accidental change.
9056 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9058 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9059 Instrument, in order to hunt failure on hydra.
9061 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9063 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9064 malformed bindings form (bug#15814).
9066 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9068 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9069 "." compared to " @ ". This incidentally fixes some indentation
9071 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9072 (ruby-smie-grammar): New tokens: "and" and "or".
9073 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9074 Exclude "and" and "or". Remove "do" in order to work around token
9076 (ruby-smie-rules): Add all infix tokens. Handle the case of
9077 beginning-of-buffer.
9079 2013-11-06 Glenn Morris <rgm@gnu.org>
9081 * Makefile.in (setwins_almost, setwins_for_subdirs):
9082 Avoid accidental matches.
9084 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9086 * menu-bar.el (popup-menu): Use key-binding.
9088 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9090 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9091 menus, support also the menus produced by minor modes.
9094 2013-11-06 Leo Liu <sdl.web@gmail.com>
9096 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9097 DISTANCE to bound the search. All uses changed. (Bug#15808)
9099 2013-11-06 Glenn Morris <rgm@gnu.org>
9101 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9102 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9103 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9105 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9107 * electric.el (electric-indent-just-newline): New command.
9108 (electric-indent-mode-map): New keymap.
9109 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9110 Re-add :group which weren't redundant.
9112 * electric.el (electric-indent-local-mode): New minor mode.
9113 (electric-indent-functions-without-reindent): New var.
9114 (electric-indent-post-self-insert-function): Use it.
9115 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9117 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9119 * international/quail.el (quail-help): Be more explicit about the
9120 meaning of the labels shown on the keys. (Bug#15800)
9122 * startup.el (normal-top-level): Load the subdirs.el files before
9123 setting the locale environment. (Bug#15805)
9125 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9128 via arguments so as to get the right ones (bug#15418).
9130 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9132 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9134 Fix problems found while writing a test suite.
9136 * net/tramp-compat.el (tramp-compat-load): New defun.
9137 * net/tramp.el (tramp-handle-load): Use it.
9139 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9140 "(numberp ok-if-already-exists)" correctly.
9142 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9144 * international/characters.el (glyphless-char-display-control):
9147 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9149 * progmodes/python.el (python-mode):
9150 * progmodes/scheme.el (scheme-mode):
9151 * progmodes/prolog.el (prolog-mode):
9152 * progmodes/ruby-mode.el (ruby-mode):
9153 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9154 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9156 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9158 * rect.el (rectangle--highlight-for-redisplay):
9159 * emacs-lisp/smie.el (smie--next-indent-change):
9160 Use buffer-chars-modified-tick.
9162 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9164 * electric.el (electric-indent-post-self-insert-function):
9165 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9167 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9169 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9171 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9173 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9176 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9180 * progmodes/python.el: Fix up last change.
9181 (python-shell--save-temp-file): New function.
9182 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9183 `string' comes from the current buffer.
9184 (python-shell-send-string-no-output): Remove `msg' arg.
9185 (python--use-fake-loc): New var.
9186 (python-shell-buffer-substring): Obey it. Try to compensate for the
9187 extra coding line added by python-shell--save-temp-file.
9188 (python-shell-send-region): Use python-shell--save-temp-file and
9189 python-shell-send-file directly. Add `nomain' argument.
9190 (python-shell-send-buffer): Use python-shell-send-region.
9191 (python-electric-pair-string-delimiter): New function.
9192 (python-mode): Use it.
9194 2013-11-04 Eli Zaretskii <eliz@gnu.org>
9196 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9197 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9198 environment and decoding all of the default-directory's to here
9200 (command-line): Decode also argv[0].
9202 * loadup.el: Error out if default-directory is a multibyte string
9203 when we are dumping.
9205 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
9207 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
9209 * emacs-lisp/package.el (package-menu-mode)
9210 (package-menu--print-info, package-menu--archive-predicate):
9211 Add Archive column to package list.
9213 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
9215 Fix problems found while writing a test suite.
9217 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9218 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9219 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9220 to nil when running original file name handler. Otherwise,
9221 there are problems with constructs like "$$FOO".
9223 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9226 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
9228 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9230 * subr.el (version<, version<=, version=):
9231 Update docstrings with information for snapshot versions.
9233 * helpers.el: New library for misc helper functions.
9234 (hash-table-keys): New function returning a list of hash keys.
9235 (hash-table-values): New function returning a list of hash values.
9237 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
9239 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9240 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9242 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
9244 * textmodes/fill.el (fill-single-char-nobreak-p): New function
9245 checking whether point is after a 1-letter word.
9247 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9249 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9250 Don't infloop when expanding region over `multiline' syntax-type that
9251 begins a line (bug#15778).
9253 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9255 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9256 Make it into a proper minor mode.
9257 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9258 (rectangle-mark-mode-map): New keymap.
9259 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9261 2013-11-04 Glenn Morris <rgm@gnu.org>
9263 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9265 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9268 (ruby-smie-rules): Use smie-rule-parent instead.
9270 * emacs-lisp/smie.el (smie-rule-parent): Always call
9271 smie-indent-virtual rather than only for hanging tokens.
9272 (smie--next-indent-change): New helper command.
9274 2013-11-03 Glenn Morris <rgm@gnu.org>
9276 * Makefile.in (abs_srcdir): Remove.
9277 (emacs): Unset EMACSLOADPATH.
9279 2013-11-02 Glenn Morris <rgm@gnu.org>
9281 * Makefile.in (EMACS): Use a relative filename.
9282 (abs_top_builddir): Remove.
9283 (custom-deps, finder-data, autoloads): Use --chdir.
9285 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9287 Use relative filenames in TAGS files.
9288 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9289 (lisptagsfiles4, TAGS): Use relative file names.
9290 (TAGS-LISP): Remove.
9291 (maintainer-clean): No more TAGS-LISP file.
9293 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9294 (lisptagsfiles4): Use absolute filenames again.
9295 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9296 Remove all *loaddefs files, not just the first. Remove esh-groups.
9297 (maintainer-clean): Delete TAGS, TAGS-LISP.
9299 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9301 * emacs-lisp/package.el (package-version-join):
9302 Recognize snapshot versions.
9304 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9306 * subr.el (version-regexp-alist): Add support for snapshot versions.
9308 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9310 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9311 New function, replacement for `smie-rule-parent' for when we want to
9312 skip over our direct parent if it's an assignment token..
9313 (ruby-smie-rules): Use it.
9315 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9317 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9318 unconditionally. Remove now unnecessary forward declarations.
9319 Remove XEmacs-specific setup.
9320 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9321 (ruby-font-lock-syntactic-keywords)
9322 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9323 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9324 (ruby-here-doc-end-syntax): Remove.
9325 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9326 defined as function.
9328 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9330 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9332 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9334 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9335 table and abbrev table, `define-derived-mode' does that for us
9338 2013-11-01 Glenn Morris <rgm@gnu.org>
9340 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9341 files is atomic for some time, so no parallel compilation issues).
9343 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9345 * faces.el (face-x-resources): Add :distant-foreground.
9346 (region): Use :distant-foreground for gtk and ns.
9348 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9350 Allow multiple bibliographies when BibLaTeX is used rather than
9352 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9353 (reftex-locate-bibliography-files): Us it.
9355 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9357 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9358 allow comments in pbm files.
9360 * term/w32-win.el (dynamic-library-alist): Support newer versions
9361 of libjpeg starting with v7: look only for the DLL from the
9362 version against which Emacs was built.
9363 Support versions of libpng beyond 1.4.x.
9364 Support libtiff v4.x.
9366 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9368 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9369 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9371 (ruby-deep-arglist): Add property :type.
9373 2013-10-31 Glenn Morris <rgm@gnu.org>
9375 * Makefile.in (custom-deps, finder-data): No need to setq the target
9376 variables, we are in the right directory and the defaults work fine.
9378 2013-10-30 Glenn Morris <rgm@gnu.org>
9380 * Makefile.in (autoloads): Do not use abs_lisp.
9382 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9383 `newline' does not respect `standard-output', so use `princ'.
9385 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9387 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9388 * buff-menu.el (Buffer-menu--unmark): New function.
9389 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9391 2013-10-30 Glenn Morris <rgm@gnu.org>
9393 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9395 * emacs-lisp/package.el (lm-homepage): Declare.
9397 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9400 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9402 * Makefile.in (finder-data, autoloads, update-subdirs)
9403 (compile-main, compile-clean, compile-always, bootstrap-clean):
9404 Check return value of cd.
9405 (compile-calc): Remove.
9407 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9411 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9412 (byte-compile-and-folded): New function.
9413 (=, <, >, <=, >=): Use it.
9415 * dos-w32.el (minibuffer-history-case-insensitive-variables)
9416 (path-separator, null-device, buffer-file-coding-system)
9417 (lpr-headers-switches): Check system-type before modifying them.
9418 (find-buffer-file-type-coding-system): Mark obsolete.
9419 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9420 find-file-not-found-set-buffer-file-coding-system.
9421 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9422 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9423 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9424 (w32-direct-print-region-helper, w32-direct-print-region-function)
9425 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9426 * startup.el (normal-top-level-add-subdirs-to-load-path):
9427 * ps-print.el (ps-print-region-function):
9428 * lpr.el (print-region-function): Use new name.
9430 * subr.el (custom-declare-variable-early): Remove function.
9431 (custom-declare-variable-list): Remove var.
9432 (error, user-error): Remove `while' loop.
9433 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9434 (user-emacs-directory-warning, locate-user-emacs-file):
9436 * simple.el (read-quoted-char-radix, read-quoted-char):
9437 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9439 * custom.el (custom-declare-variable-list): Don't process
9440 custom-declare-variable-list.
9442 * progmodes/python.el (python-shell-get-buffer): New function.
9443 (python-shell-get-process): Use it.
9444 (python-shell-send-string): Always use utf-8 and add a cookie to tell
9445 Python which encoding was used. Don't split-string since we only care
9446 about the first line. Return the temp-file, if applicable.
9447 (python-shell-send-region): Tell compile.el how to turn locations in
9448 the temp-file into locations in the source buffer.
9450 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * subr.el (undefined): Add missing behavior from the C code for
9455 * rect.el: Use lexical-binding. Add new rectangular region support.
9456 (rectangle-mark): New command.
9457 (rectangle--region): New var.
9458 (deactivate-mark-hook): Reset rectangle--region.
9459 (rectangle--extract-region, rectangle--insert-for-yank)
9460 (rectangle--highlight-for-redisplay)
9461 (rectangle--unhighlight-for-redisplay): New functions.
9462 (region-extract-function, redisplay-unhighlight-region-function)
9463 (redisplay-highlight-region-function): Use them to handle
9465 * simple.el (region-extract-function): New var.
9466 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9467 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9468 (kill-region): Replace obsolete `yank-handler' arg with `region'.
9469 (copy-region-as-kill, kill-ring-save): Add `region' argument.
9470 (redisplay-unhighlight-region-function)
9471 (redisplay-highlight-region-function): New vars.
9472 (redisplay--update-region-highlight): New function.
9473 (pre-redisplay-function): Use it.
9474 (exchange-point-and-mark): Don't deactivate the mark before
9475 reactivate-it anyway.
9476 * comint.el (comint-kill-region): Remove yank-handler argument.
9477 * delsel.el (delete-backward-char, backward-delete-char-untabify)
9478 (delete-char): Remove property, since it's now part of their
9480 (self-insert-iso): Remove property since this command doesn't exist.
9482 * emacs-lisp/package.el (package--download-one-archive)
9483 (describe-package-1): Don't query the user about final newline.
9485 2013-10-29 Daniel Colascione <dancol@dancol.org>
9487 * net/tramp.el (tramp-methods): Document new functionality.
9488 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9489 tramp-hostname-checker if method provides one instead of scanning
9490 argument list for "%h" to decide hostname acceptability.
9492 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
9494 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9495 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9496 Handle COPY-CONTENTS. (Bug#15737)
9498 2013-10-28 Daiki Ueno <ueno@gnu.org>
9500 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9501 Document that this option has no effect with GnuPG 2.0 (bug#15552).
9503 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
9505 * image.el (defimage, image-load-path): Doc fixes.
9507 2013-10-27 Alan Mackenzie <acm@muc.de>
9509 Indent statements in macros following "##" correctly.
9510 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9511 Modify the "#" arm of a cond form to handle "#" and "##" operators.
9513 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9515 * linum.el (linum-update-window): Fix boundary test (bug#13446).
9517 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
9519 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9520 after `=' is probably a new expression.
9522 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9524 * man.el (man-imenu-title): New option.
9525 (Man-mode-map): Add menu. (Bug#15722)
9526 (Man-mode): Add imenu to menu.
9528 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
9530 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9531 specific in what the first arg can be: a non-keyword word,
9532 string/regexp/percent literal opener, opening paren, or unary
9533 operator followed directly by word.
9535 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9538 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9539 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9540 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9541 Remove vars, they do not apply any more.
9542 (prolog-mode-abbrev-table): Remove redundant declaration.
9543 (prolog-upper-case-string, prolog-lower-case-string): Remove.
9544 (prolog-use-smie): Remove.
9545 (prolog-smie-rules): Add indentation rule for the if-then-else layout
9546 supported by prolog-electric-if-then-else-flag.
9547 (prolog-mode-variables, prolog-menu): Use setq-local.
9548 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9549 Remove binding to `Backspace' since this key doesn't exist anyway.
9550 Remove bindings for electric self-inserting keys.
9551 (prog-mode): Assume it's defined.
9552 (prolog-post-self-insert): New function.
9553 (prolog-mode): Use it.
9554 (prolog-indent-line, prolog-indent-level)
9555 (prolog-find-indent-of-matching-paren)
9556 (prolog-indentation-level-of-line, prolog-goto-comment-column)
9557 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9558 (prolog-goto-next-paren, prolog-in-string-or-comment)
9559 (prolog-tokenize, prolog-inside-mline-comment)
9560 (prolog-find-start-of-mline-comment): Remove functions.
9561 (prolog-find-unmatched-paren, prolog-clause-end)
9562 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9563 (prolog-electric--if-then-else): Rename from
9564 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9565 (prolog-tokenize-searchkey): Remove const.
9566 (prolog-clause-info): Use forward-sexp.
9567 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9568 (prolog-electric-if-then-else): Remove commands.
9569 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9570 for use in post-self-insert-hook.
9571 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9572 for use in post-self-insert-hook.
9573 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9574 for use in post-self-insert-hook.
9575 (prolog-electric--underscore): Rename from prolog-electric--underscore;
9576 adapt it for use in post-self-insert-hook.
9578 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
9580 * emacs-lisp/ert.el (ert-run-tests-interactively):
9581 Use `completing-read'. (Bug#9756)
9583 2013-10-25 Eli Zaretskii <eliz@gnu.org>
9585 * simple.el (line-move): Call line-move-1 instead of
9586 line-move-visual when the current window hscroll is zero, but
9587 temporary-goal-column indicates we will need to hscroll as result
9588 of the movement. (Bug#15712)
9590 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
9592 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9593 capitalization. Use :visible instead of :active.
9594 Fix `ruby-indent-exp' reference. Add menu items for the generic
9595 commands that are used with SMIE.
9596 (ruby-do-end-to-brace): Insert space after `{'.
9598 2013-10-25 John Anthony <john@jo.hnanthony.com>
9600 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
9602 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
9604 2013-10-25 Glenn Morris <rgm@gnu.org>
9606 * vc/vc.el (vc-print-log): Don't use a working revision unless
9607 one was explicitly specified. (Bug#15322)
9609 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9611 * subr.el (add-to-list): Preserve return value in compiler-macro
9614 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9616 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9617 result. Ask user to retry using '-all' flag. (Bug#15701)
9619 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * emacs-lisp/smie.el: New smie-config system.
9622 (smie-config): New defcustom.
9623 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9624 (smie-config-guess, smie-config-save): New commands.
9625 (smie-config--mode-local, smie-config--buffer-local)
9626 (smie-config--trace, smie-config--modefuns): New vars.
9627 (smie-config--advice, smie-config--mode-hook)
9628 (smie-config--setter, smie-config-local, smie-config--get-trace)
9629 (smie-config--guess-value, smie-config--guess): New functions.
9630 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9631 text properties. Treat "string fence" syntax like string syntax.
9633 * progmodes/sh-script.el (sh-use-smie): Change default.
9634 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9635 (sh-var-value): Simplify by CSE.
9636 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9637 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9639 (sh-guess-basic-offset): Use cl-incf.
9640 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9642 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
9644 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9647 2013-10-24 Glenn Morris <rgm@gnu.org>
9649 * Makefile.in (abs_top_srcdir): Remove.
9650 (update-subdirs): Use relative path to update-subdirs.
9652 2013-10-24 Eli Zaretskii <eliz@gnu.org>
9654 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9655 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9656 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9657 Call unmsys--file-name before expand-file-name, not after it.
9659 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
9661 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9662 (ert-test-skipped): New error.
9663 (ert-skip, ert-stats-skipped): New defuns.
9664 (ert--skip-unless): New macro.
9665 (ert-test-skipped): New struct.
9666 (ert--run-test-debugger, ert-test-result-type-p)
9667 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9668 (ert--stats-set-test-and-result, ert-char-for-test-result)
9669 (ert-string-for-test-result, ert-run-tests-batch)
9670 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9671 Handle skipped tests. (Bug#9803)
9673 2013-10-24 Glenn Morris <rgm@gnu.org>
9675 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9677 * Makefile.in (abs_top_srcdir): New, set by configure.
9678 (update-subdirs): Correct build-aux location.
9680 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
9682 * vc/vc.el (vc-print-root-log): Always set `default-directory'
9683 value, whether we could auto-deduce `backend', or not.
9685 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9686 with parameters" example. Simplify the "is it block or is it
9687 hash" check, but also make it more thorough.
9689 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
9691 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
9693 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9698 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9701 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
9703 * progmodes/compile.el (compilation-directory-matcher)
9704 (compilation-page-delimiter):
9705 Support GNU Make-4.0 directory quoting. (Bug#15678)
9707 2013-10-23 Leo Liu <sdl.web@gmail.com>
9709 * ido.el (ido-tidy): Handle read-only text.
9711 2013-10-23 Glenn Morris <rgm@gnu.org>
9713 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9714 (emacs, compile, compile-always):
9715 Quote entities that might contain whitespace.
9716 (custom-deps, finder-data, autoloads): Use abs_lisp.
9717 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9718 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9719 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9721 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
9723 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9724 Use `following-char'.
9726 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
9728 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9729 * progmodes/ruby-mode.el (ruby-smie-rules):
9730 Remove corresponding workaround. Fix indentation rule of ";" so it
9731 also applies when ";" is the parent.
9733 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
9735 * frame.el (display-screens, display-pixel-height)
9736 (display-pixel-width, display-mm-width, display-backing-store)
9737 (display-save-under, display-planes, display-color-cells)
9738 (display-visual-class, display-monitor-attributes-list):
9739 Mention the optional ‘display’ argument in doc strings.
9741 2013-10-22 Michael Gauland <mikelygee@amuri.net>
9743 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9744 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
9746 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
9748 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9749 TODO. Add "." after " @ ".
9750 (ruby-smie--at-dot-call): New function. Checks if point at method
9751 call with explicit target.
9752 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9753 to the method name tokens when it precedes them.
9754 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9755 (ruby-smie-rules): Add rule for indentation before and after "."
9758 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
9760 * textmodes/remember.el (remember-diary-extract-entries):
9763 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9766 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
9768 * progmodes/ruby-mode.el (ruby-smie-grammar):
9769 Add (almost) all infix operators.
9770 (ruby-smie--implicit-semi-p): Add new operator chars.
9772 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9774 (ruby-smie--args-separator-p): Check that there's no newline
9775 between method call and its arguments.
9777 2013-10-20 Alan Mackenzie <acm@muc.de>
9779 Allow comma separated lists after Java "implements".
9781 * progmodes/cc-engine.el (c-backward-over-enum-header):
9783 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9784 from a "disallowed" list in enum fontification.
9786 2013-10-20 Johan Bockgård <bojohan@gnu.org>
9788 * startup.el (default-frame-background-mode): Remove unused defvar.
9790 * progmodes/verilog-mode.el (verilog-mode): Don't set
9791 comment-indent-function globally.
9793 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
9795 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9796 Move Info menu item creation to ns-win.el.
9798 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9801 * menu-bar.el: Move GNUstep specific menus...
9803 * term/ns-win.el (ns-initialize-window-system): ... to here.
9805 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * simple.el (newline): Only run post-self-insert-hook when
9808 called interactively.
9810 2013-10-19 Johan Bockgård <bojohan@gnu.org>
9812 * icomplete.el (icomplete-with-completion-tables): Add :version.
9814 2013-10-19 Alan Mackenzie <acm@muc.de>
9816 Fix fontification bugs with constructors and const.
9818 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9819 CASE 2) Remove the check for the absence of a suffix construct
9820 after a function declaration with only types (no identifiers) in
9821 the parentheses. Also, accept a function declaration with just a
9822 type inside the parentheses, if this type can be positively
9823 recognised as such, or if a prefix keyword like "explicit" nails
9824 down the construct as a declaration.
9826 2013-10-19 Eli Zaretskii <eliz@gnu.org>
9828 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9829 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
9830 the problem whereby selecting a menu item that leads to a
9831 minibuffer prompt moves the cursor out of the minibuffer window,
9832 making it hard to type at the prompt. Suggested by Stefan Monnier
9833 <monnier@iro.umontreal.ca>.
9835 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
9837 * menu-bar.el: Don't make Services menu.
9839 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9841 * ffap.el: Handle "/usr/include/c++/<version>" directories.
9842 (ffap-alist): Use ffap-c++-mode for c++-mode.
9843 (ffap-c++-path): New variable.
9844 (ffap-c++-mode): New function.
9846 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
9848 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
9850 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
9852 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9853 introduced on 2013-09-08, which results in an infinite loop
9854 requesting a password.
9856 2013-10-18 Glenn Morris <rgm@gnu.org>
9858 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9860 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
9862 Sync with upstream verilog-mode revision 1a6ecec7.
9863 * progmodes/verilog-mode.el (verilog-mode-version): Update.
9864 (verilog-mode-release-date): Remove.
9865 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9866 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9867 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9868 (verilog-auto-tieoff-ignore-regexp)
9869 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9870 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9871 (verilog-signals-with, verilog-dir-cache-preserving)
9872 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9874 (verilog-case-fold): New option, to control case folding in
9875 regexp searches, bug597.
9876 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9877 (verilog-string-match-fold, verilog-in-paren-count)
9878 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9879 (verilog-at-close-struct-p): New functions.
9880 (verilog-beg-block-re-ordered, verilog-extended-case-re)
9881 (verilog-forward-sexp, verilog-set-auto-endcomments)
9882 (verilog-leap-to-case-head): Handle "unique0" case.
9883 (verilog-in-constraint-re): New constant.
9884 (verilog-keywords, verilog-type-font-keywords):
9885 Add some SystemVerilog 1800-2012 keywords.
9886 (verilog-label-be): Remove unimplemented argument, bug669.
9887 (verilog-batch-execute-func): When batch expanding clear
9888 create-lockfiles to prevent spurious user locks when a file ends
9890 (verilog-calculate-indent, verilog-calc-1)
9891 (verilog-at-close-constraint-p, verilog-at-constraint-p)
9892 (verilog-do-indent): Fix indentation of nested constraints
9894 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9895 (verilog-auto-inst-param): Use verilog-string-match-fold.
9896 (verilog-read-inst-module-matcher):
9897 Fix AUTOINST on gate primitives with #1.
9898 (verilog-read-decls): Fix double-declaring user-defined typed signals.
9899 Reads all user-defined typed variables.
9900 (verilog-read-defines): Fix reading definitions inside comments, bug647.
9901 (verilog-signals-matching-regexp)
9902 (verilog-signals-not-matching-regexp, verilog-auto):
9903 Respect verilog-case-fold.
9904 (verilog-diff-report): Fix line count.
9905 (verilog-auto-assign-modport): Remove unused local `modi'.
9906 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9907 better handle multidimensional arrays.
9908 Fix packed array ports misadding bit index in AUTOINST, bug637.
9909 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9910 to not double-declare existing outputs and inputs, respectively.
9911 (verilog-template-map): Bind U to verilog-sk-uvm-component.
9912 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9913 (verilog-sk-uvm-component): New skeleton.
9914 (verilog-submit-bug-report): Add verilog-case-fold,
9915 remove verilog-mode-release-date.
9917 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
9919 * subr.el (sit-for): Call (input-pending-p t) so as to behave
9922 2013-10-18 Reuben Thomas <rrt@sc3d.org>
9924 * textmodes/remember.el (remember): Set buffer-offer-save in
9925 remember buffers (bug#13566).
9927 2013-10-18 Daniel Colascione <dancol@dancol.org>
9929 When evaluating forms in ielm, direct standard output to ielm
9930 buffer. Add new ielm-return-for-effect command. Remove trailing
9931 whitespace throughout.
9933 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9934 (ielm-return-for-effect): New command.
9935 (ielm-send-input): Accept optional `for-effect' parameter.
9936 (ielm-eval-input): Accept optional `for-effect' parameter.
9937 Bind `standard-output' to stream we create using
9938 `ielm-standard-output-impl'. Suppress printing result when
9940 (ielm-standard-output-impl): New function.
9941 (inferior-emacs-lisp-mode): Explain new features in documentation.
9943 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
9947 * net/tramp.el (tramp-debug-message): Do not check for connection
9949 (tramp-message): Use "vector" connection property.
9951 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9952 (tramp-equal-remote, tramp-eshell-directory-change)
9953 * net/tramp-adb.el (tramp-adb-handle-copy-file)
9954 (tramp-adb-handle-rename-file)
9955 * net/tramp-cmds.el (tramp-list-remote-buffers)
9956 (tramp-cleanup-connection, tramp-cleanup-this-connection)
9957 * net/tramp-compat.el (tramp-compat-process-running-p)
9958 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9959 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9960 (tramp-gvfs-handle-rename-file)
9961 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9962 (tramp-set-file-uid-gid)
9963 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9964 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9967 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9968 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9969 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9970 (tramp-gw-open-network-stream): Suppress unrelated traces.
9972 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9973 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9974 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9975 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9976 connection property.
9978 * net/tramp-cache.el (top): Suppress traces when reading
9981 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9982 Refactor common code. Improve debug message.
9983 (tramp-maybe-open-connection)
9984 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9985 connection buffer too early.
9987 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9988 from `tramp-smb-actions-with-acl'.
9989 (tramp-smb-actions-set-acl): New defconst.
9990 (tramp-smb-handle-copy-directory)
9991 (tramp-smb-action-get-acl): New defun, renamed from
9992 `tramp-smb-action-with-acl'.
9993 (tramp-smb-action-set-acl): New defun.
9994 (tramp-smb-handle-set-file-acl): Rewrite.
9996 2013-10-17 Glenn Morris <rgm@gnu.org>
9998 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10000 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10002 * skeleton.el (skeleton-newline): Remove.
10003 (skeleton-internal-1): Use (insert "\n") instead.
10005 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10008 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10009 forward-sexp-function while we redo its job (bug#15613).
10011 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10013 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10014 represented by lists.
10016 2013-10-16 Glenn Morris <rgm@gnu.org>
10018 * tmm.el (tmm--history): New dynamic variable.
10019 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10021 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10023 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10024 (tramp-smb-errors): Add error messages.
10025 (tramp-smb-actions-with-acl): New defconst.
10026 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10027 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10028 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10029 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10030 (tramp-smb-get-stat-capability): Fix tests.
10032 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10034 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10037 2013-10-16 Glenn Morris <rgm@gnu.org>
10039 * ansi-color.el (ansi-color-drop-regexp):
10040 Add 1J, 1K, 2K. (Bug#15617)
10042 * files.el (hack-local-variables--warned-lexical): New.
10043 (hack-local-variables):
10044 Warn about misplaced lexical-binding. (Bug#15616)
10046 * net/eww.el (eww-render): Always set eww-current-url,
10047 and update header line. (Bug#15622)
10048 (eww-display-html): ... Rather than just doing it here.
10050 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10052 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10053 menu navigations commands.
10055 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10057 * progmodes/subword.el (subword-capitalize): Be careful when
10058 the search for [[:alpha:]] fails (bug#15580).
10060 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10062 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10063 to commands that scroll the menu.
10065 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10067 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10068 Handle methods ending with `?' and `!'.
10070 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10072 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10073 `japanese-cp932' to `cp932' to fix the problem where saving a
10074 source file written in Shift_JIS twice would end up having
10075 `coding: japanese-cp932' which Ruby could not recognize.
10076 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10077 in `ruby-encoding-map'.
10078 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10079 doesn't need to be explicitly declared in magic comment.
10080 (ruby-encoding-map): Add type declaration for better customize UI.
10082 2013-10-13 Glenn Morris <rgm@gnu.org>
10084 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10085 Occur buffers are read-only. http://bugs.debian.org/720775
10087 * emacs-lisp/authors.el (authors-fixed-entries):
10088 Comment out old alpha stuff.
10090 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10092 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10093 to `after-save-hook' instead of `before-save-hook'.
10094 (ruby-mode-set-encoding): Use the value of coding system used to
10095 write the file. Call `basic-save-buffer-1' after modifying the
10098 2013-10-13 Alan Mackenzie <acm@muc.de>
10100 Fix indentation/fontification of Java enum with
10101 "implements"/generic.
10103 * progmodes/cc-engine.el (c-backward-over-enum-header):
10104 Extracted from the three other places and enhanced to handle generics.
10105 (c-inside-bracelist-p): Uses new function above.
10106 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10108 (c-font-lock-enum-tail): Uses new function above.
10110 2013-10-13 Kenichi Handa <handa@gnu.org>
10112 * international/mule-cmds.el (select-safe-coding-system): Remove a
10113 superfluous condition in chekcing whether a coding system is safe
10116 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10118 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10120 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10122 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10124 2013-10-13 Glenn Morris <rgm@gnu.org>
10126 * menu-bar.el (menu-bar-update-buffers):
10127 Unify Buffers menu prompt string. (Bug#15576)
10129 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10131 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10133 (authors-fixed-entries): Use accented form of name.
10135 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10137 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10138 method calls (bug#15594).
10139 (ruby-smie--args-separator-p): New function.
10140 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10141 recognize paren-free method calls.
10143 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10144 internals of universal-argument.
10146 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10148 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10149 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10150 dropped menu on second mouse click on the menu bar.
10152 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10154 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10155 (explicit-shell-file-name): Declare.
10156 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10157 (sh-completion-at-point-function): New function.
10159 (sh-smie--keyword-p): Remove unused argument.
10160 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10162 (sh-set-shell): Always setup SMIE, even if we use the
10163 old indentation code.
10165 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10167 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10169 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10170 predicate would return nil are almost non-existent.
10171 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10173 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10174 cache also after commands that modify the buffer but don't move
10177 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * env.el (substitute-env-in-file-name): New function.
10180 (substitute-env-vars): Extend the meaning of the optional arg.
10182 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10184 * term/w32-win.el (dynamic-library-alist): Define separate lists
10185 of GIF DLLs for versions before and after 5.0.0 of giflib.
10188 2013-10-10 João Távora <joaotavora@gmail.com>
10190 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10191 not locked, use last revision and current source as
10192 defaults. (Bug#15569)
10194 2013-10-10 Masatake YAMATO <yamato@redhat.com>
10196 * menu-bar.el (menu-bar-open): Don't use popup-menu if
10197 menu-bar is hidden.
10199 2013-10-10 Martin Rudalics <rudalics@gmx.at>
10201 * window.el (pop-to-buffer-same-window): Fix doc-string.
10204 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10208 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
10210 * calendar/icalendar.el (icalendar-import-file):
10211 Fix interactive spec. (Bug#15482)
10213 2013-10-10 Glenn Morris <rgm@gnu.org>
10215 * desktop.el (desktop-save): Default to saving in .emacs.d,
10216 since PWD is no longer in desktop-path by default. (Bug#15319)
10218 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10219 now that text mode has a menu with the same entry.
10220 (menu-bar-text-mode-auto-fill): Remove now unused func.
10221 * textmodes/text-mode.el (text-mode-map):
10222 Use auto-fill help text from menu-bar.el.
10224 2013-10-10 John Anthony <john@jo.hnanthony.com>
10226 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
10228 2013-10-09 Juri Linkov <juri@jurta.org>
10230 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10231 instead of this-command-keys. Add universal-argument-more and
10232 universal-argument-minus to the list of prefix commands. (Bug#15568)
10234 2013-10-09 Glenn Morris <rgm@gnu.org>
10236 * vc/vc-svn.el (vc-svn-create-repo):
10237 Expand paths in file://... url. (Bug#15446)
10239 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10241 (authors): Remove unused local variables.
10243 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * profiler.el: Create a more coherent calltree from partial backtraces.
10246 (profiler-format): Hide the tail with `invisible' so that C-s can still
10247 find the hidden elements.
10248 (profiler-calltree-depth): Don't recurse so enthusiastically.
10249 (profiler-function-equal): New hash-table-test.
10250 (profiler-calltree-build-unified): New function.
10251 (profiler-calltree-build): Use it.
10252 (profiler-report-make-name-part): Indent the calltree less.
10253 (profiler-report-mode): Add visibility specs for profiler-format.
10254 (profiler-report-expand-entry, profiler-report-toggle-entry):
10255 Expand the whole subtree when provided with a prefix arg.
10257 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
10259 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10261 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10262 hanging iuwu-mod token.
10263 (ruby-smie--forward-token): Do not include a dot after a token in
10265 (ruby-smie--backward-token): Likewise.
10267 2013-10-08 Juri Linkov <juri@jurta.org>
10269 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10270 to isearch-other-control-char.
10271 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10272 and isearch-post-command-hook to post-command-hook.
10273 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10274 and isearch-post-command-hook from post-command-hook.
10275 (isearch-unread-key-sequence)
10276 (isearch-reread-key-sequence-naturally)
10277 (isearch-lookup-scroll-key, isearch-other-control-char)
10278 (isearch-other-meta-char): Remove functions.
10279 (isearch-pre-command-hook, isearch-post-command-hook):
10280 New functions based on isearch-other-meta-char rewritten
10281 relying on the new behavior of overriding-terminal-local-map
10282 that does not replace the local keymaps any more. (Bug#15200)
10284 2013-10-08 Eli Zaretskii <eliz@gnu.org>
10286 Support menus on text-mode terminals.
10287 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10290 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10292 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10293 Move here from mouse.el.
10294 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10296 (tty-menu-navigation-map): New map for TTY menu navigation.
10298 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10300 * frame.el (display-mouse-p): Report text-mode mouse as available
10302 (display-popup-menus-p): Report availability if mouse is
10303 available; don't condition on window-system.
10305 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10306 (tty-menu-selected-face): New faces.
10308 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10310 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10311 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10312 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10313 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10315 (lisp-mode-variables): New `elisp' argument.
10316 (emacs-lisp-mode): Use it.
10317 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10318 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10320 * indent.el: Use lexical-binding.
10321 (indent-region): Add progress reporter.
10322 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10324 (indent--next-tab-stop): New function to implement this behavior.
10325 (tab-to-tab-stop, move-to-tab-stop): Use it.
10327 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10329 * indent.el (indent-rigidly--current-indentation): New function.
10330 (indent-rigidly-map): New var.
10331 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10333 2013-10-08 Bastien Guerry <bzg@gnu.org>
10335 * register.el (insert-register): Fix 2013-10-07 change.
10337 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10339 * progmodes/perl-mode.el: Use lexical-binding.
10340 Remove redundant :group args.
10341 (perl-nochange): Change default to be closer to other major modes's
10343 (perl-indent-line): Don't consider text on current line as a
10344 valid beginning of function from which to indent.
10346 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10347 with more than one argument (bug#15538).
10349 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10351 * vc/pcvs.el: Use lexical-binding.
10352 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10353 environment of `eval'.
10354 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10355 than a list of expressions. Adjust callers.
10356 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10358 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10360 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10361 case of the dot in a chained method call being on the following line.
10363 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * electric.el (electric-indent-inhibit): New var.
10366 (electric-indent-post-self-insert-function): Use it.
10367 * progmodes/python.el (python-mode): Set it.
10369 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10372 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10374 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10375 (css-mode): Use electric-indent-chars.
10377 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10378 (font-lock-beg, font-lock-end): Move before first use.
10379 (nxml-mode): Use syntax-propertize-function.
10380 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10381 (nxml-extend-after-change-region): Remove.
10382 * nxml/xmltok.el: Use lexical-binding.
10383 (xmltok-save): Use `declare'.
10384 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10385 * nxml/nxml-util.el: Use lexical-binding.
10386 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10388 * nxml/nxml-ns.el: Use lexical-binding.
10389 (nxml-ns-save): Use `declare'.
10390 (nxml-ns-prefixes-for): Avoid add-to-list.
10391 * nxml/rng-match.el: Use lexical-binding.
10392 (rng--ipattern): Use cl-defstruct.
10393 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10394 (rng-cons-group-after, rng-subst-group-after)
10395 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10396 Use closures instead of `(lambda...).
10398 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
10400 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10404 Use `tramp-handle-insert-file-contents'.
10405 (tramp-gvfs-handle-insert-file-contents): Remove function.
10407 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10408 Use `save-restriction' in order to keep markers.
10410 * net/trampver.el: Update release number.
10412 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10414 * progmodes/compile.el (compilation-parse-errors):
10415 Use compilation--put-prop.
10416 (compilation--ensure-parse): Check compilation-multiline.
10418 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10420 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10423 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10425 * progmodes/ruby-mode.el: Fix recently added tests.
10426 (ruby-smie-grammar): Add - and +.
10427 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10428 (ruby-smie--backward-id): New functions.
10429 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10430 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
10433 2013-10-07 Leo Liu <sdl.web@gmail.com>
10435 * register.el (register-preview-delay)
10436 (register-preview-functions): New variables.
10437 (register-read-with-preview, register-preview)
10438 (register-describe-oneline): New functions.
10439 (point-to-register, window-configuration-to-register)
10440 (frame-configuration-to-register, jump-to-register)
10441 (number-to-register, view-register, insert-register)
10442 (copy-to-register, append-to-register, prepend-to-register)
10443 (copy-rectangle-to-register): Use register-read-with-preview to
10444 read register. (Bug#15525)
10446 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
10448 * net/network-stream.el (network-stream-open-starttls): Don't add
10449 --insecure if it's already present, because that gnutls-cli
10450 rejects getting that parameter twice.
10452 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
10454 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10457 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
10459 * newcomment.el (comment-use-global-state): Change default value
10460 to t, mark obsolete (Bug#15251).
10461 (comment-beginning): In addition to `comment-to-syntax', check the
10462 value of `comment-use-global-state'.
10464 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10467 (ruby-comment-column): Follow the global default, by default.
10468 (ruby-smie-grammar): Add assignment syntax.
10469 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10470 open-paren, a comma, or a \.
10471 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10472 and line continuations.
10473 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10474 followed by implicit semi-colons. Add rule for string concatenation
10475 and for indentation at BOB.
10476 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10478 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10479 calling next-sexp, since next-token may have skipped chars which
10480 next-sexp doesn't know should be skipped!
10482 2013-10-05 Leo Liu <sdl.web@gmail.com>
10484 * progmodes/octave.el (octave-send-region):
10485 Call compilation-forget-errors.
10487 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10489 * vc/vc-svn.el (vc-svn-find-admin-dir):
10490 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10491 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10492 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10493 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10495 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10497 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10499 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * subr.el (read-passwd): Hide chars even when called within a context
10502 where after-change-functions is disabled (bug#15501).
10503 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10504 until we removed ourself from overriding-terminal-local-map.
10506 2013-10-04 Leo Liu <sdl.web@gmail.com>
10508 * progmodes/octave.el (inferior-octave-mode):
10509 Call compilation-forget-errors.
10511 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10513 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10515 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
10517 * net/secrets.el (secrets-create-collection): Add optional
10518 argument ALIAS. Use proper Label keyword. Append ALIAS as
10519 dbus-call-method argument. (Bug#15516)
10521 2013-10-04 Leo Liu <sdl.web@gmail.com>
10523 * progmodes/octave.el (inferior-octave-error-regexp-alist)
10524 (inferior-octave-compilation-font-lock-keywords): New variables.
10525 (compilation-error-regexp-alist)
10526 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10527 (inferior-octave-mode): Use compilation-shell-minor-mode.
10529 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
10531 * minibuffer.el (completion--replace): Be careful that `end' might be
10534 2013-10-03 Daiki Ueno <ueno@gnu.org>
10536 Add support for package signature checking.
10537 * emacs-lisp/package.el (url-http-file-exists-p)
10538 (epg-make-context, epg-context-set-home-directory)
10539 (epg-verify-string, epg-context-result-for)
10540 (epg-signature-status, epg-signature-to-string)
10541 (epg-check-configuration, epg-configuration)
10542 (epg-import-keys-from-file): Declare.
10543 (package-check-signature): New user option.
10544 (package-unsigned-archives): New user option.
10545 (package-desc): Add `signed' field.
10546 (package-load-descriptor): Set `signed' field if .signed file exists.
10547 (package--archive-file-exists-p): New function.
10548 (package--check-signature): New function.
10549 (package-install-from-archive): Check package signature.
10550 (package--download-one-archive): Check archive signature.
10551 (package-delete): Remove .signed file.
10552 (package-import-keyring): New command.
10553 (package-refresh-contents): Import default keyring.
10554 (package-desc-status): Add "unsigned" status.
10555 (describe-package-1, package-menu--print-info)
10556 (package-menu-mark-delete, package-menu--find-upgrades)
10557 (package-menu--status-predicate): Support "unsigned" status.
10559 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10561 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10562 the new compilation scheme using the new byte-codes.
10564 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10565 (byte-pophandler): New byte codes.
10566 (byte-goto-ops): Adjust accordingly.
10567 (byte-compile--use-old-handlers): New var.
10568 (byte-compile-catch): Use new byte codes depending on
10569 byte-compile--use-old-handlers.
10570 (byte-compile-condition-case--old): Rename from
10571 byte-compile-condition-case.
10572 (byte-compile-condition-case--new): New function.
10573 (byte-compile-condition-case): New function that dispatches depending
10574 on byte-compile--use-old-handlers.
10575 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10578 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10579 Optimize under `condition-case' and `catch' if
10580 byte-compile--use-old-handlers is nil.
10581 (disassemble-offset): Handle new bytecodes.
10583 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * subr.el (error): Use `declare'.
10586 (decode-char, encode-char): Use advertised-calling-convention instead
10587 of the docstring to discourage use of the `restriction' arg.
10589 2013-10-03 Daiki Ueno <ueno@gnu.org>
10591 * epg.el (epg-verify-file): Add a comment saying that it does not
10592 notify verification error as a return value nor a signal.
10593 (epg-verify-string): Ditto.
10595 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10597 * progmodes/compile.el (compilation-start): Try globbing the arg to
10600 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
10602 Sync with Tramp 2.2.8.
10604 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10605 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10606 * net/trampver.el: Update release number.
10608 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
10610 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10611 and default-process-coding-system for darwin only.
10613 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
10615 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10617 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
10619 * vc/vc-git.el (vc-git-grep): Disable pager.
10621 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
10623 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10624 Use :url instead of :homepage, as per
10625 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10627 * newcomment.el (comment-beginning): When `comment-use-syntax' is
10628 non-nil, use `syntax-ppss' (Bug#15251).
10630 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10632 * progmodes/octave.el (inferior-octave-startup-file):
10633 Prefer ~/.emacs.d/init_octave.m.
10635 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
10637 * emacs-lisp/package.el (package-desc-from-define):
10638 Accept additional arguments as plist, convert them to an alist and store
10639 them in the `extras' slot.
10640 (package-generate-description-file): Convert extras alist back to
10641 plist and append to the `define-package' form arguments.
10642 (package--alist-to-plist): New function.
10643 (package--ac-desc): Add `extras' slot.
10644 (package--add-to-archive-contents): Check if the archive-contents
10645 vector is long enough, and if it is, pass its `extras' slot value
10646 to `package-desc-create'.
10647 (package-buffer-info): Call `lm-homepage', pass the returned value
10648 to `package-desc-from-define'.
10649 (describe-package-1): Render the homepage button (Bug#13291).
10651 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10652 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10654 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
10656 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10657 and default-process-coding-system to utf-8-unix (Bug#15402).
10659 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
10661 * subr.el (looking-back): Do not recommend using looking-back.
10663 2013-09-28 Alan Mackenzie <acm@muc.de>
10665 Fix indentation/fontification of Java enum with "implements".
10667 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10668 regexp which matches "implements", etc., in Java.
10669 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10670 specifier clauses coming after "enum".
10671 * progmodes/cc-fonts.el (c-font-lock-declarations)
10672 (c-font-lock-enum-tail): Check for extra specifier clauses coming
10675 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
10677 * faces.el (region): Change ns_selection_color to
10678 ns_selection_fg_color, add ns_selection_bg_color.
10680 2013-09-28 Leo Liu <sdl.web@gmail.com>
10682 * progmodes/octave.el (inferior-octave-completion-table)
10683 (inferior-octave-completion-at-point): Minor tweaks.
10685 * textmodes/ispell.el (ispell-lookup-words): Rename from
10686 lookup-words. (Bug#15460)
10687 (lookup-words): Obsolete.
10688 (ispell-complete-word, ispell-command-loop): All uses changed.
10690 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10692 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10693 (octave-mode-menu): Add octave-send-buffer.
10694 (octave-send-buffer): New function.
10696 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10698 * progmodes/octave.el (octave-mode-map): Add key binding for
10700 (octave-mode-menu): Add octave-lookfor.
10701 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10703 (octave-lookfor): New function.
10705 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10707 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10708 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10710 (cl--loop-set-iterator-function): New function.
10711 (cl-loop): Adjust accordingly, so as not to use cl-subst.
10712 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10713 Bind `it' with `let' instead of substituting it with `cl-subst'.
10714 (cl--unused-var-p): New function.
10715 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10716 Eliminate some unused variable warnings (bug#15326).
10718 2013-09-27 Tassilo Horn <tsdh@gnu.org>
10720 * doc-view.el (doc-view-scale-reset): Rename from
10721 `doc-view-reset-zoom-level'.
10722 (doc-view-scale-adjust): New command.
10723 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10724 `doc-view-scale-adjust'.
10726 2013-09-26 Tassilo Horn <tsdh@gnu.org>
10728 * doc-view.el (doc-view-reset-zoom-level): New command.
10729 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10730 zoom commands (bug#15466).
10732 2013-09-26 Kenichi Handa <handa@gnu.org>
10734 * international/quail.el (quail-help): Make it not a command.
10736 2013-09-26 Leo Liu <sdl.web@gmail.com>
10738 * minibuffer.el (completion-all-sorted-completions): Make args
10739 optional as they are.
10741 2013-09-25 Daniel Colascione <dancol@dancol.org>
10743 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10744 specs are and that they're not evaluated.
10746 2013-09-24 Sam Steingold <sds@gnu.org>
10748 * midnight.el (clean-buffer-list-kill-regexps)
10749 (clean-buffer-list-kill-buffer-names): Update for the new Man
10750 buffer naming which includes the object name.
10752 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * eshell/esh-cmd.el (eshell--sep-terms): New var.
10755 (eshell-parse-command, eshell-parse-pipeline): Use it since
10756 eshell-separate-commands requires a dynamic scoped var.
10757 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10759 2013-09-23 Leo Liu <sdl.web@gmail.com>
10761 * autoinsert.el (auto-insert-alist): Make the value of
10762 lexical-binding match its file setting.
10764 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
10766 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10768 * autoarg.el (autoarg-kp-digit-argument):
10769 * electric.el (Electric-command-loop):
10770 * kmacro.el (kmacro-step-edit-insert):
10771 Do not set universal-argument-num-events.
10773 2013-09-22 Leo Liu <sdl.web@gmail.com>
10775 * files.el (interpreter-mode-alist): Add octave.
10777 2013-09-21 Alan Mackenzie <acm@muc.de>
10779 C++: fontify identifier in declaration following "public:" correctly.
10780 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10781 to match "public", etc.
10782 (c-decl-prefix-re): Add ":" into the C++ value.
10783 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10784 bit. Add a check for a ":" preceded by "public", etc.
10786 2013-09-21 Eli Zaretskii <eliz@gnu.org>
10788 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10789 recognized by GDB 7.5 and later.
10791 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
10793 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10795 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10797 * subr.el (internal--call-interactively): New const.
10798 (called-interactively-p): Use it (bug#3984).
10800 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
10802 * vc/pcvs.el (cvs-mode-ignore):
10803 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10804 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10806 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10808 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
10809 (eshell-ls-orig-insert-directory): Remove.
10810 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
10811 (eshell-ls-use-in-dired): Use advice-add/remove.
10812 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10813 Add `orig-fun' arg for use in :around advice.
10814 Make it check (redundantly) eshell-ls-use-in-dired.
10816 2013-09-19 Glenn Morris <rgm@gnu.org>
10818 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10820 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10822 * emacs-lisp/eieio.el (class-parent): Undo previous change.
10824 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
10826 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10827 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10828 (tramp-get-remote-python): New defuns.
10829 (tramp-get-remote-uid-with-perl)
10830 (tramp-get-remote-gid-with-perl): New defuns. Perl code
10831 contributed by yary <not.com@gmail.com> (tiny change).
10832 (tramp-get-remote-uid-with-python)
10833 (tramp-get-remote-gid-with-python): New defuns. Python code
10834 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10835 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10837 2013-09-19 Glenn Morris <rgm@gnu.org>
10839 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10841 * eshell/em-unix.el (eshell-remove-entries):
10842 Rename argument to avoid name-clash with global `top-level'.
10844 * eshell/esh-proc.el (eshell-kill-process-function):
10845 Remove eshell-reset-after-proc from eshell-kill-hook if present.
10846 (eshell-reset-after-proc): Remove unused arg `proc'.
10848 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10849 (directory-files-and-attributes): Mark unused arg.
10851 * eshell/em-unix.el (eshell-remove-entries):
10852 Remove unused arg `path'. Update callers.
10854 * eshell/em-hist.el (eshell-hist-parse-arguments):
10855 Remove unused arg `silent'. Update callers.
10857 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10858 Fix (f)boundp mix-up.
10860 * eshell/em-smart.el (eshell-smart-scroll-window)
10861 (eshell-disable-after-change):
10862 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10864 2013-09-18 Alan Mackenzie <acm@muc.de>
10866 Fix fontification of type when followed by "const".
10867 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10868 "known" types from fontification.
10870 2013-09-18 Glenn Morris <rgm@gnu.org>
10872 * emacs-lisp/chart.el (x-display-color-cells): Declare.
10873 (chart-face-list): Drop Emacsen without display-color-p.
10875 * net/eww.el (libxml-parse-html-region): Declare.
10876 (eww-display-html): Explicit error if no libxml2 support.
10878 * doc-view.el (doc-view-mode): Silence --without-x compilation.
10880 * image.el (image-type-from-buffer, image-multi-frame-p):
10881 Remove --without-x warning/error.
10883 * mouse.el (mouse-yank-primary):
10884 * term.el (term-mouse-paste):
10885 Reorder to silence --without-x compilation.
10887 * mpc.el (doc-view-mode): Silence --without-x compilation.
10889 * mail/rmailmm.el (rmail-mime-set-bulk-data):
10890 Silence --without-x compilation.
10892 * progmodes/gud.el (gud-find-file, gud-mode):
10893 Silence --without-x compilation.
10894 (tooltip-mode): Declare.
10896 * wdired.el (dired-backup-overwrite): Remove declaration.
10897 (wdired-mode-map): Add doc string.
10899 * custom.el (x-get-resource): Declare.
10901 * eshell/em-glob.el (ange-cache):
10902 * eshell/em-unix.el (ange-cache): Declare.
10904 * faces.el (x-display-list, x-open-connection, x-get-resource):
10907 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10908 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10911 * frame.el (x-display-grayscale-p, x-display-name): Declare.
10913 * net/gnutls.el (gnutls-log-level): Declare.
10915 * net/shr.el (image-size, image-animate): Declare.
10917 * simple.el (font-info): Declare.
10919 * subr.el (x-popup-dialog): Declare.
10921 * term/common-win.el (x-select-enable-primary)
10922 (x-last-selected-text-primary, x-last-selected-text-clipboard):
10925 * term/ns-win.el (x-handle-args): Declare.
10927 * term/x-win.el (x-select-enable-clipboard): Declare.
10929 * term/w32-win.el (create-default-fontset): Declare.
10931 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10934 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10935 (fit-frame-to-buffer): Explicit error if --without-x.
10936 (mouse-autoselect-window-select): Silence compiler.
10938 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10940 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10941 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10942 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10943 * eshell/esh-util.el (eshell-sublist):
10944 Remove unused local variables.
10946 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10948 * textmodes/two-column.el: Make 2C-split work for --without-x.
10949 (scroll-bar-columns): Autoload.
10950 (top-level): Require fringe when compiling.
10952 2013-09-18 Leo Liu <sdl.web@gmail.com>
10954 * subr.el (add-hook): Robustify to handle closure as well.
10956 2013-09-17 Glenn Morris <rgm@gnu.org>
10958 * simple.el (messages-buffer-mode-map): Unbind "g".
10960 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
10962 * help-mode.el (help-mode-finish): Use derived-mode-p.
10963 Remove obsolete highlighting.
10965 * play/life.el (life-mode): Use define-derived-mode. Derive from
10967 (life): Let-bind inhibit-read-only.
10968 (life-setup): Avoid `setq'. Use `life-mode'.
10970 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10971 which should not be needed any more.
10972 (package-menu-refresh, package-menu-describe-package): Use user-error.
10974 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10975 (eshell-post-rewrite-command-hook): Make obsolete.
10976 (eshell-parse-command): Simplify.
10977 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10978 (eshell--cmd): Declare.
10979 (eshell-parse-pipeline): Remove unused var `final-p'.
10980 Pass a dynvar to eshell-post-rewrite-command-hook.
10981 Implement the new eshell-post-rewrite-command-function.
10982 (eshell-invoke-directly): Remove unused arg `input'.
10983 * eshell/esh-io.el (eshell-io-initialize):
10984 Use eshell-post-rewrite-command-function (bug#15399).
10985 (eshell--apply-redirections): Rename from eshell-apply-redirections;
10986 adjust to new calling convention.
10987 (eshell-create-handles): Rename args to avoid clashing with dynvar
10990 2013-09-17 Glenn Morris <rgm@gnu.org>
10992 * simple.el (messages-buffer-mode): New major mode.
10993 (messages-buffer): New function.
10994 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10995 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10996 (ert-run-test): Use `messages-buffer' function.
10997 (ert--force-message-log-buffer-truncation): Ignore read-only.
10998 * help.el (view-echo-area-messages): Use `messages-buffer' function.
10999 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11001 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11005 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11007 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11009 * icomplete.el (icomplete-in-buffer): New var.
11010 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11011 vars and replace them with functions.
11012 (icomplete-minibuffer-setup): Adjust accordingly.
11013 (icomplete--completion-table, icomplete--completion-predicate)
11014 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11016 (icomplete-forward-completions, icomplete-backward-completions)
11017 (icomplete-simple-completing-p, icomplete-exhibit)
11018 (icomplete-completions): Use them.
11019 (icomplete--in-region-buffer): New var.
11020 (icomplete--in-region-setup): New function.
11021 (icomplete-mode): Use it.
11023 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11025 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11026 return args and options.
11027 (eshell-eval-using-options): Use the new return value of
11028 eshell--do-opts to set the options's vars in their scope.
11029 (eshell--set-option): Rename from eshell-set-option.
11030 Add arg `opt-vals'.
11031 (eshell--process-option): Rename from eshell-process-option.
11032 Add arg `opt-vals'.
11033 (eshell--process-args): Use an `opt-vals' alist to store the options's
11034 values during their processing and return them additionally to the
11037 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11039 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11040 continuation character an operator, as far as indentation is
11041 concerned (Bug#15369).
11043 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11045 * window.el (window--state-put-2): Don't process buffer state
11046 when buffer doesn't exist any more (Bug#15382).
11048 2013-09-15 Glenn Morris <rgm@gnu.org>
11050 * eshell/em-unix.el (eshell/rm):
11051 Make -f ignore missing files. (Bug#15373)
11053 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11054 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11055 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11057 2013-09-14 Glenn Morris <rgm@gnu.org>
11059 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11061 2013-09-13 Glenn Morris <rgm@gnu.org>
11063 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11064 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11066 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11068 * frame.el (x-focus-frame): Mark as declared in frame.c.
11070 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * ls-lisp.el: Use advice-add.
11073 (original-insert-directory): Remove.
11074 (ls-lisp--insert-directory): Rename from insert-directory; add
11075 `orig-fun' argument.
11076 (insert-directory): Advise.
11078 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11080 * term.el (term-emulate-terminal): Decode the command string
11081 before passing it to term-command-hook. (Bug#15337)
11083 2013-09-13 Glenn Morris <rgm@gnu.org>
11085 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11087 * eshell/esh-ext.el (eshell-search-path): Declare.
11089 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11090 Otherwise an error occurs if eshell-dirs module not loaded.
11092 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11094 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11096 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11097 `tramp-check-proper-host'. Check for a valid method name.
11099 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11100 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11101 * net/tramp-sh.el (tramp-maybe-open-connection):
11102 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11104 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11105 also for hash values.
11107 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11109 * term/ns-win.el (parameters): Don't declare as dynamic.
11110 (before-make-frame-hook): Don't add ineffective function.
11112 * eshell/*.el: Use lexical-binding (bug#15231).
11114 2013-09-12 Kenichi Handa <handa@gnu.org>
11116 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11118 2013-09-12 Glenn Morris <rgm@gnu.org>
11120 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11121 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11123 * subr.el (do-after-load-evaluation): Also give compiler warnings
11124 when obsolete files are used (except by obsolete files).
11126 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11127 in the status output, assume `filename' is the first. (Bug#15322)
11129 * vc/vc.el (vc-deduce-fileset): Doc fix.
11131 * calc/calc-help.el (Info-goto-node):
11132 * progmodes/cperl-mode.el (Info-find-node):
11133 * vc/ediff.el (Info-goto-node): Update declarations.
11135 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11137 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11138 (vc-bzr-pull): Require vc-dispatcher.
11139 * vc/vc-git.el (vc-compilation-mode): Declare.
11140 (vc-git-pull): Require vc-dispatcher.
11142 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11144 * progmodes/octave.el (help-button-action): Declare.
11146 * shell.el (shell-directory-tracker): Output error as a message
11147 rather than just returning it as a string.
11148 (shell-process-pushd): Remove useless use of message.
11150 * dframe.el (dframe-timer-fn):
11151 * files.el (dir-locals-read-from-file):
11152 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11154 * reveal.el (reveal-post-command):
11155 * saveplace.el (load-save-place-alist-from-file):
11156 * shell.el (shell-resync-dirs):
11157 * w32-common-fns.el (x-get-selection-value):
11158 * emacs-lisp/copyright.el (copyright-find-copyright):
11159 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11160 * emulation/tpu-edt.el (tpu-copy-keyfile):
11161 * play/bubbles.el (bubbles--mark-neighbourhood):
11162 * progmodes/executable.el
11163 (executable-make-buffer-file-executable-if-script-p):
11164 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11166 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11168 Cleanup Eshell to rely less on dynamic scoping.
11169 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11170 last-value, and ext-command here. Bind `args' closer to `body'.
11171 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11172 (eshell--args): Declare new dynamic var.
11173 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11174 last-value, and ext-command. Pass `args' to `body'.
11175 (eshell-process-args): Bind eshell--args.
11176 (eshell-set-option): Use eshell--args.
11177 * eshell/eshell.el (eshell): Use derived-mode-p.
11178 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11179 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11180 (eshell-glob-function): Declare.
11181 * eshell/esh-util.el: Require cl-lib.
11182 (eshell-read-hosts-file): Avoid add-to-list.
11183 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11185 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11187 (eshell/diff): Remove unused var `err'.
11188 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11190 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11191 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11193 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11194 Move declaration before first use.
11195 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11196 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11199 2013-09-12 Glenn Morris <rgm@gnu.org>
11201 * term/ns-win.el (global-map): Remove binding for ispell-next,
11202 deleted 1999-05-29. (Bug#15357)
11204 2013-09-11 Glenn Morris <rgm@gnu.org>
11206 * echistory.el (electric-command-history): Remove call to deleted func.
11208 * play/landmark.el (landmark-mode): Fix typos.
11210 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11211 Check cvs-sort-ignore-file is bound.
11213 * savehist.el: No need for cl when compiling on Emacs.
11215 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11217 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11219 (eshell-self-insert-command, eshell-send-invisible):
11220 Remove unused argument.
11221 (eshell-handle-control-codes): Remove unused var `orig'.
11222 Avoid delete-backward-char.
11224 * files.el (set-auto-mode): Simplify a bit further.
11226 2013-09-11 Glenn Morris <rgm@gnu.org>
11228 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11229 (set-auto-mode): Don't regexp-quote elements.
11230 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11231 * progmodes/cc-mode.el (interpreter-mode-alist):
11232 * progmodes/ruby-mode.el (interpreter-mode-alist):
11233 Revert previous change.
11235 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11237 * play/snake.el (snake-mode):
11238 * play/mpuz.el (mpuz-mode):
11239 * play/landmark.el (lm-mode):
11240 * play/blackbox.el (blackbox-mode):
11241 * play/5x5.el (5x5-mode):
11242 * obsolete/options.el (Edit-options-mode):
11243 * net/quickurl.el (quickurl-list-mode):
11244 * net/newst-treeview.el (newsticker-treeview-mode):
11245 * mail/rmailsum.el (rmail-summary-mode):
11246 * mail/mspools.el (mspools-mode):
11247 * locate.el (locate-mode):
11248 * ibuffer.el (ibuffer-mode):
11249 * emulation/ws-mode.el (wordstar-mode):
11250 * emacs-lisp/debug.el (debugger-mode):
11251 * array.el (array-mode):
11252 * net/eudc.el (eudc-mode): Use define-derived-mode.
11253 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11254 Move initialization into declaration.
11255 (mairix-searches-mode): Use define-derived-mode.
11256 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11257 (eudc-edit-hotlist): Use dolist.
11258 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11259 (Man-mode): Use define-derived-mode.
11260 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11261 (Info-edit-mode): Use define-derived-mode.
11262 (Info-cease-edit): Use Info-mode.
11263 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11265 (eshell-mode): Use define-derived-mode.
11266 * chistory.el (command-history-mode-map): Rename from
11267 command-history-map.
11268 (command-history-mode): Use define-derived-mode.
11269 (Command-history-setup): Remove function.
11270 * calc/calc.el (calc-trail-mode-map): New var.
11271 (calc-trail-mode): Use define-derived-mode.
11272 (calc-trail-buffer): Set calc-main-buffer manually.
11273 * bookmark.el (bookmark-insert-annotation): New function.
11274 (bookmark-edit-annotation): Use it.
11275 (bookmark-edit-annotation-mode): Make it a proper major mode.
11276 (bookmark-send-edited-annotation): Use derived-mode-p.
11277 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11278 closer to its ideal place. Use \' to match EOS.
11280 * profiler.el (profiler-calltree-find): Use function-equal.
11282 2013-09-10 Glenn Morris <rgm@gnu.org>
11284 * files.el (interpreter-mode-alist): Convert to regexps.
11285 (set-auto-mode): Adapt for this. (Bug#15306)
11286 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11287 Comment out unused variable.
11288 * progmodes/cc-mode.el (interpreter-mode-alist):
11289 * progmodes/python.el (interpreter-mode-alist):
11290 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11291 * progmodes/sh-script.el (sh-set-shell):
11292 No longer use interpreter-mode-alist to get list of shells.
11294 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11296 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11298 * simple.el: Use set-temporary-overlay-map for universal-argument.
11299 (universal-argument-map): Don't use default-bindings (bug#15317).
11300 Bind switch-frame explicitly. Replace universal-argument-minus with
11301 a conditional binding.
11302 (universal-argument-num-events, saved-overriding-map): Remove.
11303 (restore-overriding-map): Remove.
11304 (universal-argument--mode): Rename from save&set-overriding-map,
11306 (universal-argument, universal-argument-more, negative-argument)
11307 (digit-argument): Adjust accordingly.
11308 (universal-argument-minus): Remove.
11309 (universal-argument-other-key): Remove.
11311 * subr.el (with-demoted-errors): Add `format' argument.
11313 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11315 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11316 `tramp-cleanup-connection'.
11318 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11319 parameters KEEP-DEBUG and KEEP-PASSWORD.
11321 * net/tramp.el (tramp-file-name-handler):
11322 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11323 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11324 (tramp-maybe-open-connection):
11325 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11326 Use `tramp-cleanup-connection'.
11328 * net/tramp-sh.el (tramp-maybe-open-connection):
11329 Catch 'uname-changed inside the progress reporter.
11331 2013-09-10 Glenn Morris <rgm@gnu.org>
11333 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11335 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11336 returns "alternate access method" in mode (eg "-rw-r--r--.").
11338 2013-09-08 Glenn Morris <rgm@gnu.org>
11340 * saveplace.el (load-save-place-alist-from-file):
11341 Demote errors. (Bug#15305)
11343 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11345 Improve compatibility with older Emacsen, and XEmacs.
11347 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11348 only if it is bound. It isn't for XEmacs.
11349 (with-tramp-progress-reporter): Do not let-bind `result'.
11350 This yields to scoping errors in XEmacs.
11351 (tramp-handle-make-auto-save-file-name): New function, moved from
11354 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11355 for `make-auto-save-file-name'.
11356 (tramp-adb--gnu-switches-to-ash):
11357 Use `tramp-compat-replace-regexp-in-string'.
11359 * net/tramp-cache.el (tramp-cache-print): Call
11360 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11362 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11363 bound. It isn't for XEmacs.
11365 * net/tramp-compat.el (tramp-compat-copy-file):
11366 Catch `wrong-number-of-arguments' error.
11367 (tramp-compat-replace-regexp-in-string): New defun.
11369 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11370 for `make-auto-save-file-name'.
11371 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11373 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11374 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11375 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11377 * net/tramp-gw.el (tramp-gw-open-network-stream):
11378 Use `tramp-compat-replace-regexp-in-string'.
11380 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11381 Call `tramp-handle-make-auto-save-file-name'.
11382 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11383 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11384 (tramp-sh-file-inotifywait-process-filter):
11385 Use `tramp-compat-replace-regexp-in-string'.
11386 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11388 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11389 for `make-auto-save-file-name'.
11390 (tramp-smb-handle-copy-directory):
11391 Call `tramp-compat-replace-regexp-in-string'.
11392 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11393 (tramp-smb-handle-copy-file): Improve error message.
11394 (tramp-smb-handle-rename-file): Rename directly only in case
11395 `newname' does not exist yet. This is a restriction of smbclient.
11396 (tramp-smb-maybe-open-connection): Rerun the function only when
11397 `auth-sources' is non-nil.
11399 2013-09-08 Kenichi Handa <handa@gnu.org>
11401 * international/characters.el: Set category "^" (Combining) for
11404 2013-09-07 Alan Mackenzie <acm@muc.de>
11406 Correctly fontify Java class constructors.
11407 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11409 (c-recognize-typeless-decls): Set the Java value to t.
11410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11411 While handling a "(", add a check for, effectively, Java, and handle a
11412 "typeless" declaration there.
11414 2013-09-07 Roland Winkler <winkler@gnu.org>
11416 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11417 field subtitle for entry type book.
11419 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11421 * minibuffer.el: Make minibuffer-complete call completion-in-region
11422 rather than other way around.
11423 (completion--some, completion-pcm--find-all-completions):
11424 Don't delay signals when debugging.
11425 (minibuffer-completion-contents): Beware fields within the
11426 minibuffer contents.
11427 (completion-all-sorted-completions): Use defvar-local.
11428 (completion--do-completion, completion--cache-all-sorted-completions)
11429 (completion-all-sorted-completions, minibuffer-force-complete):
11430 Add args `beg' and `end'.
11431 (completion--in-region-1): New fun, extracted from minibuffer-complete.
11432 (minibuffer-complete): Use completion-in-region.
11433 (completion-complete-and-exit): New fun, extracted from
11434 minibuffer-complete-and-exit.
11435 (minibuffer-complete-and-exit): Use it.
11436 (completion--complete-and-exit): Rename from
11437 minibuffer--complete-and-exit.
11438 (completion-in-region--single-word): New function, extracted from
11439 minibuffer-complete-word.
11440 (minibuffer-complete-word): Use it.
11441 (display-completion-list): Make `common-substring' argument obsolete.
11442 (completion--in-region): Call completion--in-region-1 instead of
11443 minibuffer-complete.
11444 (completion-help-at-point): Pass boundaries to
11445 minibuffer-completion-help as args rather than via an overlay.
11446 (completion-pcm--string->pattern): Use `any-delim'.
11447 (completion-pcm--optimize-pattern): New function.
11448 (completion-pcm--pattern->regex): Handle `any-delim'.
11449 * icomplete.el (icomplete-forward-completions)
11450 (icomplete-backward-completions, icomplete-completions):
11451 Adjust calls to completion-all-sorted-completions and
11452 completion--cache-all-sorted-completions.
11453 (icomplete-with-completion-tables): Default to t.
11454 * emacs-lisp/crm.el (crm--current-element): Rename from
11455 crm--select-current-element. Don't put an overlay but return the
11456 boundaries instead.
11457 (crm--completion-command): Take two new args to bind to the boundaries.
11458 (crm-completion-help): Adjust accordingly.
11459 (crm-complete): Use completion-in-region.
11460 (crm-complete-word): Use completion-in-region--single-word.
11461 (crm-complete-and-exit): Use completion-complete-and-exit.
11463 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11465 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11468 2013-09-06 Juri Linkov <juri@jurta.org>
11470 * info.el (Info-display-images-node): When image file doesn't exist
11471 display text version of the image if it's provided in the Info file.
11472 Otherwise, display the location of missing image from SRC attribute.
11473 Add help-echo text property from ALT attribute. (Bug#15279)
11475 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11477 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11478 (edit-abbrevs-mode): Use define-derived-mode.
11480 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11481 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11483 (epa-key-list-mode, epa-key-mode, epa-info-mode):
11484 Use define-derived-mode.
11486 * epg.el (epg-start-encrypt): Minor CSE simplification.
11488 2013-09-06 William Xu <william.xwl@gmail.com>
11490 * arc-mode.el: Add support for 7za (bug#15264).
11491 (archive-7z-program): New var.
11492 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11493 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11494 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11496 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
11500 * net/tramp.el (tramp-syntax, tramp-prefix-format)
11501 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11502 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11503 (tramp-postfix-host-format, tramp-file-name-regexp)
11504 (tramp-completion-file-name-regexp)
11505 (tramp-completion-dissect-file-name)
11506 (tramp-handle-substitute-in-file-name): Remove 'url case.
11507 (tramp-file-name-regexp-url)
11508 (tramp-completion-file-name-regexp-url): Remove constants.
11510 2013-09-06 Glenn Morris <rgm@gnu.org>
11512 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
11514 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
11516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11517 keywords" below "here-doc beginnings" (Bug#15270).
11519 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11521 * subr.el (pop): Use `car-safe'.
11522 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11523 to detect unused `pop' return value.
11525 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11526 var `block-regexp'.
11527 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11528 (python-fill-string): Remove unused var `marker'.
11529 (python-skeleton-add-menu-items): Remove unused var `items'.
11531 * international/mule-cmds.el: Require CL.
11532 (find-coding-systems-for-charsets): Avoid add-to-list.
11533 (sanitize-coding-system-list): New function, extracted from
11534 select-safe-coding-system-interactively.
11535 (select-safe-coding-system-interactively): Use it.
11536 (read-input-method-name): Accept symbols for `default'.
11538 * emacs-lisp/advice.el (defadvice): Add indent rule.
11540 2013-09-05 Daniel Hackney <dan@haxney.org>
11544 * net/browse-url.el:
11547 * net/eudcb-ldap.el:
11551 * vc/ediff-diff.el:
11552 * vc/ediff-init.el:
11553 * vc/ediff-merg.el:
11554 * vc/ediff-mult.el:
11555 * vc/ediff-util.el:
11556 * vc/ediff-wind.el:
11560 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11561 byte compiler. Remove some unused let-bound variables.
11563 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11566 a "ref-cell", since it gets better optimized (bug#14883).
11568 2013-09-05 Glenn Morris <rgm@gnu.org>
11570 * progmodes/cc-awk.el (c-forward-sws): Declare.
11572 2013-09-04 Glenn Morris <rgm@gnu.org>
11574 * generic-x.el [rul-generic-mode]: Require cc-mode.
11575 (c++-mode-syntax-table): Declare.
11576 (rul-generic-mode-syntax-table): Init in the defvar.
11578 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11581 (vc-do-command, vc-set-async-update):
11582 * vc/vc-mtn.el (vc-mtn-dir-status):
11583 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11584 (vc-hg-pull, vc-hg-merge-branch):
11585 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11586 (vc-git-merge-branch):
11587 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11588 (vc-cvs-dir-status-files):
11589 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11590 (vc-bzr-dir-status-files):
11591 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11592 * vc/vc-annotate.el: Use lexical-binding.
11593 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11594 (vc-sentinel-movepoint): Declare.
11595 (vc-annotate): Don't use `goto-line'.
11596 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11597 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11598 (vc-sentinel-movepoint): Declare.
11599 * vc/vc-svn.el: Use lexical-binding.
11600 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11602 * vc/vc-rcs.el: Use lexical-binding.
11604 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11605 `deleted'. Don't drop errors silently.
11607 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11609 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
11611 * vc/vc.el (vc-ignore): Rewrite.
11612 (vc-default-ignore): New function.
11613 (vc-default-ignore-completion-table): Use find-ignore-file.
11615 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11616 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11617 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11618 Remove. Most code moved to vc.el.
11620 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
11622 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11623 * net/tramp-smb.el (tramp-smb-get-file-entries):
11624 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11625 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11627 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11629 (eww-change-select): Remove unused var `properties'.
11630 (eww-make-unique-file-name): Remove unused var `base'.
11632 * finder.el (finder-compile-keywords): Don't mess with windows.
11634 * calculator.el (calculator-funcall): Fix typo in last change.
11636 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11638 * emacs-lisp/package.el (package-activate-1): Don't let a missing
11639 <pkg>-autoloads.el file stop us.
11641 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11642 warnings, and factor out common code.
11644 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
11646 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11647 two-character operators and whether the character preceding them
11648 changes their meaning (Bug#15208).
11650 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11652 Format code sent to Python shell for robustness.
11653 * progmodes/python.el (python-shell-buffer-substring):
11655 (python-shell-send-region, python-shell-send-buffer): Use it.
11657 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
11659 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11660 * net/tramp.el (tramp-user-error): ... here.
11661 (tramp-find-method, tramp-check-proper-host)
11662 (tramp-dissect-file-name, tramp-debug-message)
11663 (tramp-handle-shell-command):
11664 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11665 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11667 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11669 2013-09-02 Martin Rudalics <rudalics@gmx.at>
11671 * avoid.el (mouse-avoidance-point-position)
11672 (mouse-avoidance-too-close-p): Handle case where posn-at-point
11675 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11677 * progmodes/python.el (python-shell-completion-get-completions):
11678 Drop use of deleted `comint-last-prompt-overlay'.
11679 (python-nav-if-name-main): New command.
11681 2013-09-01 Glenn Morris <rgm@gnu.org>
11683 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11684 Avoid leading space in $wins. Otherwise the sed command used by
11685 eg compile-main ends up containing "/*.el". (Bug#15170)
11687 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
11689 2013-08-30 Glenn Morris <rgm@gnu.org>
11691 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11692 Fix is-this-a-directory logic. (Bug#15220)
11694 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11696 * textmodes/css-mode.el: Use SMIE.
11697 (css-smie-grammar): New var.
11698 (css-smie--forward-token, css-smie--backward-token)
11699 (css-smie-rules): New functions.
11700 (css-mode): Use them.
11701 (css-navigation-syntax-table): Remove var.
11702 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11703 (css-indent-calculate, css-indent-line): Remove functions.
11705 Misc changes to reduce use of `(lambda...); and other cleanups.
11706 * cus-edit.el: Use lexical-binding.
11707 (customize-push-and-save, customize-apropos)
11708 (custom-buffer-create-internal): Use closures.
11709 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11710 * progmodes/ada-xref.el: Use setq.
11711 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11712 * dframe.el: Use lexical-binding.
11713 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
11714 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11715 * descr-text.el: Use lexical-binding.
11716 (describe-text-widget, describe-text-sexp, describe-property-list):
11718 * comint.el (comint-history-isearch-push-state): Use a closure.
11719 * calculator.el: Use lexical-binding.
11720 (calculator-number-to-string): Make it work with lexical-binding.
11721 (calculator-funcall): Same and use cl-letf.
11723 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11724 (lisp--company-doc-string, lisp--company-location): New functions.
11725 (lisp-completion-at-point): Use them to improve Company support.
11727 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11728 params of lambda expressions.
11729 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11730 (ruby-smie--opening-pipe-p): New function.
11731 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11732 symbols and matched |...| for formal params.
11733 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11734 from being treated as hanging. Handle "rescue".
11736 2013-08-29 Glenn Morris <rgm@gnu.org>
11738 * progmodes/cc-engine.el (c-pull-open-brace):
11739 Move definition before use.
11741 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11743 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11744 are immutable. Don't use `unsafe' any more.
11745 (cl--defsubst-expand): Don't substitute at the same time as keeping
11746 a residual unused let-binding. Don't use `unsafe' any more.
11748 2013-08-29 Glenn Morris <rgm@gnu.org>
11750 * calendar/cal-china.el (calendar-chinese-year-cache):
11753 * nxml/nxml-util.el (nxml-debug-clear-inside):
11754 Use cl-loop rather than loop.
11756 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11758 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11760 2013-08-28 Glenn Morris <rgm@gnu.org>
11762 * progmodes/antlr-mode.el: No need to require cc-mode twice.
11764 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11766 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11768 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11770 * simple.el (repeat-complex-command--called-interactively-skip):
11772 (repeat-complex-command): Use it (bug#14136).
11774 * progmodes/cc-mode.el: Minor cleanup of var declarations.
11775 (c-define-abbrev-table): Add `doc' argument.
11776 (c-mode-abbrev-table, c++-mode-abbrev-table)
11777 (objc-mode-abbrev-table, java-mode-abbrev-table)
11778 (idl-mode-abbrev-table, pike-mode-abbrev-table)
11779 (awk-mode-abbrev-table): Use it.
11780 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11781 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11782 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11783 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11784 Move initialization into the declaration; and remove any
11787 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11788 and dynamic let binding.
11790 * vc/smerge-mode.el: Remove redundant :group args.
11792 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11795 2013-08-28 Juri Linkov <juri@jurta.org>
11797 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11798 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11799 (isearch-other-meta-char): Handle an undefined shifted printing
11800 character by downshifting it. (Bug#15200)
11802 2013-08-28 Juri Linkov <juri@jurta.org>
11804 * isearch.el (isearch-search): Change regexp error message for
11805 non-regexp searches. (Bug#15166)
11807 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
11809 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11810 for portability to hosts where /bin/sh has problems.
11812 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11814 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11816 2013-08-27 Juri Linkov <juri@jurta.org>
11818 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11819 in the keyboard macro. (Bug#15126)
11821 2013-08-27 Juri Linkov <juri@jurta.org>
11823 * isearch.el (isearch-quote-char): Comment out converting unibyte
11824 to multibyte, thus syncing with its `quoted-insert' counterpart.
11827 2013-08-27 Martin Rudalics <rudalics@gmx.at>
11829 * window.el (display-buffer-use-some-window): Add missing
11830 argument in call of get-largest-window (Bug#15185).
11831 Reported by Stephen Leake.
11833 2013-08-27 Glenn Morris <rgm@gnu.org>
11835 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11837 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * progmodes/python.el (python-font-lock-keywords): Don't return nil
11840 from a matcher-function unless there's no more matches (bug#15161).
11842 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
11844 * minibuffer.el: Revert change from 2013-08-20.
11846 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11847 with text property `tramp-default', if appropriate.
11848 (tramp-check-proper-host): New defun.
11849 (tramp-dissect-file-name): Do not check hostname. Revert change
11851 (tramp-backtrace): Make VEC-OR-PROC optional.
11853 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11854 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11855 * net/tramp-sh.el (tramp-maybe-open-connection):
11856 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11857 Apply `tramp-check-proper-host'.
11859 2013-08-26 Tassilo Horn <tsdh@gnu.org>
11861 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11862 lambda expression in order to have `describe-variable' display it.
11864 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
11866 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11867 BUF can be optional. (Bug#15186)
11869 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
11871 * progmodes/flymake.el (flymake-get-real-file-name-function):
11872 Fix broken customization. (Bug#15184)
11874 2013-08-25 Alan Mackenzie <acm@muc.de>
11876 Improve indentation of bracelists defined by macros (without "=").
11878 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11879 expansion begins with "{", regard it as bracelist when it doesn't
11882 Parse C++ inher-intro when there's a template split over 2 lines.
11884 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11885 rigorously the search for "class" etc. followed by ":".
11887 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11888 random languages a regexp which never matches rather than nil.
11890 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11892 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11893 (c-awk-regexp-one-line-possibly-open-char-list-re)
11894 (c-awk-one-line-possibly-open-regexp-re)
11895 (c-awk-one-line-non-syn-ws*-re): Remove.
11896 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11897 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11898 (c-awk-space*-unclosed-regexp-/-re): New constants.
11899 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11900 aren't regexp delimiters.
11902 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11903 handling for a rare situation in AWK Mode involving unterminated
11906 2013-08-23 Glenn Morris <rgm@gnu.org>
11908 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11910 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11912 * files.el (create-file-buffer): If the result would begin with
11913 spaces, prepend a "|" instead of removing them. (Bug#15162)
11915 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11917 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11918 text-properties (bug#15155).
11920 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11922 (calc-keypad-redraw): Remove unused var `pad'.
11923 (calc-keypad-press): Remove unused var `menu'.
11925 2013-08-23 Martin Rudalics <rudalics@gmx.at>
11927 * window.el (display-buffer-pop-up-frame):
11928 Call pop-up-frame-function with BUFFER current so `make-frame' will
11929 use it as the new frame's buffer (Bug#15133).
11931 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11933 * calendar/timeclock.el: Minor cleanups.
11934 (timeclock-ask-before-exiting, timeclock-use-display-time):
11936 (timeclock-modeline-display): Define as alias before the
11938 (timeclock-mode-line-display): Use define-minor-mode.
11939 (timeclock-day-list-template): Make it a function, add an argument.
11940 (timeclock-day-list-required, timeclock-day-list-length)
11941 (timeclock-day-list-debt, timeclock-day-list-span)
11942 (timeclock-day-list-break): Adjust calls accordingly.
11944 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
11946 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11947 Use read--expression so that completion works again.
11949 2013-08-21 Sam Steingold <sds@gnu.org>
11951 Add rudimentary inferior shell interaction
11952 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11953 (sh-set-shell): Reset it.
11954 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11955 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11957 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
11959 * align.el: Use lexical-binding.
11960 (align-region): Simplify accordingly.
11962 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
11964 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11966 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11967 `non-essential' up.
11969 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
11972 * net/tramp-adb.el:
11973 * net/tramp-cmds.el:
11974 * net/tramp-ftp.el:
11975 * net/tramp-gvfs.el:
11977 * net/tramp-sh.el: Don't wrap external variable declarations by
11978 `eval-when-compile'.
11980 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11982 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11983 now that Emacs supports ImageMagick animations.
11985 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
11987 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11988 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11990 2013-08-16 Martin Rudalics <rudalics@gmx.at>
11992 * window.el (mouse-autoselect-window-select): Do autoselect when
11993 mouse pointer is on margin.
11995 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
11997 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
11999 2013-08-16 Glenn Morris <rgm@gnu.org>
12001 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12002 Handle "Remote Directory" response of some clients. (Bug#15058)
12004 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12005 Tweak warning. (Bug#14926)
12007 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12008 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12010 * image-mode.el (image-mode-map): Add menu items to reverse,
12011 increase, decrease, reset animation speed.
12012 (image--set-speed, image-increase-speed, image-decrease-speed)
12013 (image-reverse-speed, image-reset-speed): New functions.
12014 (image-mode-map): Add bindings for speed commands.
12016 * image.el (image-animate-get-speed, image-animate-set-speed):
12018 (image-animate-timeout): Respect image :speed property.
12020 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12022 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12023 previous line (bug#15101).
12024 (debugger-eval-expression, debugger-record-expression):
12025 Use read--expression (bug#15102).
12027 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12029 Remove byte compiler warnings, visible when compiling with
12030 `byte-compile-force-lexical-warnings' set to t.
12032 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12033 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12034 (tramp-handle-unhandled-file-name-directory)
12035 (tramp-handle-file-notify-add-watch, tramp-action-login)
12036 (tramp-action-succeed, tramp-action-permission-denied)
12037 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12038 arguments with "_".
12040 * net/tramp-adb.el (tramp-adb-parse-device-names)
12041 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12042 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12043 (tramp-adb-handle-file-truename): Remove unused arguments.
12045 * net/tramp-cache.el (tramp-flush-directory-property)
12046 (tramp-flush-connection-property, tramp-list-connections)
12047 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12049 * net/tramp-compat.el (tramp-compat-make-temp-file):
12050 Rename FILENAME to F.
12052 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12053 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12054 (tramp-zeroconf-parse-workstation-device-names)
12055 (tramp-zeroconf-parse-webdav-device-names)
12056 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12058 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12059 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12061 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12063 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12064 (tramp-sh-handle-insert-file-contents-literally)
12065 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12067 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12068 Remove unused variables.
12070 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12071 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12072 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12074 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12075 Make them a defconst.
12076 (tramp-uuencode-region): Remove unused variable.
12078 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12080 * frameset.el (frameset--prop-setter): New function.
12081 (frameset-prop): Add gv-setter declaration.
12082 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12083 parameter was already set in FILTERED. Doc fix.
12084 (frameset--record-minibuffer-relationships): Allow saving a
12085 minibufferless frame without its corresponding minibuffer frame.
12086 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12087 frame, if the frame id matches.
12088 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12089 frames before orphaned ones.
12090 (frameset-restore): Warn about orphaned windows, instead of error out.
12092 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12094 * window.el (window-make-atom): Don't overwrite parameter
12096 (display-buffer-in-atom-window): Handle special case where we
12097 split an already atomic window.
12098 (window--major-non-side-window, display-buffer-in-side-window)
12099 (window--side-check): Ignore minibuffer window when walking
12101 (window-deletable-p): Return 'frame only if no other frame uses
12102 our minibuffer window.
12103 (record-window-buffer): Run buffer-list-update-hook.
12104 (split-window): Make sure window--check-frame won't destroy an
12105 existing atomic window in case the new window gets nested
12107 (display-buffer-at-bottom): Ignore minibuffer window when
12108 walking window tree. Don't split a side window.
12109 (pop-to-buffer): Don't set-buffer here, the select-window call
12111 (mouse-autoselect-window-select): Autoselect only if we are in the
12112 text portion of the window.
12114 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12116 * net/shr.el (shr-parse-image-data): New function to grab both the
12117 data itself and the Content-Type.
12118 (shr-put-image): Use it.
12120 * net/eww.el (eww-display-image): Ditto.
12122 * image.el (image-content-type-suffixes): New variable.
12124 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12126 * progmodes/python.el (python-imenu--build-tree)
12127 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12129 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12131 * simple.el (backward-word): Mention the optional argument.
12133 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12135 * frameset.el (frameset--make): Rename constructor from make-frameset.
12136 (frameset-p, frameset-valid-p): Don't autoload.
12137 (frameset-valid-p): Use normal accessors.
12139 2013-08-13 Glenn Morris <rgm@gnu.org>
12141 * progmodes/compile.el (compile-command): Tweak example in doc.
12142 * obsolete/scribe.el (scribe-mode):
12143 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12145 * mail/feedmail.el (feedmail-confirm-outgoing)
12146 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12148 * cus-start.el (truncate-partial-width-windows): Fix type.
12150 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12152 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12154 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12156 * emacs-lisp/timer.el (timer--time-setter): New function.
12157 (timer--time): Use it as gv-setter.
12159 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12160 setter is not a symbol.
12162 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12164 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12165 if sending fails. This makes debugging easier.
12167 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12169 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12170 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12171 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12173 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12175 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12177 2013-08-12 Glenn Morris <rgm@gnu.org>
12179 * format.el (format-annotate-function):
12180 Handle read-only text properties in the source. (Bug#14887)
12182 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12184 * net/eww.el (eww-display-html): Ignore coding system errors.
12185 One web site uses "utf-8lias" as the coding system.
12187 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12189 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12191 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12193 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12194 (tutorial--detailed-help): Remove unused local variables.
12195 (tutorial--save-tutorial-to): Use ignore-errors.
12196 (help-with-tutorial): Use looking-at-p.
12198 * view.el (view-buffer-other-window, view-buffer-other-frame):
12199 Mark unused arguments.
12201 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12202 (woman-select-symbol-fonts, woman, woman-find-file)
12203 (woman-insert-file-contents, woman-non-underline-faces):
12204 Use string-match-p.
12205 (woman1-unquote): Move declaration.
12207 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12208 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
12209 argument. Remove unused local variable.
12210 (xml-parse-elem-type): Use string-match-p.
12211 (xml-substitute-numeric-entities): Use ignore-errors.
12213 * calculator.el (calculator): Mark unused argument.
12214 (calculator-paste, calculator-quit, calculator-integer-p):
12216 (calculator-string-to-number, calculator-decimal, calculator-exp)
12217 (calculator-op-or-exp): Use string-match-p.
12219 * dired.el (dired-buffer-more-recently-used-p): Declare.
12220 (dired-insert-set-properties, dired-insert-old-subdirs):
12223 * dired-aux.el (dired-compress): Use ignore-errors.
12224 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12225 (dired-do-async-shell-command, dired-do-shell-command)
12226 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12227 (dired-insert-subdir-validate): Use string-match-p.
12228 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12229 (dired-add-entry): Use string-match-p, looking-at-p.
12230 (dired-insert-subdir-newpos): Remove unused local variable.
12232 * filenotify.el (file-notify-callback): Remove unused local variable.
12234 * filesets.el (filesets-error): Mark unused argument.
12235 (filesets-which-command-p, filesets-filter-dir-names)
12236 (filesets-directory-files, filesets-get-external-viewer)
12237 (filesets-ingroup-get-data): Use string-match-p.
12239 * find-file.el (ff-other-file-name, ff-other-file-name)
12240 (ff-find-the-other-file, ff-cc-hh-converter):
12241 Remove unused local variables.
12242 (ff-get-file-name): Use string-match-p.
12243 (ff-all-dirs-under): Use ignore-errors.
12245 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12246 (follow-select-if-visible): Remove unused local variable.
12248 * forms.el (read-file-filter): Move declaration.
12249 (forms--make-format, forms--make-parser, forms-insert-record):
12250 Quote function with #'.
12251 (forms--update): Use string-match-p. Quote function with #'.
12253 * help-mode.el (help-dir-local-var-def): Mark unused argument.
12254 (help-make-xrefs): Use looking-at-p.
12255 (help-xref-on-pp): Use looking-at-p, ignore-errors.
12257 * ibuffer.el (ibuffer-ext-visible-p): Declare.
12258 (ibuffer-confirm-operation-on): Use string-match-p.
12260 * msb.el (msb-item-handler, msb-dired-item-handler):
12261 Mark unused arguments.
12263 * ses.el (ses-decode-cell-symbol)
12264 (ses-kill-override): Remove unused local variable.
12265 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12266 (ses-load): Use ignore-errors, looking-at-p.
12267 (ses-jump-safe): Use ignore-errors.
12268 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12270 * tabify.el (untabify, tabify): Mark unused arguments.
12272 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12273 Mark unused argument.
12274 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12275 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12277 * emacs-lisp/timer.el (timer--time): Define setter with
12278 gv-define-setter to avoid deprecation warning.
12280 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12281 (*record-cmpl-statistics-p*): Remove (was commented out).
12282 (cmpl-statistics-block): Remove (body was commented out).
12283 All callers changed.
12284 (add-completions-from-buffer, load-completions-from-file):
12285 Remove unused variables.
12287 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12289 * filecache.el (file-cache-delete-file-list):
12290 Print message only when told so.
12291 (file-cache-files-matching): Use #' in mapconcat argument.
12293 * ffap.el (ffap-url-at-point): Fix reference to variable
12294 thing-at-point-default-mail-uri-scheme.
12296 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12298 * subr.el (define-error): New function.
12299 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12300 error-file-not-found and define with define-error.
12301 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12302 and define with define-error.
12303 * userlock.el (file-locked, file-supersession):
12304 * simple.el (mark-inactive):
12305 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12306 * progmodes/ada-mode.el (ada-mode-errors):
12307 * play/life.el (life-extinct):
12308 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12309 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12310 * nxml/rng-util.el (rng-error):
12311 * nxml/rng-uri.el (rng-uri-error):
12312 * nxml/rng-match.el (rng-compile-error):
12313 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12314 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12315 * nxml/nxml-rap.el (nxml-scan-error):
12316 * nxml/nxml-outln.el (nxml-outline-error):
12317 * net/soap-client.el (soap-error):
12318 * net/gnutls.el (gnutls-error):
12319 * net/ange-ftp.el (ftp-error):
12320 * mpc.el (mpc-proc-error):
12321 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12322 (json-number-format, json-string-escape, json-string-format)
12323 (json-key-format, json-object-format):
12324 * jka-compr.el (compression-error):
12325 * international/quail.el (quail-error):
12326 * international/kkc.el (kkc-error):
12327 * emacs-lisp/ert.el (ert-test-failed):
12328 * calc/calc.el (calc-error, inexact-result, math-overflow)
12330 * bookmark.el (bookmark-error-no-filename):
12331 * epg.el (epg-error): Define with define-error.
12333 * time.el (display-time-event-handler)
12334 (display-time-next-load-average): Don't call sit-for since it seems
12335 unnecessary (bug#15045).
12337 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12338 Use #' instead of ' to quote functions.
12339 (checkdoc-output-mode): Use setq-local.
12340 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12341 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12342 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12343 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12344 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12345 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12346 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12347 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12349 * ido.el (ido-completion-help): Fix up compiler warning.
12351 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12353 * frameset.el (frameset-p): Add autoload cookie.
12354 (frameset--jump-to-register): New function, based on code moved from
12356 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12358 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12359 (frameset-restore, frameset-save, frameset-session-filter-alist):
12360 Remove declarations.
12361 (register-alist): Doc fix.
12362 (frameset-to-register): Move to frameset.el.
12363 (jump-to-register, describe-register-1): Remove frameset-specific code.
12365 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12367 * allout-widgets.el (allout-widgets-pre-command-business)
12368 (allout-widgets-post-command-business)
12369 (allout-widgets-after-change-handler)
12370 (allout-decorate-item-and-context, allout-set-boundary-marker)
12371 (allout-body-modification-handler)
12372 (allout-graphics-modification-handler): Mark ignored arguments.
12373 (allout-widgets-post-command-business)
12374 (allout-widgets-exposure-change-processor)
12375 (allout-widgets-exposure-undo-processor)
12376 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12377 (allout-parse-item-at-point, allout-decorate-item-guides)
12378 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12379 * allout.el (epa-passphrase-callback-function): Declare.
12380 (allout-overlay-insert-in-front-handler)
12381 (allout-overlay-interior-modification-handler)
12382 (allout-isearch-end-handler, allout-chart-siblings)
12383 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12384 (allout-yank-processing, allout-process-exposed)
12385 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12386 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12387 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12388 (lisp-indent-defform): Mark ignored arguments.
12389 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
12390 (calculate-lisp-indent): Remove unused variables.
12391 * international/characters.el (indian-2-column, arabic-2-column)
12392 (tibetan): Mark ignored arguments.
12393 (use-cjk-char-width-table): Mark ignored arguments.
12394 Remove unused variables.
12395 * international/fontset.el (build-default-fontset-data)
12396 (x-compose-font-name, create-fontset-from-fontset-spec):
12397 Mark ignored arguments.
12398 (fontset-plain-name): Remove unused variables.
12399 * international/mule.el (charset-id, charset-bytes, generic-char-p)
12400 (keyboard-coding-system): Mark ignored arguments.
12401 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
12402 * help.el (resize-temp-buffer-window):
12403 * window.el (display-buffer-in-major-side-window)
12404 (display-buffer-in-side-window, display-buffer-in-previous-window):
12405 Remove unused variables.
12406 * isearch.el (isearch-forward-symbol):
12407 * version.el (emacs-bzr-version-bzr):
12408 * international/mule-cmds.el (current-language-environment):
12409 * term/common-win.el (x-handle-iconic, x-handle-geometry)
12410 (x-handle-display):
12411 * term/pc-win.el (x-list-fonts, x-display-planes)
12412 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12413 (x-server-version, x-display-screens, x-display-mm-height)
12414 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12415 (x-selection-owner-p, x-own-selection-internal)
12416 (x-disown-selection-internal, x-get-selection-internal)
12417 (msdos-initialize-window-system):
12418 * term/tty-colors.el (tty-color-alist, tty-color-clear):
12419 * term/x-win.el (x-handle-no-bitmap-icon):
12420 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12421 (vc-default-find-file-hook, vc-default-extra-menu):
12422 Mark ignored arguments.
12424 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12426 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12427 break-condition in the context of the debugged code (bug#12685).
12429 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
12432 Do not use an overlay to highlight the last prompt. (Bug#14744)
12433 (comint-mode): Make comint-last-prompt buffer local.
12434 (comint-last-prompt): New variable.
12435 (comint-last-prompt-overlay): Remove. Superseded by
12436 comint-last-prompt.
12437 (comint-snapshot-last-prompt, comint-output-filter):
12438 Use comint-last-prompt.
12440 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12442 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
12443 (frameset-save): Check validity of the resulting frameset.
12445 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
12447 * ido.el (ido-record-command): Add doc string.
12449 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12451 * frameset.el (frameset): Do not disable creation of the default
12452 frameset-p predicate. Doc fix.
12453 (frameset-valid-p): New function, copied from the old predicate-p.
12454 Add additional checks.
12455 (frameset-restore): Check with frameset-valid-p.
12456 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12457 (frameset-name, frameset-description, frameset-properties)
12458 (frameset-states): Add docstring.
12459 (frameset-session-filter-alist, frameset-persistent-filter-alist)
12460 (frameset-filter-alist): Doc fixes.
12462 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12464 * frameset.el (frameset-p, frameset-prop): Doc fixes.
12466 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12468 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12469 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12470 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12471 (byte-compile-normal-call): Remove obsolescence check.
12473 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12475 * frameset.el (frameset-restore): Doc fix.
12477 * register.el (frameset-frame-id, frameset-frame-with-id)
12478 (frameset-p, frameset-restore, frameset-save): Declare.
12479 (register-alist): Document framesets.
12480 (frameset-session-filter-alist): Declare.
12481 (frameset-to-register): New function.
12482 (jump-to-register): Implement jumping to framesets. Doc fix.
12483 (describe-register-1): Describe framesets.
12485 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12487 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
12489 * desktop.el (desktop-save-frameset): Use new frameset-save args.
12490 Use lexical-binding.
12492 * frameset.el (frameset): Use type vector, not list (incompatible
12493 change). Do not declare a new constructor, use the default one.
12494 Upgrade suggested properties `app', `name' and `desc' to slots `app',
12495 `name' and `description', respectively, and add read-only slot
12496 `timestamp'. Doc fixes.
12497 (frameset-copy, frameset-persistent-filter-alist)
12498 (frameset-filter-alist, frameset-switch-to-gui-p)
12499 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12500 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12501 (frameset-filter-iconified, frameset-keep-original-display-p):
12503 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12504 Rename from frameset-filter-(save|restore)-param. All callers changed.
12506 (frameset-p): Adapt to change to vector and be more thorough.
12507 Change arg name to OBJECT. Doc fix.
12508 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
12509 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12510 All callers changed.
12511 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12512 All callers changed.
12513 (frameset--record-minibuffer-relationships): Rename from
12514 frameset--process-minibuffer-frames. All callers changed.
12515 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12516 Use new default constructor (again). Doc fix.
12517 (frameset--find-frame-if): Rename from `frameset--find-frame'.
12518 All callers changed.
12519 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12520 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12522 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12523 PARAMETERS and WINDOW-STATE, respectively.
12524 (frameset-restore): Add new keyword argument PREDICATE.
12525 Reset frameset--target-display to nil. Doc fix.
12527 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12530 (bat-mode): Use it.
12531 (bat-mode-syntax-table): Mark \n as end-of-comment.
12532 (bat-font-lock-keywords): Remove comment rule.
12534 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
12535 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
12537 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12538 (byte-compile-callargs-warn): Use `push'.
12539 (byte-compile-arglist-warn): Ignore higher-order "calls".
12540 (byte-compile-file-form-autoload): Use `pcase'.
12541 (byte-compile-function-form): If quoting a symbol, check that it exists.
12543 2013-08-07 Eli Zaretskii <eliz@gnu.org>
12545 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12546 and add a few popular commands found in batch files.
12547 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12548 (dos-mode): Doc fixes.
12550 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12552 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12553 (dos-mode): Use setq-local. Add space after "rem".
12554 (dos-mode-syntax-table): Don't use "w" for symbol chars.
12555 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12557 2013-08-07 Arni Magnusson <arnima@hafro.is>
12559 * progmodes/dos.el: New file.
12560 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12563 2013-08-06 Glenn Morris <rgm@gnu.org>
12565 * calendar/calendar.el: Add new faces, and day-header-array.
12566 (calendar-weekday-header, calendar-weekend-header)
12567 (calendar-month-header): New faces.
12568 (calendar-day-header-construct): New function.
12569 (calendar-day-header-width): Also :set calendar-day-header-array.
12570 (calendar-american-month-header, calendar-european-month-header)
12571 (calendar-iso-month-header): Use calendar- faces.
12572 (calendar-generate-month):
12573 Use calendar-day-header-array for day headers; apply faces to them.
12574 (calendar-mode): Check calendar-font-lock-keywords non-nil.
12575 (calendar-abbrev-construct): Add optional maxlen argument.
12576 (calendar-day-name-array): Doc fix.
12577 (calendar-day-name-array, calendar-abbrev-length)
12578 (calendar-day-abbrev-array):
12579 Also :set calendar-day-header-array, and maybe redraw.
12580 (calendar-day-header-array): New option. (Bug#15007)
12581 (calendar-font-lock-keywords): Set to nil and make obsolete.
12582 (calendar-day-name): Add option to use header array.
12584 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12586 * net/shr.el (shr-render-td): Remove debugging.
12587 (shr-render-td): Make width computation consistent by defaulting
12588 all zero-width columns to 10 characters. This may not be optimal,
12589 but it's at least consistent.
12590 (shr-make-table-1): Redo last change to fix the real problem in
12593 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12595 * files.el (cache-long-line-scans):
12596 Make obsolete alias to `cache-long-scans'.
12598 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12600 * frameset.el (frameset, frameset-filter-alist)
12601 (frameset-filter-params, frameset-save, frameset--reuse-frame)
12602 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12603 (frameset-compute-pos): Rename from frameset--compute-pos,
12605 (frameset-move-onscreen): Use frameset-compute-pos.
12606 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12608 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12609 Fix typos in docstrings.
12611 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12613 * frame.el (get-other-frame): Tiny cleanup.
12615 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12617 * vc/vc.el (vc-default-ignore-completion-table):
12618 Silence byte-compiler warning.
12620 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12621 slot, which can indeed be nil.
12622 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12623 Move entry for `left' from persistent to live filter alist.
12624 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12626 (frameset-filter-params): When restoring a frame, copy items added to
12627 `filtered', to avoid unwittingly modifying the original parameters.
12628 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
12629 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12631 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12632 to use looking-at-p instead of looking-at. (Bug#15028)
12634 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12636 Revert introduction of isearch-filter-predicates (bug#14714).
12637 Rely on add-function instead.
12638 * isearch.el (isearch-filter-predicates): Rename it back to
12639 isearch-filter-predicate.
12640 (isearch-message-prefix): Use advice-function-mapc and advice
12641 properties to get the isearch-message-prefix.
12642 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12643 instead of run-hook-with-args-until-failure.
12644 (isearch-filter-visible): Not obsolete any more.
12645 * loadup.el: Preload nadvice.
12646 * replace.el (perform-replace): Revert to funcall
12647 instead of run-hook-with-args-until-failure.
12648 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12649 * dired-aux.el (dired-isearch-filenames-mode): Rename from
12650 dired-isearch-filenames-toggle; make it into a proper minor mode.
12651 Use add/remove-function.
12652 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12653 Call the minor-mode rather than add/remove-hook.
12654 (dired-isearch-filter-filenames):
12655 Remove isearch-message-prefix property.
12656 * info.el (Info--search-loop): New function, extracted from Info-search.
12657 Funcall isearch-filter-predicate instead of
12658 run-hook-with-args-until-failure isearch-filter-predicates.
12659 (Info-search): Use it.
12660 (Info-mode): Use isearch-filter-predicate instead of
12661 isearch-filter-predicates.
12663 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12665 Do not call to `selected-window' where it is assumed by default.
12666 Affected functions are `window-minibuffer-p', `window-dedicated-p',
12667 `window-hscroll', `window-width', `window-height', `window-buffer',
12668 `window-frame', `window-start', `window-point', `next-window'
12669 and `window-display-table'.
12670 * abbrev.el (abbrev--default-expand):
12671 * bs.el (bs--show-with-configuration):
12672 * buff-menu.el (Buffer-menu-mouse-select):
12673 * calc/calc.el (calc):
12674 * calendar/calendar.el (calendar-generate-window):
12675 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12676 (diary-make-entry):
12677 * comint.el (send-invisible, comint-dynamic-complete-filename)
12678 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12679 * completion.el (complete):
12680 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12681 * disp-table.el (describe-current-display-table):
12682 * doc-view.el (doc-view-insert-image):
12683 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12684 * ehelp.el (with-electric-help):
12685 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12686 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12687 * emacs-lisp/helper.el (Helper-help-scroller):
12688 * emulation/cua-base.el (cua--post-command-handler-1):
12689 * eshell/esh-mode.el (eshell-output-filter):
12690 * ffap.el (ffap-gnus-wrapper):
12691 * help-macro.el (make-help-screen):
12692 * hilit-chg.el (highlight-compare-buffers):
12693 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12694 * hl-line.el (global-hl-line-highlight):
12695 * icomplete.el (icomplete-simple-completing-p):
12696 * isearch.el (isearch-done):
12697 * jit-lock.el (jit-lock-stealth-fontify):
12698 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12699 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12700 * mpc.el (mpc-tagbrowser, mpc):
12701 * net/rcirc.el (rcirc-any-buffer):
12702 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12703 * play/landmark.el (landmark-max-width, landmark-max-height):
12704 * play/zone.el (zone):
12705 * progmodes/compile.el (compilation-goto-locus):
12706 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12707 * progmodes/etags.el (find-tag-other-window):
12708 * progmodes/fortran.el (fortran-column-ruler):
12709 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12710 * progmodes/verilog-mode.el (verilog-point-text):
12711 * reposition.el (reposition-window):
12712 * rot13.el (toggle-rot13-mode):
12713 * server.el (server-switch-buffer):
12714 * shell.el (shell-dynamic-complete-command)
12715 (shell-dynamic-complete-environment-variable):
12716 * simple.el (insert-buffer, set-selective-display)
12717 (delete-completion-window):
12718 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12719 (speedbar-recenter):
12720 * startup.el (fancy-splash-head):
12721 * textmodes/ispell.el (ispell-command-loop):
12722 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12723 * tutorial.el (help-with-tutorial):
12724 * vc/add-log.el (add-change-log-entry):
12725 * vc/compare-w.el (compare-windows):
12726 * vc/ediff-help.el (ediff-indent-help-message):
12727 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12728 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12729 (ediff-setup-control-frame):
12730 * vc/emerge.el (emerge-position-region):
12731 * vc/pcvs-util.el (cvs-bury-buffer):
12732 * window.el (walk-windows, mouse-autoselect-window-select):
12733 * winner.el (winner-set-conf, winner-undo): Related users changed.
12735 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
12737 * frameset.el (frameset--set-id): Doc fix.
12738 (frameset-frame-id, frameset-frame-id-equal-p)
12739 (frameset-locate-frame-id): New functions.
12740 (frameset--process-minibuffer-frames, frameset--reuse-frame)
12741 (frameset-restore): Use them.
12743 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12745 Do not call to `selected-frame' where it is assumed by default.
12746 Affected functions are `raise-frame', `redraw-frame',
12747 `frame-first-window', `frame-terminal' and `delete-frame'.
12748 * calendar/appt.el (appt-disp-window):
12749 * epg.el (epg-wait-for-completion):
12750 * follow.el (follow-delete-other-windows-and-split)
12751 (follow-avoid-tail-recenter):
12752 * international/mule.el (set-terminal-coding-system):
12753 * mail/rmail.el (rmail-mail-return):
12754 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12755 * progmodes/f90.el (f90-add-imenu-menu):
12756 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12757 * server.el (server-switch-buffer):
12758 * simple.el (delete-completion-window):
12760 * term/xterm.el (terminal-init-xterm-modify-other-keys)
12761 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12762 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12763 * vc/ediff.el (ediff-documentation): Related users changed.
12764 * frame.el (selected-terminal): Remove the leftover.
12766 2013-08-05 Glenn Morris <rgm@gnu.org>
12768 * calendar/calendar.el (calendar-generate-month):
12769 Fix for calendar-column-width != 1 + calendar-day-digit-width.
12770 (calendar-generate-month, calendar-font-lock-keywords):
12771 Fix for calendar-day-header-width > length of any day name.
12773 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
12775 * desktop.el (desktop-clear): Use new name of sort predicate.
12777 * frameset.el (frameset): Add docstring. Move :version property to its
12778 own `version' slot.
12779 (frameset-copy): Rename from copy-frameset.
12780 (frameset-p): Check more thoroughly.
12781 (frameset-prop): Do not check for :version, which is no longer a prop.
12782 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12783 Use new :never value instead of t.
12784 (frameset-filter-alist): Expand and clarify docstring.
12785 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12786 (frameset-filter-minibuffer, frameset-filter-save-param)
12787 (frameset-filter-restore-param, frameset-filter-iconified):
12788 Add pointer to docstring of frameset-filter-alist.
12789 (frameset-filter-params): Rename filter values to be more meaningful:
12790 :never instead of t, and reverse the meanings of :save and :restore.
12791 (frameset--process-minibuffer-frames): Clarify error message.
12792 (frameset-save): Avoid unnecessary and confusing call to framep.
12793 Use new BOA constructor for framesets.
12794 (frameset--reuse-list): Doc fix.
12795 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
12796 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12797 (frameset-minibufferless-first-p): Doc fix.
12798 Rename from frameset-sort-frames-for-deletion.
12799 (frameset-restore): Doc fixes. Use new function names.
12800 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12802 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
12804 * desktop.el (desktop-restore-forces-onscreen)
12805 (desktop-restore-reuses-frames): Document :keyword constant values.
12806 (desktop-filter-parameters-alist): Remove, now identical to
12807 frameset-filter-alist.
12808 (desktop--filter-tty*): Remove, moved to frameset.el.
12809 (desktop-save-frameset, desktop-restore-frameset):
12810 Do not pass :filters argument.
12812 * frameset.el (frameset-live-filter-alist)
12813 (frameset-persistent-filter-alist): New variables.
12814 (frameset-filter-alist): Use them. Add autoload cookie.
12815 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12816 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12817 `frameset--id' (it's supposed to be internal to frameset.el).
12818 (frameset--process-minibuffer-frames): Ditto. Doc fix.
12819 (frameset--initial-params): New function.
12820 (frameset--get-frame): Use it. Doc fix.
12821 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12822 Accept :all, not 'all.
12823 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12824 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
12825 with fbound symbols. Fix frame id matching, and remove matching ids if
12826 the frame being restored is deleted. Obey :delete.
12828 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
12830 * subr.el (macrop): New function.
12831 (text-clone--maintaining): New var.
12832 (text-clone--maintain): Rename from text-clone-maintain. Use it
12833 instead of inhibit-modification-hooks.
12835 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12836 a proxy, so as handle autoloads and redefinitions of the target.
12837 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12839 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12840 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
12841 (pcase--mutually-exclusive-p): New function.
12842 (pcase--split-consp): Use it.
12843 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
12844 mutually exclusive with the current predicate.
12846 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12847 (edebug-macrop): Remove. Use `macrop' instead.
12848 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
12850 * eshell/esh-cmd.el (eshell-macrop):
12851 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
12853 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
12855 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12856 (advice-mapc): New function, using it.
12857 (advice-function-member-p): New function.
12858 (advice--normalize): Store the cdr in advice--saved-rewrite since
12859 that's the part that will be changed.
12860 (advice--symbol-function): New function.
12861 (advice-remove): Handle removal before the function is defined.
12862 Adjust to new advice--saved-rewrite.
12863 (advice-member-p): Use advice-function-member-p and
12864 advice--symbol-function.
12866 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
12868 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12869 (frameset-filter-minibuffer): Doc fix.
12870 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
12871 (frameset--set-id, frameset--process-minibuffer-frames)
12872 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12873 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12875 * desktop.el (desktop-clear): Only delete frames when called
12876 interactively and desktop-restore-frames is non-nil. Doc fix.
12877 (desktop-read): Set desktop-saved-frameset to nil.
12879 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
12881 * vc/vc.el (vc-ignore): Rewrite.
12882 (vc-default-ignore-completion-table, vc--read-lines)
12883 (vc--add-line, vc--remove-regexp): New functions.
12885 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12886 (vc-svn-ignore-completion-table): New function.
12888 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12889 (vc-hg-ignore-completion-table)
12890 (vc-hg-find-ignore-file): New functions.
12892 * vc/vc-git.el (vc-git-ignore): Rewrite.
12893 (vc-git-ignore-completion-table)
12894 (vc-git-find-ignore-file): New functions.
12896 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12898 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12899 (vc-bzr-ignore-completion-table)
12900 (vc-bzr-find-ignore-file): New functions.
12902 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
12904 * frameset.el (frameset-prop): New function and setter.
12905 (frameset-save): Do not modify frame list passed by the caller.
12907 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12909 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12911 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
12913 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12914 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12916 * custom.el (custom-initialize-default, custom-initialize-set)
12917 (custom-initialize-reset, custom-initialize-changed): Affect the
12918 toplevel-default-value (bug#6275, bug#14586).
12919 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12922 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
12924 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12925 Add cl-def* expressions.
12927 * frameset.el (frameset-filter-params): Fix order of arguments.
12929 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
12931 Move code related to saving frames to frameset.el.
12932 * desktop.el: Require frameset.
12933 (desktop-restore-frames): Doc fix.
12934 (desktop-restore-reuses-frames): Rename from
12935 desktop-restoring-reuses-frames.
12936 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12937 (desktop-clear): Clear frames too.
12938 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12939 (desktop--filter-tty*, desktop-save, desktop-read):
12940 Use frameset functions.
12941 (desktop-before-saving-frames-functions, desktop--filter-*-color)
12942 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12943 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12944 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12945 (desktop--process-minibuffer-frames, desktop-save-frames)
12946 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12947 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12948 (desktop--sort-states, desktop-restoring-frames-p)
12949 (desktop-restore-frames): Remove. Most code moved to frameset.el.
12950 (desktop-restoring-frameset-p, desktop-restore-frameset)
12951 (desktop--check-dont-save, desktop-save-frameset): New functions.
12952 (desktop--app-id): New constant.
12953 (desktop-first-buffer, desktop-buffer-ok-count)
12954 (desktop-buffer-fail-count): Move before first use.
12955 * frameset.el: New file.
12957 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12959 * files.el: Use lexical-binding.
12960 (dir-locals-read-from-file): Remove unused `err' variable.
12961 (hack-dir-local-variables--warned-coding): New var.
12962 (hack-dir-local-variables): Use it to avoid repeated warnings.
12963 (make-backup-file-name--default-function): New function.
12964 (make-backup-file-name-function): Use it as default.
12965 (buffer-stale--default-function): New function.
12966 (buffer-stale-function): Use it as default.
12967 (revert-buffer-insert-file-contents--default-function): New function.
12968 (revert-buffer-insert-file-contents-function): Use it as default.
12969 (insert-directory): Avoid add-to-list.
12971 * autorevert.el (auto-revert-handler): Simplify.
12972 Use buffer-stale--default-function.
12974 2013-08-01 Tassilo Horn <tsdh@gnu.org>
12976 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12978 * whitespace.el (whitespace-ensure-local-variables): New function.
12979 (whitespace-cleanup-region): Call it.
12980 (whitespace-turn-on): Call it.
12982 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
12984 Complete file name handlers.
12986 * net/tramp.el (tramp-handle-set-visited-file-modtime)
12987 (tramp-handle-verify-visited-file-modtime)
12988 (tramp-handle-file-notify-rm-watch): New functions.
12989 (tramp-call-process): Do not bind `default-directory'.
12991 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12992 Order alphabetically.
12993 <access-file, add-name-to-file, dired-call-process>:
12994 <dired-compress-file, file-acl, file-notify-rm-watch>:
12995 <file-ownership-preserved-p, file-selinux-context>:
12996 <make-directory-internal, make-symbolic-link, set-file-acl>:
12997 <set-file-selinux-context, set-visited-file-modtime>:
12998 <verify-visited-file-modtime>: Add handler.
12999 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13001 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13002 <file-notify-add-watch, file-notify-rm-watch>:
13003 <set-file-times, set-visited-file-modtime>:
13004 <verify-visited-file-modtime>: Add handler.
13005 (with-tramp-gvfs-error-message)
13006 (tramp-gvfs-handle-set-visited-file-modtime)
13007 (tramp-gvfs-fuse-file-name): Remove.
13008 (tramp-gvfs-handle-file-notify-add-watch)
13009 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13010 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13012 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13013 Order alphabetically.
13014 <file-notify-rm-watch>: Use default Tramp handler.
13015 <executable-find>: Remove private handler.
13016 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13017 `default-directory'.
13018 (tramp-sh-handle-executable-find)
13019 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13020 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13021 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13022 Do not use `format' in `tramp-message'.
13024 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13025 <file-notify-rm-watch, set-visited-file-modtime>:
13026 <verify-visited-file-modtime>: Add handler.
13027 (tramp-smb-call-winexe): Do not bind `default-directory'.
13029 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13031 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13033 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13035 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13037 (log-view-diff-changeset): Same.
13038 (log-view-diff-common): Call backend command `previous-revision'
13039 to find out the previous revision, in both cases. Swap the
13040 variables `to' and `fr', so that `fr' usually refers to the
13041 earlier revision (Bug#14989).
13043 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13045 * ibuf-ext.el (ibuffer-filter-by-filename):
13046 Make it work with dired buffers too.
13048 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13050 * emacs-lisp/re-builder.el (reb-color-display-p):
13051 * files.el (save-buffers-kill-terminal):
13052 * net/browse-url.el (browse-url):
13053 * server.el (server-save-buffers-kill-terminal):
13054 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13055 Prefer nil to selected-frame for the first arg of frame-parameter.
13057 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13059 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13061 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13063 * minibuffer.el (completion--twq-all): Try and preserve each
13064 completion's case choice (bug#14907).
13066 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13068 * net/network-stream.el (open-network-stream): Mention the new
13069 :nogreeting parameter.
13070 (network-stream-open-starttls): Use the :nogreeting parameter
13073 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13075 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13076 more natural than popping.
13078 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13079 (shr-urlify): Highlight under mouse.
13081 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13083 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13085 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13087 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13090 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13091 point-min==1. Fix search string. Fix parentheses missing.
13093 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13094 assume point-min==1. Fix search string. Fix parentheses missing.
13096 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13098 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13101 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13103 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13104 initial frame is minibuffer-less. (Bug#14841)
13106 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13108 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13111 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13112 (tramp-maybe-open-connection): Use it.
13114 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13116 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13117 minimal set of parameters passed when creating a frame, because
13118 the minibuffer status of a frame cannot be changed later.
13120 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13122 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13123 replace-regexp-in-string and inadvertent omissions in previous change.
13124 (todo-filter-items): Ensure only file names are comma-separated in
13125 name of filtered items buffer.
13127 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13129 * desktop.el: Optionally force offscreen frames back onscreen.
13130 (desktop-restoring-reuses-frames): New option.
13131 (desktop--compute-pos, desktop--move-onscreen): New functions.
13132 (desktop--make-frame): Use desktop--move-onscreen.
13134 2013-07-27 Alan Mackenzie <acm@muc.de>
13136 Fontify a Java generic method as a function.
13137 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13140 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13142 * calendar/todo-mode.el: Add command to rename todo files.
13143 (todo-rename-file): New command.
13144 (todo-key-bindings-t): Add key binding for it. Change the
13145 bindings of todo-filter-regexp-items(-multifile) to use `x'
13146 instead of `r', since the latter is better suited to the new
13149 2013-07-27 Alan Mackenzie <acm@muc.de>
13151 Make Java try-with-resources statement parse properly.
13152 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13153 (c-block-stmt-1-2-key): New language constants/variables.
13154 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13155 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13156 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13157 with c-block-stmt-1-2-key.
13159 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13161 * desktop.el (desktop--make-frame): Apply most frame parameters after
13162 creating the frame to force (partially or totally) offscreen frames to
13163 be restored as such.
13165 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13167 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13170 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13172 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13173 `base' arg of backtrace-frame.
13175 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13177 * simple.el (list-processes): Doc fix.
13179 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13181 * desktop.el (desktop--select-frame):
13182 Try harder to reuse existing frames.
13184 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13186 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13187 (edebug-eval): Use backtrace-eval.
13188 (edebug--display, edebug--recursive-edit): Don't let-bind the
13189 edebug-outer-* vars that keep track of variables we locally let-bind.
13190 (edebug-outside-excursion): Don't restore outside values of locally
13192 (edebug--display): Use user-error.
13193 (cl-lexical-debug, cl-debug-env): Remove.
13195 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13197 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13198 are restored to be sure that they are visible before deleting any
13201 2013-07-26 Matthias Meulien <orontee@gmail.com>
13203 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13204 vc-print-root-log. (Bug#14948)
13206 2013-07-26 Richard Stallman <rms@gnu.org>
13208 Add aliases for encrypting mail.
13209 * epa.el (epa-mail-aliases): New option.
13210 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13211 Bind inhibit-read-only so read-only text doesn't ruin everything.
13212 (epa-mail-default-recipients): New subroutine broken out.
13213 Handle epa-mail-aliases.
13215 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13217 Add support for lexical variables to the debugger's `e' command.
13218 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13219 vars, except for debugger-outer-match-data.
13220 (debugger-frame-number): Move check for "on a function call" from
13221 callers into it. Add `skip-base' argument.
13222 (debugger-frame, debugger-frame-clear): Simplify accordingly.
13223 (debugger-env-macro): Only reset the state stored in non-variables,
13224 i.e. current-buffer and match-data.
13225 (debugger-eval-expression): Rewrite using backtrace-eval.
13226 * subr.el (internal--called-interactively-p--get-frame): Remove.
13227 (called-interactively-p):
13228 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13229 `base' arg of backtrace-frame instead.
13231 2013-07-26 Glenn Morris <rgm@gnu.org>
13233 * align.el (align-regexp): Doc fix. (Bug#14857)
13234 (align-region): Explicit error if subexpression missing/does not match.
13236 * simple.el (global-visual-line-mode):
13237 Do not duplicate the mode lighter. (Bug#14858)
13239 2013-07-25 Martin Rudalics <rudalics@gmx.at>
13241 * window.el (display-buffer): In display-buffer bind
13242 split-window-keep-point to t, bug#14829.
13244 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13246 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13247 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13248 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13249 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13250 Change accordingly.
13251 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13252 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13254 2013-07-25 Glenn Morris <rgm@gnu.org>
13256 * dired-x.el (dired-mark-extension): Convert comment to doc string.
13258 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13260 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13261 parameter to modify-frame-parameters if the value has not changed;
13262 this is a workaround for bug#14949.
13263 (desktop--make-frame): On cl-delete-if call, check parameter name,
13264 not full parameter.
13266 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13268 * vc/vc.el (vc-ignore): New function.
13270 * vc/vc-svn.el (vc-svn-ignore): New function.
13272 * vc/vc-hg.el (vc-hg-ignore): New function.
13274 * vc/vc-git.el (vc-git-ignore): New function.
13276 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13277 (vc-dir-ignore): New function.
13279 * vc/vc-cvs.el (vc-cvs-ignore): New function.
13280 (cvs-append-to-ignore): Move here from pcvs.el.
13282 * vc/vc-bzr.el (vc-bzr-ignore): New function.
13284 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13286 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
13288 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13289 (desktop-restore-frames): Warn when deleting an existing frame failed.
13291 2013-07-24 Glenn Morris <rgm@gnu.org>
13293 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13295 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13297 * filenotify.el (file-notify-supported-p):
13298 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13301 * autorevert.el (auto-revert-use-notify)
13302 (auto-revert-notify-add-watch):
13303 * net/tramp.el (tramp-file-name-for-operation):
13304 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13305 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13306 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13307 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13308 Remove `file-notify-supported-p' entry.
13310 2013-07-24 Glenn Morris <rgm@gnu.org>
13312 * printing.el: Replace all uses of deleted ps-windows-system,
13313 ps-lp-system, ps-flatten-list with lpr- versions.
13315 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13317 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13318 checked with memq (bug#14935).
13320 * files.el (revert-buffer-function): Use a non-nil default.
13321 (revert-buffer-preserve-modes): Declare var to
13322 provide access to the `preserve-modes' argument.
13323 (revert-buffer): Let-bind it.
13324 (revert-buffer--default): New function, extracted from revert-buffer.
13326 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * lpr.el: Signal print errors more prominently.
13329 (print-region-function): Don't default to nil.
13330 (lpr-print-region): New function, extracted from print-region-1.
13331 Check lpr's return value and signal an error in case of problem.
13332 (print-region-1): Use it.
13333 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13335 (ps-printer-name): Default to nil.
13336 (ps-printer-name-option): Default to lpr-printer-switch.
13337 (ps-print-region-function): Don't default to nil.
13338 (ps-postscript-code-directory): Simplify default.
13339 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13340 (ps-string-list, ps-eval-switch, ps-flatten-list)
13341 (ps-flatten-list-1): Remove.
13342 (ps-multibyte-buffer): Avoid setq.
13343 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13344 (print-region-function, ps-print-region-function): Don't set them here.
13346 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13348 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13349 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13350 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13351 (ido-decorations): Doc fix.
13353 * ansi-color.el: Fix old URL.
13355 2013-07-23 Michael R. Mauger <michael@mauger.com>
13357 * progmodes/sql.el: Version 3.3
13358 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13359 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13360 (sql-interactive-remove-continuation-prompt): Rewrite, use
13361 functions above. Fix continuation prompt and complete output line
13363 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13364 redirected output buffer.
13365 (sql-mode): Restore deleted code (Bug#13591).
13367 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13369 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13371 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13373 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13375 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13376 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13377 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13379 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13381 * desktop.el (desktop-clear): Simplify; remove useless checks
13382 against invalid buffer names.
13383 (desktop-list*): Use cl-list*.
13384 (desktop-buffer-info, desktop-create-buffer): Simplify.
13386 2013-07-23 Leo Liu <sdl.web@gmail.com>
13388 * bookmark.el (bookmark-make-record): Restore NAME as a default
13391 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
13393 * emacs-lisp/autoload.el (autoload--setup-output): New function,
13394 extracted from autoload--insert-text.
13395 (autoload--insert-text): Remove.
13396 (autoload--print-cookie-text): New function, extracted from
13397 autoload--insert-cookie-text.
13398 (autoload--insert-cookie-text): Remove.
13399 (autoload-generate-file-autoloads): Adjust calls accordingly.
13401 * winner.el (winner-hook-installed-p): Remove.
13402 (winner-mode): Simplify accordingly.
13404 * subr.el (add-to-list): Fix compiler-macro when `append' is
13405 not constant. Don't use `cl-member' for the base case.
13407 * progmodes/subword.el: Fix boundary case (bug#13758).
13408 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
13410 (subword-backward-regexp): Make it a constant.
13411 (subword-forward-internal): Don't treat a trailing capital as the
13412 beginning of a word.
13414 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
13416 * emacs-lisp/package.el (package-menu-mode): Don't modify the
13417 global value of tabulated-list-revert-hook (bug#14930).
13419 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
13421 * desktop.el: Require 'cl-lib.
13422 (desktop-before-saving-frames-functions): New hook.
13423 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13424 for frames being saved. Rename from desktop--save-minibuffer-frames.
13425 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13426 Do not save frames with non-nil `desktop-dont-save' parameter.
13427 Filter out deleted frames.
13428 (desktop--find-frame): Use cl-find-if.
13429 (desktop--select-frame): Use cl-(first|second|third) to access values
13431 (desktop--make-frame): Use cl-delete-if.
13432 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13433 (desktop-restore-frames): Use cl-(first|second|third) to access values
13434 of desktop-mini. Look for visible frame at the end, not while
13437 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13438 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13439 Use string-match-p, looking-at-p (bug#14927).
13441 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
13443 * desktop.el (desktop-saved-frame-states):
13444 Rename from desktop--saved-states; all users changed.
13445 (desktop-save-frames): Rename from desktop--save-frames.
13446 Do not save state to desktop file.
13447 (desktop-save): Save desktop-saved-frame-states to desktop file
13449 (desktop-restoring-frames-p): New function.
13450 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
13451 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
13452 buffer-lists when restoring frames. Suggested by Martin Rudalics.
13454 * desktop.el: Correctly restore iconified frames.
13455 (desktop--filter-iconified-position): New function.
13456 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13458 2013-07-20 Glenn Morris <rgm@gnu.org>
13460 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13461 Let `message' do the formatting.
13462 (def-gdb-preempt-display-buffer): Add explicit format.
13464 * image-dired.el (image-dired-track-original-file):
13465 Use with-current-buffer.
13466 (image-dired-track-thumbnail): Use with-current-buffer.
13467 Avoid changing point of wrong window.
13469 * image-dired.el (image-dired-track-original-file):
13470 Avoid changing point of wrong window. (Bug#14909)
13472 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
13474 * progmodes/gdb-mi.el (gdb-done-or-error):
13475 Guard against "%" in gdb output. (Bug#14127)
13477 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
13479 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13482 * international/mule.el (coding-system-iso-2022-flags): Fix last
13485 2013-07-20 Kenichi Handa <handa@gnu.org>
13487 * international/mule.el (coding-system-iso-2022-flags):
13488 Add `8-bit-level-4'. (Bug#8522)
13490 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13492 * net/shr.el (shr-mouse-browse-url): New command and keystroke
13495 * net/eww.el (eww-process-text-input): Allow inputting when the
13496 point is at the start of the line, as the properties aren't
13499 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13502 2013-07-19 Richard Stallman <rms@gnu.org>
13504 * epa.el (epa-popup-info-window): Doc fix.
13506 * subr.el (split-string): New arg TRIM.
13508 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
13510 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13511 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13513 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
13515 * filenotify.el (file-notify--library): Rename from
13516 `file-notify-support'. Do not autoload. Adapt all uses.
13517 (file-notify-supported-p): New defun.
13519 * autorevert.el (auto-revert-use-notify):
13520 Use `file-notify-supported-p' instead of `file-notify-support'.
13522 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13524 * net/tramp.el (tramp-file-name-for-operation):
13525 Add `file-notify-supported-p'.
13527 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13529 (tramp-sh-file-name-handler-alist): Add it as handler for
13530 `file-notify-supported-p '.
13532 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13533 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13534 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13535 Add `ignore' as handler for `file-notify-*' functions.
13537 2013-07-17 Eli Zaretskii <eliz@gnu.org>
13539 * simple.el (line-move-partial, line-move): Don't start vscroll or
13540 scroll-up if the current line is not taller than the window.
13543 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
13545 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13546 highlight question marks in the method names as strings.
13547 (ruby-block-beg-keywords): Inline.
13548 (ruby-font-lock-keyword-beg-re): Extract from
13549 `ruby-font-lock-keywords'.
13551 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
13553 * frame.el (blink-cursor-blinks): New defcustom.
13554 (blink-cursor-blinks-done): New defvar.
13555 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13556 (blink-cursor-timer-function): Check if number of blinks has been
13558 (blink-cursor-suspend, blink-cursor-check): New defuns.
13560 2013-07-15 Glenn Morris <rgm@gnu.org>
13562 * edmacro.el (edmacro-format-keys): Fix previous change.
13564 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
13566 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13567 The hack didn't work outside English locales anyway.
13569 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
13571 * simple.el (define-alternatives): Rename from alternatives-define,
13572 per RMS' suggestion.
13574 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
13576 * desktop.el (desktop-restore-frames): Change default to t.
13577 (desktop-restore-in-current-display): Now offer more options.
13578 (desktop-restoring-reuses-frames): New customization option.
13579 (desktop--saved-states): Doc fix.
13580 (desktop-filter-parameters-alist): New variable, renamed and expanded
13581 from desktop--excluded-frame-parameters.
13582 (desktop--target-display): New variable.
13583 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13584 (desktop--filter-tty*, desktop--filter-*-color)
13585 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13586 (desktop--filter-save-desktop-parm)
13587 (desktop-restore-in-original-display-p): New functions.
13588 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13589 (desktop--save-minibuffer-frames): New function, inspired by a similar
13590 function from Martin Rudalics.
13591 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13592 (desktop--restore-in-this-display-p): Remove.
13593 (desktop--find-frame): Rename from desktop--find-frame-in-display
13594 and add predicate argument.
13595 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13596 (desktop--reuse-list): New variable.
13597 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13599 (desktop--restore-frames): Add support for "minibuffer-special" frames.
13601 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
13603 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13605 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
13607 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13608 Highlight conversion methods on Kernel.
13610 2013-07-13 Alan Mackenzie <acm@muc.de>
13612 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13613 and comment it out. This out-commenting enables certain C++
13614 declarations to be parsed correctly.
13616 2013-07-13 Eli Zaretskii <eliz@gnu.org>
13618 * international/mule.el (define-coding-system): Doc fix.
13620 * simple.el (default-font-height): Don't call font-info if the
13621 frame's default font didn't change since the frame was created.
13624 2013-07-13 Leo Liu <sdl.web@gmail.com>
13626 * ido.el (ido-read-file-name): Guard against non-symbol value.
13628 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13630 * progmodes/python.el (python-imenu--build-tree): Fix corner case
13633 2013-07-13 Leo Liu <sdl.web@gmail.com>
13635 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13636 ido-set-matches call. (Bug#6852)
13638 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
13640 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13641 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13643 (ruby-font-lock-keywords): Distinguish calls to functions with
13644 module-like names from module references. Highlight character
13647 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
13649 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13650 (gdb-send): Handle continued commands. (Bug#14847)
13652 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13654 * desktop.el (desktop--v2s): Remove unused local variable.
13655 (desktop-save-buffer): Make defvar-local; adjust docstring.
13656 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13657 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13659 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
13661 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13663 2013-07-12 Eli Zaretskii <eliz@gnu.org>
13665 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13668 2013-07-12 Glenn Morris <rgm@gnu.org>
13670 * doc-view.el: Require cl-lib at runtime too.
13671 (doc-view-remove-if): Remove.
13672 (doc-view-search-next-match, doc-view-search-previous-match):
13675 * edmacro.el: Require cl-lib at runtime too.
13676 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13677 (edmacro-mismatch, edmacro-subseq): Remove.
13679 * shadowfile.el: Require cl-lib.
13680 (shadow-remove-if): Remove.
13681 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13684 * wid-edit.el: Require cl-lib.
13685 (widget-choose): Use cl-remove-if.
13686 (widget-remove-if): Remove.
13688 * progmodes/ebrowse.el: Require cl-lib at runtime too.
13689 (ebrowse-delete-if-not): Remove.
13690 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13691 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13692 Use cl-delete-if-not.
13694 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13696 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13697 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13699 2013-07-12 Leo Liu <sdl.web@gmail.com>
13701 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
13703 2013-07-11 Glenn Morris <rgm@gnu.org>
13705 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13706 (edebug-gensym-index, edebug-gensym):
13707 Remove reimplementation of cl-gensym.
13708 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13710 * thumbs.el: Require cl-lib at run-time too.
13711 (thumbs-gensym-counter, thumbs-gensym):
13712 Remove reimplementation of cl-gensym.
13713 (thumbs-temp-file): Use cl-gensym.
13715 * emacs-lisp/ert.el: Require cl-lib at runtime too.
13716 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13717 (ert--intersection, ert--set-difference, ert--set-difference-eq)
13718 (ert--union, ert--gensym-counter, ert--gensym-counter)
13719 (ert--coerce-to-vector, ert--remove*, ert--string-position)
13720 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13721 (ert-make-test-unbound, ert--expand-should-1)
13722 (ert--expand-should, ert--should-error-handle-error)
13723 (should-error, ert--explain-equal-rec)
13724 (ert--plist-difference-explanation, ert-select-tests)
13725 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13726 Use cl-lib functions rather than reimplementations.
13728 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
13730 * net/tramp.el (tramp-methods): Extend docstring.
13731 (tramp-connection-timeout): New defcustom.
13732 (tramp-error-with-buffer): Reset timestamp only when appropriate.
13733 (with-tramp-progress-reporter): Simplify.
13734 (tramp-process-actions): Improve messages.
13736 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13737 * net/tramp-sh.el (tramp-maybe-open-connection):
13738 Use `tramp-connection-timeout'.
13739 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13742 2013-07-11 Leo Liu <sdl.web@gmail.com>
13744 * ido.el (ido-read-file-name): Conform to the requirements of
13745 read-file-name. (Bug#11861)
13746 (ido-read-directory-name): Conform to the requirements of
13747 read-directory-name.
13749 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
13751 * subr.el (delay-warning): New function.
13753 2013-07-10 Eli Zaretskii <eliz@gnu.org>
13755 * simple.el (default-line-height): New function.
13756 (line-move-partial, line-move): Use it instead of computing the
13757 line height inline.
13758 (line-move-partial): Always compute ROWH. If the last line is
13759 partially-visible, but its text is completely visible, allow
13760 cursor to enter such a partially-visible line.
13762 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
13764 Improve error messages. (Bug#14808)
13766 * net/tramp.el (tramp-current-connection): New defvar, moved from
13768 (tramp-message-show-progress-reporter-message): Remove, not
13770 (tramp-error-with-buffer): Show message in minibuffer.
13771 Discard input before waiting. Reset connection timestamp.
13772 (with-tramp-progress-reporter): Improve messages.
13773 (tramp-process-actions): Use progress reporter. Delete process in
13774 case of error. Improve messages.
13776 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13777 Call `tramp-error-with-buffer' with vector and buffer.
13778 (tramp-current-connection): Remove.
13779 (tramp-maybe-open-connection): The car of
13780 `tramp-current-connection' are the first 3 slots of the vector.
13782 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
13784 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13785 inside continued strings.
13787 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
13789 Timestamp fixes for undo (Bug#14824).
13790 * files.el (clear-visited-file-modtime): Move here from fileio.c.
13792 2013-07-10 Leo Liu <sdl.web@gmail.com>
13794 * files.el (require-final-newline): Allow safe local value.
13797 2013-07-09 Leo Liu <sdl.web@gmail.com>
13799 * ido.el (ido-read-directory-name): Handle fallback.
13800 (ido-read-file-name): Update DIR to ido-current-directory.
13802 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
13804 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
13806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13807 "autoload". Remove "warn lower camel case" section, previously
13808 commented out. Highlight negation char. Do not highlight the
13809 target in singleton method definitions.
13811 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13813 * faces.el (tty-setup-hook): Declare the hook.
13815 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13816 and detect when a guard/pred depends on local vars (bug#14773).
13817 (pcase--u1): Adjust caller.
13819 2013-07-08 Eli Zaretskii <eliz@gnu.org>
13821 * simple.el (line-move-partial, line-move): Account for
13823 (line-move-partial): Avoid setting vscroll when the last
13824 partially-visible line in window is of default height.
13826 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13828 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13831 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
13833 * subr.el (read-quoted-char): Remove unused local variable `char'.
13835 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
13837 * vc/ediff.el (ediff-version): Version update.
13838 (ediff-files-command, ediff3-files-command, ediff-merge-command)
13839 (ediff-merge-with-ancestor-command, ediff-directories-command)
13840 (ediff-directories3-command, ediff-merge-directories-command)
13841 (ediff-merge-directories-with-ancestor-command): New functions.
13842 All are command-line interfaces to ediff: to facilitate calling
13843 Emacs with the appropriate ediff functions invoked.
13845 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13847 (viper-save-kill-buffer): Check if buffer is modified.
13849 * emulation/viper.el (viper-version): Version update.
13850 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13852 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
13854 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13855 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13856 (viper-intercept-ESC-key): Simplify.
13857 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13859 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13860 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13861 (viper-setup-ESC-to-escape): New functions.
13862 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13863 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
13865 2013-07-07 Eli Zaretskii <eliz@gnu.org>
13867 * simple.el (default-font-height, window-screen-lines):
13869 (line-move, line-move-partial): Use them instead of
13870 frame-char-height and window-text-height. This makes scrolling
13871 text smoother when the buffer's default face uses a font that is
13872 different from the frame's default font.
13874 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
13876 * files.el (write-file): Do not display confirm dialog for NS,
13877 it does its own dialog, which can't be canceled (Bug#14578).
13879 2013-07-06 Eli Zaretskii <eliz@gnu.org>
13881 * simple.el (line-move-partial): Adjust the row returned by
13882 posn-at-point for the current window-vscroll. (Bug#14567)
13884 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
13886 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13887 (tramp-sh-file-inotifywait-process-filter): Handle file names with
13890 2013-07-06 Martin Rudalics <rudalics@gmx.at>
13892 * window.el (window-state-put-stale-windows): New variable.
13893 (window--state-put-2): Save list of windows without matching buffer.
13894 (window-state-put): Remove "bufferless" windows if possible.
13896 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
13898 * simple.el (alternatives-define): Remove leftover :group keyword.
13901 2013-07-06 Leo Liu <sdl.web@gmail.com>
13903 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13904 (ido-enable-virtual-buffers): New variable.
13905 (ido-buffer-internal, ido-toggle-virtual-buffers)
13906 (ido-make-buffer-list): Use it.
13907 (ido-exhibit): Support turning on and off virtual buffers
13910 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
13912 * simple.el (alternatives-define): New macro.
13914 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
13916 * subr.el (read-quoted-char): Use read-key.
13917 (sit-for): Let read-event decode tty input (bug#14782).
13919 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
13921 * calendar/todo-mode.el: Add handling of file deletion, both by
13922 mode command and externally. Fix various related bugs.
13923 Clarify Commentary and improve some documentation strings and code.
13924 (todo-delete-file): New command.
13925 (todo-check-file): New function.
13926 (todo-show): Handle external deletion of the file we're trying to
13927 show (bug#14688). Replace called-interactively-p by an optional
13928 prefix argument to avoid problematic interaction with catch form
13929 when byte compiled (bug#14702).
13930 (todo-quit): Handle external deletion of the archive's todo file.
13931 Make sure the buffer that was visiting the archive file is still
13932 live before trying to bury it.
13933 (todo-category-completions): Handle external deletion of any
13934 category completion files.
13935 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13936 of todo files, in case of external deletion.
13937 (todo-add-file): Replace unnecessary setq by let-binding.
13938 (todo-find-archive): Check whether there are any archives.
13939 Replace unnecessary setq by let-binding.
13940 (todo-archive-done-item): Use find-file-noselect to get the
13941 archive buffer whether or not the archive already exists.
13942 Remove superfluous code. Use file size instead of buffer-file-name to
13943 check if the archive is new; if it is, update list of archives.
13944 (todo-default-todo-file): Allow nil to be a valid value for when
13945 there are no todo files.
13946 (todo-reevaluate-default-file-defcustom): Use corrected definition
13947 of todo-default-todo-file.
13948 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13949 (todo-delete-category, todo-show-categories-table)
13950 (todo-category-number): Clarify comment.
13951 (todo-filter-items): Clarify documentation string.
13952 (todo-show-current-file, todo-display-as-todo-file)
13953 (todo-reset-and-enable-done-separator): Tweak documentation string.
13954 (todo-done-separator): Make separator length window-width, since
13955 bug#2749 is now fixed.
13957 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
13959 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13960 Support both "gvfs-monitor-dir" and "inotifywait".
13961 (tramp-sh-file-inotifywait-process-filter): Rename from
13962 `tramp-sh-file-notify-process-filter'.
13963 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13964 (tramp-get-remote-gvfs-monitor-dir): New defuns.
13966 2013-07-05 Leo Liu <sdl.web@gmail.com>
13968 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13970 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13972 * frame.el (display-pixel-height, display-pixel-width)
13973 (display-mm-height, display-mm-width): Mention behavior on
13974 multi-monitor setups in docstrings.
13975 (w32-display-monitor-attributes-list): Declare function.
13976 (display-monitor-attributes-list): Use it.
13978 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
13980 * filenotify.el: New package.
13982 * autorevert.el (top): Require filenotify.el.
13983 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
13985 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13986 (auto-revert-notify-handler): Use `file-notify-*' functions.
13988 * subr.el (file-notify-handle-event): Move function to filenotify.el.
13990 * net/tramp.el (tramp-file-name-for-operation):
13991 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13993 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13994 for `file-notify-add-watch' and `file-notify-rm-watch'.
13995 (tramp-process-sentinel): Improve trace.
13996 (tramp-sh-handle-file-notify-add-watch)
13997 (tramp-sh-file-notify-process-filter)
13998 (tramp-sh-handle-file-notify-rm-watch)
13999 (tramp-get-remote-inotifywait): New defuns.
14001 2013-07-03 Juri Linkov <juri@jurta.org>
14003 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14004 call of `occur-read-primary-args' to interactive spec.
14006 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14007 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14009 2013-07-03 Matthias Meulien <orontee@gmail.com>
14011 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14012 `Buffer-menu-multi-occur'. Add it to the menu.
14013 (Buffer-menu-mode): Document it in docstring.
14014 (Buffer-menu-multi-occur): New command. (Bug#14673)
14016 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14018 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14019 keywords and built-ins.
14021 2013-07-03 Glenn Morris <rgm@gnu.org>
14023 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14025 Make info-xref checks case-sensitive by default
14026 * info.el (Info-find-node, Info-find-in-tag-table)
14027 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14028 Add option for exact case matching of nodes.
14029 * info-xref.el (info-xref): New custom group.
14030 (info-xref-case-fold): New option.
14031 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14033 2013-07-03 Leo Liu <sdl.web@gmail.com>
14035 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14037 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14039 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14040 middle of block statement initially, lower the depth. Remove
14041 FIXME comment, not longer valid. Remove middle of block statement
14042 detection, no need to do that anymore since we've been using
14043 `ruby-parse-region' here.
14045 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14047 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14049 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14051 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14053 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14055 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14056 (desktop-restore-in-current-display): New customization option.
14057 (desktop--excluded-frame-parameters): Add `font'.
14058 (desktop--save-frames): Rename from desktop--save-windows.
14059 (desktop--restore-in-this-display-p): New function.
14060 (desktop--make-full-frame): Remove unwanted width/height from
14061 full(width|height) frames.
14062 (desktop--restore-frames): Rename from desktop--restore-windows.
14063 Obey desktop-restore-current-display. Do not delete old frames or
14064 select a new frame unless we were able to restore at least one frame.
14066 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14068 * files.el (find-file-noselect): Simplify conditional expression.
14070 * textmodes/remember.el (remember-append-to-file):
14071 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14073 Add `remember-notes' function to store random notes across Emacs
14075 * textmodes/remember.el (remember-data-file): Add :set callback to
14076 affect notes buffer (if any).
14077 (remember-notes): New command.
14078 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14079 New defcustoms for the `remember-notes' function.
14080 (remember-notes-save-and-bury-buffer): New command.
14081 (remember-notes-mode-map): New variable.
14082 (remember-mode): New minor mode.
14083 (remember-notes--kill-buffer-query): New function.
14084 * startup.el (initial-buffer-choice): Add notes to custom type.
14086 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14088 * bindings.el (right-char, left-char): Don't call sit-for, this is
14089 no longer needed. Use arithmetic comparison only for numerical
14092 * international/mule-cmds.el (select-safe-coding-system):
14093 Handle the case of FROM being a string correctly. (Bug#14755)
14095 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14097 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14098 progression on degenerate tables.
14099 (shr-rescale-image): ImageMagick animated images currently don't work.
14101 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14103 Some fixes and improvements for desktop frame restoration.
14104 It is still experimental and disabled by default.
14105 * desktop.el (desktop--save-windows): Put the selected frame at
14106 the head of the list.
14107 (desktop--make-full-frame): New function.
14108 (desktop--restore-windows): Try to re-select the frame that was
14109 selected upon saving. Do not abort if some frames fail to restore,
14110 just show an error message and continue. Set up maximized frames
14111 so they have default non-maximized dimensions.
14113 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14115 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14116 Don't start heredoc inside a string or comment.
14118 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14120 * bindings.el (visual-order-cursor-movement): New defcustom.
14121 (right-char, left-char): Provide visual-order cursor motion by
14122 calling move-point-visually. Update the doc strings.
14124 2013-06-28 Kenichi Handa <handa@gnu.org>
14126 * international/mule.el (define-coding-system): New coding system
14127 properties :inhibit-null-byte-detection,
14128 :inhibit-iso-escape-detection, and :prefer-utf-8.
14129 (set-buffer-file-coding-system): If :charset-list property of
14130 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14131 appropriate for setting.
14133 * international/mule-cmds.el (select-safe-coding-system):
14134 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14135 multibyte characters, return utf-8 (or one of its siblings).
14137 * international/mule-conf.el (prefer-utf-8): New coding system.
14138 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14141 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14143 * net/shr.el (shr-render-region): New function.
14145 * net/eww.el: Autoload `eww-browse-url'.
14147 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14149 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14150 Adapt to `package-desc-version' being a list.
14151 Use `package--ac-desc-version' to retrieve version from a package
14154 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14156 New experimental feature to save&restore window and frame setup.
14157 * desktop.el (desktop-save-windows): New defcustom.
14158 (desktop--saved-states): New var.
14159 (desktop--excluded-frame-parameters): New defconst.
14160 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14161 (desktop--restore-windows, desktop--save-windows): New functions.
14162 (desktop-save): Call `desktop--save-windows'.
14163 (desktop-read): Call `desktop--restore-windows'.
14165 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14167 * net/shr.el (add-face-text-property): Remove compat definition.
14169 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14171 * info.el (Info-try-follow-nearest-node): Move search for footnote
14172 above search for node name to prevent missing a footnote (bug#14717).
14174 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14176 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14178 2013-06-27 Leo Liu <sdl.web@gmail.com>
14180 * net/eww.el (eww-read-bookmarks): Check file size.
14182 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14184 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14185 advice--pending if newdef is nil or an autoload (bug#13820).
14186 (advice-mapc): New function.
14188 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14190 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14192 (eww-mode-map): Add a menu bar.
14193 (eww-add-bookmark): New command.
14194 (eww-bookmark-mode): New mode and commands.
14195 (eww-add-bookmark): Remove newlines from the title.
14196 (eww-bookmark-browse): Don't bug out if it's the only window.
14198 2013-06-26 Glenn Morris <rgm@gnu.org>
14200 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14201 (hfy-size): Handle ttys. (Bug#14668)
14203 * info-xref.el: Update for Texinfo 5 change in *note format.
14204 (info-xref-node-re, info-xref-note-re): New constants.
14205 (info-xref-check-buffer): Use info-xref-note-re.
14207 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14209 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14211 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14212 nil terminate the loop (bug#14718).
14214 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14216 * net/eww.el: Rework history traversal. When going forward/back,
14217 put these actions into the history, too, so that they can be
14219 (eww-render): Move the history reset to the correct buffer.
14221 2013-06-25 Juri Linkov <juri@jurta.org>
14223 * files-x.el (modify-dir-local-variable): Change the header comment
14224 in the file with directory local variables. (Bug#14692)
14226 * files-x.el (read-file-local-variable-value): Add `default'.
14229 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14231 * net/eww.el (eww-make-unique-file-name): Create a unique file
14232 name before saving to entering `y' accidentally asynchronously.
14234 2013-06-25 Ivan Kanis <ivan@kanis.fr>
14236 * net/eww.el (eww-download): New command and keystroke.
14238 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14240 * net/eww.el (eww-copy-page-url): Change name of command.
14242 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14243 be more consistent with Info and dired.
14245 * net/eww.el (eww-mode-map): Ditto.
14247 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14249 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
14250 packages from archives.
14251 (package-archive-contents): Change format; include obsolete packages.
14252 (package-desc): Use `dir' to mark builtin packages.
14253 (package--from-builtin): Set the `dir' field to `builtin'.
14254 (generated-autoload-file, version-control): Declare.
14255 (package-compute-transaction): Change first arg and return value to be
14256 lists of package-descs. Adjust to new package-archive-contents format.
14257 (package--add-to-archive-contents): Adjust to new
14258 package-archive-contents format.
14259 (package-download-transaction): Arg is now a list of package-descs.
14260 (package-install): If `pkg' is a package name, pass it as
14261 a requirement, so it is subject to the usual (e.g. disabled) checks.
14262 (describe-package): Accept package-desc as well.
14263 (describe-package-1): Describe a specific package-desc. Add links to
14264 other package-descs for the same package name.
14265 (package-menu-describe-package): Pass the actual package-desc.
14266 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14268 (package-desc-status): New function.
14269 (package-menu--refresh): New function, extracted
14270 from package-menu--generate.
14271 (package-menu--generate): Use it.
14272 (package-delete): Update package-alist.
14273 (package-menu-execute): Don't call package-initialize.
14275 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14276 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14277 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14278 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14279 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14280 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14282 2013-06-25 Martin Rudalics <rudalics@gmx.at>
14284 * window.el (window--state-get-1): Workaround for bug#14527.
14285 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14287 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14289 * net/eww.el (eww-back-url): Implement the history by stashing all
14290 the data into a list.
14291 (eww-forward-url): Allow going forward in the history, too.
14293 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14295 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14296 for values and use read--expression for expressions (bug#14710).
14297 (read-file-local-variable): Avoid setq.
14298 (read-file-local-variable-mode): Use minor-mode-list.
14300 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14302 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14305 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14307 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14308 Update imenu-support when dialect changes.
14310 2013-06-25 Leo Liu <sdl.web@gmail.com>
14312 * ido.el (ido-read-internal): Allow forward slash on windows.
14314 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14316 * net/eww.el (eww): Start of strings is \\`, not ^.
14318 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14320 * net/shr.el (shr-browse-url): Fix interactive spec.
14322 * net/eww.el (eww): Add a trailing slash to domain names.
14324 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14326 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14328 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14330 * net/shr.el (shr-browse-url): Use an external browser if given a
14333 * net/eww.el (eww-external-browser): Move to shr.
14335 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14337 * net/eww.el (eww): Work more correctly for file: URLs.
14338 (eww-detect-charset): Allow quoted charsets.
14339 (eww-yank-page-url): New command and keystroke.
14341 2013-06-24 Daiki Ueno <ueno@gnu.org>
14343 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14344 file name of gpg executable.
14345 (epg-context-program): New function.
14346 (epg-context-home-directory): New function.
14347 (epg-context-set-program): New function.
14348 (epg-context-set-home-directory): New function.
14349 (epg--start): Use `epg-context-program' instead of
14351 (epg--list-keys-1): Likewise.
14353 2013-06-24 Leo Liu <sdl.web@gmail.com>
14355 * ido.el (ido-read-internal): Fix bug#14620.
14357 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14359 * faces.el (face-documentation): Simplify.
14360 (read-face-attribute, tty-find-type, x-resolve-font-name):
14361 Use `string-match-p'.
14362 (list-faces-display): Use `string-match-p'. Simplify.
14363 (face-spec-recalc): Check face to avoid face alias loops.
14364 (read-color): Use `string-match-p' and non-capturing parenthesis.
14366 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14368 * net/shr.el (shr-rescale-image): Use the new
14369 :max-width/:max-height functionality.
14371 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14373 * net/eww.el (eww-search-prefix): New variable.
14375 (eww-external-browser): New variable.
14376 (eww-mode-map): New keystroke.
14377 (eww-browse-with-external-browser): New command.
14379 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14381 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14383 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14384 Don't skip aligning the next header field when padding is 0;
14385 otherwise, field width is not respected unless the title is as
14388 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14390 * emacs-lisp/package.el (package-el-version): Remove.
14391 (package-process-define-package): Fix inf-loop.
14392 (package-install): Allow symbols as arguments again.
14394 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14397 add some more keyword-like methods.
14398 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14400 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
14402 * bs.el (bs-buffer-show-mark): Make defvar-local.
14403 (bs-mode): Use setq-local.
14405 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14406 (emacs-lock--try-unlocking): Make defvar-local.
14408 2013-06-22 Glenn Morris <rgm@gnu.org>
14410 * play/cookie1.el (cookie-apropos): Minor simplification.
14412 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14414 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14416 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14417 `regexp-opt', it breaks the build during dumping.
14419 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
14421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14422 Highlight keyword-like methods on Kernel and Module with
14423 font-lock-builtin-face.
14424 (auto-mode-alist): Consolidate different entries into one regexp
14425 and add more *file-s.
14427 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
14429 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14431 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14432 (diary-entry): Use it in the action of this button type instead of
14435 * calendar/todo-mode.el: New version.
14436 (todo-add-category): Append new category to end of file and give
14437 it the highest number, instead of putting it at the beginning and
14438 giving it 0. Incorporate noninteractive functionality.
14439 (todo-forward-category): Adapt to 1-based category numbering.
14440 Allow skipping over archived categories.
14441 (todo-backward-category): Derive from todo-forward-category.
14442 (todo-backward-item, todo-forward-item): Make noninteractive and
14443 delegate interactive part to new commands. Make sensitive to done items.
14444 (todo-categories): Make value an alist of category names and
14445 vectors of item counts.
14446 (todo-category-beg): Make a defconst.
14447 (todo-category-number): Use 1 instead of 0 as initial value.
14448 (todo-category-select): Make sensitive to overlays, optional item
14449 highlighting and done items.
14450 (todo-delete-item): Make sensitive to overlays and marked and done items.
14451 (todo-edit-item): Make sensitive to overlays and editing of
14452 date/time header optional. Add format checks.
14453 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
14454 no-op if point is not on an item. Advertise using todo-edit-quit.
14455 (todo-edit-mode): Make sensitive to new format, font-locking, and
14456 multiple todo files.
14457 (todo-insert-item, todo-insert-item-here): Derive from
14458 todo-basic-insert-item and extend functionality.
14459 (todo-item-end, todo-item-start): Make sensitive to done items.
14460 (todo-item-string): Don't return text properties. Restore point.
14461 (todo-jump-to-category): Make sensitive to multiple todo files and
14462 todo archives. Use extended category completion.
14463 (todo-lower-item, todo-raise-item): Rename to *-priority and
14464 derive from todo-set-item-priority.
14465 (todo-mode): Derive from special-mode. Make sensitive to new
14466 format, font-locking and multiple todo files. Make read-only.
14467 (todo-mode-map): Don't suppress digit keys, so they can supply
14468 prefix arguments. Add many new key bindings.
14469 (todo-prefix): Insert as an overlay instead of file text.
14470 Change semantics from diary date expression to purely visual mark.
14471 (todo-print): Rename to todo-print-buffer. Make buffer display
14472 features printable. Remove option to restrict number of items
14473 printed. Add option to print to file.
14474 (todo-print-function): Rename to todo-print-buffer-function.
14475 (todo-quit): Extend to handle exiting new todo modes.
14476 (todo-remove-item): Make sensitive to overlays.
14477 (todo-save): Extend to buffers of filtered items.
14478 (todo-show): Make sensitive to done items, multiple todo files and
14479 new todo modes. Offer to convert legacy todo file before creating
14480 first new todo file.
14481 (todo-show-priorities): Rename to todo-top-priorities.
14482 Change semantics of value 0.
14483 (todo-top-priorities): Rename to todo-filter-top-priorities,
14484 derive from todo-filter-items and extend functionality.
14485 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14486 and extend functionality to other types of filtered items.
14487 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14488 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14489 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14490 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14491 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14492 (todo-edit-mode-hook, todo-entry-prefix-function)
14493 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14494 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14495 (todo-initials, todo-insert-threshold, todo-item-string-start)
14496 (todo-line-string, todo-menu, todo-mode-hook)
14497 (todo-more-important-p, todo-previous-answer, todo-previous-line)
14498 (todo-print-priorities, todo-remove-separator)
14499 (todo-save-top-priorities-too, todo-string-count-lines)
14500 (todo-string-multiline-p, todo-time-string-format)
14501 (todo-tmp-buffer-name): Remove.
14502 (todo-add-file, todo-archive-done-item, todo-choose-archive)
14503 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14504 (todo-edit-category-diary-inclusion)
14505 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14506 (todo-edit-file, todo-edit-item-date-day)
14507 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14508 (todo-edit-item-date-month, todo-edit-item-date-to-today)
14509 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14510 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14511 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14512 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14513 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14514 (todo-filter-top-priorities-multifile, todo-find-archive)
14515 (todo-find-filtered-items-file, todo-go-to-source-item)
14516 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14517 (todo-jump-to-archive-category, todo-lower-category)
14518 (todo-mark-category, todo-marked-item-p, todo-merge-category)
14519 (todo-move-category, todo-move-item, todo-next-button)
14520 (todo-next-item, todo-padded-string, todo-powerset)
14521 (todo-previous-button, todo-previous-item)
14522 (todo-print-buffer-to-file, todo-raise-category)
14523 (todo-rename-category, todo-repair-categories-sexp, todo-search)
14524 (todo-set-category-number, todo-set-item-priority)
14525 (todo-set-top-priorities-in-category)
14526 (todo-set-top-priorities-in-file, todo-show-categories-table)
14527 (todo-sort-categories-alphabetically-or-numerically)
14528 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14529 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14530 (todo-toggle-item-header, todo-toggle-item-highlighting)
14531 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14532 (todo-toggle-view-done-items, todo-toggle-view-done-only)
14533 (todo-unarchive-items, todo-unmark-category): New commands.
14534 (todo-absolute-file-name, todo-add-to-buffer-list)
14535 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14536 (todo-basic-insert-item, todo-category-completions)
14537 (todo-category-number, todo-category-string-matcher-1)
14538 (todo-category-string-matcher-2, todo-check-filtered-items-file)
14539 (todo-check-format, todo-clear-matches)
14540 (todo-comment-string-matcher, todo-convert-legacy-date-time)
14541 (todo-current-category, todo-date-string-matcher)
14542 (todo-define-insertion-command, todo-diary-expired-matcher)
14543 (todo-diary-goto-entry, todo-diary-item-p)
14544 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14545 (todo-display-categories, todo-display-sorted, todo-done-item-p)
14546 (todo-done-item-section-p, todo-done-separator)
14547 (todo-done-string-matcher, todo-files, todo-filter-items)
14548 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14549 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14550 (todo-insert-category-line, todo-insert-item-from-calendar)
14551 (todo-insert-sort-button, todo-insert-with-overlays)
14552 (todo-insertion-command-name, todo-insertion-key-bindings)
14553 (todo-label-to-key, todo-longest-category-name-length)
14554 (todo-make-categories-list, todo-mode-external-set)
14555 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14556 (todo-modes-set-3, todo-multiple-filter-files)
14557 (todo-nondiary-marker-matcher, todo-prefix-overlays)
14558 (todo-read-category, todo-read-date, todo-read-dayname)
14559 (todo-read-file-name, todo-read-time)
14560 (todo-reevaluate-category-completions-files-defcustom)
14561 (todo-reevaluate-default-file-defcustom)
14562 (todo-reevaluate-filelist-defcustoms)
14563 (todo-reevaluate-filter-files-defcustom)
14564 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14565 (todo-reset-done-separator, todo-reset-done-separator-string)
14566 (todo-reset-done-string, todo-reset-global-current-todo-file)
14567 (todo-reset-highlight-item, todo-reset-nondiary-marker)
14568 (todo-reset-prefix, todo-set-categories)
14569 (todo-set-date-from-calendar, todo-set-show-current-file)
14570 (todo-set-top-priorities, todo-short-file-name)
14571 (todo-show-current-file, todo-sort, todo-time-string-matcher)
14572 (todo-total-item-counts, todo-update-buffer-list)
14573 (todo-update-categories-display, todo-update-categories-sexp)
14574 (todo-update-count, todo-validate-name, todo-y-or-n-p):
14576 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14578 (todo-categories, todo-display, todo-edit, todo-faces)
14579 (todo-filtered): New defgroups.
14580 (todo-archived-only, todo-button, todo-category-string, todo-date)
14581 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14582 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14583 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14584 (todo-add-item-if-new-category, todo-always-add-time-string)
14585 (todo-categories-align, todo-categories-archived-label)
14586 (todo-categories-category-label, todo-categories-diary-label)
14587 (todo-categories-done-label, todo-categories-number-separator)
14588 (todo-categories-todo-label, todo-categories-totals-label)
14589 (todo-category-completions-files, todo-completion-ignore-case)
14590 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14591 (todo-done-separator-string, todo-done-string)
14592 (todo-files-function, todo-filter-done-items, todo-filter-files)
14593 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14594 (todo-initial-category, todo-initial-file, todo-item-mark)
14595 (todo-legacy-date-time-regexp, todo-mode-line-function)
14596 (todo-nondiary-marker, todo-number-prefix)
14597 (todo-print-buffer-function, todo-show-current-file)
14598 (todo-show-done-only, todo-show-first, todo-show-with-done)
14599 (todo-skip-archived-categories, todo-top-priorities-overrides)
14600 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14601 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14603 (todo-category-done, todo-date-pattern, todo-date-string-start)
14604 (todo-diary-items-buffer, todo-done-string-start)
14605 (todo-filtered-items-buffer, todo-item-start)
14606 (todo-month-abbrev-array, todo-month-name-array)
14607 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14608 (todo-top-priorities-buffer): New defconsts.
14609 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14610 (todo-categories-with-marks, todo-category-string-face)
14611 (todo-comment-face, todo-comment-string, todo-current-todo-file)
14612 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14613 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14614 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14615 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14616 (todo-font-lock-keywords, todo-global-current-todo-file)
14617 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14618 (todo-insertion-commands-args)
14619 (todo-insertion-commands-args-genlist)
14620 (todo-insertion-commands-names, todo-insertion-map)
14621 (todo-key-bindings-t, todo-key-bindings-t+a)
14622 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14623 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14624 (todo-nondiary-face, todo-print-buffer, todo-time-face)
14625 (todo-visited): New variables.
14627 2013-06-21 Glenn Morris <rgm@gnu.org>
14629 * play/cookie1.el (cookie-apropos): Add optional display argument.
14630 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14631 (psychoanalyze-pinhead): Use cookie-doctor.
14633 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14635 * emacs-lisp/package.el (tar-get-file-descriptor)
14636 (tar--extract): Declare.
14638 2013-06-21 Eduard Wiebe <usenet@pusto.de>
14640 Extend flymake's warning predicate to be a function (bug#14217).
14641 * progmodes/flymake.el (flymake-warning-predicate): New.
14642 (flymake-parse-line): Use it.
14643 (flymake-warning-re): Make obsolete alias to
14644 `flymake-warning-predicate'.
14646 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14648 * emacs-lisp/package.el (package-alist): Include obsolete packages.
14649 (package-obsolete-list): Remove.
14650 (package-activate): Remove min-version argument. Add `force' argument.
14651 Adjust to new package-alist format.
14652 (package-mark-obsolete): Remove.
14653 (package-unpack): Force reload of the package's autoloads.
14654 (package-installed-p): Check builtins if the installed package is not
14656 (package-initialize): Don't reset package-obsolete-list.
14657 Don't specify which package version to activate.
14658 (package-process-define-package, describe-package-1)
14659 (package-menu--generate): Adjust to new package-alist format.
14661 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14663 * allout-widgets.el (allout-widgets-mode-off)
14664 (allout-widgets-mode-on, allout-widgets-pre-command-business)
14665 (allout-widgets-post-command-business)
14666 (allout-widgets-after-copy-or-kill-function)
14667 (allout-widgets-after-undo-function, allout-test-range-overlaps)
14668 (allout-decorate-item-and-context)
14669 (allout-graphics-modification-handler): Fix typos in docstrings.
14670 (allout-get-or-create-parent-widget): Use `looking-at-p'.
14672 * cmuscheme.el (scheme-start-file): Doc fix.
14673 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14674 (scheme-input-filter): Use `string-match-p'.
14676 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14678 * dired-x.el: Use Dired consistently in docstrings.
14680 * dired.el: Use Dired consistently in docstrings.
14681 (dired-readin, dired-mode): Use `setq-local'.
14682 (dired-switches-alist): Make defvar-local.
14683 (dired-buffers-for-dir): Use `zerop'.
14684 (dired-safe-switches-p, dired-switches-escape-p)
14685 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14686 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14687 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14688 (dired-goto-next-nontrivial-file): Use `string-match-p'.
14689 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14690 (dired-toggle-marks, dired-mark-files-containing-regexp)
14691 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14692 (dired-flag-auto-save-files, dired-flag-backup-files):
14693 Use `looking-at-p'.
14694 (dired-mark-files-regexp, dired-build-subdir-alist):
14695 Use `string-match-p', `looking-at-p'.
14697 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14698 (direct-print-region-helper): Use `string-match-p'.
14700 2013-06-21 Leo Liu <sdl.web@gmail.com>
14702 * comint.el (comint-redirect-results-list-from-process):
14705 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14707 * net/eww.el (eww-update-header-line-format): Quote % characters.
14709 2013-06-21 Glenn Morris <rgm@gnu.org>
14711 * play/cookie1.el (cookie): New custom group.
14712 (cookie-file): New option.
14713 (cookie-check-file): New function.
14714 (cookie): Make it interactive. Make start and end messages optional.
14715 Interactively, display the result. Default to cookie-file.
14716 (cookie-insert): Default to cookie-file.
14717 (cookie-snarf): Make start and end messages optional.
14718 Default to cookie-file. Use with-temp-buffer.
14719 (cookie-read): Rename from read-cookie.
14720 Make start and end messages optional. Default to cookie-file.
14721 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
14722 Do not autoload it.
14723 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14724 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14726 2013-06-21 Leo Liu <sdl.web@gmail.com>
14728 * progmodes/octave.el (octave-mode): Backward compatibility fix.
14730 2013-06-21 Glenn Morris <rgm@gnu.org>
14732 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14734 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14735 Daniel Hackney <dan@haxney.org>
14737 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14738 Consolidate the single-file vs tarball code.
14739 (package-desc-suffix): New function.
14740 (package-desc-full-name): Don't bother inlining it.
14741 (package-load-descriptor): Return the new package-desc.
14742 (package-mark-obsolete): Remove unused arg `package'.
14743 (package-unpack): Make it work for single files as well.
14744 Make it update package-alist.
14745 (package--make-autoloads-and-stuff): Rename from
14746 package--make-autoloads-and-compile. Don't compile any more.
14747 (package--compile): New function.
14748 (package-generate-description-file): New function, extracted from
14749 package-unpack-single.
14750 (package-unpack-single): Remove.
14751 (package--with-work-buffer): Add indentation and debugging info.
14752 (package-download-single): Remove.
14753 (package-install-from-archive): Rename from package-download-tar, make
14754 it take a pkg-desc, and make it work for single files as well.
14755 (package-download-transaction): Simplify.
14756 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
14757 external tar program.
14758 (package-install-from-buffer): Remove `pkg-desc' argument.
14759 Use package-tar-file-info for tar-mode buffers.
14760 (package-install-file): Simplify accordingly.
14761 (package-archive-base): Change to take a pkg-desc.
14762 * tar-mode.el (tar--check-descriptor): New function, extracted from
14763 tar-get-descriptor.
14764 (tar-get-descriptor): Use it.
14765 (tar-get-file-descriptor): New function.
14766 (tar--extract): New function, extracted from tar-extract.
14767 (tar--extract): Use it.
14768 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14769 case the summary uses non-ascii. Adjust to new calling convention of
14770 package-tar-file-info.
14772 2013-06-21 Leo Liu <sdl.web@gmail.com>
14774 * comint.el (comint-redirect-results-list-from-process):
14775 Fix random delay. (Bug#14681)
14777 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14779 * profiler.el (profiler-format-number): Use log, not log10.
14781 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14783 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14785 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14787 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14788 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14790 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14791 (AUTOGENEL): ... here.
14792 * emacs-lisp/cl-macs.el (cl--sublis): New function.
14793 (cl--defsubst-expand): Use it.
14795 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
14797 * subr.el (log10): Move here from C code, and declare as obsolete.
14798 All uses of (log10 X) replaced with (log X 10).
14800 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14802 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14803 Declare with `defvar-local'.
14804 (tabulated-list-use-header-line, tabulated-list-entries)
14805 (tabulated-list-padding, tabulated-list-printer)
14806 (tabulated-list-sort-key): Declare with `defvar-local'.
14807 (tabulated-list-init-header, tabulated-list-print-fake-header):
14810 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
14812 * arc-mode.el (archive-mode): Add `archive-write-file' to
14813 `write-contents-functions' also for remote files. (Bug#14652)
14815 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
14817 * cus-edit.el (custom-commands): Fix typos.
14818 (custom-display): Fix tooltip text.
14819 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14820 Fix typos in docstrings.
14821 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14822 (custom-unlispify-menu-entry, custom-magic-value-create)
14823 (custom-add-see-also, custom-group-value-create): Use ?\s.
14824 (custom-guess-type, customize-apropos, editable-field)
14825 (custom-face-value-create): Use `string-match-p'.
14826 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14828 * custom.el (custom-load-symbol): Use `string-match-p'.
14830 * ansi-color.el: Convert to lexical binding.
14831 (ansi-colors): Fix URL.
14832 (ansi-color-context, ansi-color-context-region): Use defvar-local.
14833 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14834 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14836 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14838 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14840 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14842 2013-06-19 Tom Tromey <tromey@redhat.com>
14844 * net/eww.el (eww-top-url): Remove.
14845 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14846 (eww-render): Set new variables. Don't set eww-top-url.
14847 (eww-handle-link): Handle "prev", "home", and "contents".
14848 Downcase the rel text.
14849 (eww-top-url): Choose best top URL.
14851 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14853 * net/eww.el: Rewrite to implement form elements "by hand" instead of
14854 relying in widget.el. Using widget.el leads to too many
14855 user interface inconsistencies.
14856 (eww-self-insert): Implement entering commands in text fields.
14857 (eww-process-text-input): New function to make text input field editing
14859 (eww-submit): Rewrite to use the new-style form methods.
14860 (eww-select-display): Display the correct selected item.
14861 (eww-change-select): Implement changing the select value.
14862 (eww-toggle-checkbox): Implement radio/checkboxes.
14863 (eww-update-field): Fix compilation error.
14864 (eww-tag-textarea): Implement <textarea>.
14866 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14867 we don't shadow mode-specific bindings.
14869 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14872 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14874 2013-06-19 Glenn Morris <rgm@gnu.org>
14876 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14878 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
14880 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14883 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14885 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14887 * net/browse-url.el (browse-url-browser-function):
14888 `eww-browse-url' has the right calling signature, `eww' does not.
14890 2013-06-19 Glenn Morris <rgm@gnu.org>
14892 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14893 Only eval autoloaded macros.
14894 (byte-compile-autoload): Only give the macro warning for macros.
14896 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14897 (ps-underlined-faces): Declare.
14899 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14900 (speedbar-add-supported-extension): Declare.
14902 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14903 Don't include a date stamp in the header of the generated file;
14904 it leads to needless differences between output files.
14906 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
14908 * net/secrets.el (secrets-struct-secret-content-type):
14909 Replace check of introspection data by a test call of "CreateItem".
14910 Some servers do not offer introspection.
14912 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
14914 * electric.el (electric-pair-mode): Improve interaction with
14915 electric-layout-mode.
14916 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14917 (electric-pair-syntax): Use text-mode-syntax-table in comments
14919 (electric-pair--insert): New function.
14920 (electric-pair-post-self-insert-function): Use it and
14921 electric--after-char-pos.
14923 2013-06-19 Leo Liu <sdl.web@gmail.com>
14925 * progmodes/octave.el (octave-help): Fix regexp.
14927 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14929 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14930 (shr-table-horizontal-line): Allow nil as a value, and change the
14932 (shr-insert-table-ruler): Respect the nil value.
14934 2013-06-18 Tom Tromey <tromey@barimba>
14936 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14938 (eww-open-file): New defun.
14939 (eww-render): Initialize new variables.
14940 (eww-display-html): Handle "link" and "a".
14941 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14942 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
14943 (eww-back-url): Rename from eww-previous-url.
14944 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14947 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
14949 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14950 Distinguish ternary operator tokens from slash symbol and slash
14953 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
14955 Convert symbol prettification into minor mode and global minor mode.
14957 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14958 `prog-prettify-symbols', and make a local defvar instead of defcustom.
14959 (prettify-symbols--keywords): Rename from
14960 `prog-prettify-symbols-alist' and make a local defvar.
14961 (prettify-symbols--compose-symbol): Rename from
14962 `prog--prettify-font-lock-compose-symbol'.
14963 (prettify-symbols--make-keywords): Rename from
14964 `prog-prettify-font-lock-symbols-keywords' and simplify.
14965 (prog-prettify-install): Remove.
14966 (prettify-symbols-mode): New minor mode, based on
14967 `prog-prettify-install'.
14968 (turn-on-prettify-symbols-mode): New function.
14969 (global-prettify-symbols-mode): New globalized minor mode.
14971 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14972 * progmodes/cfengine.el (cfengine3-mode):
14973 * progmodes/perl-mode.el (perl-mode): Don't call
14974 `prog-prettify-install'; set `prettify-symbols-alist' instead.
14976 2013-06-18 Juri Linkov <juri@jurta.org>
14978 * files-x.el (modify-file-local-variable-message): New function.
14979 (modify-file-local-variable)
14980 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14981 and call `modify-file-local-variable-message' when it's non-nil.
14982 (add-file-local-variable, delete-file-local-variable)
14983 (add-file-local-variable-prop-line)
14984 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14985 and use it. (Bug#9820)
14987 2013-06-18 Juri Linkov <juri@jurta.org>
14989 * emulation/vi.el (vi-shell-op):
14990 * emulation/vip.el (vip-execute-com, ex-command):
14991 * emulation/viper-cmd.el (viper-exec-bang):
14992 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14993 the call of `shell-command-on-region'. (Bug#14637)
14995 * simple.el (shell-command-on-region): Doc fix.
14997 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14999 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15002 2013-06-18 Glenn Morris <rgm@gnu.org>
15004 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15006 * newcomment.el (comment-search-forward, comment-search-backward):
15007 Doc fix. (Bug#14376)
15009 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15011 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15012 (buffer-face-mode-invoke): Doc fix.
15014 2013-06-18 Matthias Meulien <orontee@gmail.com>
15016 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15017 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15019 2013-06-18 Glenn Morris <rgm@gnu.org>
15021 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15022 Replace obsolete function generic-make-keywords with its expansion.
15024 * progmodes/python.el (ffap-alist): Declare.
15026 * textmodes/reftex.el (bibtex-mode-map): Declare.
15028 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15030 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15031 (package-unpack, package-unpack-single): Return the pkg-dir.
15032 (package-download-transaction): Use it to update package-alist.
15034 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15036 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15039 2013-06-17 Juri Linkov <juri@jurta.org>
15041 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15043 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15045 * emacs-lisp/package.el (package-load-descriptor):
15046 Remove `with-syntax-table' call, `read' doesn't need it.
15047 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15049 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15051 * startup.el (command-line): Expand package name returned by
15052 `package--description-file' (bug#14639).
15054 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15056 * emacs-lisp/package.el (package-load-descriptor): Do not call
15057 `emacs-lisp-mode', just use its syntax table.
15059 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15061 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15062 `font-lock-extra-managed-props' if any prettifying keyword is added.
15063 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15064 (prog-mode): Use `setq-local'.
15066 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15068 * international/characters.el (standard-case-table): Set syntax of ?»
15069 and ?« to punctuation.
15071 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15073 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15074 Save relevant match data before calling `syntax-ppss' (bug#14595).
15076 2013-06-15 Juri Linkov <juri@jurta.org>
15078 * files-x.el (modify-file-local-variable-prop-line): Add local
15079 variables to the end of the existing comment on the first line.
15080 Use `file-auto-mode-skip' to skip interpreter magic line,
15081 and also skip XML declaration.
15083 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15085 * startup.el (package--builtin-versions): New var.
15086 (package-subdirectory-regexp): Remove.
15087 (package--description-file): Hard code its value instead.
15089 * emacs-lisp/package.el: Don't activate packages older than builtin.
15090 (package-obsolete-list): Rename from package-obsolete-alist, and make
15091 it into a simple list of package-desc.
15092 (package-strip-version): Remove.
15093 (package-built-in-p): Use package--builtin-versions.
15094 (package-mark-obsolete): Simplify.
15095 (package-process-define-package): Mark it obsolete if older than the
15097 (package-handle-response): Use line-end-position.
15098 (package-read-archive-contents, package--download-one-archive):
15100 (package--add-to-archive-contents): Skip if older than the builtin or
15102 (package-menu-describe-package): Fix last change.
15103 (package-list-unversioned): New var.
15104 (package-menu--generate): Use it.
15106 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15107 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15108 (autoload-builtin-package-versions): New variable.
15109 (autoload-generate-file-autoloads): Use them.
15110 Remove the list of autoloaded functions/macros from the
15111 (autoload...) comments.
15113 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15115 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15117 * simple.el (line-move-partial): Don't jump to the next screen
15118 line as soon as it becomes visible. Instead, continue enlarging
15119 the vscroll until the portion of a tall screen line that's left on
15120 display is about the height of the frame's default font.
15123 2013-06-15 Glenn Morris <rgm@gnu.org>
15125 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15126 compilation-error-regexp-alist void, or local while let-bound.
15128 * progmodes/make-mode.el (makefile-mode-syntax-table):
15129 Treat "=" as punctuation. (Bug#14614)
15131 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15133 * help-fns.el (describe-variable):
15134 Add extra line for permanent-local variables.
15136 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15138 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15139 Add export, import, library. (Bug#9164)
15140 (library): Set indent function.
15142 2013-06-14 Glenn Morris <rgm@gnu.org>
15144 * term/xterm.el (xterm--query):
15145 Stop after first matching handler. (Bug#14615)
15147 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15149 Add support for dired in saveplace.
15150 * dired.el (dired-initial-position-hook): New variable.
15151 (dired-initial-position): Call hook to place cursor position.
15152 * saveplace.el (save-place-to-alist): Add dired position.
15153 (save-place-dired-hook): New function.
15155 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15157 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15158 through a symbol rather than letrec.
15160 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15161 (package-desc): Add `dir' field.
15162 (package-desc-full-name): New function.
15163 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15164 (package-maybe-load-descriptor): Remove.
15165 (package-load-all-descriptors): Just call package-load-descriptor.
15166 (package--disabled-p): New function.
15167 (package-desc-vers, package-desc-doc): Remove aliases.
15168 (package--dir): Remove function.
15169 (package-activate): Check if a package is disabled.
15170 (package-process-define-package): New function, extracted from
15172 (define-package): Turn into a place holder.
15173 (package-unpack-single, package-tar-file-info):
15174 Use package--description-file.
15175 (package-compute-transaction): Use package--disabled-p.
15176 (package-download-transaction): Don't call
15177 package-maybe-load-descriptor since they're all loaded anyway.
15178 (package-install): Change argument to be a pkg-desc.
15179 (package-delete): Use a single pkg-desc argument.
15180 (describe-package-1): Use package-desc-dir instead of package--dir.
15181 Use package-desc property instead of package-symbol.
15182 (package-install-button-action): Adjust accordingly.
15183 (package--push): Rewrite.
15184 (package-menu--print-info): Adjust accordingly. Change the ID format
15186 (package-menu-describe-package, package-menu-get-status)
15187 (package-menu--find-upgrades, package-menu-mark-upgrades)
15188 (package-menu-execute, package-menu--name-predicate):
15189 Adjust accordingly.
15190 * startup.el (package--description-file): New function.
15191 (command-line): Use it.
15192 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15193 Use package-desc-version.
15195 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15196 (byte-compile-preprocess): Use it.
15197 (byte-compile-file-form-defalias): Try a bit harder to use macros we
15198 can't quite recognize.
15199 (byte-compile-add-to-list): Remove.
15200 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15201 (cconv-closure-convert): Add assertion.
15203 * emacs-lisp/map-ynp.el: Use lexical-binding.
15204 (map-y-or-n-p): Remove unused vars `tail' and `object'.
15205 Factor out some repeated code.
15207 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15209 * subr.el (with-eval-after-load): New macro.
15210 (eval-after-load): Allow form to be a function.
15211 take advantage of lexical-binding.
15212 (do-after-load-evaluation): Use dolist and adjust to new format.
15213 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15215 2013-06-13 Juri Linkov <juri@jurta.org>
15217 * replace.el (perform-replace): Display "symbol " and other search
15218 modes from `isearch-message-prefix' in the *Help* buffer.
15220 * isearch.el (isearch-query-replace): Add " symbol" and other
15221 possible search modes from `isearch-message-prefix' to the prompt.
15222 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15223 when reading a regexp to collect.
15225 2013-06-13 Juri Linkov <juri@jurta.org>
15227 * isearch.el (word-search-regexp): Match whitespace if the search
15228 string begins or ends in whitespace. The LAX arg is applied to
15229 both ends of the search string. Use `regexp-quote' and explicit
15230 \< and \> instead of \b. Use \` and \' instead of ^ and $.
15231 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15232 boundaries are replaced with symbol boundaries, and characters
15233 between symbols match non-word non-symbol syntax. (Bug#14602)
15235 2013-06-13 Juri Linkov <juri@jurta.org>
15237 * isearch.el (isearch-del-char): Don't exceed the length of
15238 `isearch-string' by the prefix arg. (Bug#14563)
15240 2013-06-13 Juri Linkov <juri@jurta.org>
15242 * isearch.el (isearch-yank-word, isearch-yank-line)
15243 (isearch-char-by-name, isearch-quote-char)
15244 (isearch-printing-char, isearch-process-search-char):
15245 Add optional count prefix arg. (Bug#14563)
15247 * international/isearch-x.el
15248 (isearch-process-search-multibyte-characters):
15249 Add optional count prefix arg.
15251 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15253 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15254 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15257 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
15259 * subr.el (set-temporary-overlay-map): Add on-exit argument.
15261 2013-06-13 Glenn Morris <rgm@gnu.org>
15263 * startup.el (tty-handle-args):
15264 Don't just discard "--" and anything after. (Bug#14608)
15266 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15268 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
15270 Implement changes in Secret Service API. Make it backward compatible.
15271 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15272 (secrets-create-item): Use it. Prefix properties with interface.
15274 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
15276 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
15277 (term-emulate-terminal): Respect term-suppress-hard-newline.
15279 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
15281 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15282 Only remove a `thumb-file' overlay. (Bug#14548)
15284 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
15286 * mail/reporter.el (reporter-submit-bug-report):
15287 Handle missing package-name. (Bug#14600)
15289 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15291 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15292 (reftex-citation-prompt, reftex-default-bibliography)
15293 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15294 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15295 (reftex-bib-sort-author, reftex-bib-sort-year)
15296 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15297 (reftex-extract-bib-entries-from-thebibliography)
15298 (reftex-get-bibkey-default, reftex-get-bib-names)
15299 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15300 (reftex-format-bib-entry, reftex-parse-bibitem)
15301 (reftex-format-bibitem, reftex-do-citation)
15302 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15303 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15304 (reftex-insert-bib-matches, reftex-format-citation)
15305 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15306 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15307 existing comments into docstrings.
15309 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15311 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15313 2013-06-12 Andreas Schwab <schwab@suse.de>
15315 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15316 for auto-save files.
15318 2013-06-12 Glenn Morris <rgm@gnu.org>
15320 * ido.el (ido-delete-ignored-files): Remove.
15321 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15322 Go back to calling ido-ignore-item-p directly.
15324 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15326 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15328 * ido.el (ido-delete-ignored-files): New function,
15329 split from ido-make-file-list-1.
15330 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15331 (ido-make-file-list-1): Use ido-delete-ignored-files.
15333 2013-06-12 Leo Liu <sdl.web@gmail.com>
15335 * progmodes/octave.el (inferior-octave-startup)
15336 (inferior-octave-completion-table)
15337 (inferior-octave-track-window-width-change)
15338 (octave-eldoc-function-signatures, octave-help)
15339 (octave-find-definition): Use single quoted strings.
15340 (inferior-octave-startup-args): Change default value.
15341 (inferior-octave-startup): Do not hard code "-i" and
15342 "--no-line-editing".
15343 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15344 (inferior-octave-directory-tracker): Use it.
15345 (octave-goto-function-definition): Robustify.
15346 (octave-help): Support highlighting operators in 'See also'.
15347 (octave-find-definition): Find subfunctions only in Octave mode.
15349 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15351 * help-fns.el (help-fns--compiler-macro): If the handler function is
15352 named, then put a link to it.
15353 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15354 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15355 (cl-typep): Use it.
15356 (cl-eval-when): Simplify debug spec.
15357 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15358 compiler-macro function instead of setting `compiler-macro-file'.
15360 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15362 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15363 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15365 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15366 Daniel Hackney <dan@haxney.org>
15368 First part of Daniel Hackney's patch to package.el.
15369 * emacs-lisp/package.el: Use defstruct.
15370 (package-desc): New, main struct.
15371 (package--bi-desc, package--ac-desc): New structs, used to describe the
15372 format in external files.
15373 (package-desc-vers): Replace with package-desc-version accessor.
15374 (package-desc-doc): Replace with package-desc-summary accessor.
15375 (package-activate-1): Remove `package' arg since the pkg-vec now
15377 (define-package): Use package-desc-from-define.
15378 (package-unpack-single): Change file-name arg to be a symbol.
15379 (package--add-to-archive-contents): Use package-desc-create and new
15380 accessor functions to package--ac-desc.
15381 (package-buffer-info, package-tar-file-info): Return a package-desc.
15382 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15383 arg to be a package-desc.
15384 (package-install-file): Adjust accordingly. Use \' to match EOS.
15385 (package--from-builtin): New function.
15386 (describe-package-1, package-menu--generate): Use it.
15387 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15388 (package-generate-autoloads): Idem and return the name of the file.
15389 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15390 Change pkg-info arg to be a package-desc.
15391 Use package-make-ac-desc.
15392 (package-upload-file): Use \' to match EOS.
15393 * finder.el (finder-compile-keywords): Use package-make-builtin.
15395 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * vc/vc.el (vc-deduce-fileset): Change error message.
15398 (vc-read-backend): New function.
15399 (vc-next-action): Use it.
15401 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15403 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15404 (prolog-font-lock-keywords): Use regexp-opt instead.
15405 Don't manually highlight strings.
15406 (prolog-mode-variables): Simplify comment-start-skip.
15407 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
15409 * emacs-lisp/generic.el (generic--normalise-comments)
15410 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15411 (generic-mode-set-comments): Use them.
15412 (generic-bracket-support): Use setq-local.
15413 (generic-make-keywords-list): Declare obsolete.
15415 2013-06-11 Glenn Morris <rgm@gnu.org>
15417 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15418 Prettify after setting font-lock-defaults. (Bug#14574)
15420 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
15422 * replace.el (query-replace, occur-read-regexp-defaults-function)
15424 * subr.el (declare-function, number-sequence, local-set-key)
15425 (substitute-key-definition, locate-user-emacs-file)
15426 (with-silent-modifications, split-string, eval-after-load):
15427 Fix typos, remove unneeded backslashes and reflow some docstrings.
15429 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15431 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15432 default for Elisp files.
15434 2013-06-11 Glenn Morris <rgm@gnu.org>
15436 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15437 although define-derived-mode was doing this anyway. (Bug#14583)
15439 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
15441 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15442 Fix make-variable-buffer-local call to refer to the correct variable.
15444 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
15446 * eshell/em-term.el (eshell-visual-commands)
15447 (eshell-visual-subcommands, eshell-visual-options):
15448 Add summary line to docstrings. Add cross-references.
15450 2013-06-10 Glenn Morris <rgm@gnu.org>
15452 * epa.el (epa-read-file-name): New function. (Bug#14510)
15453 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
15455 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15457 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15458 output redirection to be ignored with visual commands.
15460 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15462 * eshell/em-term.el (eshell-visual-command-p): New function.
15463 (eshell-term-initialize): Move long lambda to separate function
15464 eshell-visual-command-p.
15465 * eshell/em-dirs.el (eshell-dirs-initialize):
15466 * eshell/em-script.el (eshell-script-initialize):
15467 Add missing #' to lambda.
15469 2013-06-08 Leo Liu <sdl.web@gmail.com>
15471 * progmodes/octave.el (octave-add-log-current-defun): New function.
15472 (octave-mode): Set add-log-current-defun-function.
15473 (octave-goto-function-definition): Do not move point if not found.
15474 (octave-find-definition): Enhance to try subfunctions first.
15476 2013-06-08 Glenn Morris <rgm@gnu.org>
15478 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15479 (byte-compile-backward-char, byte-compile-backward-word):
15480 Improve previous change, to handle non-explicit nil.
15482 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
15484 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15485 (smie--opener/closer-at-point): New function.
15486 (smie--matching-block-data): Use it. Don't match from right after an
15487 opener or right before a closer. Obey smie-blink-matching-inners.
15488 Don't signal a mismatch for repeated inners like "switch..case..case".
15490 2013-06-07 Leo Liu <sdl.web@gmail.com>
15492 * progmodes/octave.el (octave-mode): Set comment-use-global-state
15494 (octave-function-header-regexp): Fix. (Bug#14570)
15495 (octave-help-mode-finish-hook, octave-help-mode-finish):
15496 Remove. Just use temp-buffer-show-hook.
15498 * newcomment.el (comment-search-backward): Revert last change.
15501 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15503 2013-06-07 Eli Zaretskii <eliz@gnu.org>
15505 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15506 through xargs, to avoid failure due to MS-Windows limitations on
15507 command-line length.
15509 2013-06-06 Glenn Morris <rgm@gnu.org>
15511 * font-lock.el (lisp-font-lock-keywords-2):
15512 Treat user-error like error.
15514 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15515 (byte-compile-backward-char, byte-compile-backward-word):
15516 Handle explicit nil arguments. (Bug#14565)
15518 2013-06-05 Alan Mackenzie <acm@muc.de>
15520 * isearch.el (isearch-allow-prefix): New user option.
15521 (isearch-other-meta-char): Don't exit isearch when a prefix
15522 argument is typed whilst `isearch-allow-prefix' is non-nil.
15525 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15527 * autorevert.el (auto-revert-notify-handler): Use memq.
15528 Hide assertion failure.
15530 * skeleton.el: Use cl-lib.
15531 (skeleton-further-elements): Use defvar-local.
15532 (skeleton-insert): Use cl-progv.
15534 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15536 * progmodes/prog-mode.el (prog-prettify-symbols)
15537 (prog-prettify-install): Update docstrings.
15539 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15541 * simple.el: Move all the prog-mode code to prog-mode.el.
15542 * progmodes/prog-mode.el: New file.
15543 * loadup.el: Add prog-mode.el.
15545 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15547 * simple.el (prog-prettify-symbols): Add version.
15548 (prog-prettify-install): Add convenience function to prettify symbols.
15550 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15551 (perl--augmented-font-lock-keywords-1)
15552 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15553 variables and use it.
15555 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15556 (cfengine3-mode): Remove unneeded variable and use it.
15558 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15559 (lisp--augmented-font-lock-keywords-1)
15560 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15561 Remove unneeded variables and use it.
15563 2013-06-05 João Távora <joaotavora@gmail.com>
15565 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15566 to point when opening the connection. (Bug#14380)
15568 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15570 * subr.el (load-history-regexp, load-history-filename-element)
15571 (eval-after-load, after-load-functions, do-after-load-evaluation)
15572 (eval-next-after-load, display-delayed-warnings)
15573 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15574 definition of save-match-data.
15575 (overriding-local-map): Remove accidental obsolescence declaration.
15577 * emacs-lisp/edebug.el (edebug-result): Move before first use.
15579 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15581 Generalize symbol prettify support to prog-mode and implement it
15582 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15583 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15584 (prog--prettify-font-lock-compose-symbol)
15585 (prog-prettify-font-lock-symbols-keywords): New variables and
15586 functions to support symbol prettification.
15587 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15588 (lisp--augmented-font-lock-keywords-1)
15589 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15590 (lisp--prettify-symbols-alist): Implement prettify of lambda.
15591 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15592 (cfengine3--prettify-symbols-alist, cfengine3-mode):
15593 Implement prettify of -> => :: strings.
15594 * progmodes/perl-mode.el (perl-prettify-symbols)
15595 (perl--font-lock-compose-symbol)
15596 (perl--font-lock-symbols-keywords): Move to prog-mode.
15597 (perl--prettify-symbols-alist): Prettify -> => :: strings.
15598 (perl-font-lock-keywords-1)
15599 (perl-font-lock-keywords-2): Remove explicit prettify support.
15600 (perl--augmented-font-lock-keywords)
15601 (perl--augmented-font-lock-keywords-1)
15602 (perl--augmented-font-lock-keywords-2, perl-mode):
15603 Implement prettify support.
15605 2013-06-05 Leo Liu <sdl.web@gmail.com>
15607 Re-implement SMIE matching block highlight using
15608 show-paren-data-function. (Bug#14395)
15609 * emacs-lisp/smie.el (smie-matching-block-highlight)
15610 (smie--highlight-matching-block-overlay)
15611 (smie--highlight-matching-block-lastpos)
15612 (smie-highlight-matching-block)
15613 (smie-highlight-matching-block-mode): Remove.
15614 (smie--matching-block-data-cache): New variable.
15615 (smie--matching-block-data): New function.
15616 (smie-setup): Use smie--matching-block-data for
15617 show-paren-data-function.
15619 * progmodes/octave.el (octave-mode-menu): Fix.
15620 (octave-find-definition): Skip garbage lines.
15622 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15624 Fix compilation error with simultaneous dynamic+lexical scoping.
15625 Add warning when a defvar appears after the first let-binding.
15626 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15627 (byte-compile-close-variables): Initialize it.
15628 (byte-compile--declare-var): New function.
15629 (byte-compile-file-form-defvar)
15630 (byte-compile-file-form-define-abbrev-table)
15631 (byte-compile-file-form-custom-declare-variable): Use it.
15632 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
15633 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15634 (byte-compile-bind): Handle dynamic bindings that shadow
15636 (byte-compile-unbind): Make arg non-optional.
15637 (byte-compile-let): Simplify.
15638 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15639 (cconv--analyse-function, cconv-analyse-form): Populate it.
15640 Protect byte-compile-bound-variables to limit the scope of defvars.
15641 (cconv-analyse-form): Add missing rule for (defvar <foo>).
15642 Remove unneeded rule for `declare'.
15644 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15645 so as to avoid depending on cl-adjoin at run-time.
15646 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15648 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15649 (macroexp--warn-and-return): Use it.
15651 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15653 * subr.el: Convert to lexical binding.
15654 (overriding-local-map): Make obsolete.
15655 (add-to-list): Doc fix. Add compiler macro.
15656 (read-key): Swap values of local maps.
15658 2013-06-05 Leo Liu <sdl.web@gmail.com>
15660 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15662 2013-06-04 Leo Liu <sdl.web@gmail.com>
15664 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15665 (compilation-auto-jump): Suppress the "Mark set" message to give
15666 way to exit message.
15668 2013-06-04 Alan Mackenzie <acm@muc.de>
15670 Remove faulty optimisation from indentation calculation.
15671 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15672 search limit based on 2000 characters back from indent-point.
15674 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15676 * eshell/em-term.el (cl-lib): Require `cl-lib'.
15678 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
15680 * emacs-lisp/lisp.el: Use lexical-binding.
15681 (lisp--local-variables-1, lisp--local-variables): New functions.
15682 (lisp--local-variables-completion-table): New var.
15683 (lisp-completion-at-point): Use it complete let-bound vars.
15685 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15686 eagerly (bug#14422).
15688 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
15690 * autorevert.el (auto-revert-notify-enabled)
15691 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15692 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15693 (auto-revert-notify-handler): Handle also gfilenotify.
15695 * subr.el (file-notify-handle-event): New defun. Replacing ...
15696 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15699 2013-06-03 Juri Linkov <juri@jurta.org>
15701 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15702 `M-s h .'. (Bug#14427)
15704 * hi-lock.el (highlight-symbol-at-point): New alias for the new
15705 command `hi-lock-face-symbol-at-point'.
15706 (hi-lock-face-symbol-at-point): New command.
15707 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15708 (hi-lock-menu): Add `highlight-symbol-at-point'.
15709 (hi-lock-mode): Doc fix.
15711 * isearch.el (isearch-forward-symbol-at-point): New command.
15712 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15713 (isearch-highlight-regexp): Add a regexp which matches
15714 words/symbols for word/symbol mode.
15716 * subr.el (find-tag-default-bounds): New function with the body
15717 mostly moved from `find-tag-default'.
15718 (find-tag-default): Move most code to `find-tag-default-bounds',
15719 call it and apply `buffer-substring-no-properties' afterwards.
15721 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15723 * eshell/em-term.el (eshell-term-initialize):
15724 Use `cl-intersection' rather than `intersection'.
15726 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
15728 * vc/log-view.el: Doc fix.
15729 (log-view-mode-map): Copy keymap from `special-mode-map'.
15731 2013-06-02 Eric Ludlam <zappo@gnu.org>
15733 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15734 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15735 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15736 (eieio-unbound, eieio-default-superclass)
15737 (eieio--define-field-accessors, method-static, method-before)
15738 (method-primary, method-after, method-num-lists)
15739 (method-generic-before, method-generic-primary)
15740 (method-generic-after, method-num-slots)
15741 (eieio-specialized-key-to-generic-key)
15742 (eieio--check-type, class-v, class-p)
15743 (eieio-class-name, define-obsolete-function-alias)
15744 (eieio-class-parents-fast, eieio-class-children-fast)
15745 (same-class-fast-p, class-constructor, generic-p)
15746 (generic-primary-only-p, generic-primary-only-one-p)
15747 (class-option-assoc, class-option, eieio-object-p)
15748 (class-abstract-p, class-method-invocation-order)
15749 (eieio-defclass-autoload-map, eieio-defclass-autoload)
15750 (eieio-class-un-autoload, eieio-defclass)
15751 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15752 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15753 (eieio--defgeneric-init-form, eieio-defgeneric-form)
15754 (eieio-defgeneric-reset-generic-form)
15755 (eieio-defgeneric-form-primary-only)
15756 (eieio-defgeneric-reset-generic-form-primary-only)
15757 (eieio-defgeneric-form-primary-only-one)
15758 (eieio-defgeneric-reset-generic-form-primary-only-one)
15759 (eieio-unbind-method-implementations)
15760 (eieio--defmethod, eieio--typep)
15761 (eieio-perform-slot-validation, eieio-validate-slot-value)
15762 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15763 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15764 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15765 (eieio-slot-name-index, eieio-class-slot-name-index)
15766 (eieio-set-defaults, eieio-initarg-to-attribute)
15767 (eieio-attribute-to-initarg, eieio-c3-candidate)
15768 (eieio-c3-merge-lists, eieio-class-precedence-c3)
15769 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15770 (eieio-class-precedence-list, eieio-generic-call-methodname)
15771 (eieio-generic-call-arglst, eieio-generic-call-key)
15772 (eieio-generic-call-next-method-list)
15773 (eieio-pre-method-execution-functions, eieio-generic-call)
15774 (eieio-generic-call-primary-only, eieiomt-method-list)
15775 (eieiomt-optimizing-obarray, eieiomt-install)
15776 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15777 (eieio-generic-form, eieio-defmethod, make-obsolete)
15778 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15779 (defclass): Remove `eval-and-compile' from macro.
15780 (call-next-method, shared-initialize): Instead of using
15781 `scoped-class' variable, use new eieio--scoped-class, and
15782 eieio--with-scoped-class.
15783 (initialize-instance): Rename local variable 'scoped-class' to
15784 'this-class' to remove ambiguitity from old global.
15786 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
15788 (eieio--scoped-class-stack): New variable.
15789 (eieio--scoped-class): New fcn.
15790 (eieio--with-scoped-class): New scoping macro.
15791 (eieio-defclass): Use pushnew instead of add-to-list.
15792 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15793 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15794 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15795 `scoped-class' variable, use new eieio--scoped-class, and
15796 eieio--with-scoped-class.
15798 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15800 2013-06-02 Tassilo Horn <tsdh@gnu.org>
15802 * eshell/esh-ext.el (eshell-external-command): Pass args to
15803 `eshell-find-interpreter'.
15804 (eshell-find-interpreter): Add new second parameter ARGS.
15806 * eshell/em-script.el (eshell-script-initialize): Add second arg
15807 to the function added as MATCH to `eshell-interpreter-alist'.
15809 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15810 the function added as MATCH to `eshell-interpreter-alist'.
15812 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15813 (eshell-visual-options): New defcustom.
15814 (eshell-escape-control-x): Adapt docstring.
15815 (eshell-term-initialize): Test `eshell-visual-subcommands' and
15816 `eshell-visual-options' in addition to `eshell-visual-commands'.
15817 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15819 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
15821 * progmodes/python.el (python-indent-block-enders): Add break,
15822 continue and raise keywords.
15824 2013-06-01 Glenn Morris <rgm@gnu.org>
15826 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15828 Plain (f)boundp silences compilation warnings since Emacs 22.1.
15829 * progmodes/cc-cmds.el (delete-forward-p):
15830 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15831 * progmodes/cc-engine.el (buffer-syntactic-context):
15832 * progmodes/cc-fonts.el (face-property-instance):
15833 * progmodes/cc-mode.el (set-keymap-parents):
15834 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15835 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15836 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15837 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15838 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15840 * progmodes/cc-vars.el (other): Emacs has this widget since
15841 at least 21.1, so don't (re)define it.
15843 * eshell/em-cmpl.el (eshell-cmpl-initialize):
15844 Replace the obsolete alias pcomplete-arg-quote-list.
15846 2013-06-01 Leo Liu <sdl.web@gmail.com>
15848 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15849 punctuation syntax.
15850 (inferior-octave-minimal-columns)
15851 (inferior-octave-last-column-width): New variables.
15852 (inferior-octave-track-window-width-change): New function.
15853 (inferior-octave-mode): Adjust column width so that Octave output,
15854 for example from 'ls', can fit into the window nicely.
15856 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
15858 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15859 Highlight expansions inside regexp literals.
15861 2013-05-31 Glenn Morris <rgm@gnu.org>
15863 * obsolete/sym-comp.el (symbol-complete):
15864 Replace obsolete completion-annotate-function.
15866 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15868 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
15870 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15871 New function, checks if point is inside a literal that allows
15872 expression expansion.
15873 (ruby-syntax-propertize-expansion): Use it.
15874 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15877 2013-05-30 Juri Linkov <juri@jurta.org>
15879 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15881 (isearch-invisible): New variable.
15882 (isearch-forward): Doc fix.
15883 (isearch-mode): Set `isearch-invisible'
15884 to the value of `search-invisible'.
15885 (isearch-toggle-case-fold): Doc fix.
15886 (isearch-toggle-invisible): New command.
15887 (isearch-query-replace): Let-bind `search-invisible'
15888 to the value of `isearch-invisible'.
15889 (isearch-search): Use `isearch-invisible' instead of
15890 `search-invisible'. Let-bind `search-invisible'
15891 to the value of `isearch-invisible'. (Bug#11378)
15893 2013-05-30 Juri Linkov <juri@jurta.org>
15895 * replace.el (perform-replace): Avoid `isearch-range-invisible'
15896 call when `query-flag' is nil and `search-invisible' is non-nil.
15899 2013-05-30 Glenn Morris <rgm@gnu.org>
15901 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15903 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15904 (cc-require): Suppress spurious "noruntime" warnings.
15905 (cc-require-when-compile): Use fboundp, for sake of compiler.
15907 * progmodes/cc-mode.el: Move load of cc-vars before that of
15908 cc-langs (which in turn loads cc-vars), to quieten compiler.
15910 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15912 * paren.el: Simplify the code.
15913 (show-paren-mode): Always start the timer.
15914 (show-paren--idle-timer): Rename from show-paren-idle-timer.
15915 (show-paren--overlay, show-paren--overlay-1): Rename from
15916 show-paren-overlay and show-paren-overlay-1, and initialize to an
15917 overlay rather than to nil.
15918 (show-paren-function): Misc cleanup and simplifications.
15920 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15922 * paren.el (show-paren-data-function): New hook.
15923 (show-paren--default): New function, extracted from show-paren-function.
15924 (show-paren-function): Use show-paren-data-function.
15926 2013-05-30 Glenn Morris <rgm@gnu.org>
15928 * ielm.el (ielm-map, ielm-complete-symbol):
15929 Use completion-at-point rather than obsolete functions.
15930 (inferior-emacs-lisp-mode): Doc fix.
15931 Set completion-at-point-functions, rather than
15932 comint-dynamic-complete-functions.
15934 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15935 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15936 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15938 * image.el (image-animated-p): Tweak definition.
15940 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15941 (rlogin-process-connection-type): Tweak default. Add set-after.
15942 (rlogin-host): Doc fix.
15943 (rlogin): Tweak prompt.
15944 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15946 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15947 * progmodes/tcl.el (inferior-tcl-mode-map):
15948 Use completion-at-point rather than obsolete alias.
15950 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15952 * minibuffer.el (read-file-name-completion-ignore-case):
15953 Move before completion--in-region, for eager macro expansion.
15955 2013-05-29 Juri Linkov <juri@jurta.org>
15957 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15958 for total count of matching lines. Add `global-matches' for total
15959 count of matches. Rename `matches' to `lines' for count of
15960 matching lines. Add `matches' for count of matches.
15961 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
15962 to `prev-line' for line number of prev match endpt.
15963 Increment `matches' for every match. Print the number of
15964 matching lines in the header.
15965 (occur-context-lines): Rename `lines' to `curr-line'.
15966 Rename `prev-lines' to `prev-line'. (Bug#14017)
15968 2013-05-29 Juri Linkov <juri@jurta.org>
15970 * replace.el (perform-replace): Add `skip-read-only-count',
15971 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15972 Increment them for corresponding conditions and report the number
15973 of skipped occurrences in the final message. (Bug#11746)
15974 (query-replace, query-replace-regexp, query-replace-regexp-eval)
15975 (replace-string, replace-regexp): Doc fix.
15977 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
15979 * emacs-lisp/trace.el (trace--read-args): Provide a default.
15981 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15982 prog-mode-map (bug#14504).
15984 2013-05-29 Leo Liu <sdl.web@gmail.com>
15986 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15987 (octave-help): Small simplification.
15989 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15990 off the highlight first.
15992 2013-05-29 Glenn Morris <rgm@gnu.org>
15994 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15995 Handle idlwave-last-system-routine-info-cons-cell being nil.
15997 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15998 (idlwave-write-paths): Simplify via with-temp-buffer.
16000 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16001 * emulation/cua-rect.el: Also load cua-base at run time.
16003 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16004 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16005 (cperl-imenu-on-info): Require imenu.
16007 2013-05-28 Alan Mackenzie <acm@muc.de>
16009 Handle "capitalised keywords" correctly.
16010 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16012 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16014 * eshell/em-unix.el: Add -r option to cp.
16016 2013-05-28 Glenn Morris <rgm@gnu.org>
16018 * vc/vc-arch.el (vc-exec-after): Declare.
16019 (vc-switches): Autoload.
16020 * vc/vc-bzr.el: No need to require vc when compiling.
16021 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16022 (vc-resynch-buffer, vc-dir-refresh): Declare.
16023 (vc-setup-buffer, vc-switches): Autoload.
16024 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16025 (vc-resynch-buffer): Declare.
16026 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16027 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16028 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16029 (grep-read-regexp, grep-read-files, grep-expand-template)
16030 (vc-dir-refresh): Declare.
16031 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16032 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16033 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16034 * vc/vc-mtn.el (vc-exec-after): Declare.
16035 (vc-switches): Autoload.
16036 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16037 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16038 (vc-file-tree-walk): Declare.
16039 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16040 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16041 (vc-tag-precondition, vc-rename-master): Autoload.
16042 * vc/vc-svn.el (vc-exec-after): Declare.
16043 (vc-switches, vc-setup-buffer): Autoload.
16044 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16046 (vc-resynch-buffer): Declare.
16048 * obsolete/fast-lock.el (byte-compile-warnings):
16049 Don't warn about obsolete features in this obsolete file.
16051 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16052 Move definition before use.
16054 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16055 (dun-unix-verbs): Remove dun-zippy.
16056 (dun-zippy): Remove function.
16058 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16060 2013-05-27 Juri Linkov <juri@jurta.org>
16062 * replace.el (replace-search): New function with code moved out
16063 from `perform-replace'.
16064 (replace-highlight, replace-dehighlight): Move function definitions
16065 up closer to `replace-search'. (Bug#11746)
16067 2013-05-27 Juri Linkov <juri@jurta.org>
16069 * replace.el (perform-replace): Ignore invisible matches.
16070 In addition to checking `query-replace-skip-read-only', also
16071 filter out matches by calling `run-hook-with-args-until-failure'
16072 on `isearch-filter-predicates', and also check `search-invisible'
16073 for t or call `isearch-range-invisible'.
16074 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16076 2013-05-27 Juri Linkov <juri@jurta.org>
16078 * isearch.el (isearch-filter-predicates): Rename from
16079 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16080 (isearch-message-prefix): Display text from the property
16081 `isearch-message-prefix' of the currently active filters.
16082 (isearch-search): Don't compare `isearch-filter-predicate' with
16083 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16084 on `isearch-filter-predicates'. Also check `search-invisible' for t
16085 or call `isearch-range-invisible'.
16086 (isearch-filter-visible): Make obsolete.
16087 (isearch-lazy-highlight-search):
16088 Call `run-hook-with-args-until-failure' on
16089 `isearch-filter-predicates' and use `isearch-range-invisible'.
16091 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16092 `isearch-filter-predicates' instead of `funcall'ing
16093 `isearch-filter-predicate'.
16094 (Info-mode): Set `Info-isearch-filter' to
16095 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16097 * dired-aux.el (dired-isearch-filter-predicate-orig):
16099 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16100 (dired-isearch-filenames-end): Add and remove
16101 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16102 instead of changing the value of `isearch-filter-predicate'.
16103 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16104 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16105 Put property `isearch-message-prefix' to "filename " on
16106 `dired-isearch-filter-filenames'.
16108 * wdired.el (wdired-change-to-wdired-mode):
16109 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16110 locally instead of changing `isearch-filter-predicate'.
16111 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16113 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16115 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16116 return the commit hash (Bug#14459). Also set the
16117 `vc-git-detached' property.
16118 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16119 (vc-git-mode-line-string): Use the same help-echo format whether
16120 in detached mode or not, because we know the actual revision now.
16121 When in detached mode, shorten the revision to 7 chars.
16123 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16125 * emacs-lisp/easy-mmode.el (define-minor-mode):
16126 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16127 mode hook and provide a docstring.
16129 2013-05-27 Alan Mackenzie <acm@muc.de>
16131 Remove spurious syntax-table text properties inserted by C-y.
16132 * progmodes/cc-mode.el (c-after-change): Also clear hard
16133 syntax-table property with value nil.
16135 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16137 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16138 when reading the events; the buffer layout shall not be changed.
16140 2013-05-27 Leo Liu <sdl.web@gmail.com>
16142 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16144 (inferior-octave-directory-tracker): Automatically re-sync
16146 (octave-help): Improve handling of 'See also'.
16148 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * doc-view.el: Minor naming convention tweaks.
16151 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16153 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16154 even if there's no `display' property yet (bug#14435).
16156 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16158 * subr.el (unmsys--file-name): Rename from reveal-filename.
16160 * Makefile.in (custom-deps, finder-data, autoloads)
16161 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16162 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16163 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16165 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16167 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16168 error-completion on the first 2 args of condition-case (bug#14446).
16171 2013-05-25 Leo Liu <sdl.web@gmail.com>
16173 * comint.el (comint-previous-matching-input): Do not flood the
16174 *Messages* buffer with trivial messages.
16176 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16178 * progmodes/flymake.el (flymake-nop): Don't return a string.
16179 (flymake-set-at): Fix typo.
16181 * simple.el (read--expression): New function, extracted from
16182 eval-expression. Set completion-at-point-functions (bug#14465).
16183 (eval-expression, eval-minibuffer): Use it.
16185 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16187 * progmodes/flymake.el (flymake-save-buffer-in-file)
16188 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16189 (flymake-selected-frame, flymake-log, flymake-ins-after)
16190 (flymake-set-at, flymake-get-buildfile-from-cache)
16191 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16192 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16193 Refine the doc string.
16194 (flymake-get-file-name-mode-and-masks): Reformat.
16195 (flymake-get-real-file-name-function): Fix a minor bug.
16197 2013-05-24 Juri Linkov <juri@jurta.org>
16199 * progmodes/grep.el (grep-mode-font-lock-keywords):
16200 Support =linenumber= format used by git-grep for lines with
16201 function names. (Bug#13549)
16203 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16205 * progmodes/octave.el (octave-smie-rules): Return nil rather than
16206 0 after a semi-colon; it works better for smie-auto-fill.
16207 (octave--indent-new-comment-line): New function.
16208 (octave-indent-new-comment-line): Use it (indirectly).
16209 (octave-mode): Don't disable smie-auto-fill. Use add-function to
16210 modify comment-line-break-function.
16212 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16213 (smie-setup): Use add-function to set it.
16215 2013-05-24 Sam Steingold <sds@gnu.org>
16217 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16218 argument (before the `interactive' argument).
16220 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16222 * image-mode.el (image-mode-winprops): Add winprops to
16223 image-mode-winprops-alist before running
16224 image-mode-new-window-functions.
16225 * doc-view.el (doc-view-new-window-function): Don't delay
16226 doc-view-goto-page via timers (bug#14435).
16228 2013-05-24 Tassilo Horn <tsdh@gnu.org>
16230 * doc-view.el: Integrate with desktop.el. (Bug#14435)
16231 (doc-view-desktop-save-buffer): New function.
16232 (doc-view-restore-desktop-buffer): New function.
16233 (desktop-buffer-mode-handlers):
16234 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16236 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16237 `desktop-save-buffer' function.
16239 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
16241 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16242 (tramp-gvfs-file-name-handler): Raise a user error when
16243 `tramp-gvfs-enabled' is nil.
16244 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16245 Do not raise a user error when loading package. (Bug#14447)
16247 * net/xesam.el: Move to obsolete/.
16249 2013-05-24 Glenn Morris <rgm@gnu.org>
16251 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16253 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16255 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16256 (Info-find-node, Man-getpage-in-background): Declare.
16258 * mail/unrmail.el (unrmail):
16259 Replace obsolete detect-coding-with-priority.
16261 * net/socks.el (socks-split-string): Use this rather than split-string.
16262 (socks-nslookup-host): Update for above change.
16263 (dynamic-choice, s5-dynamic-choice-match)
16264 (s5-dynamic-choice-match-inline, s5-widget-value-create):
16265 Comment out unused code.
16267 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16268 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16269 (gud-tooltip-echo-area): Make obsolete.
16270 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16272 * progmodes/js.el (js--optimize-arglist): Declare.
16274 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16276 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16277 (ediff-window-C): Declare.
16279 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16280 Tweak requires to silence compiler.
16282 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16283 (he-search-string, he-tried-table, he-expand-list)
16284 (he-init-string, he-string-member, he-substitute-string)
16285 (he-reset-string): Declare.
16287 * obsolete/options.el (list-options): Use custom-variable-p,
16288 rather than obsolete alias.
16290 2013-05-23 Sam Steingold <sds@gnu.org>
16292 * simple.el (shell-command-on-region): Pass the `replace' argument
16293 down to `call-process-region' to comply with the doc as reported on
16294 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16296 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16298 * emacs-lisp/smie.el (smie-indent-forward-token)
16299 (smie-indent-backward-token): Handle string tokens (bug#14381).
16301 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16303 * ielm.el (ielm-menu): New menu.
16304 (inferior-emacs-lisp-mode): Set comment-start.
16306 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16308 * textmodes/reftex.el (reftex-ref-style-toggle):
16309 Fix deactivate action.
16311 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16312 Add cleveref macros.
16314 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16315 Accept options for bibliography commands.
16316 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16317 Add addbibresource. Basic Biblatex support.
16319 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16321 * net/tramp-gvfs.el (top):
16322 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16323 when loading package. (Bug#14447)
16325 2013-05-23 Glenn Morris <rgm@gnu.org>
16327 * progmodes/js.el: No need to load comint when compiling.
16328 (ring-insert, comint-send-string, comint-send-input)
16329 (comint-last-input-end, ido-chop): Declare.
16331 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16332 * vc/ediff-mult.el: Adjust requires.
16333 (ediff-directories-internal, ediff-directory-revisions-internal)
16334 (ediff-patch-file-internal): Declare.
16335 * vc/ediff-ptch.el: Adjust requires.
16336 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16337 (ediff-find-file): Autoload.
16338 * vc/ediff-util.el: No need to load ediff when compiling.
16339 (ediff-regions-internal): Declare.
16340 * vc/ediff-wind.el: Adjust requires.
16341 (ediff-compute-toolbar-width): Define when compiling.
16342 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16343 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16344 (dired-get-filename, dired-get-marked-files)
16345 (ediff-last-dir-patch, ediff-patch-default-directory)
16346 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16347 (ediff-patch-buffer-internal): Declare.
16349 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16350 (ispell-process, ispell-buffer-local-words, lm-summary)
16351 (lm-section-start, lm-section-end): Declare.
16352 (checkdoc-ispell-init): Simplify.
16354 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16355 (he-string-member, he-reset-string, he-substitute-string): Declare.
16357 * eshell/em-ls.el: Adjust requires.
16358 (eshell-glob-regexp): Declare.
16359 * eshell/em-tramp.el: Adjust requires.
16360 (eshell-parse-command): Autoload.
16361 * eshell/em-xtra.el: Adjust requires.
16362 (eshell-parse-command): Autoload.
16363 * eshell/esh-ext.el: Adjust requires.
16364 (eshell-parse-command, eshell-close-handles): Autoload.
16365 * eshell/esh-io.el: Adjust requires.
16366 (eshell-output-filter): Autoload.
16367 * eshell/esh-util.el: No need to load tramp when compiling.
16368 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16370 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16371 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16372 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16373 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16374 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16375 * eshell/esh-opt.el, eshell/esh-proc.el:
16376 * eshell/esh-var.el: Adjust requires.
16377 * eshell/eshell.el: Do not require esh-util twice.
16378 (eshell-add-input-to-history): Declare.
16379 (eshell-command): Check history module is active before using it.
16381 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16383 2013-05-22 Leo Liu <sdl.web@gmail.com>
16385 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16387 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16389 * autorevert.el (auto-revert-notify-add-watch)
16390 (auto-revert-notify-handler): Add `attrib' for the inotify case,
16391 it indicates changes in file modification time.
16393 2013-05-22 Glenn Morris <rgm@gnu.org>
16395 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16396 Always delete the autoloaded function from the noruntime and
16397 unresolved functions lists.
16399 * allout.el: No need to load epa, epg, overlay when compiling.
16400 (epg-context-set-passphrase-callback, epg-list-keys)
16401 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16402 (epg-key-user-id-list): Declare.
16404 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16405 (viper-set-parsing-style-toggling-macro)
16406 (viper-set-emacs-state-searchstyle-macros):
16407 Use called-interactively-p on Emacs.
16408 (viper-looking-back): Make it an obsolete alias. Update callers.
16409 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16410 Use looking-back rather than viper-looking-back.
16411 (viper-tmp-insert-at-eob, viper-enlarge-region)
16412 (viper-read-string-with-history, viper-register-to-point)
16413 (viper-append-to-register, viper-change-state-to-vi)
16414 (viper-backward-char-carefully, viper-forward-char-carefully)
16415 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16416 (viper-change-state-to-emacs): Declare.
16417 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16418 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16419 * emulation/viper-mous.el: Do not load viper-cmd.
16420 (viper-backward-char-carefully, viper-forward-char-carefully)
16421 (viper-forward-word, viper-adjust-window): Declare.
16423 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16425 * progmodes/idlw-help.el (idlwave-help-fontify):
16426 Use called-interactively-p.
16428 * term/w32console.el (w32-get-console-codepage)
16429 (w32-get-console-output-codepage): Declare.
16431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16432 Remove unnecessary declarations.
16433 (dframe-message): Doc fix.
16435 * info.el (dframe-select-attached-frame, dframe-current-frame):
16438 * speedbar.el (speedbar-message): Make it an obsolete alias.
16439 Update all callers.
16440 (speedbar-with-attached-buffer)
16441 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16442 (speedbar-with-writable): Use backquote.
16443 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16444 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16445 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16446 rather than speedbar- aliases.
16447 * mail/rmail.el: Load dframe rather than speedbar when compiling.
16448 (speedbar-make-specialized-keymap, speedbar-insert-button)
16449 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16450 (speedbar-do-function-pointer): Declare.
16451 (rmail-speedbar-button, rmail-speedbar-find-file)
16452 (rmail-speedbar-move-message):
16453 Use dframe-with-attached-buffer rather than speedbar- alias.
16454 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16455 (dframe-message, speedbar-make-specialized-keymap)
16456 (speedbar-add-expansion-list, speedbar-mode-functions-list)
16457 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16458 (speedbar-insert-button, dframe-select-attached-frame)
16459 (dframe-maybee-jump-to-attached-frame)
16460 (speedbar-change-initial-expansion-list)
16461 (speedbar-previously-used-expansion-list-name): Declare.
16462 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16463 Use dframe-message, dframe-with-attached-buffer rather than
16465 (gud-sentinel): Silence compiler.
16466 * progmodes/vhdl-mode.el (speedbar-refresh)
16467 (speedbar-do-function-pointer, speedbar-add-supported-extension)
16468 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16469 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16470 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16471 (speedbar-file-lists, speedbar-make-tag-line)
16472 (speedbar-line-directory, speedbar-goto-this-file)
16473 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16474 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16475 (speedbar-make-button, speedbar-reset-scanners)
16476 (speedbar-files-item-info, speedbar-line-text)
16477 (speedbar-find-file-in-frame, speedbar-set-timer)
16478 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16479 (speedbar-with-writable): Do not (re)define it.
16480 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16481 rather than speedbar- alias.
16483 2013-05-21 Leo Liu <sdl.web@gmail.com>
16485 * progmodes/octave.el (octave-mode-menu): Update and re-organize
16487 (octave-mode): Tweak fill-nobreak-predicate.
16488 (inferior-octave-startup): Check process to avoid infinite loop.
16489 (inferior-octave): Pop to buffer first to show abornmal process
16492 2013-05-21 Glenn Morris <rgm@gnu.org>
16494 * printing.el (pr-menu-bar): Define when compiling.
16496 2013-05-21 Leo Liu <sdl.web@gmail.com>
16498 * progmodes/octave.el (octave-auto-fill): Remove.
16499 (octave-indent-new-comment-line): Improve.
16500 (octave-mode): Use auto fill mode through
16501 comment-line-break-function and fill-nobreak-predicate.
16502 (octave-goto-function-definition): Support DEFUN_DLD.
16503 (octave-beginning-of-defun): Small tweak.
16504 (octave-help): Show parent directory.
16506 2013-05-21 Glenn Morris <rgm@gnu.org>
16508 * files.el (dired-unmark):
16509 * progmodes/gud.el (gdb-input): Update declarations.
16511 * calculator.el (electric, ehelp): No need to load when compiling.
16512 (Electric-command-loop, electric-describe-mode): Declare.
16514 * doc-view.el (doc-view-current-converter-processes): Move before use.
16516 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16517 Move MODE-set-explicitly definition before use.
16519 * international/mule-diag.el (mule-diag):
16520 Don't use obsolete window-system-version.
16522 * mail/feedmail.el (smtpmail): No need to load when compiling.
16523 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16525 * mail/mail-utils.el (rfc822): No need to load when compiling.
16526 (rfc822-addresses): Autoload it.
16527 (mail-strip-quoted-names): Trivial simplification.
16529 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16530 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16532 * net/snmp-mode.el (tempo): Don't duplicate requires.
16534 * progmodes/prolog.el (info): No need to load when compiling.
16535 (comint): Require before shell requires it.
16536 (Info-goto-node): Autoload it.
16537 (Info-follow-nearest-node): Declare.
16538 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16540 * textmodes/artist.el (picture-mode-exit): Declare.
16542 * textmodes/reftex-parse.el (reftex-parse-from-file):
16543 Trivial rewrite so the compiler can parse it better.
16545 2013-05-20 Leo Liu <sdl.web@gmail.com>
16547 * progmodes/octave.el (octave-help-mode-map)
16548 (octave-help-mode-finish-hook): New variables.
16549 (octave-help-mode, octave-help-mode-finish): New functions.
16550 (octave-help): Use octave-help-mode.
16552 2013-05-20 Glenn Morris <rgm@gnu.org>
16554 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
16556 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
16558 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16559 start at point, so that expansion starting right after opening
16560 slash in a regexp is recognized.
16561 (ruby-syntax-before-regexp-re): New defvar, extracted from
16562 ruby-syntax-propertize-function. Since the value of this regexp
16563 is looked up at runtime now, we should be able to turn
16564 `ruby-syntax-methods-before-regexp' into a defcustom later.
16565 (ruby-syntax-propertize-function): Split regexp matching into two
16566 parts, for opening and closing slashes. That allows us to skip
16567 over string interpolations and support multiline regexps.
16568 Don't call `ruby-syntax-propertize-expansions', instead use another rule
16569 for them, which calls `ruby-syntax-propertize-expansion'.
16570 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16571 call to `ruby-syntax-propertize-function'.
16572 (ruby-syntax-propertize-expansion): Extracted from
16573 `ruby-syntax-propertize-expansions'. Handles one expansion.
16574 (ruby-syntax-propertize-percent-literal): Leave point right after
16575 the percent symbol, so that the expression expansion rule can
16576 propertize the contents.
16577 (ruby-syntax-propertize-heredoc): Leave point at bol following the
16579 (ruby-syntax-propertize-expansions): Remove.
16581 2013-05-18 Juri Linkov <juri@jurta.org>
16583 * man.el (Man-default-man-entry): Remove `-' from the end
16584 of the default value. (Bug#14400)
16586 2013-05-18 Glenn Morris <rgm@gnu.org>
16588 * comint.el (comint-password-prompt-regexp):
16589 Allow "password for XXX" where XXX contains colons (eg https://...).
16591 2013-05-18 Leo Liu <sdl.web@gmail.com>
16593 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16594 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
16595 (octave-source-directories): Don't check process.
16596 (octave-source-directories, octave-find-definition): Doc fix.
16598 2013-05-18 Glenn Morris <rgm@gnu.org>
16600 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16601 Remove backspace/delete bindings. (Bug#14392)
16603 * cus-dep.el (custom-make-dependencies): Sort the output.
16604 (custom-versions-load-alist): Convert comment to doc.
16606 2013-05-17 Leo Liu <sdl.web@gmail.com>
16608 * newcomment.el (comment-search-backward): Stricter in finding
16609 comment start. (Bug#14303)
16611 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16612 (octave-comment-start-skip): Properly anchored.
16614 2013-05-17 Leo Liu <sdl.web@gmail.com>
16616 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16617 Clean up when turned off. (Bug#14395)
16618 (smie--highlight-matching-block-overlay): No longer buffer-local.
16619 (smie-highlight-matching-block): Adjust.
16621 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
16623 Doc string fix for "nanoseconds" (Bug#14406).
16624 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16625 Fix doc string typo that had "nanoseconds" instead of "microseconds".
16627 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
16629 * calc/calc-units.el (math-extract-units): Preserve powers
16632 2013-05-17 Leo Liu <sdl.web@gmail.com>
16634 * subr.el (delete-consecutive-dups): New function.
16635 * ido.el (ido-set-matches-1): Use it.
16636 * progmodes/octave.el (inferior-octave-completion-table): Use it.
16637 * ido.el (ido-remove-consecutive-dups): Remove.
16639 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16641 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16642 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16643 regexp-opt's `words'.
16645 2013-05-16 Leo Liu <sdl.web@gmail.com>
16647 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16648 (smie--highlight-matching-block-overlay)
16649 (smie--highlight-matching-block-lastpos)
16650 (smie--highlight-matching-block-timer): New variables.
16651 (smie-highlight-matching-block): New function.
16652 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
16653 (smie-setup): Conditionally enable smie-blink-matching-open.
16655 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
16657 Sync with upstream verilog-mode r840.
16658 * progmodes/verilog-mode.el (verilog-mode-version)
16659 (verilog-mode-release-date): Update.
16660 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16661 (verilog-sig-tieoff): Fix string error on
16662 AUTORESET with colon define, bug594. Reported by Andrew Hou.
16663 (verilog-read-decls): Fix parameters confusing
16664 AUTOINST interfaces, bug565. Reported by Leith Johnson.
16666 2013-05-16 Eli Zaretskii <eliz@gnu.org>
16668 * subr.el (reveal-filename): New function.
16670 * loadup.el: Compute Emacs executable versions on MS-Windows,
16671 where executables have the .exe extension. Add a hard link
16672 emacs-XX.YY.ZZ.exe on MS-Windows.
16674 * Makefile.in (XARGS_LIMIT): New variable.
16675 (custom-deps, finder-data, autoloads)
16676 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16677 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16678 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16679 (compile-main): Limit xargs according to $(XARGS_LIMIT).
16681 2013-05-16 Leo Liu <sdl.web@gmail.com>
16683 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16684 (octave-mode-menu, octave-mode-map): Remove its uses.
16686 2013-05-16 Reto Zimmermann <reto@gnu.org>
16688 Sync with upstream vhdl mode v3.34.2.
16689 * progmodes/vhdl-mode.el: Use `push' throughout.
16690 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16691 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16692 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
16693 (vhdl-actual-generic-name): New option to derive actual generic name.
16694 (vhdl-port-paste-signals): Replace formal by actual generics.
16695 (vhdl-beautify): New name for old group vhdl-align. Update users.
16696 (vhdl-beautify-options): New option.
16697 (vhdl-last-input-event): New compat alias. Use throughout.
16698 (vhdl-goto-line): Replace user level function `goto-line'.
16699 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16700 vhdl-fix-statement-buffer.
16701 (vhdl-create-mode-menu): Add some entries.
16702 (vhdl-align-region-groups): Respect vhdl-beautify-options.
16703 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16704 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16705 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16706 to force statements on one line.
16707 (vhdl-remove-trailing-spaces-region):
16708 New, split from vhdl-remove-trailing-spaces.
16709 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16710 Respect vhdl-beautify-options.
16711 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16712 (vhdl-update-sensitivity-list): Not add with index if exists without.
16713 Not include array index with signal. Ignore keywords in comments.
16714 (vhdl-get-visible-signals): Regexp tweaks.
16715 (vhdl-template-component-inst): Handle empty library.
16716 (vhdl-template-type): Add template for 'enum' type.
16717 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16718 Use vhdl-replace-string.
16719 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16720 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16721 (vhdl-speedbar-initialize): Update for above name change.
16722 (vhdl-compose-wire-components): Fix in handling of constants.
16723 (vhdl-error-regexp-emacs-alist): New variable.
16724 (vhdl-error-regexp-add-emacs): New function;
16725 adds support for new compile.el (Emacs 22+)
16726 (vhdl-generate-makefile-1): Change target order for single lib. units.
16727 Allow use of absolute file names.
16729 2013-05-16 Leo Liu <sdl.web@gmail.com>
16731 * simple.el (prog-indent-sexp): Indent enclosing defun.
16733 2013-05-15 Glenn Morris <rgm@gnu.org>
16735 * cus-start.el (show-trailing-whitespace): Move to editing basics.
16736 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16737 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16738 (whitespace-highlight): Move to whitespace group.
16740 * comint.el (comint-source):
16741 * pcmpl-linux.el (pcmpl-linux):
16742 * shell.el (shell-faces):
16743 * eshell/esh-opt.el (eshell-opt):
16744 * international/ccl.el (ccl): Remove empty custom groups.
16746 * completion.el (dynamic-completion-mode):
16747 * jit-lock.el (jit-lock-debug-mode):
16748 * minibuffer.el (completion-in-region-mode):
16749 * type-break.el (type-break-mode-line-message-mode)
16750 (type-break-query-mode):
16751 * emulation/tpu-edt.el (tpu-edt-mode):
16752 * progmodes/subword.el (global-subword-mode, global-superword-mode):
16753 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16754 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16756 * term/xterm.el (xterm): Change parent group to terminals.
16758 * master.el (master): Remove empty custom group.
16759 (master-mode): Remove unused :group argument.
16760 * textmodes/refill.el (refill): Remove empty custom group.
16761 (refill-mode): Remove unused :group argument.
16763 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16765 * cus-dep.el: Provide a feature.
16766 (custom-make-dependencies): Ignore dotfiles (dir-locals).
16767 Don't mistakenly ignore files whose basenames match a basename
16768 from preloaded-file-list (eg cedet/ede/simple.el).
16769 Add a fallback method for getting :group.
16771 2013-05-15 Juri Linkov <juri@jurta.org>
16773 * isearch.el (isearch-char-by-name): Rename from
16774 `isearch-insert-char-by-name'. Doc fix.
16775 (isearch-forward): Mention `isearch-char-by-name' in
16776 the docstring. (Bug#13348)
16778 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16779 `exit-minibuffer' instead of
16780 `isearch-nonincremental-exit-minibuffer'.
16781 (isearch-edit-string): Remove mention of
16782 `isearch-nonincremental-exit-minibuffer' from docstring.
16783 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16784 (isearch-forward-exit-minibuffer)
16785 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
16787 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
16789 * loadup.el: Just use unversioned DOC.
16791 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16792 literals as extending to EOB.
16793 (nxml-last-fontify-end): Remove unused variable.
16794 (nxml-after-change1): Use with-silent-modifications.
16795 (nxml-extend-after-change-region): Simplify.
16796 (nxml-extend-after-change-region1): Remove function.
16797 (nxml-after-change1): Don't adjust for dependent regions.
16798 (nxml-fontify-matcher): Simplify.
16799 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16800 (xmltok-add-dependent): Remove function.
16801 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16802 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16803 (xmltok-scan-prolog-after-processing-instruction-open): Treat
16804 unclosed <[[, <?, comment, and other literals as extending to EOB.
16805 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16806 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16808 (rng-do-some-validation-1): Don't mark dependent regions.
16809 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16810 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16811 (nxml-clear-dependent-regions): Remove functions.
16812 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16813 (nxml-ensure-scan-up-to-date):
16814 Don't clear&mark dependent regions.
16816 2013-05-15 Leo Liu <sdl.web@gmail.com>
16818 * progmodes/octave.el (octave-goto-function-definition):
16819 Improve and fix callers.
16821 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
16823 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16824 the setter (bug#14387).
16826 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16827 surrounding group (bug#14402).
16829 2013-05-14 Juri Linkov <juri@jurta.org>
16831 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16834 2013-05-14 Glenn Morris <rgm@gnu.org>
16836 * progmodes/f90.el (f90-imenu-generic-expression):
16837 Fix typo in 2013-05-08 change. (Bug#14402)
16839 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16841 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16842 Remove signals for which replies are never received.
16844 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16846 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16847 (gdb-handler-alist, gdb-handler-number): Remove variables.
16848 (gdb-handler-list): New variable.
16849 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16850 (gdb-pending-handler-p, gdb-handle-reply)
16851 (gdb-remove-all-pending-triggers): New functions.
16852 (gdb-discard-unordered-replies): New defcustom.
16853 (gdb-handler): New defstruct.
16854 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
16855 instead of gdb-pending-triggers. Update docstring.
16856 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
16857 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16858 (gdb-var-update-handler, def-gdb-auto-update-trigger)
16859 (def-gdb-auto-update-handler, gdb-get-changed-registers)
16860 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16861 (gdb-frame-handler): Pending triggers are now automatically managed.
16862 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16864 (gdb-input): Automatically handles pending triggers. Update docstring.
16865 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16866 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16868 (gdb-done-or-error): Now use gdb-handle-reply.
16870 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
16872 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16875 2013-05-14 Glenn Morris <rgm@gnu.org>
16877 * subr.el (user-emacs-directory-warning): New option.
16878 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
16880 2013-05-14 Leo Liu <sdl.web@gmail.com>
16882 * progmodes/octave.el (octave-font-lock-keywords): Fix error
16884 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16885 (octave-font-lock-texinfo-comment): Fix invalid search bound
16886 error: wrong side of point.
16888 2013-05-14 Glenn Morris <rgm@gnu.org>
16890 * progmodes/flymake.el (flymake-xml-program): New option.
16891 (flymake-xml-init): Use it.
16893 * term/xterm.el: Provide a feature.
16895 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
16897 2013-05-13 Glenn Morris <rgm@gnu.org>
16899 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16900 Add compat aliases as a hack workaround. (Bug#14384)
16902 2013-05-13 Leo Liu <sdl.web@gmail.com>
16904 * progmodes/octave.el (octave-indent-comment): Fix indentation for
16906 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16908 (octave-comment-start-skip): Include %!.
16909 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16911 2013-05-12 Leo Liu <sdl.web@gmail.com>
16913 * progmodes/octave.el (inferior-octave-startup): Store the value
16914 of __octave_srcdir__ for octave-source-directories.
16915 (inferior-octave-check-process): New function refactored out of
16916 inferior-octave-send-list-and-digest.
16917 (octave-source-directories)
16918 (octave-find-definition-filename-function): New variables.
16919 (octave-source-directories)
16920 (octave-find-definition-default-filename): New functions.
16921 (octave-find-definition): Improve to find functions implemented in C++.
16923 2013-05-12 Glenn Morris <rgm@gnu.org>
16925 * calendar/diary-lib.el (diary-outlook-format-1):
16926 Don't include dayname in the output. (Bug#14349)
16928 2013-05-11 Glenn Morris <rgm@gnu.org>
16930 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16932 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16933 Treat cc-provide like provide.
16935 2013-05-11 Kevin Ryde <user42@zip.com.au>
16937 * cus-dep.el (custom-make-dependencies):
16938 Use generated-autoload-load-name for the sake of files such
16939 such cedet/semantic/bovine/c.el, where the base file name
16940 is not in load-path. (Bug#5277)
16942 2013-05-11 Glenn Morris <rgm@gnu.org>
16944 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16947 2013-05-11 Leo Liu <sdl.web@gmail.com>
16949 * progmodes/octave.el (octave-indent-comment): Improve.
16950 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16951 (octave-eldoc-function-signatures, octave-eldoc-function):
16953 (octave-mode, inferior-octave-mode): Add eldoc support.
16955 2013-05-11 Richard Stallman <rms@gnu.org>
16957 * epa.el (epa-decrypt-file): Take output file name as argument
16958 and read it using `interactive'.
16960 2013-05-11 Leo Liu <sdl.web@gmail.com>
16962 * progmodes/octave.el (octave-beginning-of-line)
16963 (octave-end-of-line): Check before using up-list because it jumps
16964 out of more syntactic contructs since moving to smie.
16965 (octave-indent-comment): New function.
16966 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
16967 (octave-begin-keywords, octave-end-keywords)
16968 (octave-reserved-words, octave-smie-bnf-table)
16969 (octave-smie-rules): Add new keywords from Octave 3.6.4.
16971 2013-05-11 Glenn Morris <rgm@gnu.org>
16973 * faces.el (internal-face-x-get-resource):
16974 * frame.el (ns-display-monitor-attributes-list):
16975 * calc/calc-aent.el (math-to-radians-2):
16976 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16979 * calc/calc-menu.el: Make it loadable in isolation.
16981 * net/eudcb-bbdb.el: Make it loadable without bbdb.
16982 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16983 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16984 (eudc-bbdb-query-internal): Require 'bbdb.
16986 * lpr.el (lpr-headers-switches):
16987 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16989 * progmodes/sql.el (sql-login-params): Fix and improve :type.
16991 * emulation/edt-mapper.el: In batch mode, error rather than hang.
16993 * term.el (term-set-escape-char): Make it idempotent.
16995 2013-05-10 Leo Liu <sdl.web@gmail.com>
16997 * progmodes/octave.el (inferior-octave-completion-table):
16998 No longer a function and all uses changed. Use cache to speed up
16999 completion due to bug#11906.
17000 (octave-beginning-of-defun): Re-write to be more general.
17002 2013-05-10 Glenn Morris <rgm@gnu.org>
17004 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17006 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17008 * comint.el (comint-redirect-send-command-to-process): Use :around
17009 rather than :override for comint-redirect-filter.
17010 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17011 Call it instead of comint-redirect-original-filter-function (which
17012 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17014 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17016 * frame.el (display-monitor-attributes-list): Add NS case.
17017 (ns-display-monitor-attributes-list): Declare.
17019 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17021 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17023 2013-05-09 Glenn Morris <rgm@gnu.org>
17025 * international/fontset.el (vertical-centering-font-regexp):
17026 Set standard-value.
17028 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17030 * bookmark.el (bookmark-search-delay):
17031 * cus-start.el (vertical-centering-font-regexp):
17032 * ps-mule.el (ps-mule-font-info-database-default):
17033 * ps-print.el (ps-default-fg, ps-default-bg):
17034 * type-break.el (type-break-good-break-interval):
17035 * whitespace.el (whitespace-indentation-regexp)
17036 (whitespace-space-after-tab-regexp):
17037 * emacs-lisp/testcover.el (testcover-1value-functions)
17038 (testcover-noreturn-functions, testcover-progn-functions)
17039 (testcover-prog1-functions):
17040 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17041 * eshell/em-glob.el (eshell-glob-translate-alist):
17042 * play/tetris.el (tetris-tty-colors):
17043 * progmodes/cpp.el (cpp-face-default-list):
17044 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17045 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17046 (idlwave-help-browser-generic-args):
17047 * progmodes/make-mode.el (makefile-special-targets-list):
17048 * progmodes/python.el (python-shell-virtualenv-path):
17049 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17050 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17051 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17052 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17053 * textmodes/reftex-vars.el (reftex-format-label-function):
17054 * textmodes/remember.el (remember-diary-file): Fix custom types.
17056 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17059 2013-05-09 Leo Liu <sdl.web@gmail.com>
17061 * progmodes/octave.el (inferior-octave-completion-at-point):
17062 Restore file completion. (Bug#14300)
17063 (inferior-octave-startup): Fix incorrect highlighting for the
17066 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17068 * progmodes/ruby-mode.el: First cut at SMIE support.
17069 (ruby-use-smie): New var.
17070 (ruby-smie-grammar): New constant.
17071 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17072 (ruby-smie--forward-token, ruby-smie--backward-token)
17073 (ruby-smie-rules): New functions.
17074 (ruby-mode-variables): Setup SMIE if applicable.
17076 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17078 * simple.el (line-move-visual): Signal beginning/end of buffer
17079 only if vertical-motion moved less than it was requested. Avoids
17080 silly incorrect error messages when there are display strings with
17081 multiple newlines at EOL.
17083 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17085 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17086 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17087 (prolog-char-quote-workaround):
17088 * progmodes/cperl-mode.el (cperl-under-as-char):
17089 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17091 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17093 (vhdl-mode-syntax-table-init): Remove.
17095 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17098 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17100 (ld-script-font-lock-keywords):
17101 Change regexps to use things like \_< and \_>.
17103 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17104 Change all regexps to use things like \_< and \_>.
17106 * progmodes/autoconf.el (autoconf-definition-regexp)
17107 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17108 Handle a _ with symbol syntax.
17109 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17111 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17112 Consolidate declaration.
17113 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17115 (ada-create-syntax-table): Remove.
17116 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17117 already has the right syntax nowadays.
17118 (ada-goto-next-word): Don't change the syntax of "_".
17120 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17123 2013-05-08 Sam Steingold <sds@gnu.org>
17125 * thingatpt.el (thing-at-point): Accept optional second argument
17126 NO-PROPERTIES to strip the text properties from the return value.
17127 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17128 to `thing-at-point' instead of stripping the properties ourselves.
17129 Also, when `thing-at-point' fails to find a url, prepend "http://"
17130 to the filename at point on the assumption that the user is
17131 pointing at something like gnu.org/gnu.
17133 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17135 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17136 * faces.el (crm-separator):
17137 Silence byte-compiler.
17139 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17140 (tool-bar-map): Remove unneeded defvars.
17142 2013-05-08 Leo Liu <sdl.web@gmail.com>
17144 Re-work a fix for bug#10994 based on Le Wang's patch.
17145 * ido.el (ido-remove-consecutive-dups): New helper.
17146 (ido-completing-read): Use it.
17147 (ido-chop): Revert fix for bug#10994.
17149 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17151 * cus-edit.el (custom-save-variables):
17152 Pretty-print long values. (Bug#14187)
17154 2013-05-08 Glenn Morris <rgm@gnu.org>
17156 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17157 (m4-mode-syntax-table): Init in the defvar.
17158 (m4-mode-abbrev-table): Let define-derived-mode define it.
17160 2013-05-08 Tom Tromey <tromey@redhat.com>
17162 * progmodes/m4-mode.el (m4-mode-syntax-table):
17163 Do not treat "_" as word constituent. (Bug#14167)
17165 2013-05-07 Glenn Morris <rgm@gnu.org>
17167 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17168 Remove explicit eshell-isearch-cancel-map.
17170 * progmodes/f90.el (f90-smart-end-names): New option.
17171 (f90-smart-end): Doc fix.
17172 (f90-end-block-optional-name): New constant.
17173 (f90-block-match): Respect f90-smart-end-names.
17175 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17177 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17178 about implicit semi-colons (bug#14218).
17180 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17182 * frame.el (display-monitor-attributes-list)
17183 (frame-monitor-attributes): New functions.
17185 2013-05-06 Leo Liu <sdl.web@gmail.com>
17187 * progmodes/octave.el (octave-syntax-propertize-function): Change
17188 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17189 (octave-font-lock-keywords): Use octave-operator-regexp.
17190 (octave-completion-at-point): Rename from
17191 octave-completion-at-point-function.
17192 (inferior-octave-directory-tracker): Robustify.
17193 (octave-text-functions): Remove and fix its uses. No such things
17196 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17198 * emacs-lisp/trace.el (trace--display-buffer): New function.
17199 (trace-make-advice): Use it.
17201 2013-05-06 Juri Linkov <juri@jurta.org>
17203 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
17204 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17206 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17207 in the help string. (Bug#12985)
17209 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
17211 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
17213 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17215 * progmodes/perl-mode.el: Add support for here documents.
17216 (perl-syntax-propertize-function): Match here-doc markers.
17217 (perl-syntax-propertize-special-constructs): Find their end.
17218 (perl-imenu-generic-expression): Use [:alnum:].
17220 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17221 (advice--add-function): Refresh the advice if already present
17224 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
17226 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
17228 2013-05-06 Glenn Morris <rgm@gnu.org>
17230 * w32-fns.el (w32-charset-info-alist): Declare.
17232 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17233 of its defcustom properties.
17234 (eshell-cmpl-initialize): No need to load pcomplete.
17236 * generic-x.el: No need to require comint when compiling.
17238 * net/eudc-export.el: Make it loadable without bbdb.
17239 (top-level): Use require rather than load-library.
17240 (eudc-create-bbdb-record, eudc-bbdbify-phone)
17241 (eudc-batch-export-records-to-bbdb)
17242 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17245 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17247 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17248 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17249 some tweaks, instead.
17251 2013-05-05 Leo Liu <sdl.web@gmail.com>
17253 * progmodes/octave.el (octave-font-lock-keywords)
17254 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17255 (inferior-octave-send-list-and-digest): Improve error message.
17256 (octave-mode, inferior-octave-mode): Use setq-local.
17257 (octave-help): Set info-lookup-mode.
17259 2013-05-05 Richard Stallman <rms@gnu.org>
17261 * vc/compare-w.el (compare-windows-whitespace):
17262 Treat no-break space as whitespace.
17264 * mail/rmailsum.el (rmail-summary-rmail-update):
17265 Detect empty summary and don't change selected message.
17266 (rmail-summary-goto-msg): Likewise.
17268 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17269 Doc fixes, rename args.
17271 2013-05-05 Alan Mackenzie <acm@muc.de>
17273 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17275 2013-05-05 Juri Linkov <juri@jurta.org>
17277 * info.el (Info-read-subfile): Use (point-min) instead of (point)
17278 to not add the length of the summary segment to the return value.
17281 2013-05-05 Leo Liu <sdl.web@gmail.com>
17283 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17284 (inferior-octave-output-filter): Remove.
17285 (octave-send-region, inferior-octave-startup): Fix callers.
17286 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17287 (octave-binary-file-extensions): New user variable.
17288 (octave-find-definition): Confirm if opening binary files.
17289 (octave-help-file): Use octave-find-definition to get the binary
17291 (octave-help): Adjust for octave-help-file change.
17293 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17295 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17296 Merge the two entries that handle function definitions.
17297 (pascal--syntax-propertize): New const.
17298 (pascal-mode): Use it. Use setq-local.
17300 2013-05-04 Glenn Morris <rgm@gnu.org>
17302 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17303 (diary-from-outlook): Respect diary-from-outlook-function.
17305 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17307 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17308 Move the declaration from C.
17309 (read-minibuffer, eval-minibuffer): Move from C.
17310 (completion-setup-function): Avoid minibuffer-completion-contents.
17312 2013-05-03 Leo Liu <sdl.web@gmail.com>
17314 * progmodes/octave.el (octave-font-lock-keywords): Do not
17315 dehighlight 'end' in comments or strings.
17316 (octave-completing-read, octave-goto-function-definition):
17318 (octave-help-buffer): New user variable.
17319 (octave-help-file, octave-help-function): New button types.
17320 (octave-help): New command and bind it to C-h ;.
17321 (octave-find-definition): New command and bind it to M-.
17322 (user-error): Alias to error if not defined.
17324 2013-05-02 Leo Liu <sdl.web@gmail.com>
17326 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17328 (octave-font-lock-keywords): Include [ and {.
17330 2013-05-02 Leo Liu <sdl.web@gmail.com>
17332 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17333 (inferior-octave): Remove calling comint-mode and return the buffer.
17334 (inferior-octave-startup): Cosmetic changes.
17336 2013-05-02 Leo Liu <sdl.web@gmail.com>
17338 * progmodes/octave.el (octave-syntax-propertize-function):
17339 Include the case when ' is at line beginning. (Bug#14336)
17341 2013-05-02 Glenn Morris <rgm@gnu.org>
17343 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17344 * desktop.el (vc-dir-mode): Just autoload it here.
17346 2013-05-02 Alan Mackenzie <acm@muc.de>
17348 Eliminate variable c-standard-font-lock-fontify-region-function.
17349 * progmodes/cc-mode.el
17350 (c-standard-font-lock-fontify-region-function): Remove.
17351 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17353 2013-05-01 Leo Liu <sdl.web@gmail.com>
17355 * progmodes/octave.el: Compatible with older emacs-24 releases.
17356 (inferior-octave-has-built-in-variables): Remove. Built-in
17357 variables were removed from Octave in 2007.
17358 (inferior-octave-startup): Fix uses.
17359 (comint-line-beginning-position): Remove compatibility code for
17362 2013-05-01 Juri Linkov <juri@jurta.org>
17364 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17366 2013-05-01 Juri Linkov <juri@jurta.org>
17368 * comint.el (comint-previous-matching-input): Don't print message
17369 "History item: %d" when `isearch-mode' is active.
17370 (comint-history-isearch-message): Print message "History item: %d"
17371 when `comint-input-ring-index' is not empty and this function is
17372 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17374 2013-05-01 Leo Liu <sdl.web@gmail.com>
17376 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17377 definitions. Use completion-at-point to insert keywords.
17378 (octave-abbrev-start): Remove.
17379 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17381 2013-04-30 Leo Liu <sdl.web@gmail.com>
17383 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17386 2013-04-30 Alan Mackenzie <acm@muc.de>
17388 Handle arbitrarily long C++ member initialisation lists.
17389 * progmodes/cc-engine.el (c-back-over-member-initializers):
17391 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17392 (most) member init lists.
17394 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17396 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17399 2013-04-30 Leo Liu <sdl.web@gmail.com>
17401 * progmodes/octave.el (octave-variables): Remove. No builtin
17402 variables any more. All converted to functions.
17403 (octave-font-lock-keywords, octave-completion-at-point-function):
17405 (octave-font-lock-texinfo-comment): New user variable.
17406 (octave-texinfo-font-lock-keywords): New variable for texinfo
17408 (octave-function-comment-block): New face.
17409 (octave-font-lock-texinfo-comment): New function.
17410 (octave-mode): Font lock texinfo comment block.
17412 2013-04-29 Leo Liu <sdl.web@gmail.com>
17414 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17415 indexing expression.
17416 (octave-continuation-string): Do not use \.
17417 (inferior-octave-complete-impossible): Remove.
17418 (inferior-octave-completion-table)
17419 (inferior-octave-completion-at-point): Remove its uses.
17420 (inferior-octave-startup): completion_matches was introduced to
17421 Octave in 1996 so safe to assume it.
17422 (octave-function-file-comment): Improve to follow how Octave does it.
17423 (octave-update-function-file-comment): Tweak.
17425 2013-04-29 Leo Liu <sdl.web@gmail.com>
17427 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17428 (inferior-octave-startup): Remove inferior-octave-startup-hook.
17429 (octave-function-file-comment): Fix typo.
17430 (octave-sync-function-file-names): Use read-char-choice.
17432 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
17434 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17435 to t for the less important warnings.
17437 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
17439 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
17441 2013-04-27 Glenn Morris <rgm@gnu.org>
17443 * vc/log-view.el (log-view-current-entry):
17444 Treat "---" separator lines as part of the following rev. (Bug#14169)
17446 2013-04-27 Juri Linkov <juri@jurta.org>
17448 * subr.el (read-number): Doc fix about using it by interactive
17449 code letter `n'. (Bug#14254)
17451 2013-04-27 Juri Linkov <juri@jurta.org>
17453 * desktop.el (desktop-auto-save-timeout): New option.
17454 (desktop-file-checksum): New variable.
17455 (desktop-save): Add optional arg `auto-save' and don't auto-save
17456 if nothing changed.
17457 (desktop-auto-save-timer): New variable.
17458 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17459 (after-init-hook): Call `desktop-auto-save-set-timer'.
17460 Suggested by Reuben Thomas <rrt@sc3d.org> in
17461 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17463 2013-04-27 Leo Liu <sdl.web@gmail.com>
17465 * progmodes/octave.el (octave-function-file-p)
17466 (octave-skip-comment-forward, octave-function-file-comment)
17467 (octave-update-function-file-comment): New functions.
17468 (octave-mode-map): Bind C-c ; to
17469 octave-update-function-file-comment.
17470 (octave-mode-menu): Add octave-update-function-file-comment.
17471 (octave-mode, inferior-octave-mode): Fix doc-string.
17472 (octave-insert-defun): Conform to Octave's coding convention.
17475 * files.el (basic-save-buffer): Don't let errors in
17476 before-save-hook prevent saving buffer.
17478 2013-04-20 Roland Winkler <winkler@gnu.org>
17480 * faces.el (read-face-name): Use completing-read if arg multiple
17483 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
17485 * ls-lisp.el (ls-lisp-insert-directory): If no files are
17486 displayed, move point to after the totals line.
17487 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17490 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
17492 * emacs-lisp/package.el (package-autoload-ensure-default-file):
17493 Add current dir to the load-path.
17494 (package-generate-autoloads): Don't rely on
17495 autoload-ensure-default-file.
17497 2013-04-26 Reuben Thomas <rrt@sc3d.org>
17499 * textmodes/remember.el (remember-store-in-files): Document that
17500 the file name format is passed to `format-time-string'.
17502 2013-04-26 Leo Liu <sdl.web@gmail.com>
17504 * progmodes/octave.el (octave-sync-function-file-names): New function.
17505 (octave-mode): Use it in before-save-hook.
17507 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
17509 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17512 * progmodes/octave.el (octave-smie-forward-token): Properly skip
17513 \n and comment, even if it's not an implicit ; (bug#14218).
17515 2013-04-26 Glenn Morris <rgm@gnu.org>
17517 * subr.el (read-number): Once more use `read' rather than
17518 `string-to-number', to trap non-numeric input. (Bug#14254)
17520 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
17522 * emacs-lisp/syntax.el (syntax-propertize-multiline):
17523 Use `syntax-multiline' text property consistently instead of
17524 `font-lock-multiline'. (Bug#14237)
17526 2013-04-26 Glenn Morris <rgm@gnu.org>
17528 * emacs-lisp/shadow.el (list-load-path-shadows):
17529 No longer necessary to check for duplicate simple.el, since
17530 2012-07-07 change to init_lread to not include installation lisp
17531 directories in load-path when running uninstalled. (Bug#14270)
17533 2013-04-26 Leo Liu <sdl.web@gmail.com>
17535 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17536 (octave-mode, inferior-octave-mode): Use setq-local.
17537 (octave-not-in-string-or-comment-p): Rename to
17538 octave-in-string-or-comment-p.
17539 (octave-in-comment-p, octave-in-string-p)
17540 (octave-in-string-or-comment-p): Replace defsubst with defun.
17542 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
17544 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17546 2013-04-25 Bastien Guerry <bzg@gnu.org>
17548 * textmodes/remember.el (remember-data-directory)
17549 (remember-directory-file-name-format): Fix custom types.
17551 2013-04-25 Leo Liu <sdl.web@gmail.com>
17553 * progmodes/octave.el (octave-completion-at-point-function):
17554 Make use of inferior octave process.
17555 (octave-initialize-completions): Remove.
17556 (inferior-octave-completion-table): New function.
17557 (inferior-octave-completion-at-point): Use it.
17558 (octave-completion-alist): Remove.
17560 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17562 * progmodes/opascal.el: Use font-lock and syntax-propertize.
17563 (opascal-mode-syntax-table): New var.
17564 (opascal-literal-kind, opascal-is-literal-end)
17565 (opascal-literal-token-at): Rewrite.
17566 (opascal--literal-start-re, opascal-font-lock-keywords)
17567 (opascal--syntax-propertize): New constants.
17568 (opascal-font-lock-defaults): Adjust.
17569 (opascal-mode): Use them. Set comment-<foo> variables as well.
17570 (delphi-comment-face, opascal-comment-face, delphi-string-face)
17571 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17572 (delphi-other-face, opascal-other-face): Remove face variables.
17573 (opascal-save-state): Remove macro.
17574 (opascal-fontifying-progress-step): Remove constant.
17575 (opascal--ignore-changes): Remove var.
17576 (opascal-set-token-property, opascal-parse-next-literal)
17577 (opascal-is-stable-literal, opascal-complete-literal)
17578 (opascal-is-literal-start, opascal-face-of)
17579 (opascal-parse-region, opascal-parse-region-until-stable)
17580 (opascal-fontify-region, opascal-after-change)
17581 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17582 (opascal-debug-parse-region, opascal-debug-parse-window)
17583 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17584 (opascal-debug-fontify-buffer): Remove.
17585 (opascal-debug-mode-map): Adjust accordingly.
17587 2013-04-25 Leo Liu <sdl.web@gmail.com>
17589 Merge octave-mod.el and octave-inf.el into octave.el with some
17591 * progmodes/octave.el: New file renamed from octave-mod.el.
17592 * progmodes/octave-inf.el: Merged into octave.el.
17593 * progmodes/octave-mod.el: Renamed to octave.el.
17595 2013-04-25 Tassilo Horn <tsdh@gnu.org>
17597 * textmodes/reftex-vars.el
17598 (reftex-label-ignored-macros-and-environments): New defcustom.
17600 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17602 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17604 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17605 (smie-indent-keyword): Improve the check to ensure that the next
17606 comment is really on the same line.
17607 (smie-indent-comment): Don't align with a subsequent closer (or eob).
17609 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17610 semi-colons if the line is not otherwise empty (bug#14218).
17612 2013-04-25 Glenn Morris <rgm@gnu.org>
17614 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17616 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * progmodes/opascal.el (opascal-set-token-property): Rename from
17619 opascal-set-text-properties and only set `token' (bug#14134).
17620 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17621 (opascal-literal-text-properties): Remove.
17622 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17625 2013-04-24 Reuben Thomas <rrt@sc3d.org>
17627 * textmodes/remember.el (remember-handler-functions): Add an
17628 option for a new handler `remember-store-in-files'.
17629 (remember-data-directory, remember-directory-file-name-format):
17631 (remember-store-in-files): New function to store remember notes
17632 as separate files within a directory.
17634 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
17636 * progmodes/compile.el (compilation-next-error-function):
17637 Pass "formats" to compilation-find-file (bug#11777).
17639 2013-04-24 Glenn Morris <rgm@gnu.org>
17641 * vc/vc-bzr.el (vc-bzr-print-log):
17642 * vc/vc-hg.el (vc-hg-print-log):
17643 * vc/vc-svn.el (vc-svn-print-log):
17644 Fix START-REVISION with LIMIT != 1. (Bug#14168)
17646 * vc/vc-bzr.el (vc-bzr-print-log):
17647 * vc/vc-cvs.el (vc-cvs-print-log):
17648 * vc/vc-git.el (vc-git-print-log):
17649 * vc/vc-hg.el (vc-hg-print-log):
17650 * vc/vc-mtn.el (vc-mtn-print-log):
17651 * vc/vc-rcs.el (vc-rcs-print-log):
17652 * vc/vc-sccs.el (vc-sccs-print-log):
17653 * vc/vc-svn.el (vc-svn-print-log):
17654 * vc/vc.el (vc-print-log-internal): Doc fixes.
17656 2013-04-23 Glenn Morris <rgm@gnu.org>
17658 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17659 Remove venerable code attempting to avoid substitute-command-keys.
17661 2013-04-23 Tassilo Horn <tsdh@gnu.org>
17663 * textmodes/reftex-vars.el (reftex-label-regexps):
17664 Call `reftex-compile-variables' after changes to this variable.
17666 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
17668 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17669 Use lexical-binding.
17670 (jit-lock-force-redisplay): Use markers, check buffer's continued
17671 existence and beware narrowed buffers.
17672 (jit-lock-fontify-now): Adjust call accordingly.
17674 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
17676 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17677 to avoid misleading the user.
17679 2013-04-22 Leo Liu <sdl.web@gmail.com>
17681 * info-look.el: Prefer latex2e.info. (Bug#14240)
17683 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
17685 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
17687 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17688 * net/tramp.el (tramp-call-process): ... here.
17689 (tramp-set-completion-function, tramp-parse-putty):
17690 * net/tramp-adb.el (tramp-adb-execute-adb-command):
17691 * net/tramp-gvfs.el (tramp-gvfs-send-command):
17692 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17693 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17694 (tramp-call-local-coding-command): Use `tramp-call-process'
17695 instead of `tramp-compat-call-process'.
17697 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17698 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17699 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17700 (tramp-find-inline-compress): Improve traces.
17701 (tramp-maybe-send-script): Check for Perl binary.
17702 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17704 2013-04-22 Daiki Ueno <ueno@gnu.org>
17706 * epg.el (epg-context-pinentry-mode): New function.
17707 (epg-context-set-pinentry-mode): New function.
17708 (epg--start): Pass --pinentry-mode option to gpg command.
17710 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
17712 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17713 `comint-dynamic-complete' is obsolete since 24.1, replaced by
17714 `completion-at-point'. (Bug#13774)
17716 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17717 default key binding for `describe-distribution' has been moved to
17718 `C-h C-o'. (Bug#13970)
17720 2013-04-21 Glenn Morris <rgm@gnu.org>
17722 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17724 (vc-print-log): Clarify interactive prompt.
17726 2013-04-20 Glenn Morris <rgm@gnu.org>
17728 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17729 No longer include timestamp etc information.
17731 2013-04-20 Roland Winkler <winkler@gnu.org>
17733 * faces.el (read-face-name): Bug fix, return just one face if arg
17734 multiple is nil. (Bug#14209)
17736 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17738 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17739 (remove-function): Autoload.
17741 * comint.el (comint-redirect-original-filter-function): Remove.
17742 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17743 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17744 (vc-cvs-annotate-command):
17745 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17746 * progmodes/prolog.el (prolog-consult-compile):
17747 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17748 Use add/remove-function instead.
17749 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17750 (gud-tooltip-process-output, gud-tooltip-tips):
17751 Use add/remove-function instead.
17752 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17753 (scheme-interaction-mode, exit-scheme-interaction-mode):
17754 Use add/remove-function instead.
17756 * vc/vc-dispatcher.el: Use lexical-binding.
17757 (vc--process-sentinel): Rename from vc-process-sentinel.
17758 Change last arg to be the code to run. Don't use vc-previous-sentinel
17759 and vc-sentinel-commands any more.
17760 (vc-exec-after): Allow code to be a function. Use add/remove-function.
17761 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17763 2013-04-19 Masatake YAMATO <yamato@redhat.com>
17765 * progmodes/sh-script.el (sh-imenu-generic-expression):
17766 Handle function names with a single character. (Bug#14111)
17768 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
17770 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17771 for subroutines defined in an eval (bug#14182).
17773 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17775 * bookmark.el (bookmark-completing-read): Improve handling of empty
17776 string (bug#14176).
17778 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17780 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17782 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
17784 New faster Imenu implementation (bug#14058).
17785 * progmodes/python.el (python-imenu-prev-index-position)
17786 (python-imenu-format-item-label-function)
17787 (python-imenu-format-parent-item-label-function)
17788 (python-imenu-format-parent-item-jump-label-function):
17790 (python-imenu-format-item-label)
17791 (python-imenu-format-parent-item-label)
17792 (python-imenu-format-parent-item-jump-label)
17793 (python-imenu--put-parent, python-imenu--build-tree)
17794 (python-imenu-create-index, python-imenu-create-flat-index)
17795 (python-util-popn): New functions.
17796 (python-mode): Set imenu-create-index-function to
17797 python-imenu-create-index.
17799 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
17801 * winner.el (winner-active-region): Use region-active-p, activate-mark
17802 and deactivate-mark (bug#14225).
17804 * simple.el (deactivate-mark): Don't inline it.
17806 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
17808 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17810 2013-04-18 Tassilo Horn <tsdh@gnu.org>
17812 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17813 file extensions from the archive-mode entry in order to prefer
17814 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17816 2013-04-18 Leo Liu <sdl.web@gmail.com>
17818 * bindings.el (help-event-list): Add ?\?.
17820 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
17822 * subr.el (with-wrapper-hook): Declare obsolete.
17823 * simple.el (filter-buffer-substring-function): New hook.
17824 (filter-buffer-substring): Use it.
17825 (filter-buffer-substring-functions): Mark obsolete.
17826 * minibuffer.el (completion-in-region-function): New hook.
17827 (completion-in-region): Use it.
17828 (completion-in-region-functions): Mark obsolete.
17829 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17830 * abbrev.el (abbrev-expand-function): New hook.
17831 (expand-abbrev): Use it.
17832 (abbrev-expand-functions): Mark obsolete.
17833 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17834 and :filter-return.
17836 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17838 * progmodes/python.el (python-nav--syntactically): Fix cornercases
17839 and do not care about match data.
17841 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
17843 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17844 completion tables when completing error conditions and
17845 `declare' arguments.
17846 (lisp-complete-symbol, field-complete): Mark as obsolete.
17847 (check-parens): Unmatched parens are user errors.
17848 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17850 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
17852 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17853 command changed buffer (ie. `flyspell-pre-buffer' is not current
17854 buffer), which prevents making decisions based on invalid value of
17855 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
17856 cause an error when `flyspell-pre-point' was nil after switching
17858 (flyspell-post-command-hook): No longer needs to change buffers when
17859 checking pre-word. While at it remove unnecessary progn.
17861 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
17863 * textmodes/ispell.el (ispell-add-per-file-word-list):
17864 Fix `flyspell-correct-word-before-point' error when accepting
17865 words and `coment-padding' is an integer by using
17866 `comment-normalize-vars' (Bug #14214).
17868 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17870 New defun movement commands.
17871 * progmodes/python.el (python-nav--syntactically)
17872 (python-nav--forward-defun, python-nav-backward-defun)
17873 (python-nav-forward-defun): New functions.
17875 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
17877 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17878 (python-syntax-context): Use named compiler-macro for backwards
17879 compatibility with Emacs 24.x.
17881 2013-04-17 Leo Liu <sdl.web@gmail.com>
17883 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17884 octave-hide-process-buffer.
17886 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
17888 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17891 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
17893 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17894 Fix adjustment of offset when receiving incomplete responses from GDB
17897 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
17899 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17900 python-mode-abbrev-table.
17901 (python-skeleton-define): Adjust accordingly.
17902 (python-mode-abbrev-table): New table that inherits from it so that
17903 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17905 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17906 (abbrev-symbol): Use it.
17907 (abbrev--before-point): Use it since we already handle inheritance.
17909 2013-04-16 Leo Liu <sdl.web@gmail.com>
17911 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17912 binding to info-lookup-symbol.
17914 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
17916 * minibuffer.el (completion--twq-all):
17917 * term/ns-win.el (ns-initialize-window-system):
17918 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17920 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
17922 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17925 * doc-view.el (doc-view-start-process): Handle url-handler directories.
17927 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
17929 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17930 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17932 (ruby-end-of-defun): Remove the unused arg, change the docstring
17933 to reflect that this function is only used as the value of
17934 `end-of-defun-function'.
17935 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17936 to reflect an earlier change that beginning/end-of-defun functions
17937 jump between methods in a class definition, as well as top-level
17940 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17942 * minibuffer.el (minibuffer-complete): Don't just scroll
17943 a *Completions* that's been iconified.
17944 (minibuffer-force-complete): Make sure repetitions do cycle when going
17945 through completion-in-region -> minibuffer-complete.
17947 2013-04-15 Alan Mackenzie <acm@muc.de>
17949 Correct the placement of c-cpp-delimiters when there're #s not at
17952 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17953 place a submatch around the #.
17954 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17955 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
17958 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17960 * emacs-lisp/nadvice.el: Properly test names when adding advice.
17961 (advice--member-p): New arg `name'.
17962 (advice--add-function, advice-member-p): Use it (bug#14202).
17964 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
17966 Reformulate java imenu-generic-expression.
17967 The old expression contained ill formed regexps.
17969 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17970 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17971 (cc-imenu-java-method-arg-regexp): New defconsts.
17972 (cc-imenu-java-build-type-args-regex): New defun.
17973 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17974 handling of spaces in the regexp.
17976 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17978 * textmodes/ispell.el (ispell-command-loop): Remove
17979 flyspell highlight of a word when ispell accepts it (bug #14178).
17981 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
17983 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17984 uses code from the previous `ange-ftp-run-real-handler'.
17985 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17986 only in case that function exist. This is needed for proper
17987 unloading of Tramp.
17989 2013-04-15 Tassilo Horn <tsdh@gnu.org>
17991 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17993 * textmodes/reftex.el (reftex-compile-variables): Use it.
17995 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17997 * files.el (normal-mode): Only use default major-mode if no other mode
18000 * emacs-lisp/trace.el (trace-values): New function.
18002 * files.el: Allow : in local variables (bug#14089).
18003 (hack-local-variable-regexp): New var.
18004 (hack-local-variables-prop-line, hack-local-variables): Use it.
18006 2013-04-13 Roland Winkler <winkler@gnu.org>
18008 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18009 data before it gets modified by bibtex-beginning-of-entry.
18011 2013-04-13 Roland Winkler <winkler@gnu.org>
18013 * textmodes/bibtex.el (bibtex-url): Doc fix.
18015 2013-04-13 Roland Winkler <winkler@gnu.org>
18017 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18018 does not visit a BibTeX file, exclude it from the list of buffers
18019 returned by bibtex-initialize.
18021 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18023 * window.el (split-window): Remove interactive form, since as a
18024 command this function is a special case of split-window-below.
18025 Correct doc string.
18027 2013-04-12 Roland Winkler <winkler@gnu.org>
18029 * faces.el (read-face-name): Do not override value of arg default.
18030 Allow single faces and strings as default values. Remove those
18031 elements from return value that are not faces.
18032 (describe-face): Simplify.
18033 (face-at-point): New optional args thing and multiple so that this
18034 function can provide the same functionality previously provided by
18036 (make-face-bold, make-face-unbold, make-face-italic)
18037 (make-face-unitalic, make-face-bold-italic, invert-face)
18038 (modify-face, read-face-and-attribute): Use face-at-point.
18040 * cus-edit.el (customize-face, customize-face-other-window)
18041 * cus-theme.el (custom-theme-add-face)
18042 * face-remap.el (buffer-face-set)
18043 * facemenu.el (facemenu-set-face): Use face-at-point.
18045 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18047 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18049 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18051 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18052 off leading { and trailing } from field values.
18054 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18056 * emacs-lisp/timer.el (timer--check): New function.
18057 (timer--time, timer-set-function, timer-event-handler): Use it.
18058 (timer-set-idle-time): Simplify.
18059 (timer--activate): CSE.
18060 (timer-event-handler): Give more info in error message.
18061 (internal-timer-start-idle): New function, moved from C.
18063 * mpc.el (mpc-proc): Add `restart' argument.
18064 (mpc-proc-cmd): Use it.
18065 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18066 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18069 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18071 * progmodes/sh-script.el: Implement `sh-mode' own
18072 `add-log-current-defun-function' (bug#14112).
18073 (sh-current-defun-name): New function.
18074 (sh-mode): Use the function.
18076 2013-04-09 Bastien Guerry <bzg@gnu.org>
18078 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18080 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18082 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18084 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18087 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18089 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18092 2013-04-07 Leo Liu <sdl.web@gmail.com>
18094 * pcmpl-x.el: New file.
18096 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18098 Do not set x-display-name until X connection is established.
18099 This is needed to prevent from weird situation described at
18100 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18101 * frame.el (make-frame): Set x-display-name after call to
18102 window system initialization function, not before.
18103 * term/x-win.el (x-initialize-window-system): Add optional
18104 display argument and use it.
18105 * term/w32-win.el (w32-initialize-window-system):
18106 * term/ns-win.el (ns-initialize-window-system):
18107 * term/pc-win.el (msdos-initialize-window-system):
18108 Add compatible optional display argument.
18110 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18112 * files.el (normal-backup-enable-predicate): On MS-Windows and
18113 MS-DOS compare truenames of temporary-file-directory and of the
18114 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18115 don't fail comparison by compare-strings. Also, compare file
18116 names case-insensitively on MS-Windows and MS-DOS.
18118 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18120 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18121 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18123 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18125 * whitespace.el (whitespace-color-on, whitespace-color-off):
18126 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18128 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18130 * ispell.el (ispell-set-spellchecker-params):
18131 Really set `ispell-args' for all equivs.
18133 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18135 * ido.el (ido-completions): Use extra elements of ido-decorations
18137 (ido-decorations): Update docstring.
18139 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18141 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18142 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18143 nil during initialization, in order not to miss changes since the
18144 file was opened. (Bug#14140)
18146 2013-04-05 Leo Liu <sdl.web@gmail.com>
18148 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18150 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18152 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18154 2013-04-04 Glenn Morris <rgm@gnu.org>
18156 * electric.el (electric-pair-inhibit-predicate): Add :version.
18158 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18160 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18161 when a package is required several times (bug#14082).
18163 2013-04-04 Roland Winkler <winkler@gnu.org>
18165 * faces.el (read-face-name): Behave as promised by the docstring.
18166 Assume that arg default is a list of faces.
18167 (describe-face): Call read-face-name with list of default faces.
18169 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18171 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18172 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18173 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18175 (bookmark-exit-hook-internal): Save even if list is empty.
18177 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18179 * emacs-lisp/package.el (package-pinned-packages): New var.
18180 (package--add-to-archive-contents): Obey it (bug#14118).
18182 2013-04-03 Alan Mackenzie <acm@muc.de>
18184 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18185 Also adapt to the new values of element 7 of a parse state.
18187 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18188 parameter `not-in-delimiter'. Handle being inside comment opener.
18189 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18190 character in case we're typing a '*' after a '/'.
18191 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18192 instead by passing the parameter to c-state-pp-to-literal.
18194 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18195 for elt. 7 of a parse state.
18197 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
18199 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18200 * international/latin1-disp.el, international/mule-util.el:
18201 * language/cyril-util.el, language/european.el, language/ind-util.el:
18202 * language/lao-util.el, language/thai.el, language/tibet-util.el:
18203 * language/tibetan.el, language/viet-util.el:
18204 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18206 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18208 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18209 (electric-pair-post-self-insert-function): Use it.
18210 (electric-pair-default-inhibit): New function, extracted from
18211 electric-pair-post-self-insert-function.
18213 2013-03-31 Roland Winkler <winkler@gnu.org>
18215 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18217 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18219 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18221 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
18223 Un-indent after "pass" and "return" statements (Bug#13888)
18224 * progmodes/python.el (python-indent-block-enders): New var.
18225 (python-indent-calculate-indentation): Use it.
18227 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
18229 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18230 defun. Defining it as defalias could introduce too eager
18231 byte-compiler optimization. (Bug#14030)
18233 2013-03-30 Chong Yidong <cyd@gnu.org>
18235 * iswitchb.el (iswitchb-read-buffer): Fix typo.
18237 2013-03-30 Leo Liu <sdl.web@gmail.com>
18239 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18240 (kmacro-execute-from-register): Pass the keyboard macro to
18241 kmacro-call-macro or repeating won't work correctly.
18243 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
18245 * progmodes/subword.el: Back to using `forward-symbol'.
18247 * subr.el (forward-whitespace, forward-symbol)
18248 (forward-same-syntax): Move from thingatpt.el.
18250 2013-03-29 Leo Liu <sdl.web@gmail.com>
18252 * kmacro.el (kmacro-to-register): New command.
18253 (kmacro-execute-from-register): New function.
18254 (kmacro-keymap): Bind to 'x'. (Bug#14071)
18256 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
18258 * mpc.el: Use defvar-local and setq-local.
18259 (mpc--proc-connect): Connection failures are not bugs.
18260 (mpc-mode-map): `follow-link' only applies to the buffer's content.
18261 (mpc-volume-map): Bind to the up-events.
18263 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
18265 * progmodes/subword.el (superword-mode): Use `forward-sexp'
18266 instead of `forward-symbol'.
18268 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18271 (edebug--recursive-edit): Use it.
18272 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18273 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18275 2013-03-28 Leo Liu <sdl.web@gmail.com>
18277 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
18279 2013-03-27 Eli Zaretskii <eliz@gnu.org>
18281 * facemenu.el (list-colors-callback): New defvar.
18282 (list-colors-redisplay): New function.
18283 (list-colors-display): Install list-colors-redisplay as the
18284 revert-buffer-function. (Bug#14063)
18286 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
18288 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18289 and suffixes don't overlap (bug#14061).
18291 * case-table.el: Use lexical-binding.
18292 (case-table-get-table): New function.
18293 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18295 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18297 * progmodes/subword.el: Add `superword-mode' to do word motion
18298 over symbol_words (parallels and leverages `subword-mode' which
18299 does word motion inside MixedCaseWords).
18301 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18303 * eshell/em-unix.el: Move su and sudo to...
18304 * eshell/em-tramp.el: ...Eshell tramp module.
18306 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18309 Change return value to be a sexp. Delay `get-buffer' to after
18310 restoring the desktop (bug#13951).
18312 2013-03-26 Leo Liu <sdl.web@gmail.com>
18314 * register.el: Move semantic tag handling back to
18315 cedet/semantic/senator.el. (Bug#14052)
18317 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18319 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18320 into the prompt either (bug#13963).
18322 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18324 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18325 part of "(error-foo)".
18327 2013-03-24 Juri Linkov <juri@jurta.org>
18329 * replace.el (list-matching-lines-prefix-face): New defcustom.
18330 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18331 `occur-engine' if `face-differs-from-default-p' returns t.
18332 (occur-engine): Add `,' inside backquote construct to evaluate
18333 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18334 Pass `prefix-face' to the functions `occur-context-lines' and
18335 `occur-engine-add-prefix'.
18336 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18337 `prefix-face' and propertize the prefix with `prefix-face'.
18340 2013-03-24 Leo Liu <sdl.web@gmail.com>
18342 * nxml/rng-valid.el (rng-validate-while-idle)
18343 (rng-validate-quick-while-idle): Guard against deleted buffer.
18346 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18347 is the last entry in kill-buffer-hook.
18349 * files.el (kill-buffer-hook): Doc fix.
18351 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18353 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18354 Make it safe-local.
18356 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18358 2013-03-23 Leo Liu <sdl.web@gmail.com>
18360 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18363 * nxml/rng-valid.el (rng-validate-mode)
18364 (rng-after-change-function, rng-do-some-validation):
18365 * nxml/rng-maint.el (rng-validate-buffer):
18366 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18367 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18368 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18369 (nxml-extend-after-change-region): Use with-silent-modifications.
18371 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18374 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18375 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18376 timer-idle-list. (Bug#13999)
18378 2013-03-23 Juri Linkov <juri@jurta.org>
18380 * info.el (info-index-match): New face.
18381 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18382 main pattern and add text properties with the new face to matches
18383 in index entries relative to the beginning of the index entry.
18386 2013-03-21 Eric Ludlam <zappo@gnu.org>
18388 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18389 Inhibit read only while inserting objects.
18391 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
18393 * progmodes/cfengine.el: Update docs to mention
18394 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
18395 symbol motion. Remove "_" from the word syntax.
18397 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
18399 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18400 syntax for both `cfengine2-mode' and `cfengine3-mode'.
18402 2013-03-20 Juri Linkov <juri@jurta.org>
18404 * info.el (Info-next-reference-or-link)
18405 (Info-prev-reference-or-link): New functions.
18406 (Info-next-reference, Info-prev-reference): Use them.
18407 (Info-try-follow-nearest-node): Handle footnote navigation.
18408 (Info-fontify-node): Fontify footnotes. (Bug#13989)
18410 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
18412 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18413 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18415 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
18417 Suppress unnecessary non-ASCII chatter during build process.
18418 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18419 (batch-skkdic-convert): Suppress most of the chatter.
18420 It's not needed so much now that machines are faster,
18421 and its non-ASCII component was confusing; see Dmitry Gutov in
18422 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18424 2013-03-20 Leo Liu <sdl.web@gmail.com>
18426 * ido.el (ido-chop): Fix bug#10994.
18428 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18430 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18432 (whitespace-color-on, whitespace-color-off):
18433 Use `font-lock-fontify-buffer' (Bug#13817).
18435 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
18437 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18438 remapping in mode-line.
18439 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18441 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18443 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18444 value for `whitespace-line' face (Bug#13875).
18445 (whitespace-font-lock-keywords): Change description.
18446 (whitespace-color-on): Don't save `font-lock-keywords' value, save
18447 the constructed keywords instead.
18448 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18450 2013-03-19 Leo Liu <sdl.web@gmail.com>
18452 * progmodes/compile.el (compilation-display-error): New command.
18453 (compilation-mode-map, compilation-minor-mode-map): Bind it to
18456 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18458 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18460 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
18462 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18464 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
18466 * net/tramp-compat.el (tramp-compat-user-error): New defun.
18468 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18469 * net/tramp-gvfs.el (top):
18470 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18471 (tramp-handle-shell-command): Use it.
18472 (tramp-dissect-file-name): Raise an error when hostname is a
18473 method name, and neither method nor user is specified.
18475 * net/trampver.el: Update release number.
18477 2013-03-18 Leo Liu <sdl.web@gmail.com>
18479 Make sure eldoc can be turned off properly.
18480 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18482 (eldoc-display-message-p): Revert last change.
18483 (eldoc-display-message-no-interference-p)
18484 (eldoc-print-current-symbol-info): Tweak.
18486 2013-03-18 Tassilo Horn <tsdh@gnu.org>
18488 * doc-view.el (doc-view-new-window-function): Check the new window
18489 overlay's display property instead the char property of the
18490 buffer's first char. Use `with-selected-window' instead of
18491 `save-window-excursion' with `select-window'.
18492 (doc-view-document->bitmap): Check the current doc-view overlay's
18493 display property instead the char property of the buffer's first char.
18495 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18497 Automate the build of ja-dic.el (Bug#13984).
18498 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18499 from the input, rather than assume that it's been done for us by the
18500 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
18501 the current date into a ja-dic.el comment, as that complicates
18502 regression testing.
18504 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18506 * whitespace.el: Fix double evaluation.
18507 (whitespace-space, whitespace-hspace, whitespace-tab)
18508 (whitespace-newline, whitespace-trailing, whitespace-line)
18509 (whitespace-space-before-tab, whitespace-indentation)
18510 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18512 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18513 (whitespace-color-on): Use a single font-lock-add-keywords call.
18514 Fix double-evaluation of face variables.
18516 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
18518 * net/tramp-adb.el (tramp-adb-parse-device-names):
18519 Use `start-process' instead of `call-process'. Otherwise, the
18520 function might be blocked under MS Windows. (Bug#13299)
18522 2013-03-17 Leo Liu <sdl.web@gmail.com>
18524 Extend eldoc to display info in the mode-line. (Bug#13978)
18525 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18526 (eldoc-mode-line-string): New variable.
18527 (eldoc-minibuffer-message): New function.
18528 (eldoc-message-function): New variable.
18529 (eldoc-message): Use it.
18530 (eldoc-display-message-p)
18531 (eldoc-display-message-no-interference-p):
18532 Support eldoc-post-insert-mode.
18534 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18535 (eval-expression): Run it.
18537 2013-03-17 Roland Winkler <winkler@gnu.org>
18539 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18540 strings in the list of return values.
18542 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18544 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18545 radix before checking for HMS forms.
18547 2013-03-16 Leo Liu <sdl.web@gmail.com>
18549 * progmodes/scheme.el: Add indentation and font-locking for λ.
18552 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
18554 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18555 token before point (bug#13942).
18557 2013-03-16 Leo Liu <sdl.web@gmail.com>
18559 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
18561 2013-03-16 Eli Zaretskii <eliz@gnu.org>
18563 * startup.el (command-line-normalize-file-name): Fix handling of
18564 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
18565 <xfq.free@gmail.com> in
18566 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18568 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
18570 Sync with Tramp 2.2.7.
18572 * net/trampver.el: Update release number.
18574 2013-03-14 Tassilo Horn <tsdh@gnu.org>
18576 * doc-view.el: Fix bug#13887.
18577 (doc-view-insert-image): Don't modify overlay associated to
18578 non-live windows, and implement horizontal centering of image in
18579 case it's smaller than the window.
18580 (doc-view-new-window-function): Force redisplay of new windows on
18583 2013-03-13 Karl Fogel <kfogel@red-bean.com>
18585 * saveplace.el (save-place-alist-to-file): Don't sort
18586 `save-place-alist', just pretty-print it (bug#13882).
18588 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
18590 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18591 Check whether `default-file-name-coding-system' is bound.
18592 It isn't in XEmacs.
18594 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
18596 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18597 backquotes for `obsolete' (bug#13929).
18599 * international/mule.el (find-auto-coding): Include file name in
18600 obsolescence warning (bug#13922).
18602 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
18604 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18605 for CFEngine 3-specific indentation.
18606 (cfengine3-indent-line): Use it. Fix up category regex.
18607 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18609 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18611 * type-break.el (type-break-file-name):
18612 * textmodes/remember.el (remember-data-file):
18613 * strokes.el (strokes-file):
18614 * shadowfile.el (shadow-initialize):
18615 * saveplace.el (save-place-file):
18616 * ps-bdf.el (bdf-cache-file):
18617 * progmodes/idlwave.el (idlwave-config-directory):
18618 * net/quickurl.el (quickurl-url-file):
18619 * international/kkc.el (kkc-init-file-name):
18620 * ido.el (ido-save-directory-list-file):
18621 * emulation/viper.el (viper-custom-file-name):
18622 * emulation/vip.el (vip-startup-file):
18623 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18624 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18626 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
18628 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18629 * language/thai-word.el: Switch to UTF-8.
18631 See ChangeLog.16 for earlier changes.
18633 ;; Local Variables:
18637 Copyright (C) 2011-2014 Free Software Foundation, Inc.
18639 This file is part of GNU Emacs.
18641 GNU Emacs is free software: you can redistribute it and/or modify
18642 it under the terms of the GNU General Public License as published by
18643 the Free Software Foundation, either version 3 of the License, or
18644 (at your option) any later version.
18646 GNU Emacs is distributed in the hope that it will be useful,
18647 but WITHOUT ANY WARRANTY; without even the implied warranty of
18648 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18649 GNU General Public License for more details.
18651 You should have received a copy of the GNU General Public License
18652 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.