1 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
3 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
4 Do not match file names that end in '/', as they cannot be 'grep'
5 hits nowadays. This prevents confusion when 'grep -r' reports a
6 match in a file whose basename is ':12345:'. Conversely, do not
7 require exactly the same sequence of spaces and tabs after both
8 colons, and allow spaces or tabs before the second colon, as per
9 the POSIX spec for 'grep' output.
11 2014-09-26 Leo Liu <sdl.web@gmail.com>
13 Add cl-parse-integer based on parse-integer (Bug#18557)
14 * calendar/parse-time.el (parse-time-digits): Remove.
15 (digit-char-p, parse-integer) Moved to cl-lib.el.
16 (parse-time-tokenize, parse-time-rules, parse-time-string): Use
19 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
21 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
22 (cl-digit-char-p): New function.
24 2014-09-25 Juri Linkov <juri@jurta.org>
26 * vc/add-log.el (change-log-next-buffer): Don't create an empty
27 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
28 Return the current buffer if no files match the default pattern
29 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
31 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
33 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
34 the global vc-handled-backends (bug#18535).
36 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
38 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
39 Suggested by <lompik@voila.fr>.
41 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
43 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
44 Rename from `newsticker--treeview-do-get-node'.
45 (newsticker--treeview-get-node-by-id):
46 Rename from `newsticker--treeview-get-node'.
47 (newsticker--treeview-buffer-init)
48 (newsticker--treeview-buffer-init): Disable buffer undo.
49 (newsticker--treeview-unfold-node): Adapt to modified
50 `newsticker--group-find-parent-group'.
51 (newsticker--group-do-find-group):
52 Rename from `newsticker--group-do-find-group-for-feed'.
53 Now works for both, groups and feeds.
54 (newsticker--group-find-parent-group):
55 Rename from `newsticker--group-find-group-for-feed'.
56 Now works for both, groups and feeds.
57 (newsticker--group-do-get-parent-group)
58 (newsticker--group-get-parent-group): Remove.
59 (newsticker-group-add-group): Change interactive prompts.
60 (newsticker-group-add-group): Finally jump to added group.
61 (newsticker-group-delete-group): Finally jump to current feed.
62 (newsticker--group-do-rename-group, newsticker-group-rename-group)
63 (newsticker--get-group-names, newsticker--group-names): New.
64 (newsticker-group-move-feed): Finally jump to moved feed.
65 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
66 (newsticker-group-shift-group-down)
67 (newsticker-group-shift-group-up, newsticker--group-shift): New.
68 (newsticker-treeview-mode-map): New keybindings for new shift commands.
70 * net/newst-backend.el (newsticker--item-list)
71 (newsticker--item-position, newsticker--prev-message)
72 (newsticker--scrollable-text): Move to newst-ticker.el.
74 * net/newst-ticker.el (newsticker--item-list)
75 (newsticker--item-position, newsticker--prev-message)
76 (newsticker--scrollable-text): Move from newst-backend.el.
78 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
80 * window.el (fit-window-to-buffer): When counting buffer width,
81 count the whole visible buffer. Correctly convert the body-height
82 to pixel size for window-text-pixel-size (Bug#18498).
84 2014-09-22 Sam Steingold <sds@gnu.org>
86 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
87 (sql-execute): Use `special-mode'.
89 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
91 Add pcase-defmacro, as well as `quote' and `app' patterns.
92 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
93 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
94 (pcase--funcall, pcase--eval): New functions.
95 (pcase--u1): Use them for guard, pred, let, and app.
96 (\`): Use the new feature to generate better code for vector patterns.
97 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
98 (pcase--upat): Remove.
99 (pcase--macroexpand): Don't hardcode handling of `.
100 (pcase--split-consp, pcase--split-vector): Remove.
101 (pcase--split-equal): Disregard ` since it's expanded away.
102 (pcase--split-member): Optimize for quote rather than for `.
103 (pcase--split-pred): Optimize for quote rather than for `.
104 (pcase--u1): Remove handling of ` (and of `or' and `and').
105 Quote non-selfquoting values when passing them to `eq'.
106 Drop `app's let-binding if the variable is not used.
108 (`): Define as a pattern macro.
109 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
110 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
111 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
113 (pcase--split-match): Don't hoist or/and here any more.
114 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
115 (pcase--flip): New helper macro.
116 (pcase--u1): Optimize the memq case directly.
117 Don't handle neither self-quoting nor and/or patterns any more.
118 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
119 (pcase--macroexpand): New function.
120 (pcase--expand): Use it.
121 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
122 New optimization functions.
123 (pcase--u1): Add support for `quote' and `app'.
124 (pcase): Document them in the docstring.
126 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
128 Use lexical-bindin in Ibuffer.
129 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
130 (ibuffer-compile-format): Simplify.
131 (ibuffer-clear-summary-columns): Simplify.
132 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
133 elem of dotimes when we don't refer to the iteration var from it.
134 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
135 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
136 Silence byte-compiler.
138 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
140 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
141 expression for a list.
143 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
144 for functions with no arguments.
146 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
147 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
149 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
151 * simple.el (clone-indirect-buffer): Mention the return value
154 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
155 Text mode in docstring (bug#18464).
157 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
159 * progmodes/perl-mode.el (perl-syntax-propertize-function):
160 Accept underscores in identifiers after "sub" (bug#18502).
162 2014-09-21 Tassilo Horn <tsdh@gnu.org>
164 * textmodes/reftex-sel.el (reftex-select-label-mode)
165 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
166 from special-mode (instead of fundamental-mode) and propertize
167 with font-lock-face instead of just face. (Bug#18496)
169 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
171 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
173 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
174 `table-etc' when `end' is non-nil.
175 (lisp-completion-at-point): Move `end' back if it's after quote.
176 If in comment or string, only complete when after backquote.
178 (lisp-completion-at-point): Don't use
179 `lisp--local-variables-completion-table' in the
180 `lisp--form-quoted-p' case.
182 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
184 * emacs-lisp/lisp.el (lisp--expect-function-p)
185 (lisp--form-quoted-p): New functions.
186 (lisp-completion-at-point): Use them to see if we're completing a
187 variable reference, a function name, or just any symbol.
188 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
190 2014-09-18 Ivan Kanis <ivan@kanis.fr>
192 * net/shr.el, net/eww.el: Don't override `shr-width', but
193 introduce a new variable `shr-internal-width'. This allows users
194 to specify a width themselves.
196 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
198 * image-mode.el (image-toggle-display-image): If we have a
199 `fit-width' or a `fit-height', don't limit the size of the image
200 to the window size, because that doesn't preserve the aspect ratio.
201 * image-mode.el: Move defvars earlier to avoid a byte-compilation
204 2014-09-17 Reuben Thomas <rrt@sc3d.org>
206 * progmodes/js.el: Add interpreter-mode-alist support for various
207 JavaScript interpreters.
209 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
211 Don't assume 'grep' supports GREP_OPTIONS.
212 The GREP_OPTIONS environment variable is planned to be marked
213 obsolescent in GNU grep, due to problems in its use, so stop
215 * progmodes/grep.el (grep-highlight-matches): Document this.
216 (grep-process-setup): Do not set GREP_OPTIONS.
217 (grep-compute-defaults): Use an explicit --color option if supported.
219 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
221 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
222 Don't add outdated key-shortcut cache (bug#18482).
224 2014-09-15 Glenn Morris <rgm@gnu.org>
226 * image.el (image-multi-frame-p): Fix thinko - do not force
227 a delay if none was specified. (Bug#18334)
229 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
231 * window.el (fit-window-to-buffer): Doc fix.
233 2014-09-15 Ivan Shmakov <ivan@siamics.net>
235 * desktop.el (desktop-create-buffer): Check that buffers are still live
236 before burying them (bug#18373).
238 2014-09-15 Glenn Morris <rgm@gnu.org>
240 * calendar/diary-lib.el (diary-list-entries):
241 Restore 24.3 display behavior. (Bug#18381)
243 2014-09-15 Eli Zaretskii <eliz@gnu.org>
245 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
246 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
247 discrepancy between window-pixel-edges and mouse events, and
248 avoids moving mode line up when the mouse click is on the modeline
249 and no drag is attempted.
251 2014-09-14 Daniel Colascione <dancol@dancol.org>
253 * register.el (insert-register): Change default interactive
256 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
258 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
259 Suppress debug messages.
261 * net/tramp.el (tramp-file-name-handler):
262 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
265 2014-09-13 Christopher Schmidt <ch@ristopher.com>
267 * calendar/calendar.el (calendar-update-mode-line):
268 Do not overwrite mode-line-format if calendar-mode-line-format is
271 2014-09-13 Leo Liu <sdl.web@gmail.com>
273 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
274 (pcase--expand): Use it.
275 (pcase-exhaustive): New macro. (Bug#16567)
277 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
278 Add pcase-exhaustive.
280 2014-09-13 Eli Zaretskii <eliz@gnu.org>
282 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
283 using the specified transfer-encoding, if any, or 'undecided'.
284 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
285 broken at the window margin.
287 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
289 Support rendering of HTML parts in Rmail (bug#4258).
290 * mail/rmailmm.el (rmail-mime-process): Handle text/html
291 separately from other text/ types. Suppress tagline for
293 (rmail-mime-parse): Don't change visibility of tagline here.
294 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
295 Handle text/html specially.
296 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
297 (rmail-mime-insert-html, rmail-mime-render-html-shr)
298 (rmail-mime-render-html-lynx): New functions.
299 (rmail-mime-fix-inserted-faces): New function.
300 (rmail-mime-process-multipart): Find the best part to show
301 following rmail-mime-prefer-html if set.
302 (rmail-mime-searching): New variable.
303 (rmail-search-mime-message): Bind rmail-mime-searching to
304 suppress rendering while searching.
306 2014-09-12 Sam Steingold <sds@gnu.org>
308 * progmodes/sql.el (sql-product-alist): Add vertica.
309 (sql-vertica-program, sql-vertica-options)
310 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
311 New functions and variables to support Vertica.
312 Inspired by code by Roman Scherer <roman@burningswell.com>.
314 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
316 * ses.el (ses-file-format-extend-parameter-list): Rename from
317 ses-file-format-extend-paramter-list, to correct a misspelling.
320 2014-09-10 Alan Mackenzie <acm@muc.de>
322 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
323 gets loaded at run-time).
324 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
325 c-lang-const to c-make-no-parens-syntax-table and correct the
327 (c-no-parens-syntax-table): Correct the logic of the
330 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
332 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
334 * progmodes/cc-mode.el (c-basic-common-init):
335 Set open-paren-in-column-0-is-defun-start.
336 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
337 Remove declarations, unused.
338 (run-mode-hooks): Remove declaration.
339 (font-lock-defaults): Use plain `defvar' to declare.
340 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
341 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
342 (c-make-mode-syntax-table): Don't micro-optimize.
343 (c-keywords, c-keyword-member-alist): Simplify.
344 (c-kwds-lang-consts): Don't eval at compile-time.
345 (c-primary-expr-regexp): Comment out unused vars.
346 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
347 (c-font-byte-compile): New var.
348 (c--compile): New function. Use it instead of `byte-compile'.
349 (c-cpp-matchers): Quote the value returned by
350 `c-make-syntactic-matcher' in case it's not self-evaluating.
351 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
352 parentheses instead (in case MATCHER happens to be a list).
353 (c-font-lock-enum-tail): Remove unused var `start'.
354 (c-font-lock-objc-methods): Silence byte-compiler warnings.
355 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
356 test into an argument.
357 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
358 (c-get-char-property): Don't use `eval' just to unquote a constant.
359 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
361 (c-put-char-property-fun): Don't call `byte-compile' by hand.
362 (c-clear-char-property, c-clear-char-properties): Check that `property'
363 is a quoted constant.
364 (c-emacs-features): Remove `infodock', `syntax-properties', and
365 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
366 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
367 changing buffer, so we don't have to setq them again afterwards.
368 (c-lang-const): Remove redundant symbolp assertions.
369 (c-find-assignment-for-mode): Use `or'.
370 * Makefile.in (compile-one-process): Remove cc-mode dependency.
372 2014-09-09 Sam Steingold <sds@gnu.org>
374 * progmodes/sql.el (sql-default-directory): Fix type annotation.
376 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
378 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
379 Change doc comments into docstrings.
380 * Makefile.in: Remove cc-awk dependency.
382 2014-09-08 Sam Steingold <sds@gnu.org>
384 * progmodes/sql.el (sql-send-line-and-next): New command,
386 (sql-show-sqli-buffer): Display the buffer instead of its name and
387 bind the command to C-c C-z.
388 (sql-default-directory): New user option.
389 (sql-product-interactive): Bind `default-directory' to it to
390 enable remote connections using Tramp.
391 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
392 suitable buffer is available.
394 2014-09-08 Glenn Morris <rgm@gnu.org>
396 * calendar/calendar.el (calendar-basic-setup):
397 Fix calendar-view-holidays-initially-flag and fancy display.
398 * calendar/diary-lib.el (diary-live-p): Doc fix.
400 * calendar/calendar.el (calendar-basic-setup):
401 Avoid clobbering calendar with diary. (Bug#18381)
403 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
405 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
407 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
409 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
412 2014-09-08 Eli Zaretskii <eliz@gnu.org>
414 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
416 2014-09-06 Leo Liu <sdl.web@gmail.com>
418 * emacs-lisp/pcase.el (pcase): Doc fix.
419 (pcase--split-vector): New function.
420 (pcase--q1): Support vector qpattern. (Bug#18327)
422 2014-09-05 Sam Steingold <sds@gnu.org>
424 * textmodes/tex-mode.el (tex-print-file-extension): New user
426 (tex-print): Use it instead of the hard-coded string.
428 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
430 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
431 Expand `default-directory'.
433 2014-09-05 Martin Rudalics <rudalics@gmx.at>
435 * scroll-bar.el (horizontal-scroll-bars-available-p):
437 (horizontal-scroll-bar-mode): Rewrite using
438 horizontal-scroll-bars-available-p.
439 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
440 horizontal-scroll-bars-available-p.
442 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
444 * subr.el (call-process-shell-command, process-file-shell-command):
445 Make the `args' obsolete (bug#18409).
446 (start-process-shell-command, start-file-process-shell-command):
449 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
451 * calc/calc-forms.el (math-normalize-hms): Do a better check for
452 "negative" hms forms.
454 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
456 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
457 returns nil (bug#18391).
459 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
461 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
462 terminating paren (bug#18352).
463 (eldoc-last-data-store): Return cached data.
464 (eldoc-get-var-docstring): Avoid setq.
465 (eldoc-get-fnsym-args-string): Clarify data flow.
467 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
469 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
470 case where we're currently providing part of the &rest arg after some
471 &key args, as in define-ibuffer-op (bug#18048).
473 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
475 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
476 buffer-local setting of which-func-mode.
477 (which-func-mode): Use defvar-local.
478 (which-function-mode): Don't reset which-func-mode in each buffer since
479 it might have been set by someone else.
480 (which-func-update-ediff-windows): Check which-function-mode.
482 2014-09-03 Martin Rudalics <rudalics@gmx.at>
484 * frame.el (frame-initialize): Remove horizontal-scroll-bars
485 from frame-initial-frame-alist.
486 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
487 (horizontal-scroll-bar-mode-explicit)
488 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
489 (toggle-horizontal-scroll-bar): Remove.
490 (horizontal-scroll-bar-mode): Remove defcustom.
491 (horizontal-scroll-bar-mode): Fix doc-string.
492 (scroll-bar-toolkit-scroll)
493 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
495 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
497 * emacs-lisp/package.el (package-generate-description-file):
498 Properly quote the arguments (bug#18332). Change second arg.
499 (package--alist-to-plist-args): Rename from package--alist-to-plist and
501 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
502 the *-pkg.el file. Adjust to new calling convention of
503 package-generate-description-file.
505 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
506 (gud-gdb-completions): Remove obsolete workaround.
508 2014-09-03 Eli Zaretskii <eliz@gnu.org>
510 * subr.el (posn-col-row): Revert the change from commit
511 2010-11-13T21:07:58Z!eliz@gnu.org, which
512 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
513 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
514 introduced an off-by-one error in the reported row when there is a
515 header line. (Bug#18384)
517 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
519 * progmodes/python.el (python-indent-post-self-insert-function):
520 Avoid electric colon at beginning-of-defun. (Bug#18228)
522 2014-09-03 Glenn Morris <rgm@gnu.org>
524 * tutorial.el (tutorial--display-changes):
525 Fix 2014-08-01 change. (Bug#18382)
527 2014-09-03 Ken Brown <kbrown@cornell.edu>
529 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
530 the Cygwin-w32 build. (Bug#18347)
532 2014-09-03 Glenn Morris <rgm@gnu.org>
534 * tar-mode.el (tar--extract, tar-extract):
535 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
537 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
539 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
540 handle multiline elements (bug#18380).
542 2014-09-01 Eli Zaretskii <eliz@gnu.org>
544 * ls-lisp.el (ls-lisp-use-string-collate)
545 (ls-lisp-UCA-like-collation): New defcustoms.
546 (ls-lisp-string-lessp): Use them to control sorting by file
548 (ls-lisp-version-lessp): New function.
549 (ls-lisp-handle-switches): Use it to implement the -v switch of
551 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
553 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
555 * ibuffer.el: Replace mode-specific quit function with
556 `quit-window' via `special-mode'.
557 (ibuffer-mode-map): Use keybindings from special-mode-map instead
559 (ibuffer): Don't store previous windows configuration.
560 Let `quit-window' handle restoring.
561 (ibuffer-quit): Remove function. Use `quit-window' instead.
562 (ibuffer-restore-window-config-on-quit): Remove variable.
563 (ibuffer-prev-window-config): Remove variable.
565 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
567 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
568 name instead of variable name in hook docstring. (Bug#18349)
570 2014-08-29 Martin Rudalics <rudalics@gmx.at>
572 * window.el (display-buffer-at-bottom): Prefer bottom-left
573 window to other bottom windows. Reuse a bottom window if it
574 shows the buffer already. Suggested by Juri Linkov
575 <juri@jurta.org> in discussion of (Bug#18181).
577 2014-08-29 Leo Liu <sdl.web@gmail.com>
579 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
580 append to minibuffer-setup-hook. (Bug#18341)
582 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
584 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
586 (lookup-syntax-properties): Silence byte-compiler.
587 (c-lang-defconst): Quote the code with `lambda' rather than with
589 (c-lang-const): Avoid unneeded setq.
590 (c-lang-constants-under-evaluation): Add docstring.
591 (c-lang--novalue): New constant.
592 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
593 (c-get-lang-constant): Same here.
594 Get the mode's value using `funcall' now that the code is quoted
597 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
599 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
602 2014-08-28 Martin Rudalics <rudalics@gmx.at>
604 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
605 interpretation of `portion-whole'.
607 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
609 * net/tramp-adb.el: Spell author name correctly.
611 2014-08-28 João Távora <joaotavora@gmail.com>
613 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
614 use url-expand-file-name. (Bug#18310)
616 2014-08-28 Glenn Morris <rgm@gnu.org>
618 * emulation/cua-rect.el (cua--highlight-rectangle):
619 Avoid error at point-min. (Bug#18309)
621 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
623 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
624 executable-find (bug#18244).
626 * simple.el (self-insert-uses-region-functions): Defvar.
628 2014-08-28 Glenn Morris <rgm@gnu.org>
630 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
632 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
634 * startup.el (normal-top-level): Now use internal--top-level-message.
636 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
638 * startup.el (normal-top-level): Use top-level-message.
640 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
642 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
643 URLs containing spaces and the like.
645 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
647 * subr.el (remq): Fix docstring (Bug#18253).
649 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
651 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
653 2014-08-24 Alan Mackenzie <acm@muc.de>
655 Handle C++11's "auto" and "decltype" constructions.
656 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
657 and return 'decltype.
658 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
659 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
661 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
663 (c-font-lock-c++-new): Handle "decltype" constructions.
664 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
665 New c-lang-defconsts/defvars.
666 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
667 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
668 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
669 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
671 Make ">>" act as double template ender in C++ Mode.
672 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
673 off from c->-op-cont-re.
674 (c->-op-cont-tokens): Change to use the above.
675 (c->-op-without->-cont-regexp): New lang-const.
676 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
677 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
680 2014-08-23 Alan Mackenzie <acm@muc.de>
682 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
683 loop, bug #18306. The bug was introduced on 2014-08-02.
685 2014-08-21 Eli Zaretskii <eliz@gnu.org>
687 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
688 Don't recognize a Top node if there are other sectioning commands
689 earlier in the Texinfo file. This fixes a bug in
690 texinfo-make-menu and avoids inflooping in
691 texinfo-all-menus-update when they are invoked on texinfo.texi.
693 2014-08-21 Martin Rudalics <rudalics@gmx.at>
695 * window.el (window--side-window-p): New function.
696 (split-window, window-splittable-p): Use window--side-window-p to
697 determine whether WINDOW can be split (Bug#18304).
698 * calendar/calendar.el (calendar-basic-setup): Fix one call of
699 `window-splittable-p' and add another (Bug#18304).
701 2014-08-20 Sam Steingold <sds@gnu.org>
703 * progmodes/python.el (python-new-pythonpath): Extract from
704 `python-shell-calculate-process-environment'.
706 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
708 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
709 for &key args (bug#18048).
711 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
713 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
714 (eldoc-function-argstring-format): Remove.
715 (eldoc-function-argstring): Always return upcase args.
716 Use help-make-usage. Don't add parens.
717 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
718 it's too late to do it right (bug#18048).
720 2014-08-18 Eli Zaretskii <eliz@gnu.org>
722 * scroll-bar.el (scroll-bar-horizontal-drag-1)
723 (scroll-bar-toolkit-horizontal-scroll): When determining the
724 paragraph direction, use the buffer of the window designated in
727 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
729 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
730 context of unified diff.
732 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
734 Add dependencies to fix loaddefs race during parallel builds.
735 Without this, for example, 'make -j bootstrap' can fail and report
736 "Opening input file: no such file or directory,
737 .../lisp/calendar/diary-loaddefs.el ... recipe for target
738 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
739 got confused because diary-loaddefs.el was being built in parallel.
740 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
741 Depend on $(CAL_DIR)/cal-loaddefs.el.
742 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
744 2014-08-16 Martin Rudalics <rudalics@gmx.at>
746 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
747 portion-whole for scrolling right-to-left text.
749 2014-08-15 Leo Liu <sdl.web@gmail.com>
751 * speedbar.el (speedbar-generic-list-tag-p): Allow special
754 2014-08-15 Glenn Morris <rgm@gnu.org>
756 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
758 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
760 * progmodes/compile.el (compilation-error-regexp-alist-alist):
763 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
765 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
766 add Guile debugger support for GUD.
768 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
770 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
771 (mouse-sel--ignore): New function.
772 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
773 (mouse-sel-original-interprogram-cut-function)
774 (mouse-sel-original-interprogram-paste-function): Remove.
776 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
778 * vc/vc-git.el (vc-git-resolve-when-done): New function.
779 Call "git add" when there are no longer conflict markers.
781 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
783 * vc/vc-git.el (vc-git-find-file-hook): New function.
784 Adds support for calling smerge (and resolve) on a conflicted file.
785 (vc-git-conflicted-files): New function.
786 Useful in itself and a step towards better smerge support.
788 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
790 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
791 to the first part if they're the same as the selection.
793 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
795 * image-mode.el (image-transform-reset): New command and menu item.
796 (image-mode-map): Rearrange the menu items to put presumably more
797 obscure items at the end.
799 2014-08-12 Juri Linkov <juri@jurta.org>
801 * vc/vc-annotate.el (vc-annotate-background-mode):
802 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
804 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
806 * files.el (out-of-memory-warning-percentage): Turn it off by default.
808 2014-08-11 Sam Steingold <sds@gnu.org>
810 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
811 the presence of known validators (tidy, (o)nsgmls).
813 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
815 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
817 * net/newst-treeview.el (newsticker-treeview-date-format): New.
818 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
820 2014-08-11 Glenn Morris <rgm@gnu.org>
822 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
823 chose coding system for writing before backing up, since it causes
824 a more serious problem than the one it solves. (Closes Bug#18141,
827 2014-08-11 Martin Rudalics <rudalics@gmx.at>
829 * window.el (window-total-size): Make doc-string more self-contained.
831 * window.el (display-buffer-below-selected): Restore original
832 behavior if buffer is already displayed in the window below the
833 selected one (Bug#18181).
835 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
837 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
840 2014-08-11 Eli Zaretskii <eliz@gnu.org>
842 * info.el (info): Doc fix.
844 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
846 * info.el (Info-mode-map): Override a global down-mouse-2 binding
849 2014-08-11 Eli Zaretskii <eliz@gnu.org>
851 * simple.el (default-line-height): A floating-point value of
852 line-spacing means a fraction of the default frame font's height,
853 not of the font currently used by the 'default' face.
854 Truncate the pixel value, like the display engine does.
855 (window-screen-lines): Use window-inside-pixel-edges for
856 determining the window height in pixels. (Bug#18195)
858 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
860 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
862 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
864 Enumerate evaluated sexp diary entries (Bug#7911).
865 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
866 (icalendar-export-sexp-enumeration-days): New.
867 (icalendar-export-region): Now `icalendar--convert-to-ical'
868 returns a cons cell or a list of cons cells.
869 (icalendar--convert-to-ical): Take care of
870 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
871 (icalendar--convert-ordinary-to-ical)
872 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
873 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
874 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
875 (icalendar--convert-anniversary-to-ical): Return cons cell.
876 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
877 entries. Return (list of) cons cells.
879 2014-08-09 Juri Linkov <juri@jurta.org>
881 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
882 to reevaluate `vc-annotate-color-map'. (Bug#18189)
884 2014-08-09 Alan Mackenzie <acm@muc.de>
886 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
887 for top-level that can cause unacceptable slow-down in scrolling.
888 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
889 Antipov from 2013-10-14 in emacs-devel.
891 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
893 * ibuffer.el (ibuffer-mode-map): Use toggle button for
894 `ibuffer-auto-mode' menu entry.
895 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
897 2014-08-08 Matthias Meulien <orontee@gmail.com>
899 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
902 2014-08-07 Martin Rudalics <rudalics@gmx.at>
904 * window.el (window--min-size-1): Explicitly set WINDOW arg in
905 calls of window-min-pixel-height and window-min-pixel-width.
907 2014-08-07 Reuben Thomas <rrt@sc3d.org>
909 * progmodes/ada-mode.el:
910 * net/tramp.el (tramp-handle-file-symlink-p):
911 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
912 about VMS, which we no longer support.
913 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
914 and fix a FIXME, using convert-standard-filename in place of
915 removed ada-convert-file-name.
917 2014-08-07 Eli Zaretskii <eliz@gnu.org>
919 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
921 2014-08-07 Reuben Thomas <rrt@sc3d.org>
923 Refer to MS-DOS using the same name everywhere.
924 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
925 ``msdog'' become ``MS-DOS''.
927 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
929 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
930 Use cached "remote-copy-args" value, if available. (Bug#18199)
932 2014-08-07 Leo Liu <sdl.web@gmail.com>
934 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
935 Revert change on 2014-03-22.
937 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
939 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
940 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
944 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
946 * image-mode.el (image-toggle-display-image): Always rescale images
947 to not be bigger than the current window.
949 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
951 * net/eww.el (eww-bookmarks-directory): New variable.
952 (eww-write-bookmarks): Use it.
953 (eww-read-bookmarks): Ditto.
955 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
957 * net/shr.el (shr-copy-url): Also copy the image URL.
959 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
961 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
962 also for Tramp working buffers.
964 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
966 * progmodes/python.el: Fix completions inside (i)pdb.
967 (python-shell-completion-pdb-string-code): Make obsolete.
968 (python-shell-completion-get-completions):
969 Use python-shell-completion-string-code resending setup code
970 continuously for (i)pdb.
972 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
974 * rect.el (rectangle--default-line-number-format): Rename
975 from misspelled rectange--default-line-number-format (Bug#18045).
978 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
980 Don't mishandle year-9999 dates (Bug#18176).
981 * calendar/parse-time.el (parse-time-rules):
982 Allow years up to most-positive-fixnum.
983 * calendar/time-date.el (date-to-time):
984 Pass "Specified time is not representable" errors through.
986 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
988 * progmodes/python.el: Completion code cleanups.
989 (python-shell-completion-get-completions): Detect and send import
990 statements directly to completion function.
991 (python-shell-completion-at-point): Simplify prompt calculation
992 and import vs input completion logic.
994 2014-08-02 Alan Mackenzie <acm@muc.de>
996 Fix confusion in C++ file caused by comma in "= {1,2},".
998 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
999 for a statement boundary marked by "}", check there's no "="
1001 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
1002 non-nil `comma-delim' argument.
1003 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
1004 initializer expression more accurately.
1006 Correct loop termination condition in c-syntactic-skip-backward.
1007 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
1008 the situation where, after moving back out of a literal,
1009 skip-chars-backward doesn't move further, yet checks have still to
1012 2014-08-01 Eli Zaretskii <eliz@gnu.org>
1014 * tutorial.el (tutorial--display-changes): Accept punctuation
1015 characters before the key binding. (Bug#18146)
1017 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
1019 * progmodes/python.el: Shell output capture enhancements.
1020 (python-shell-accept-process-output): New function.
1021 (inferior-python-mode)
1022 (python-shell-send-setup-code): Use it.
1024 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
1026 * calendar/icalendar.el (icalendar--decode-isodatetime):
1027 Use actual current-time-zone when converting to local time. (Bug#15408)
1029 2014-07-29 Martin Rudalics <rudalics@gmx.at>
1031 * window.el (window--state-put-2): Handle horizontal scroll
1034 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1036 * menu-bar.el (menu-bar-update-buffers): Update item list format
1037 in `buffers-menu' to confirm with changes to `get_keyelt'
1038 (r117463). (Bug#18016)
1040 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1042 * progmodes/python.el (inferior-python-mode): Make input prompts
1045 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
1047 * net/tramp-sh.el (tramp-get-remote-python): Also search for
1048 executables named "python2" or "python3".
1049 (tramp-get-remote-uid-with-python): Use parentheses around
1050 arguments to `print' to make it compatible with Python 3.
1051 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
1053 2014-07-28 Eli Zaretskii <eliz@gnu.org>
1055 * window.el (window--pixel-to-total): Use FRAME's root window, not
1056 that of the selected frame. (Bug#18112, Bug#16674)
1058 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
1060 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1063 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1065 * progmodes/python.el (inferior-python-mode): Doc fix.
1067 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1069 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1070 not a character, ignore it instead of raising an error.
1072 * calendar/todo-mode.el: Fix handling of marked items and make
1073 minor code improvements.
1074 (todo-edit-item): If there are marked items, ensure user can only
1075 invoke editing commands that work with marked items.
1076 (todo-edit-item--text): When there are marked items, make it a
1077 noop if invoked with point not on an item; otherwise, ensure it
1078 applies only to item at point.
1079 (todo-item-undone): If there are marked not-done items, return
1080 point to its original position before signaling user error.
1081 (todo--user-error-if-marked-done-item): New function.
1082 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1083 (todo-item-done): Use it.
1085 2014-07-28 Glenn Morris <rgm@gnu.org>
1087 * files.el (toggle-read-only): Re-add basic doc-string.
1088 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1090 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1091 Replace missing `switch-to-prolog' with `run-prolog'.
1092 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1094 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1096 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1097 of file-wide setting when changing category-wide setting.
1099 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1101 * doc-view.el (doc-view-open-text): Don't require that the
1102 document is saved in a file (e.g., email attachment).
1104 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1106 Parse completion input in a iPython friendly way. (Bug#18084)
1107 * progmodes/python.el
1108 (python-shell-completion-at-point): Rename from
1109 python-shell-completion-complete-at-point.
1110 (inferior-python-mode): Use it.
1111 (python-completion-at-point): Rename from
1112 python-completion-complete-at-point. Parse input up to first
1113 backward occurrence of whitespace, open-paren, close-paren or
1115 (python-mode): Use it.
1117 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1119 Prevent Python process shell buffer to pop twice.
1120 * progmodes/python.el (python-shell-switch-to-shell): Do not call
1123 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1125 * progmodes/python.el
1126 (python-shell-with-shell-buffer): New macro.
1127 (python-shell-font-lock-get-or-create-buffer)
1128 (python-shell-font-lock-kill-buffer)
1129 (python-shell-font-lock-with-font-lock-buffer)
1130 (python-shell-font-lock-cleanup-buffer)
1131 (python-shell-font-lock-toggle): Use it.
1132 (python-shell-font-lock-turn-on)
1133 (python-shell-font-lock-turn-off): Use it. Make command.
1135 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1137 Grab all Python process output before inferior-python-mode hooks.
1138 * progmodes/python.el (inferior-python-mode):
1139 Call accept-process-output and sit-for to ensure all output for process
1140 has been received before running hooks.
1141 (python-shell-internal-get-or-create-process):
1142 Cleanup accept-process-output and sit-for calls.
1144 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1146 More robust shell startup and code setup.
1147 * progmodes/python.el (python-shell-make-comint):
1148 Remove accept-process-output call.
1149 (python-shell-get-buffer): Return current buffer if major-mode is
1150 inferior-python-mode.
1151 (python-shell-get-or-create-process): Use it.
1152 (python-shell-send-setup-code): Send all setup code in one string,
1153 output success message and accept-process-output.
1155 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1157 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1158 Add rudimentary support for bidirectional text.
1160 2014-07-27 Martin Rudalics <rudalics@gmx.at>
1162 * frame.el (frame-notice-user-settings): Rewrite using
1163 frame-initial-frame-tool-bar-height.
1164 * menu-bar.el (menu-bar-horizontal-scroll-bar)
1165 (menu-bar-no-horizontal-scroll-bar): New functions.
1166 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1168 * scroll-bar.el (scroll-bar-lines)
1169 (set-horizontal-scroll-bar-mode)
1170 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1171 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1172 (scroll-bar-toolkit-horizontal-scroll): New functions.
1173 (horizontal-scroll-bar-mode)
1174 (previous-horizontal-scroll-bar-mode)
1175 (horizontal-scroll-bar-mode-explicit): New variables.
1176 (horizontal-scroll-bar-mode): New option.
1177 (toggle-horizontal-scroll-bar): Do something.
1178 (top-level): Bind horizontal-scroll-bar mouse-1.
1179 * startup.el (tool-bar-originally-present): Remove variable.
1180 (command-line): Don't set tool-bar-originally-present.
1181 * window.el (window-min-height): Update doc-string.
1182 (window--dump-frame): Dump horizontal scroll bar values.
1183 (window--min-size-1): Handle minibuffer window separately.
1184 Count in margins and horizontal scroll bar. Return safe value
1185 iff IGNORE equals 'safe.
1186 (frame-windows-min-size): New function (used by frame resizing
1188 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1190 (window--sanitize-window-sizes): New function.
1191 (window-split-min-size): Remove.
1192 (split-window): Count divider-width. Don't use
1193 `window-split-min-size' any more. Reword error messages.
1194 Sanitize windows sizes after splitting.
1196 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
1198 Use `defvar-local' more.
1199 * progmodes/hideshow.el
1200 (hs-c-start-regexp, hs-block-start-regexp)
1201 (hs-block-start-mdata-select, hs-block-end-regexp)
1202 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1203 remove corresponding `make-variable-buffer-local' top-level calls.
1205 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1207 Cleanup error signals. (Bug#18067)
1208 * progmodes/python.el
1209 (python-indent-shift-left): Use user-error instead.
1210 (python-shell-prompt-detect): Use lwarn with python group.
1211 (python-completion-complete-at-point)
1212 (python-eldoc--get-doc-at-point): Don't signal error.
1214 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1216 Support for packages in Python shell. (Bug#13570)
1217 * progmodes/python.el (python-shell--package-depth): New var.
1218 (python-shell-package-enable): New command.
1219 (python-util-list-directories, python-util-list-files)
1220 (python-util-list-packages): New functions.
1222 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1224 Faster comint output. (Bug#16875)
1225 * progmodes/python.el:
1226 (python-comint-output-filter-function): Make obsolete.
1227 (python-comint-postoutput-scroll-to-bottom): New function.
1228 (inferior-python-mode): Set comint-output-filter-functions to a
1231 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1233 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1234 Safeguard current point and undo history.
1236 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1238 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
1239 * progmodes/python.el:
1240 (python-shell-prompt-input-regexps): Add iPython block prompt.
1241 (python-shell-output-syntax-table): Delete var.
1242 (python-shell-font-lock-with-font-lock-buffer): New macro.
1243 (python-shell-font-lock-get-or-create-buffer)
1244 (python-shell-font-lock-kill-buffer)
1245 (python-shell-font-lock-cleanup-buffer)
1246 (python-shell-font-lock-post-command-hook)
1247 (python-shell-font-lock-turn-off): New functions.
1248 (python-shell-font-lock-turn-on): New function.
1249 (inferior-python-mode): Use it.
1250 (python-shell-font-lock-toggle): New command.
1251 (python-shell-font-lock-enable): Rename from
1252 python-shell-enable-font-lock.
1253 (run-python-internal): Use it.
1254 (python-shell-font-lock-comint-output-filter-function): New function.
1255 (python-shell-comint-end-of-output-p): New function.
1256 (python-shell-output-filter): Use it.
1257 (python-util-comint-last-prompt): New function.
1258 (python-util-text-properties-replace-name): New function.
1260 2014-07-25 Glenn Morris <rgm@gnu.org>
1262 * vc/ediff-init.el (ediff-toggle-read-only-function):
1263 * vc/ediff-util.el (ediff-toggle-read-only):
1264 Replace obsolete toggle-read-only with read-only-mode.
1266 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
1268 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1269 with `save-match-data'. (Bug#18095)
1271 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
1273 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1274 order to ensure that row and col are lexically bound inside the
1277 2014-07-21 Glenn Morris <rgm@gnu.org>
1279 * progmodes/hideif.el (hide-ifdef-mode-submap):
1280 Also substitute read-only-mode.
1281 * bindings.el (mode-line-toggle-read-only):
1282 * bs.el (bs-toggle-readonly):
1283 * buff-menu.el (Buffer-menu-toggle-read-only):
1284 * dired.el (dired-toggle-read-only):
1285 * files.el (view-read-only, find-file-read-only)
1286 (find-file-read-only-other-window)
1287 (find-file-read-only-other-frame):
1288 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1289 Doc fixes re toggle-read-only.
1291 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1293 * progmodes/python.el: Add comment about pipe buffering and
1294 solutions for missing/delayed output in inferior Python shells.
1297 * progmodes/python.el (python-mode): Don't set
1298 mode-require-final-newline. (Bug#17990)
1300 Make python.el work with IPython automatically. (Bug#15510)
1301 * progmodes/python.el:
1302 (python-shell-completion-setup-code): New value supporting iPython.
1303 (python-shell-completion-string-code): New value supporting iPython.
1304 (python-shell-completion-get-completions): Use them.
1305 (python-shell-completion-module-string-code): Make obsolete.
1306 (python-shell-prompt-input-regexps)
1307 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1308 (python-shell-output-filter): Fix comment typo.
1310 Fix Python shell prompts detection for remote hosts.
1311 * progmodes/python.el (python-shell-prompt-detect):
1312 Replace call-process with process-file and make it more robust.
1314 Autodetect Python shell prompts. (Bug#17370)
1315 * progmodes/python.el:
1316 (python-shell-interpreter-interactive-arg)
1317 (python-shell-prompt-detect-enabled)
1318 (python-shell-prompt-detect-failure-warning)
1319 (python-shell-prompt-input-regexps)
1320 (python-shell-prompt-output-regexps): New vars.
1321 (python-shell-prompt-calculated-input-regexp)
1322 (python-shell-prompt-calculated-output-regexp): New vars.
1323 (python-shell-get-process-name)
1324 (python-shell-internal-get-process-name)
1325 (python-shell-output-filter)
1326 (python-shell-completion-get-completions): Use them.
1327 (python-shell-prompt-detect)
1328 (python-shell-prompt-validate-regexps): New functions.
1329 (python-shell-prompt-set-calculated-regexps): New function.
1330 (inferior-python-mode): Use it. Also honor overriden
1331 python-shell-interpreter and python-shell-interpreter-args.
1332 (python-shell-make-comint): Honor overriden
1333 python-shell-interpreter and python-shell-interpreter-args.
1334 (python-shell-get-or-create-process): Make it testable by allowing
1335 to call run-python non-interactively.
1336 (python-util-valid-regexp-p): New function.
1337 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1338 (python-shell-prompt-output-regexp)
1339 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1341 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1345 (smie-config--guess): Use it.
1347 * emacs-lisp/edebug.el: Use nadvice.
1348 (edebug-original-read): Remove.
1349 (edebug--read): Rename from edebug-read and add `orig' arg.
1350 (edebug-uninstall-read-eval-functions)
1351 (edebug-install-read-eval-functions): Use nadvice.
1352 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1353 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1354 (edebug-read-string, edebug-read-function): Use just `read'.
1355 (edebug-original-debug-on-entry): Remove.
1356 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1358 (debug-on-entry): Override with nadvice.
1360 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1361 it also makes sense to bind it to a non-mouse event.
1363 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1365 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1370 * rect.el (rectangle--string-preview): Don't assume there
1371 a non-nil default (bug#17984).
1373 2014-07-16 Glenn Morris <rgm@gnu.org>
1375 * desktop.el (after-init-hook): Disable startup frame restoration
1376 in non-graphical situations. (Bug#17693)
1378 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1379 if it was "empty", or used for a different set of files. (Bug#17884)
1381 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1383 * bindings.el (mode-line-remote): If default-directory is not a
1384 string, don't call file-remote-p on it; instead state in the
1385 help-echo that it is nil. (Bug#17986)
1387 2014-07-14 Daniel Colascione <dancol@dancol.org>
1389 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1390 to `macroexpand-all'
1392 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1393 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1395 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1397 Fix bug: C-x v v discarded existing log message (Bug#17884).
1398 * vc/vc-dispatcher.el (vc-log-edit):
1399 Don't clobber an already-existing log message.
1401 2014-07-12 Glenn Morris <rgm@gnu.org>
1403 * vc/log-edit.el (log-edit-changelog-entries):
1404 Check for a visited-but-never-saved ChangeLog.
1406 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1409 a non-existing file (bug#17970).
1411 * faces.el (face-name): Undo last change.
1412 (x-resolve-font-name): Don't call face-name (bug#17956).
1414 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1416 Fix dedenters and electric colon handling. (Bug#15163)
1417 * progmodes/python.el
1418 (python-rx-constituents): Add dedenter and block-ender.
1419 (python-indent-dedenters, python-indent-block-enders): Delete.
1420 (python-indent-context): Return new case for dedenter-statement.
1421 (python-indent-calculate-indentation): Handle new case.
1422 (python-indent-calculate-levels): Fix levels calculation for
1423 dedenter statements.
1424 (python-indent-post-self-insert-function): Fix colon handling.
1425 (python-info-dedenter-opening-block-message): New function.
1426 (python-indent-line): Use it.
1427 (python-info-closing-block)
1428 (python-info-closing-block-message): Remove.
1429 (python-info-dedenter-opening-block-position)
1430 (python-info-dedenter-opening-block-positions)
1431 (python-info-dedenter-statement-p): New functions.
1433 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1435 * files.el (out-of-memory-warning-percentage): New defcustom.
1436 (warn-maybe-out-of-memory): Use it.
1438 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1440 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1441 when calling `read-string'. (Bug#17839)
1443 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1445 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1448 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1450 * files.el (warn-maybe-out-of-memory): New function.
1451 (find-file-noselect): Use it.
1453 2014-07-09 Sam Steingold <sds@gnu.org>
1455 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1456 `constant' like `bless', `return' &c
1458 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1460 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1463 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1465 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1466 the middle of a line (bug#17896).
1468 2014-07-09 Juri Linkov <juri@jurta.org>
1470 * startup.el (command-line): Append displaying the warning about
1471 the errors in the init file to the end of `after-init-hook'.
1474 * faces.el (face-name): Return input arg `face' as-is
1475 when it's not a symbol.
1476 (x-resolve-font-name): Don't check if the face is a symbol.
1479 * facemenu.el (list-colors-print): In help-echo format use %.2f
1480 instead of %d because now HSV values are floating-point components
1481 between 0.0 and 1.0.
1483 2014-07-09 Glenn Morris <rgm@gnu.org>
1485 * emulation/cua-rect.el (cua--activate-rectangle):
1486 Avoid setting cua--rectangle to nil. (Bug#17877)
1488 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1490 * calendar/todo-mode.el: Fix wrong-type-argument error when
1491 marking multiple consecutive items.
1492 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1493 end of the todo and done items sections. Note in doc string that
1494 items marked by passing a numeric prefix argument can include the
1495 last todo and first done items.
1496 (todo-mark-category): Don't try to mark the empty line between the
1497 todo and done items sections.
1499 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1501 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1502 proper Lisp quoting (bug#17934).
1504 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1505 require-final-newline since prog-mode already took care of it (bug#17947).
1507 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1509 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1510 refer to the Todo mode Info manual. Update the comment on
1512 (todo-find-filtered-items-file): Add todo-prefix overlays.
1513 (todo-filter-items): Reorder a let-bound variable to avoid a
1514 wrong-type-argument error on canceling the file choice dialog.
1516 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1518 * progmodes/octave.el (inferior-octave-mode):
1519 Set comint-input-ring-size to a number (bug#17912).
1521 2014-07-09 Juri Linkov <juri@jurta.org>
1523 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1524 and `isearch-mode' associated with nil. (Bug#17849)
1526 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * linum.el (linum--face-height): New function (bug#17813).
1529 (linum-update-window): Use it to adjust margin to linum's width.
1531 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1532 * eshell/em-smart.el (eshell-smart-scroll-window):
1533 Use with-selected-window.
1535 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1536 Remove also pointless window&mark manipulation.
1538 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1539 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1540 (perl-continuation-line-p): Don't skip over anything else than labels.
1541 Return the previous char.
1542 (perl-calculate-indent): Use syntax-ppss instead of parse-start
1543 and update callers accordingly. For continuation lines, check the
1544 the case of array hashes.
1545 (perl-backward-to-noncomment): Make it non-interactive.
1546 (perl-backward-to-start-of-continued-exp): Rewrite.
1548 2014-07-08 Sam Steingold <sds@gnu.org>
1550 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1553 2014-07-08 Juri Linkov <juri@jurta.org>
1555 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1556 (vc-annotate-color-map): Use less saturated colors (20%) for
1558 (vc-annotate-very-old-color): Add default value for background-mode.
1559 (vc-annotate-background): Set default value to nil since now text on
1560 the default backgrounds should be legible in light and dark modes.
1561 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
1564 2014-07-08 Juri Linkov <juri@jurta.org>
1566 * simple.el (transpose-chars): Don't move point into read-only area.
1569 2014-07-08 Juri Linkov <juri@jurta.org>
1571 * window.el (with-displayed-buffer-window): New macro.
1572 (with-temp-buffer-window, with-current-buffer-window):
1573 Use `macroexp-let2' to evaluate and bind variables
1574 in the same order as macro arguments.
1575 (display-buffer--action-function-custom-type):
1576 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1578 * minibuffer.el (minibuffer-completion-help): Replace
1579 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1580 with actions that display *Completions* at-bottom when called
1581 from the minibuffer, or below-selected in a normal buffer.
1582 Associate `window-height' with `fit-window-to-buffer'.
1583 Let-bind `pop-up-windows' to nil.
1585 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1586 instead of `with-current-buffer-window'. (Bug#17809)
1588 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1590 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1591 (hide-ifdef-env-backup): New variable.
1592 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1593 New customizable variables.
1594 (hif-clear-all-ifdef-defined): New defun.
1595 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1596 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1597 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1598 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1599 Fix bug to hide the correct #elif region(s).
1600 (hif-range-elif): New defun.
1601 (hif-recurse-level): New var.
1602 (hif-evaluate-region, hif-evaluate-macro): New defun.
1603 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1605 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1608 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1610 * net/dbus.el (dbus-peer-handler): New defun.
1611 (dbus-register-service): Register it. (Bug#17858)
1612 (dbus-managed-objects-handler): Fix docstring.
1614 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
1616 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1617 (narrow-to-defun): New arg include-comments, defaulting to it
1620 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1622 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1623 different calling convention to rectangle--unhighlight-for-redisplay.
1625 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1627 * net/tramp.el (tramp-call-process): Handle error strings.
1629 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1631 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1632 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1634 * net/trampver.el: Update release number.
1636 2014-07-03 Juri Linkov <juri@jurta.org>
1638 * desktop.el (desktop-save): Rename arg `auto-save' to
1639 `only-if-changed'. Doc fix. (Bug#17873)
1641 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1643 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1644 Use insert-for-yank (bug#17271).
1646 2014-07-03 Leo Liu <sdl.web@gmail.com>
1648 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1649 Support lexical-binding.
1651 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * vc/log-edit.el (log-edit-goto-eoh): New function.
1654 (log-edit--match-first-line): Use it (bug#17861).
1656 2014-07-03 Glenn Morris <rgm@gnu.org>
1658 * vc/log-edit.el (log-edit-hook): Add missing :version.
1660 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1662 * progmodes/python.el (python-indent-post-self-insert-function):
1663 Enhancements to electric indentation behavior inside
1666 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1668 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1669 buffer-invisibility-spec (bug#17867).
1671 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1673 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1676 2014-07-03 Glenn Morris <rgm@gnu.org>
1678 * cus-edit.el (help):
1679 * finder.el (finder-known-keywords):
1680 * help.el (help-for-help-internal):
1681 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1682 (ediff-redraw-registry-buffer):
1683 * vc/ediff-ptch.el (ediff-patch-file-internal):
1684 Doc fixes re "online" help. (Bug#17803)
1686 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1687 (idlwave-mode): Doc URL update.
1689 2014-07-01 Juri Linkov <juri@jurta.org>
1691 * man.el: Display man pages immediately and use process-filter
1692 to format them asynchronously.
1693 (Man-width): Doc fix.
1695 (Man-start-calling): Use `with-selected-window' to get
1696 `frame-width' and `window-width'.
1697 (Man-getpage-in-background): Call `Man-notify-when-ready'
1698 immediately after creating a new buffer. Call `Man-mode' and set
1699 `mode-line-process' in the created buffer. Set process-filter to
1700 `Man-bgproc-filter' in start-process branch. In call-process branch
1701 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1702 Use `Man-start-calling' inside `with-current-buffer'.
1703 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
1704 (Man-cleanup-manpage): Don't print messages.
1705 (Man-bgproc-filter): New function.
1706 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1707 user moved it during asynchronous formatting. Move calls of
1708 `Man-fontify-manpage' and `Man-cleanup-manpage' to
1709 `Man-bgproc-filter'. Move the call of `Man-mode' to
1710 `Man-getpage-in-background'. Use `quit-restore-window'
1711 instead of `kill-buffer'. Use `message' instead of `error'
1712 because errors are caught by process sentinel.
1713 (Man-mode): Move calls of `Man-build-page-list',
1714 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1715 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
1717 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1718 for the message about the man page cleaned up.
1720 2014-07-01 Mario Lang <mlang@delysid.org>
1722 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1723 cosutomization option `gnutls-verify-error'.
1725 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1728 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1730 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1731 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1732 is suspended (bug#17857).
1734 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1737 Prefer utf-8 coding. (Bug#17859)
1739 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1741 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1744 2014-06-30 Glenn Morris <rgm@gnu.org>
1746 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1747 (autoload-ensure-default-file): Maybe make existing output writable.
1748 * Makefile.in (AUTOGEN_VCS): Remove.
1749 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1751 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1753 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1755 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1757 New if-let, when-let, thread-first and thread-last macros.
1759 * emacs-lisp/subr-x.el
1760 (internal--listify, internal--check-binding)
1761 (internal--build-binding-value-form, internal--build-binding)
1762 (internal--build-bindings): New functions.
1763 (internal--thread-argument, thread-first, thread-last)
1764 (if-let, when-let): New macros.
1766 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
1768 * net/rcirc.el (rcirc-buffer-process): Restore previous
1769 behaviour. (Bug#17772)
1771 2014-06-29 Alan Mackenzie <acm@muc.de>
1773 Don't call c-parse-state when c++-template-syntax-table is active.
1774 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1775 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1776 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1778 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1780 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1781 account for file-wide setting of todo-top-priorities-overrides.
1782 Make code a bit cleaner.
1784 2014-06-28 Glenn Morris <rgm@gnu.org>
1786 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1788 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1790 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1791 category-wide setting of todo-top-priorities-overrides, check for
1792 a file-wide setting and fontify accordingly.
1794 2014-06-28 Glenn Morris <rgm@gnu.org>
1796 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1798 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1800 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
1802 2014-06-28 K. Handa <handa@gnu.org>
1806 * composite.el: Setup composition-function-table for dotted circle.
1807 (compose-gstring-for-dotted-circle): New function.
1809 * international/characters.el: Add category "^" to all
1810 non-spacing characters.
1812 2014-06-28 Glenn Morris <rgm@gnu.org>
1814 * Makefile.in (doit): Remove force rule.
1815 (custom-deps, finder-data, autoloads, update-subdirs)
1816 (compile-one-process): PHONY targets do not need force rules.
1818 * Makefile.in (compile-main, compile, compile-always):
1819 No need to explicitly pass variables to ourself in recursive calls.
1821 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1825 2014-06-26 Glenn Morris <rgm@gnu.org>
1827 * Makefile.in (update-authors): Update for moved authors.el.
1829 2014-06-26 Leo Liu <sdl.web@gmail.com>
1831 * skeleton.el (skeleton-end-hook): Default to nil and move the
1832 work to skeleton-insert. (Bug#17850)
1834 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
1836 * calc/calc-alg.el (math-beforep):
1837 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1838 Simplify because string-lessp can accept symbols as args.
1840 2014-06-26 Daiki Ueno <ueno@gnu.org>
1842 * emacs-lisp/package.el (package--check-signature):
1843 If package-check-signature is allow-unsigned, don't signal error when
1844 we can't verify signature because of missing public key
1847 2014-06-26 Glenn Morris <rgm@gnu.org>
1849 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1850 Remove outdated declaration.
1852 * emacs-lisp/authors.el (authors-valid-file-names)
1853 (authors-renamed-files-alist): Additions.
1855 2014-06-26 Leo Liu <sdl.web@gmail.com>
1857 * textmodes/picture.el (picture-set-tab-stops):
1858 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1859 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1861 * progmodes/asm-mode.el (asm-calculate-indentation):
1862 Use indent-next-tab-stop.
1864 * indent.el (indent-accumulate-tab-stops): New function.
1866 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1869 (package-desc-status): Obey it.
1871 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1873 * calendar/todo-mode.el: Fix two bugs.
1874 (todo-insert-item--basic): If user cancels item insertion to
1875 another category before setting priority, show original category
1876 whether it is in the same or a different file.
1877 (todo-set-item-priority): After selecting category, instead of
1878 moving point to top, which extends an active region, restore it.
1880 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1882 * help-fns.el (describe-function-1): Check file-name is a string before
1883 calling help-fns--autoloaded-p (bug#17564).
1885 2014-06-26 Juri Linkov <juri@jurta.org>
1887 * desktop.el (desktop-auto-save-enable)
1888 (desktop-auto-save-disable): New functions.
1889 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1890 (desktop-read): Disable the autosave before loading the desktop,
1891 and enable afterwards. (Bug#17351)
1893 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1895 Fix some indentation problem with \; and pipes (bug#17842).
1896 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1897 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1899 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1900 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1901 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1903 2014-06-26 Glenn Morris <rgm@gnu.org>
1905 * emacs-lisp/find-func.el (find-function-C-source-directory):
1906 Use file-accessible-directory-p.
1908 * ps-samp.el: Make it slightly less awful.
1909 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1910 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1911 Only set local values.
1912 (ps-article-subject, ps-article-author): Use standard functions
1913 like mail-fetch-field.
1914 (ps-info-file, ps-info-node): Use match-string.
1915 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1916 (ps-samp-ps-setup): ... new function.
1918 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1919 Optimize away code unneeded on any modern Emacs.
1921 * emacs-lisp/authors.el: Move to ../admin.
1923 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1925 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
1927 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1928 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1929 performance enhancements.
1930 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
1932 (hif-factor, hif-string-concatenation, intern-safe): Support string
1933 concatenation and argumented macro expansion.
1934 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1935 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1936 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1937 (hif-canonicalize-tokens, hif-place-macro-invocation)
1938 (hif-parse-macro-arglist): Mostly new functions for supporting
1939 argumented macro expansion.
1940 (hif-string-concatenation, hif-stringify, hif-token-concat)
1941 (hif-token-stringification, hif-token-concatenation):
1942 Stringification and concatenation.
1943 (hif-find-next-relevant): Fix comments.
1944 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1945 some cases involving #elif.
1946 (hif-find-define, hif-add-new-defines): New functions for automatically
1947 scanning of defined symbols.
1948 (hide-ifdef-guts): Fix for defined symbol auto scanning.
1949 (hide-ifdef-undef): Fix behavior to match CPP.
1951 2014-06-25 Glenn Morris <rgm@gnu.org>
1953 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1954 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1955 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1956 files. They are not relevant to the original issue (bug#1004),
1957 and cause unnecessary recompilation (bug#2151).
1959 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * play/landmark.el: Use lexical-binding and avoid `intangible'.
1962 (landmark--last-pos): New var.
1963 (landmark--intangible-chars): New const.
1964 (landmark--intangible): New function.
1965 (landmark-mode, landmark-move): Use it.
1966 (landmark-mode): Remove properties.
1967 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1968 (landmark-cross-qtuple):
1969 Don't worry about `intangible' any more.
1970 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1971 (landmark-init-display): Don't set `intangible' and `point-entered'.
1972 (square): Remove. Inline it instead.
1973 (landmark--distance): Rename from `distance'.
1974 (landmark-calc-distance-of-robot-from): Rename from
1975 calc-distance-of-robot-from.
1976 (landmark-calc-smell-internal): Rename from calc-smell-internal.
1978 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
1980 * files.el (dir-locals-find-file, file-relative-name):
1981 * info.el (Info-complete-menu-item):
1982 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1983 to compare-strings to avoid out-of-range errors.
1984 * subr.el (string-prefix-p): Adjust to match strict range
1985 checking in compare-strings.
1987 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
1989 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1990 for comment lines non-greedy and stopping at newlines to fix stack
1991 overflows with large files.
1993 2014-06-24 Eli Barzilay <eli@barzilay.org>
1995 * calculator.el (calculator-last-input): Drop 'ascii-character property
1998 2014-06-24 Leo Liu <sdl.web@gmail.com>
2000 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
2001 tab-stop-list to nil. (Bug#16381)
2003 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
2004 (indent-rigidly-left-to-tab-stop)
2005 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
2006 (move-to-tab-stop): Change callers.
2008 2014-06-24 Eli Zaretskii <eliz@gnu.org>
2010 * skeleton.el (skeleton-insert): Yet another fix of the doc string
2011 wrt behavior of \n as the first/last element of a skeleton.
2013 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
2015 * net/tramp-adb.el (tramp-adb-handle-process-file):
2016 * net/tramp-sh.el (tramp-sh-handle-process-file):
2017 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
2018 the output buffer when DISPLAY is non-nil. (Bug#17815)
2020 2014-06-24 Glenn Morris <rgm@gnu.org>
2022 * play/landmark.el (landmark-move-down, landmark-move-up):
2023 Fix 2007-10-20 change - preserve horizontal position.
2025 2014-06-23 Sam Steingold <sds@gnu.org>
2027 * simple.el (kill-append): Remove undo boundary depending on ...
2028 (kill-append-merge-undo): New user option.
2030 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2032 * simple.el (handle-shift-selection, exchange-point-and-mark)
2033 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
2034 (transient-mark-mode): Use&set the global value.
2035 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
2036 * emulation/edt.el (edt-emulation-off): Save&restore the global
2037 transient-mark-mode setting.
2038 * obsolete/pc-select.el (pc-selection-mode): Use the
2039 transient-mark-mode function.
2041 2014-06-23 Eli Zaretskii <eliz@gnu.org>
2043 * international/fontset.el (script-representative-chars):
2044 Add representative characters for scripts added in Unicode 7.0.
2045 (otf-script-alist): Synchronize with the latest registry of OTF
2048 * international/characters.el (char-script-table): Update for
2049 scripts added and codepoint ranges changed in Unicode 7.0.
2051 2014-06-23 Eli Barzilay <eli@barzilay.org>
2053 * calculator.el (calculator-standard-displayer): Fix bug in use of
2054 `calculator-groupize-number'.
2055 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
2056 `eval' code, so it works in v24.3.1 too.
2057 (calculator-last-input): Comment to clarify purpose.
2059 2014-06-22 Mario Lang <mlang@delysid.org>
2061 * textmodes/rst.el (rst-comment-region): From from -> from.
2063 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
2065 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2067 * electric.el (electric-layout-post-self-insert-function):
2068 * emacs-lisp/ert.el (ert--insert-infos):
2069 * obsolete/vi.el (vi-set-mark):
2070 * term.el (term-handle-scroll):
2071 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
2072 * wid-edit.el (widget-editable-list-value-create):
2073 Prefer point-marker to copy-marker of point.
2075 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2077 Fix completion retrieval parsing (bug#17209).
2078 * progmodes/python.el (python-mode):
2079 (python-util-strip-string): New function.
2080 (python-shell-completion-get-completions): Use it.
2082 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2084 * skeleton.el (skeleton-insert): Fix last change.
2086 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2088 Enhancements for outline integration (bug#17796).
2089 * progmodes/python.el (python-mode): Properly set
2090 outline-heading-end-regexp so that comments after colons for
2091 defuns are supported.
2093 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2095 * skeleton.el (skeleton-insert): Doc fix.
2097 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
2100 (smie-config-guess): Use smie-config-local so the rules are obeyed
2103 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
2104 since it's already done inside the loop (bug#17819).
2106 2014-06-21 Martin Rudalics <rudalics@gmx.at>
2108 * mouse.el (mouse-drag-line): Re-remove code initially removed
2109 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
2112 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
2115 align with the surrounding parent (bug#17721).
2117 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2119 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
2121 (texinfo-insert-block, texinfo-insert-@end)
2122 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
2123 local setting of skeleton-end-newline by adding an explicit \n to
2124 the skeletons where appropriate. (Bug#17801)
2126 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
2129 (smie-indent--hanging-p): Use it.
2130 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
2132 2014-06-21 Leo Liu <sdl.web@gmail.com>
2134 * simple.el (read-quoted-char): Don't let help chars pop up help
2137 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2142 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2143 Drop unknown events instead of burping.
2145 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2147 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2148 and later. (Bug#17790)
2150 2014-06-21 Juri Linkov <juri@jurta.org>
2152 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2153 to `soft'. (Bug#17554)
2155 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2160 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
2162 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2163 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
2165 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
2167 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2168 `unread-command-events'.
2170 2014-06-19 William Xu <william.xwl@gmail.com>
2172 * progmodes/hideif.el (hif-string-to-number): Don't return float for
2173 hex integer constants (bug#17807).
2175 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * international/mule-util.el (truncate-string-ellipsis): New var.
2178 (truncate-string-to-width): Use it.
2180 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
2182 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2183 (lisp-string-in-doc-position-p): New function, extracted from
2184 lisp-font-lock-syntactic-face-function.
2185 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2187 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
2189 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2191 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2194 (bubbles--game-over): Don't add `intangible' properties since they
2197 2014-06-18 Juri Linkov <juri@jurta.org>
2199 * vc/ediff-init.el (ediff-current-diff-Ancestor)
2200 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2201 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2202 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2203 Add `min-colors 88' version with removed black/white foregrounds.
2206 2014-06-18 Juri Linkov <juri@jurta.org>
2208 * vc/diff-mode.el (diff-changed): Empty face definition to use
2209 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
2210 (diff-context): Use darker color on light background and
2211 lighter color on dark background.
2213 2014-06-18 Juri Linkov <juri@jurta.org>
2215 * vc/diff-mode.el (diff-refine-changed): Rename from
2216 `diff-refine-change' for consistency with `diff-changed'.
2217 (diff-refine-change): Add obsolete face alias. (Bug#10181)
2219 * vc/smerge-mode.el (smerge-refined-changed): Rename from
2220 `smerge-refined-change'.
2221 (smerge-refined-change): Add obsolete face alias.
2223 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * rect.el (rectangle-preview): New custom.
2226 (rectangle): New group.
2227 (rectangle--pos-cols): Add `window' argument.
2228 (rectangle--string-preview-state, rectangle--string-preview-window):
2230 (rectangle--string-flush-preview, rectangle--string-erase-preview)
2231 (rectangle--space-to, rectangle--string-preview): New functions.
2232 (string-rectangle): Use them.
2233 (rectangle--inhibit-region-highlight): New var.
2234 (rectangle--highlight-for-redisplay): Obey it. Make sure
2235 `apply-on-region' uses the point-crutches of the right window.
2236 Use :align-to rather than multiple spaces.
2238 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
2240 * ruler-mode.el (ruler-mode-window-col)
2241 (ruler-mode-mouse-set-left-margin)
2242 (ruler-mode-mouse-set-right-margin): Fix calculation of column
2243 from mouse position (Bug#17768).
2245 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
2247 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2248 without varname or rhs causes crash.
2249 (dun-ftp): Fix bug where blank ftp password is allowed, making it
2250 impossible to win endgame.
2251 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2253 (dun-help): Bump version number; update contact info.
2255 2014-06-15 Eli Barzilay <eli@barzilay.org>
2257 * calculator.el (calculator-prompt, calculator-remove-zeros)
2258 (calculator-mode-hook, calculator-operators, calculator-stack)
2259 (calculator-mode): Tweak docstring.
2260 (calculator-user-operators): Tweak docstring, fix a bug in the last
2262 (calculator-displayer): `std' case has an optional boolean.
2263 (calculator-displayers): Use the new boolean to group in decimal mode.
2264 (calculator-mode-map, calculator, calculator-message)
2265 (calculator-op-arity, calculator-add-operators)
2266 (calculator-string-to-number, calculator-displayer-prev)
2267 (calculator-displayer-next, calculator-remove-zeros)
2268 (calculator-eng-display, calculator-number-to-string)
2269 (calculator-update-display, calculator-last-input)
2270 (calculator-clear-fragile, calculator-digit, calculator-decimal)
2271 (calculator-exp, calculator-saved-move, calculator-clear)
2272 (calculator-copy, calculator-put-value, calculator-help)
2273 (calculator-expt, calculator-truncate): Minor code improvements.
2274 (calculator-need-3-lines): New function pulling out code from
2276 (calculator-get-display): Rename from `calculator-get-prompt', and
2278 (calculator-push-curnum): Rename from `calculator-curnum-value', and
2279 extended for all uses of it. All callers changed.
2280 (calculator-groupize-number): New utility for splitting a number into
2282 (calculator-standard-displayer): Improve code, new optional argument to
2283 use comma-split groups, make second argument optional too to use with
2284 'left/'right inputs. All callers changed.
2285 (calculator-reduce-stack-once): New utility, doing the meat of what
2286 `calculator-reduce-stack' used to do, much improved (mostly using
2287 `pcase' for conciseness and clarity).
2288 (calculator-reduce-stack): Now doing just the reduction loop using
2289 `calculator-reduce-stack-once'.
2290 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2291 (calculator-last-input): Improve code, remove some old cruft.
2292 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2293 (calculator-integer-p): Remove.
2294 (calculator-fact): Improve code, make it work on non-integer values
2295 too (using truncated numbers).
2297 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2299 Sync with Tramp 2.2.10.
2301 * net/tramp.el (tramp-methods): Tweak docstring.
2302 (tramp-handle-file-accessible-directory-p): Check for
2303 `file-readable-p' instead of `file-executable-p'.
2304 (tramp-check-cached-permissions):
2305 Use `tramp-compat-file-attributes'.
2306 (tramp-call-process): Add new argument VEC. Adapt callees in all
2309 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2310 (tramp-adb-maybe-open-connection): Don't set
2311 `tramp-current-*' variables.
2313 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2314 file properties of temporary buffers.
2316 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2318 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2319 (tramp-gvfs-handle-delete-file): Flush file
2320 properties, not directory properties.
2321 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2322 reading "unix::mode".
2323 (tramp-gvfs-handle-file-name-all-completions):
2324 Use "-h" option for "gvfs-ls".
2325 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2326 (tramp-gvfs-send-command): Simplify traces.
2328 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2329 (vc-git-program, vc-hg-program): Declare.
2330 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2331 (tramp-methods) <nc>: Add new method.
2332 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2333 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2335 (tramp-default-user-alist): Add "nc".
2336 (top): Remove completion function for "sftp". Add completion
2337 functions for "nc" and "psftp".
2338 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2339 Implement support for "nc" method.
2340 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2341 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2343 (tramp-sh-handle-write-region): Tweak error message.
2344 (tramp-sh-handle-vc-registered): Remove backends when the remote
2345 binary does not exist.
2346 (tramp-find-inline-encoding): Do not raise an error.
2347 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2348 the "nc" case. Quote result also locally.
2350 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2351 (tramp-smb-handle-set-file-acl): Use `start-process'.
2352 (tramp-smb-handle-insert-directory): Use progress reporter.
2353 (tramp-smb-handle-rename-file): Flush also file properties of
2356 * net/trampver.el: Update release number.
2358 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2360 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2362 (ses-localvars): Remove ses--local-printer-list, unused.
2363 (ses--metaprogramming): New macro. Use it to defvar variables.
2364 (ses-set-localvars): Simplify.
2365 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2366 property-list into an alist.
2367 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2368 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2369 Remove; use defstruct accessors/setters instead.
2370 (ses-cell-formula-aset, ses-cell-printer-aset)
2371 (ses-cell-references-aset): Remove, use setf instead.
2372 (ses--alist-get): New function.
2373 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2374 Use an alist instead of a plist and don't do move-to-front since the
2375 list is always short.
2376 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2377 (ses-cell-property-set-fun, ses-cell-property-set)
2378 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2379 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2380 (ses--letref): New macro.
2381 (ses-cell-property-pop): Rewrite.
2382 (ses--cell): Rename from ses-cell and make it into a function.
2383 Make `formula' fallback on `value' if nil.
2384 (ses--local-printer): Rename from ses-local-printer and make it into
2386 (ses-set-cell): Turn it into a macro so finding the accessor from the
2387 field name is done at compile time.
2388 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2389 `ref' before adding `sym' to :ses-repair-reference.
2390 (ses-calculate-cell): Use ses--letref rather than
2391 ses-cell-property-get-handle.
2392 (ses-write-cells): Use a single prin1-to-string.
2393 (ses-setter-with-undo): New function.
2394 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2395 (ses-unset-with-undo): Remove.
2396 (ses-load): Prefer apply' over `eval'.
2397 (ses-read-printer, ses-set-column-width): Use standard "(default
2400 2014-06-15 Glenn Morris <rgm@gnu.org>
2402 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2404 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2405 Replace delete-duplicates and mapcan by cl- versions throughout.
2406 And cl-macroexpand-all by macroexpand-all.
2407 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2409 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2411 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2413 2014-06-15 Juri Linkov <juri@jurta.org>
2415 * bindings.el: Put `ascii-character' property on keypad keys
2416 mapped to characters. (Bug#17759)
2418 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2421 bumping forward into a closing paren (bug#17761).
2423 * term/xterm.el (xterm--version-handler): Work around for OSX
2424 Terminal.app (bug#17607).
2426 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2428 * play/dunnet.el (dun-describe-room, dun-mode):
2429 If a lamp is in the room, you won't be eaten by a grue.
2431 2014-06-13 Glenn Morris <rgm@gnu.org>
2433 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2434 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2435 (compile-always): GNU make automatically passes
2436 command-line arguments to sub-makes.
2438 * calendar/calendar.el (calendar-generate-window):
2439 Remove pointless call to font-lock-fontify-buffer.
2441 2014-06-13 Matthias Meulien <orontee@gmail.com>
2443 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2446 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * simple.el (set-mark-command): Simplify a bit.
2450 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2452 * help.el (help--key-binding-keymap): New function.
2453 (help--binding-locus): New function.
2454 (describe-key): Mention the keymap in which the binding was
2457 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2459 * hippie-exp.el (he--all-buffers): New function.
2460 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2461 (try-expand-dabbrev-all-buffers): Use it.
2463 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2465 * hippie-exp.el (try-expand-line-all-buffers)
2466 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2467 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2468 original buffer, in case they're buffer-local.
2470 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2472 * ses.el (ses-initial-global-parameters-re): New defconst, a
2473 specific regexp is needed now that ses.el can handle both
2474 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2476 (ses-localvars): Add local variables needed for local printer handling.
2477 (ses-set-localvars): Handle hashmap initialisation.
2478 (ses-paramlines-plist): Add param-line for number of local printers.
2479 (ses-paramfmt-plist): New defconst, needed for code factorization
2480 between functions `ses-set-parameter' and
2481 `ses-file-format-extend-paramter-list'
2482 (ses-make-local-printer-info): New defsubst.
2483 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2484 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2485 (ses-cell-printer-aset): New defmacro.
2486 (ses-local-printer-compile): New defun.
2487 (ses-local-printer): New defmacro.
2488 (ses-printer-validate, ses-call-printer): Add support for local
2490 (ses-file-format-extend-paramter-list): New defun.
2491 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2493 (ses-load): Add support for local printer functions.
2494 (ses-read-printer): Update docstring and add support for local printer
2496 (ses-refresh-local-printer, ses-define-local-printer): New defun.
2497 (ses-safe-printer): Add support for local printer functions.
2499 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
2501 * ffap.el (ffap-lax-url): New var (bug#17723).
2502 (ffap-url-at-point): Use it.
2503 (ffap-file-at-point): Avoid returning just "/".
2505 2014-06-12 Matthias Meulien <orontee@gmail.com>
2507 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2508 (python-mode-map): Bind it.
2510 * progmodes/python.el (class skeleton): Don't erase last char of class
2513 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
2515 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2517 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
2519 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2522 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * international/mule-cmds.el: Use lexical-binding.
2525 (ucs-names): Simplify.
2527 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
2529 * progmodes/python.el (run-python): Use read-shell-command.
2531 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2533 * rect.el: Make it possible to move bounds past EOL or into TABs.
2534 (operate-on-rectangle): Use apply-on-rectangle.
2535 (rectangle--mark-crutches): New var.
2536 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2537 (rectangle--crutches, rectangle--reset-crutches): New functions.
2538 (apply-on-rectangle): Obey crutches. Avoid setq.
2539 Fix missing final iteration if end is at EOB&BOL.
2540 (rectangle-mark-mode-map): Add remap bindings for
2541 exchange-point-and-mark and char/line movements.
2542 (rectangle--*-char): New function.
2543 (rectangle-exchange-point-and-mark, rectangle-right-char)
2544 (rectangle-left-char, rectangle-forward-char)
2545 (rectangle-backward-char, rectangle-next-line)
2546 (rectangle-previous-line): New commands.
2547 (rectangle--place-cursor): New function.
2548 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
2550 2014-06-08 Glenn Morris <rgm@gnu.org>
2552 * startup.el (initial-buffer-choice): Doc fix.
2553 Reset :version (adding an option does not merit a :version bump).
2555 * bookmark.el (bookmark-load):
2556 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2558 2014-06-08 Juri Linkov <juri@jurta.org>
2560 * desktop.el: Activate auto-saving on window configuration changes.
2561 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2562 `desktop-auto-save-set-timer' to/from
2563 `window-configuration-change-hook'.
2564 (desktop-auto-save-set-timer): Change REPEAT arg of
2565 `run-with-idle-timer' from t to nil.
2566 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2568 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
2570 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2571 vc-hg-command (bug#17570).
2573 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2578 2014-06-08 Glenn Morris <rgm@gnu.org>
2580 * startup.el (window-setup-hook): Doc fix.
2582 * emacs-lisp/package.el (package-check-signature)
2583 (package-unsigned-archives): Doc fixes.
2585 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2587 * window.el (display-buffer-use-some-window): Don't make window
2588 used smaller than it was before (Bug#17671).
2590 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2592 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2593 'redisplay' instead of '(sit-for 0)'.
2595 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2597 * net/tramp.el (tramp-ssh-controlmaster-options):
2598 Improve search regexp. (Bug#17653)
2600 2014-06-08 Glenn Morris <rgm@gnu.org>
2602 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2604 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2606 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2608 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2610 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2613 * vc/vc-hg.el (vc-hg-log-graph): New var.
2614 (vc-hg-print-log): Use it.
2615 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2616 graph output (bug#17515).
2618 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2620 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2621 even happened elsewhere.
2623 2014-06-06 Mario Lang <mlang@delysid.org>
2625 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2626 `recenter' if `current-buffer' is equal to `window-buffer'.
2628 2014-06-05 Leo Liu <sdl.web@gmail.com>
2630 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2632 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2634 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2635 New function which calls a callback on portions of the buffer that are
2636 outside of ignored environments.
2637 (tildify-build-regexp): Remove function since it is now
2638 incorporated in `tildify-foreach-region-outside-env' where it is
2639 optimised and simplified by the use of `mapconcat'.
2640 (tildify-tildify): Return number of substitutions made so that…
2641 (tildify-count): …can be removed.
2642 (tildify-find-env): Accept a new PAIRS argument which was
2643 previously looked up in `tildify-ignored-environments-alist' each
2644 time the function was called. With this change, the lookup is
2645 performed only once in `tildify-foreach-region-outside-env'.
2646 (tildify-region): Greatly simplify the function since now most of
2647 the work is done by `tildify-foreach-region-outside-env'.
2648 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2649 and instead using or.
2651 * textmodes/tildify.el (tildify-ignored-environments-alist):
2652 Optimise environments regexes
2654 Each time beginning of an environment to ignore is found,
2655 `tildify-find-env' needs to identify regexp for the ending
2656 of the environment. This is done by trying all the opening
2657 regexes on matched text in a loop, so to speed that up, this
2658 loop should have fewer things to match, which can be done by
2659 using alternatives in the opening regexes.
2661 Coincidentally, this should make matching of the opening
2662 regexp faster as well thanks to the use of `regexp-opt' and
2663 having common prefix pulled from many regexes.
2665 * textmodes/tildify.el (tildify-string-alist)
2666 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2667 of supported modes since `xml-mode' is no longer a thing but just
2668 an alias to the former. Also include comments and insides of tags
2669 in `tildify-ignored-environments-alist' for XML modes. Finally,
2670 since XML does not define “ ”[1], use a numeric reference for
2671 a no-break space (namely “ ”)
2673 [1] XML specification defines only a handful of predefined entities.
2674 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2675 and includes only <, >, &, ' and " (meaning <,
2676 >, &, ' and " respectively). This is in contrast to HTML and even
2677 XHTML which defined a whole bunch of entities including “ ”.
2679 * textmodes/tildify.el (tildify-pattern-alist)
2680 (tildify-string-alist, tildify-ignored-environments-alist):
2681 Improve defcustom's types by adding more tags explaining what each
2682 value means and replace “sexp” used in
2683 `tildify-ignored-environments-alist' with a full type declaration.
2685 * textmodes/tildify.el (tildify-find-env): Fix matched group
2686 indexes in end-regex building
2688 When looking for a start of an ignore-environment, the regex is built
2689 by concatenating regexes of all the environments configured in
2690 `tildify-ignored-environments-alist'. So for example, the following
2691 list could be used to match TeX's \verb and \verb* commands:
2693 (("\\\\verb\\(.\\)" . (1))
2694 ("\\\\verb\\*\\(.\\)" . (1)))
2696 This would result in the following regex being used to find the start
2697 of any of the variants of the \verb command:
2699 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2701 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2702 won't match anything, and thus (match-string 1) will be nil, which
2703 will cause building of the end-matching regex to fail.
2705 Fix this by using capture groups from the time when the opening
2706 regexes are matched individually.
2708 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2709 in `tildify-find-env'
2711 The `tildify-ignored-environments-alist' allows the end-regex to
2712 be provided not as a static string but mix of strings and indexes
2713 of groups matched the begin-regex. For example, the “\verb!…!”
2714 TeX-command (where “!” is an arbitrary character) is handled
2717 ("\\\\verb\\*?\\(.\\)" . (1))
2719 In the same way, the following should be supported as well:
2721 ("open-\\(.\\)" . ("end-" 1))
2723 However the tildify-find-env function fails at
2726 (if (stringp (setq aux (car expression)))
2727 expression ; BUG: expression is a list
2728 (regexp-quote (match-string aux))))
2730 where the string part is handled incorrectly.
2732 The most trivial fix would be to replace `expression' in the
2733 true-part of the if-statement with `aux', but instead, this commit
2734 optimises `tildify-find-env' by changing it to use `mapconcat'
2735 rather than open-coded while-loop.
2737 2014-06-05 Mario Lang <mlang@delysid.org>
2739 * woman.el (woman-mapcan): Remove.
2740 (woman-parse-colon-path): Use cl-mapcan instead.
2742 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2744 * register.el: Add link to Emacs manual in Commentary.
2746 2014-06-02 Sam Steingold <sds@gnu.org>
2748 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2749 (popup-menu): ...here.
2750 (menu-bar-open): Use it to avoid an error when `lookup-key'
2753 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
2755 * net/tramp.el (tramp-call-process): Add traces.
2756 (tramp-handle-unhandled-file-name-directory): Return "/".
2758 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
2760 Sync with upstream verilog-mode revision 3cd8144.
2761 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2762 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2763 (verilog-type-font-keywords): Add nor.
2764 (verilog-batch-execute-func): Force reading of Local Variables.
2765 Fix printing "no changes to be saved" with verilog-batch.
2766 (verilog-auto-arg-ports): Doc fix.
2767 Add verilog-auto-arg-format to support newlines in AUTOARG.
2768 (verilog-auto-arg): Doc fix.
2770 2014-06-02 Glenn Morris <rgm@gnu.org>
2772 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2773 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2774 * emulation/ws-mode.el: Move to obsolete/.
2775 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2777 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2779 * simple.el (keyboard-quit): Force update of mode lines, to remove
2780 the "Def" indicator, if we were defining a macro. (Bug#17615)
2782 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * minibuffer.el (minibuffer-force-complete-and-exit):
2785 Obey minibuffer-default (bug#17545).
2787 * progmodes/js.el (js-indent-line): Don't mix columns and chars
2790 * subr.el (set-transient-map): Don't wait for some "nested"
2791 transient-map to finish if we're only supposed to be active for
2792 the next command (bug#17642).
2794 2014-06-02 Leo Liu <sdl.web@gmail.com>
2796 * emacs-lisp/gv.el (window-buffer, window-display-table)
2797 (window-dedicated-p, window-hscroll, window-point, window-start):
2798 Fix gv-expander. (Bug#17630)
2800 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2802 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2805 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2806 for the single comma, since ", " is *very* common in normal French text
2809 2014-06-02 Glenn Morris <rgm@gnu.org>
2811 * emacs-lisp/package.el (package-check-signature)
2812 (package-unsigned-archives): Fix :version.
2814 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * subr.el (sit-for): Don't run input-methods (bug#15614).
2818 2014-06-02 Glenn Morris <rgm@gnu.org>
2820 * cus-start.el: Fix some :version numbers.
2822 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2824 * simple.el (deactivate-mark): Set mark-active to nil even if
2825 deactivation is done via setting transient-mark-mode to nil,
2826 since one is buffer-local and the other is global.
2828 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2829 there can't be more than 2 arguments (bug#17584).
2831 2014-06-02 Glenn Morris <rgm@gnu.org>
2833 * simple.el (filter-buffer-substring-functions)
2834 (filter-buffer-substring-function, buffer-substring-filters)
2835 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2837 * minibuffer.el (completion-in-region-functions, completion-in-region)
2838 (completion--in-region): Doc fixes.
2840 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2841 (expand-abbrev, abbrev--default-expand): Doc fixes.
2843 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
2845 Include sources used to create macuvs.h.
2846 * international/README: Refer to the Unicode Terms of Use rather
2847 than copying it bodily here, as that simplifies maintenance.
2849 2014-06-01 Glenn Morris <rgm@gnu.org>
2851 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
2853 2014-05-31 Glenn Morris <rgm@gnu.org>
2855 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
2857 2014-05-30 Glenn Morris <rgm@gnu.org>
2859 * loadup.el: Treat `command-line-args' more flexibly.
2861 2014-05-30 Alan Mackenzie <acm@muc.de>
2863 Guard (looking-at "\\s!") from XEmacs.
2864 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2866 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
2868 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2869 The argument COUNT is now optional, to be more backward-compatible.
2870 Doc fix. (Bug#17560)
2872 2014-05-29 Reuben Thomas <rrt@sc3d.org>
2874 * whitespace.el (whitespace-report-region):
2875 Simplify documentation.
2876 (whitespace-report-region): Allow report-if-bogus to take the
2877 value `never', for non-interactive use.
2878 (whitespace-report): Refer to whitespace-report-region's
2881 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2883 * whitespace.el: Use font-lock-flush. Minimize refontifications.
2884 Side benefit: it works without jit-lock.
2885 (whitespace-point--used): New buffer-local var.
2886 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
2887 (whitespace-color-off): Use font-lock-flush.
2888 (whitespace-point--used, whitespace-point--flush-used): New functions.
2889 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2890 (whitespace-empty-at-eob-regexp): Use them.
2891 (whitespace-post-command-hook): Rewrite.
2893 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2894 (font-lock-fontify-buffer): Mark interactive-only.
2895 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2897 (font-lock-specified-p): Remove redundant boundp check.
2898 (font-lock-flush-function, font-lock-ensure-function): New vars.
2899 (font-lock-turn-on-thing-lock): Set them.
2900 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2901 (font-lock-after-change-function): Make `old-len' optional.
2902 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2903 Call font-lock-flush, just in case.
2904 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2906 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2907 (vera-mode-map, vera-mode-menu): Remove bindings to it.
2908 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2909 and with-syntax-table.
2910 * textmodes/conf-mode.el (conf-quote-normal):
2911 * progmodes/sh-script.el (sh-set-shell):
2912 * progmodes/prog-mode.el (prettify-symbols-mode):
2913 * progmodes/f90.el (f90-font-lock-n):
2914 * progmodes/cwarn.el (cwarn-mode):
2915 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2916 * progmodes/compile.el (compilation-setup, compilation--unsetup):
2917 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2918 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2919 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2920 font-lock-fontify-buffer-function and
2921 font-lock-unfontify-buffer-function.
2922 (rmail-unfontify-buffer-function, rmail-fontify-message):
2923 Use with-silent-modifications.
2924 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2925 and font-lock-ensure.
2926 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2928 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
2930 * emacs-lisp/package.el (package-generate-autoloads):
2931 Inhibit backup files.
2933 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2938 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
2940 * textmodes/tildify.el (tildify-buffer, tildify-region):
2941 Add dont-ask option.
2943 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
2946 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2948 * subr.el (internal--funcall-interactively): New.
2949 (internal--call-interactively): Remove.
2950 (called-interactively-p): Detect funcall-interactively instead of
2952 * simple.el (repeat-complex-command): Use funcall-interactively.
2953 (repeat-complex-command--called-interactively-skip): Remove.
2955 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * register.el (register-read-with-preview): Don't burp on
2958 frame switches (e.g. due to the frame we just popped).
2960 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2961 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2963 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
2965 * cus-face.el (custom-face-attributes): Add :distant-foreground.
2967 2014-05-26 Martin Rudalics <rudalics@gmx.at>
2969 * window.el (window--dump-frame): Remove interactive specification.
2971 2014-05-26 Glenn Morris <rgm@gnu.org>
2973 * hippie-exp.el (he-line-search-regexp):
2974 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
2976 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
2978 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2979 to avoid errors when trying to create or visit a file foo.todo
2980 located outside to todo-directory, and to allow having such files
2981 without them being tied to Todo mode (bug#17482).
2982 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2983 (todo-archive-done-item, todo-find-filtered-items-file)
2984 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2985 (todo-category-completions, todo-read-category): When visiting a
2986 Todo file, make sure we're in the right mode and the buffer local
2988 (todo-make-categories-list, todo-reset-nondiary-marker)
2989 (todo-reset-done-string, todo-reset-comment-string):
2990 After processing all Todo files, kill the buffers of those files that
2991 weren't being visited before the processing.
2992 (todo-display-as-todo-file, todo-add-to-buffer-list)
2993 (todo-visit-files-commands): Comment out.
2994 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2995 (auto-mode-alist): Remove add-to-list calls making Todo file
2996 extensions unrestrictedly tied to Todo modes.
2998 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
3001 (advice-function-member-p): Tell it to check both names and functions
3003 (advice--add-function): Adjust call accordingly.
3005 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3007 * calendar/todo-mode.el: Miscellaneous bug fixes.
3008 (todo-delete-file): When deleting an archive but not its todo
3009 file, make sure to update the todo file's category sexp.
3010 (todo-move-category): Keep the moved category's name unless the
3011 file moved to already has a category with that name. If the
3012 numerically last category of the source file was moved, make the
3013 first category current to avoid selecting a nonexisting category.
3014 (todo-merge-category): Fix implementation to make merging to a
3015 category in another file work as documented. Eliminate now
3016 insufficient and unnecessary renaming of archive category, correct
3017 document string accordingly, and clarify it. If the numerically
3018 last category of the source file was merged, make the first
3019 category current to avoid selecting a nonexisting category.
3020 (todo-archive-done-item): When there are marked items and point
3021 happens to be on an unmarked item, ignore the latter. Don't leave
3022 point below last item after archiving marked items.
3023 (todo-unarchive-items): Fix logic to ensure unarchiving an item
3024 from an archive with only one category deletes the archive only
3025 when the category is empty after unarchiving. Make sure the todo
3026 file's category sexp is updated.
3027 (todo-read-file-name): Allow an existing file name even when it is
3028 not required (todo-move-category needs this to work as documented).
3029 (todo-add-file): Call todo-validate-name to reject the name of an
3030 existing todo file (needed due to fix in todo-read-file-name).
3031 (todo-reset-nondiary-marker): Also reset in filtered items files.
3032 (todo-reset-done-string, todo-reset-comment-string): Also reset in
3033 regexp filtered items files.
3034 (todo-reset-highlight-item): Also reset in filtered items files.
3035 Fix incorrect variable reference in document string.
3037 2014-05-26 Glenn Morris <rgm@gnu.org>
3039 * window.el (window--dump-frame): Avoid error in --without-x builds.
3041 2014-05-26 Glenn Morris <rgm@gnu.org>
3043 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
3045 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3047 * frame.el (set-frame-font): Doc fix.
3049 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
3051 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
3053 * emacs-lisp/package.el (package--download-one-archive):
3054 Use `write-region' instead of `save-buffer' to avoid running various
3056 (describe-package-1): Same. Insert newline at the end of the
3057 buffer if appropriate.
3059 2014-05-26 Juri Linkov <juri@jurta.org>
3061 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
3062 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
3063 Add more modifiers: meta, control, shift, hyper, super, alt.
3066 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
3067 to allow changing its value with `set-variable'.
3069 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3071 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
3073 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
3075 (scheme-mode-variables): Set syntax-propertize-function instead of
3076 font-lock-syntactic-face-function.
3077 (scheme-font-lock-syntactic-face-function): Delete.
3079 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
3081 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
3084 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3086 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
3087 for a temporary file name.
3089 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3091 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
3093 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3095 * net/dbus.el (dbus-init-bus, dbus-call-method)
3096 (dbus-call-method-asynchronously, dbus-send-signal)
3097 (dbus-method-return-internal, dbus-method-error-internal):
3098 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
3100 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3102 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
3103 methods which do not have a doc string. (Bug#17490)
3105 2014-05-25 Tassilo Horn <tsdh@gnu.org>
3107 * textmodes/reftex-ref.el (reftex-format-special): Make it work
3108 also for AMS Math's \eqref macro.
3110 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3112 Arrange to never byte-compile the generated -pkg.el file.
3114 * emacs-lisp/package.el (package-generate-description-file):
3115 Output first-line comment to set buffer-local var `no-byte-compile'.
3116 Suggested by Dmitry Gutov:
3117 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
3119 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3121 Fix bug: Properly quote args to generated -pkg.el `define-package'.
3123 * emacs-lisp/package.el (package-generate-description-file):
3124 Inline `package--alist-to-plist'; rewrite to selectively
3125 quote alist values that are not self-quoting.
3126 (package--alist-to-plist): Delete func.
3128 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
3130 * term/xterm.el (xterm-function-map): Add mapping for shifted
3133 2014-05-24 Daniel Colascione <dancol@dancol.org>
3135 * progmodes/subword.el (subword-find-word-boundary): Move point to
3136 correct spot before search. (Bug#17580)
3138 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3141 2014-05-24 Leo Liu <sdl.web@gmail.com>
3143 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
3145 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * minibuffer.el (completion--sreverse): Remove.
3148 (completion--common-suffix): Use `reverse' instead.
3149 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3151 2014-05-22 Glenn Morris <rgm@gnu.org>
3153 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3155 2014-05-21 Daniel Colascione <dancol@dancol.org>
3157 * files.el (interpreter-mode-alist): Add mksh.
3159 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3161 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3162 mksh. Improve custom spec; allow regular expressions.
3163 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3164 (sh-after-hack-local-variables): New function.
3165 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3166 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3168 (sh-canonicalize-shell): Rewrite to support regexes.
3170 2014-05-21 Leo Liu <sdl.web@gmail.com>
3172 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3174 2014-05-19 Leo Liu <sdl.web@gmail.com>
3176 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3178 2014-05-18 Glenn Morris <rgm@gnu.org>
3181 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3183 2014-05-14 Sam Steingold <sds@gnu.org>
3185 * progmodes/python.el (python-shell-get-or-create-process):
3186 Do not bind `current-prefix-arg' so that C-c C-z does not talk
3187 back unless requested.
3189 2014-05-14 Glenn Morris <rgm@gnu.org>
3191 * subr.el (with-file-modes): New macro.
3192 * printing.el (pr-save-file-modes): Make obsolete.
3193 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3194 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3195 Add with-file-modes.
3196 * doc-view.el (doc-view-make-safe-dir):
3197 * epg.el (epg--start):
3198 * files.el (locate-user-emacs-file, make-temp-file)
3199 (backup-buffer-copy, move-file-to-trash):
3200 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3201 * eshell/esh-util.el (eshell-with-private-file-modes)
3202 (eshell-make-private-directory):
3203 * net/browse-url.el (browse-url-mosaic):
3204 * obsolete/mailpost.el (post-mail-send-it):
3205 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3206 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3207 Use with-file-modes.
3209 * vc/emerge.el (emerge-make-temp-file): Simplify.
3211 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
3212 Stefan Monnier <monnier@iro.umontreal.ca>
3214 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3217 2014-05-14 Glenn Morris <rgm@gnu.org>
3219 * vc/emerge.el (emerge-temp-file-prefix):
3220 Make pointless option obsolete.
3221 (emerge-temp-file-mode): Make non-functional option obsolete.
3223 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
3225 * net/browse-url.el (browse-url):
3226 Use `unhandled-file-name-directory' when setting `default-directory',
3227 in order to circumvent stalled remote connections. (Bug#17425)
3229 2014-05-14 Glenn Morris <rgm@gnu.org>
3231 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3232 Optimize on Emacs, which has the relevant functions for ages.
3234 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3236 * simple.el (undo-make-selective-list): Obey undo-no-redo.
3238 2014-05-12 Sam Steingold <sds@gnu.org>
3240 * calendar/time-date.el (seconds-to-string): New function to
3241 pretty print time delay in seconds.
3243 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * mpc.el (mpc-format): Trim Date to the year.
3246 (mpc-songs-hashcons): Shorten the Date field.
3248 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3249 into autoloading just because of a silly indirection.
3251 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
3253 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
3255 2014-05-12 Glenn Morris <rgm@gnu.org>
3257 * emacs-lisp/find-gc.el: Move to ../admin.
3259 * printing.el (pr-version):
3260 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3262 * net/browse-url.el (browse-url-mosaic):
3263 Create /tmp/Mosaic.PID as a private file.
3265 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3268 (advice--member-p): If name is given, only compare the name.
3269 (advice--remove-function): Don't stop at the first match.
3270 (advice--normalize-place): New function.
3271 (add-function, remove-function): Use it.
3272 (advice--add-function): Pass the name, if any, to
3273 advice--remove-function.
3275 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3277 * electric.el (electric-indent-post-self-insert-function): Don't use
3278 `pos' after modifying the buffer (bug#17449).
3280 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
3282 * calendar/todo-mode.el (todo-insert-item-from-calendar):
3283 Correct argument list to conform to todo-insert-item--basic.
3285 2014-05-12 Glenn Morris <rgm@gnu.org>
3287 * files.el (cd-absolute): Test if directory is accessible
3288 rather than executable. (Bug#17330)
3290 * progmodes/compile.el (recompile):
3291 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3293 * net/browse-url.el (browse-url-mosaic):
3294 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3295 This is CVE-2014-3423.
3297 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * mouse.el: Use the normal toplevel loop while dragging.
3300 (mouse-set-point): Handle multi-clicks.
3301 (mouse-set-region): Handle multi-clicks for drags.
3302 (mouse-drag-region): Update call accordingly.
3303 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3304 Use the normal event loop instead of a local while/read-event loop.
3305 (global-map): Remove redundant bindings for double/triple-mouse-1.
3306 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3307 Generate synthetic down events when the protocol only sends up events.
3308 (xterm-mouse-last): Remove.
3309 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3310 terminal parameter instead.
3311 (xterm-mouse--set-click-count): New function.
3312 (xterm-mouse-event): Detect/generate double/triple clicks.
3313 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3315 * info.el (Info-quoted): New face.
3316 (Info-mode-font-lock-keywords): New var.
3317 (Info-mode): Use it.
3319 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3320 are a hindrance for C-x C-e.
3322 2014-05-11 Leo Liu <sdl.web@gmail.com>
3324 * net/rcirc.el (rcirc-sentinel): Fix last change.
3326 2014-05-08 Sam Steingold <sds@gnu.org>
3328 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3329 (rcirc-sentinel): Auto-reconnect to the server if
3330 `rcirc-reconnect-delay' is non-0 (but not more often than its
3331 value in case the host is off-line).
3333 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3335 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3337 2014-05-09 Glenn Morris <rgm@gnu.org>
3339 * files.el (file-expand-wildcards):
3340 * man.el (Man-support-local-filenames):
3341 * printing.el (pr-i-directory, pr-interface-directory):
3342 * progmodes/grep.el (lgrep, rgrep):
3343 * textmodes/ispell.el (ispell-call-process)
3344 (ispell-call-process-region, ispell-start-process)
3345 (ispell-init-process): Use file-accessible-directory-p.
3347 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3350 (xterm-mouse--read-event-sequence-1000): Return nil if something
3352 (xterm-mouse-event): Propagate it.
3353 (xterm-mouse-translate-1): Handle it.
3355 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3357 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3358 four slots of the parameter list are filled, make sure to pass it
3359 to the argument list of todo-insert-item--basic.
3361 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3364 Add optional `seen' argument to detect and break infinite loops.
3366 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3368 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3369 (trace-unsafe, trace-use-tree): Make parentheses style be
3370 according to Emacs style.
3372 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3374 * net/tramp-sh.el (tramp-remote-process-environment):
3375 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3377 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3378 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3379 extra "PSx=..." commands.
3380 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3383 (tramp-uudecode): Replace the hard-coded temporary file name by a
3385 (tramp-remote-coding-commands): Enhance docstring.
3386 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3388 This is CVE-2014-3424.
3390 2014-05-08 Glenn Morris <rgm@gnu.org>
3392 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3393 (find-gc-source-files): Update some names.
3394 (trace-call-tree): Simplify and update.
3395 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3396 This is CVE-2014-3422.
3398 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3400 * minibuffer.el (completion--try-word-completion): Revert fix for
3401 Bug#15980 (bug#17375).
3403 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3404 Always store button numbers in the same way in xterm-mouse-last;
3405 Don't burp is xterm-mouse-last is not set as expected.
3406 Never return negative indices.
3408 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3410 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3411 Backtrack one char if the global/char-literal var matcher hits
3412 inside a string. The next char could be the beginning of an
3413 expression expansion.
3415 2014-05-08 Glenn Morris <rgm@gnu.org>
3417 * help-fns.el (describe-function-1): Test for an autoload before a
3418 macro, since `macrop' works on autoloads. (Bug#17410)
3420 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3424 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3425 Make sure the new point we return is within the new string (bug#17239).
3427 2014-05-05 Daniel Colascione <dancol@dancol.org>
3429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3430 Port `gnu' pattern to rx.
3432 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3434 Remove unneeded prompt when closing a buffer with active
3435 emacsclient ("Buffer ... still has clients"), #16548.
3436 * server.el (server-start): Remove the only call to:
3437 (server-kill-buffer-query-function): Remove.
3439 2014-05-04 Leo Liu <sdl.web@gmail.com>
3441 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3442 Defvar to pacify compiler.
3444 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3446 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3448 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3451 Use nil rather than `default' for the "default" appearance (bug#17388).
3452 * vc/ediff-util.el (ediff-inferior-compare-regions)
3453 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3454 a misleading `default' value when it's really a boolean.
3455 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3456 overlay is not visible.
3458 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3460 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3461 (todo-menu): Uncomment and update.
3463 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3465 * calendar/todo-mode.el: Reimplement item editing to have the same
3466 basic user interface as item insertion, and make small UI and
3467 larger internal improvements to the latter.
3468 (todo-insert-item): Add reference to the Todo mode user manual to
3469 the documentation string.
3470 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3471 adjust all callers. Change signature to combine diary and
3472 nonmarking arguments. Incorporate functionality of deleted item
3473 copying command and add error checking. Remove detailed
3474 descriptions of the arguments from the documentation string, since
3475 this is treated in the Todo mode user manual.
3476 (todo-copy-item, todo-edit-multiline-item)
3477 (todo-edit-done-item-comment, todo-edit-item-header)
3478 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3479 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3480 (todo-edit-item-date-year, todo-edit-item-date-month)
3481 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3483 (todo-edit-item): Reimplement as wrapper command for
3484 todo-edit-item--next-key and make it distinguish done and not done
3486 (todo-edit-item--text): New function, replacing old command
3487 todo-edit-item and incorporating deleted commands
3488 todo-edit-multiline-item and todo-edit-done-item-comment.
3489 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3490 Use only numeric value of prefix argument. Remove detailed
3491 descriptions of the arguments from the documentation string, since
3492 this is treated in the Todo mode user manual.
3493 (todo-edit-item--diary-inclusion): New function, replacing old
3494 command todo-edit-item-diary-inclusion and incorporating and fixing
3495 functionality of deleted command todo-edit-item-diary-nonmarking,
3496 making sure to remove todo-nondiary-marker when adding
3497 diary-nonmarking-symbol.
3498 (todo-edit-category-diary-inclusion): Make sure to delete
3499 diary-nonmarking-symbol when adding todo-nondiary-marker.
3500 (todo-edit-category-diary-nonmarking): Fix indentation.
3501 (todo-insert-item--parameters): Group diary and nonmarking
3502 parameters together.
3503 (todo-insert-item--apply-args): Adjust to signature of
3504 todo-insert-item--basic and incorporate copy parameter.
3505 Make small code improvements.
3506 (todo-insert-item--next-param): Improve prompt and adjust it to
3507 new parameter grouping. Remove obsolete code.
3508 (todo-edit-item--param-key-alist)
3509 (todo-edit-item--date-param-key-alist)
3510 (todo-edit-done-item--param-key-alist): New defconsts.
3511 (todo-edit-item--prompt): New variable.
3512 (todo-edit-item--next-key): New function.
3513 (todo-key-bindings-t): Bind "e" to todo-edit-item.
3514 Remove bindings of deleted commands.
3516 2014-05-04 Leo Liu <sdl.web@gmail.com>
3518 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3520 2014-05-04 Glenn Morris <rgm@gnu.org>
3522 * allout-widgets.el (allout-widgets-tally)
3523 (allout-decorate-item-guides):
3524 * menu-bar.el (menu-bar-positive-p):
3525 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3526 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3527 * progmodes/js.el (js--inside-param-list-p)
3528 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3529 * progmodes/prolog.el (region-exists-p):
3530 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3531 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3532 Doc fixes (replace `iff').
3534 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3538 2014-05-04 Leo Liu <sdl.web@gmail.com>
3540 Support Chinese diary entries in calendar and diary. (Bug#17393)
3541 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3542 (calendar-chinese-from-absolute-for-diary)
3543 (calendar-chinese-to-absolute-for-diary)
3544 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3545 (diary-chinese-list-entries): New functions to list and mark
3546 Chinese diary entries in the calendar window.
3547 (diary-chinese-anniversary)
3548 (diary-chinese-insert-anniversary-entry)
3549 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3550 (diary-chinese-insert-yearly-entry): New commands to insert
3551 Chinese diary entries.
3553 * calendar/diary-lib.el (diary-font-lock-keywords):
3554 Support font-locking Chinese dates.
3556 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3557 inserting Chinese diary entries.
3559 * calendar/calendar.el (diary-chinese-entry-symbol):
3560 New customizable variable.
3561 (calendar-mode-map): Add bindings for inserting Chinese diary
3564 2014-05-03 Juri Linkov <juri@jurta.org>
3566 * dired.el (dired-check-switches, dired-switches-recursive-p):
3567 New functions. (Bug#17218)
3568 (dired-switches-escape-p, dired-move-to-end-of-filename):
3569 Use `dired-check-switches'.
3570 (dired-insert-old-subdirs, dired-build-subdir-alist)
3571 (dired-sort-R-check): Use `dired-switches-recursive-p'.
3573 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
3575 * simple.el (undo-make-selective-list): New algorithm fixes
3576 incorrectness of position adjustments when undoing in region.
3578 (undo-elt-crosses-region): Make obsolete.
3579 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3580 New functions to adjust positions using undo-deltas.
3582 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3585 the last consecutive closing paren (bug#17345).
3587 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3589 * dired.el (dired-mode): make terminology for eXpunge command
3590 consistent. (Bug#17276)
3592 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3594 * dired.el (dired-initial-position-hook, dired-initial-position):
3597 2014-04-30 Glenn Morris <rgm@gnu.org>
3599 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3601 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3603 * faces.el (face-spec-recalc): Apply X resources only after the
3604 defface spec has been applied. Thus, X resources are no longer
3605 overriden by the defface spec which also fixes issues on win32 where
3606 the toolbar coloring was wrong because it is set through X resources
3607 and was (wrongfully) overriden. (Bug#16694)
3609 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3611 * textmodes/rst.el (electric-pair-pairs): Declare.
3612 (rst-mode): Set it (bug#17131).
3614 2014-04-30 Juri Linkov <juri@jurta.org>
3616 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3617 and `print-level' to nil. (Bug#17351)
3619 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3621 * battery.el (battery-update): Handle the case where battery
3622 status is "N/A" (bug#17319).
3624 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3627 to syntax-propertize.
3628 (ps-mode-auto-indent): Mark as obsolete.
3629 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3630 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3631 word regexp operators.
3632 (ps-mode-map): Move initialization into declaration. Remove binding
3633 for TAB, RET, >, ], and }.
3634 (ps-mode-syntax-table): Move initialization into declaration.
3635 Don't give word syntax to non-word chars.
3636 (ps-run-mode-map): Move initialization into declaration.
3637 (ps-mode-menu-main): Remove auto-indent entry.
3638 (ps-mode-smie-rules): New function.
3639 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3640 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3641 (ps-mode--string-syntax-table): New const.
3642 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3644 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3645 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3647 2014-04-27 Daniel Colascione <dancol@dancol.org>
3649 * term/xterm.el (xterm-paste): Use large finite timeout when
3650 reading event to avoid putting keys in this-command-keys.
3652 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3655 (perl-syntax-propertize-function): Use it. Extend handling of
3656 here-docs to the unquoted case.
3658 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3660 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3661 Use equal-including-properties to compare help-echo strings (bug#17331).
3663 2014-04-25 Leo Liu <sdl.web@gmail.com>
3665 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3666 Fix syntax for @. (Bug#17325)
3668 2014-04-25 Daniel Colascione <dancol@dancol.org>
3670 * emacs-lisp/cl.el (gv): Require gv early to break eager
3671 macro-expansion cycles.
3673 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3675 * simple.el (region-active-p): Check there's a mark (bug#17324).
3677 * simple.el (completion-list-mode-map): Use choose-completion for the
3678 mouse binding as well (bug#17302).
3679 (completion-list-mode, completion-setup-function): Adjust docstring and
3680 echo area message accordingly.
3681 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3682 calling convention of choose-completion.
3683 * comint.el (comint-dynamic-list-completions):
3684 * term.el (term-dynamic-list-completions): Accept choose-completion.
3686 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3687 &, |, +, - and * can't be a division (bug#17317).
3689 * term/xterm.el (xterm--version-handler): Don't use modern xterm
3690 features on gnome-terminal (bug#16988).
3692 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
3694 Improve Scheme font-locking for (define ((foo ...) ...) ...).
3696 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3697 the declared object, ignore zero or more parens, not zero or one.
3699 2014-04-24 Leo Liu <sdl.web@gmail.com>
3701 * progmodes/xscheme.el (xscheme-expressions-ring)
3702 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3703 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3704 (xscheme-allow-output-p, xscheme-prompt)
3705 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3707 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3708 Comment out unused functions.
3710 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * info.el: Use lexical-binding and cl-lib.
3713 Use defvar-local and setq-local instead of make-local-variable.
3714 (Info-apropos-matches): Avoid add-to-list.
3715 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3717 2014-04-24 Daniel Colascione <dancol@dancol.org>
3719 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3721 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3725 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
3727 * dired.el (dired-insert-set-properties): Do not consider
3728 subdirectory headings and empty lines to be information that
3729 `dired-hide-details-mode' should hide. (Bug#17228)
3731 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3733 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3734 Remove test messages.
3735 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3738 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3741 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3743 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3745 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3747 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3748 Set "IFS=" when using read builtin, in order to preserve spaces in
3749 the file name. Add test messages for hunting a bug on hydra.
3750 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
3752 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3755 Don't prettify a word within a symbol.
3757 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3759 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3762 2014-04-22 Daniel Colascione <dancol@dancol.org>
3764 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3765 use defun to define `function-put'.
3767 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3770 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3771 (lisp-mode-variables): Set font-lock-extra-managed-props.
3773 * emacs-lisp/byte-run.el (function-put): New function.
3774 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
3775 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3776 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3779 2014-04-22 Daniel Colascione <dancol@dancol.org>
3781 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3782 Add `full-p' parameter; when nil, call `macroexpand' instead of
3785 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3788 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3789 Use lambda function values, not quoted lambdas.
3790 (byte-compile-recurse-toplevel): Remove extraneous &optional.
3792 * emacs-lisp/cl-macs.el
3793 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3794 (cl-struct-slot-value): Conditionally use aref or nth so that the
3795 compiler produces optimal code.
3797 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3800 (inline): Don't inline cl--set-elt.
3801 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3802 Define as inlinable instead.
3803 (cl-struct-set-slot-value): Remove.
3805 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3806 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3809 2014-04-21 Daniel Colascione <dancol@dancol.org>
3811 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3812 last two parameters after all.
3813 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3814 (cl--compiler-macro-assoc,cl-struct-slot-value)
3815 (cl-struct-set-slot-value): Stop using them.
3817 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3820 entry in image-mode-winprops-alist.
3822 2014-04-21 Daniel Colascione <dancol@dancol.org>
3824 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3825 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3826 (byte-compile-toplevel-file-form): Use it.
3828 * emacs-lisp/cl-macs.el:
3829 (cl--loop-let): Properly destructure `while' clauses.
3831 2014-04-20 Daniel Colascione <dancol@dancol.org>
3833 * vc/vc.el (vc-root-dir): New public autoloaded function for
3834 generically finding the current VC root.
3835 * vc/vc-hooks.el (vc-not-supported): New error.
3836 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3838 2014-04-20 Daniel Colascione <dancol@dancol.org>
3840 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3842 (cl--const-expr-val): cl--const-expr-val should macroexpand its
3843 argument in case we're inside a symbol-macrolet.
3844 (cl--do-arglist, cl--compiler-macro-typep)
3845 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3846 environment to `cl--const-expr-val'.
3847 (cl-struct-sequence-type,cl-struct-slot-info)
3848 (cl-struct-slot-offset, cl-struct-slot-value)
3849 (cl-struct-set-slot-value): New functions.
3851 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3853 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3854 assignments such as "case=hello" (bug#17297).
3856 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
3858 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3860 (tramp-file-name-handler, tramp-completion-file-name-handler):
3861 Revert patch from 2014-04-10, it isn't necessary anymore.
3862 (tramp-autoload-file-name-handler)
3863 (tramp-register-autoload-file-name-handlers): New defuns.
3864 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3865 (tramp-register-file-name-handlers): Remove also
3866 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3867 Do not autoload its invocation, but eval it after loading of 'tramp.
3869 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3871 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3873 2014-04-17 Daniel Colascione <dancol@dancol.org>
3875 Add support for bracketed paste mode; add infrastructure for
3876 managing terminal mode enabling and disabling automatically.
3879 (xterm-mouse-mode): Simplify.
3880 (xterm-mouse-tracking-enable-sequence)
3881 (xterm-mouse-tracking-disable-sequence): New constants.
3882 (turn-on-xterm-mouse-tracking-on-terminal)
3883 (turn-off-xterm-mouse-tracking-on-terminal):
3884 Use tty-mode-set-strings and tty-mode-reset-strings terminal
3885 parameters instead of random hooks.
3886 (turn-on-xterm-mouse-tracking)
3887 (turn-off-xterm-mouse-tracking): Delete.
3889 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3890 (xterm-paste-ending-sequence): New constant.
3891 (xterm-paste): New command used for bracketed paste support.
3893 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3894 (terminal-init-xterm-bracketed-paste-mode): New function.
3895 (terminal-init-xterm): Call it.
3896 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3897 and tty-mode-reset-strings instead of random hooks.
3898 (xterm-turn-on-modify-other-keys)
3899 (xterm-turn-off-modify-other-keys)
3900 (xterm-remove-modify-other-keys): Delete obsolete functions.
3902 * term/screen.el: Rewrite to just use the xterm code.
3903 Add copyright notice. Mention tmux.
3905 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
3907 * image-mode.el (image-mode-window-put): Also update the property of
3908 the "default window".
3909 * doc-view.el (doc-view-new-window-function): If no window
3910 exists, move to the last known page.
3912 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3914 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3915 here-documents (bug#17262).
3917 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3919 * term/pc-win.el (x-list-fonts, x-get-selection-value):
3920 Provide doc strings, as required by snarf-documentation.
3922 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3924 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3925 arg of overlays-at. Use `invisible-p'.
3927 * obsolete/lucid.el (extent-at):
3928 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3930 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3932 2014-04-16 João Távora <joaotavora@gmail.com>
3934 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3937 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3939 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3940 Use mapc to loop over a vector. (Bug#17257).
3942 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
3944 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3945 patch, there are new problems with file names containing spaces.
3946 Get rid of backticks. (Bug#17238)
3948 2014-04-16 João Távora <joaotavora@gmail.com>
3950 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3953 2014-04-16 Eli Zaretskii <eliz@gnu.org>
3955 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3956 (blink-cursor-mode): Mention customization variables and the
3957 effect of 'blink-cursor-blinks'.
3959 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
3961 * simple.el (undo): Prevent insertion of identity mapping into
3962 undo-equiv-table so as undo-only does not inf loop in the presence
3963 of consecutive nils in undo list.
3965 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
3967 * faces.el (make-face): Deprecate optional argument as it is no
3968 longer needed/used since the conditional X resources handling
3969 has been pushed down to make-face-x-resource-internal itself.
3970 (make-empty-face): Don't pass optional argument to make-face.
3972 2014-04-16 Karl Fogel <kfogel@red-bean.com>
3974 * savehist.el (savehist-save): Remove workaround for a read-passwd
3975 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
3976 noticing that the shim was still present.
3978 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3980 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3982 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
3984 * faces.el (face-set-after-frame-default): Remove unused local variable.
3986 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3988 * progmodes/grep.el: Use lexical-binding.
3989 (grep-expand-template): Pass explicit lexical env to `eval'.
3990 (zrgrep): Let-bind grep-find-template explicitly.
3992 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3993 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3995 2014-04-12 Eli Zaretskii <eliz@gnu.org>
3997 * international/characters.el <standard-case-table>: Add entries
3998 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
3999 Set category of Coptic characters be 'g' (Greek).
4001 2014-04-12 Leo Liu <sdl.web@gmail.com>
4003 * progmodes/octave.el (completion-table-with-cache):
4004 Define if not available.
4005 (octave-goto-function-definition, octave-sync-function-file-names)
4006 (octave-find-definition-default-filename):
4007 Backquote upattern for compatibility.
4009 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
4011 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
4012 name twice due to backticks. (Bug#17238)
4014 2014-04-12 Glenn Morris <rgm@gnu.org>
4016 * term/w32-win.el (x-win-suspend-error):
4017 * term/x-win.el (x-win-suspend-error): Sync docs.
4019 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
4021 * faces.el (make-face): Remove deprecated optional argument.
4022 The conditional application of X resources is handled directly by
4023 make-face-x-resource-internal since Emacs 24.4.
4024 (make-empty-face): Don't pass optional argument to make-face.
4026 2014-04-11 Glenn Morris <rgm@gnu.org>
4028 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
4030 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4032 Ediff's overlay priorities cause more trouble than they solve.
4033 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
4034 (ediff-highest-priority): Remove function (bug#17234).
4035 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
4036 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
4037 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
4040 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
4042 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
4043 entry; use symbol boundaries to avoid mis-matches.
4045 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
4047 * net/tramp.el (tramp-file-name-handler)
4048 (tramp-completion-file-name-handler): Avoid recursive loading.
4050 * net/tramp-sh.el (tramp-make-copy-program-file-name):
4051 Quote result also locally.
4053 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4055 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
4056 Remove left-over code.
4058 * newcomment.el (comment-indent-new-line): Sink code where it's used.
4059 Reuse the previous comment's indentation unconditionally if it's on its
4062 2014-04-09 Daniel Colascione <dancol@dancol.org>
4064 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
4065 `no-syntax-crossing' arguments. Forward to `up-list'.
4066 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
4067 Implement logic for escaping from strings. Use narrowing to deal
4070 2014-04-09 Leo Liu <sdl.web@gmail.com>
4072 * net/rcirc.el (rcirc-connection-info): New variable.
4073 (rcirc-connect): Use it to store connection info.
4074 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
4076 (rcirc-cmd-reconnect): New command. (Bug#17045)
4077 (rcirc-mode, set-rcirc-encode-coding-system)
4078 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
4080 2014-04-09 Daniel Colascione <dancol@dancol.org>
4082 * emacs-lisp/cl-indent.el: Add comment claiming
4083 facility is also good for elisp.
4084 (lisp-indent-find-method): New function.
4085 (common-lisp-indent-function): Recognize cl-loop.
4086 (common-lisp-indent-function-1): Recognize cl constructs; use
4087 `lisp-indent-find-method' instead of `get' directly.
4088 (if): Use else-body style for elisp.
4090 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
4092 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4093 Module methods. (Bug#17216)
4095 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4097 * help.el (describe-bindings): Fix buffer handling (bug#17210).
4098 (describe-bindings-internal): Mark obsolete.
4100 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
4103 buffer-file-name, and buffer-file-truename any more.
4105 2014-04-08 Leo Liu <sdl.web@gmail.com>
4107 Use lexical-binding and require cl-lib.
4108 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
4109 (rcirc-handler-generic, rcirc-fill-paragraph)
4110 (rcirc-format-response-string, rcirc-target-buffer)
4111 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
4112 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
4113 (rcirc-ctcp-sender-PING, rcirc-browse-url)
4114 (rcirc-markup-timestamp, rcirc-markup-attributes)
4115 (rcirc-markup-my-nick, rcirc-markup-urls)
4116 (rcirc-markup-bright-nicks, rcirc-markup-fill)
4117 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
4118 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
4119 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
4120 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
4121 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
4122 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
4123 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
4124 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
4125 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
4126 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
4129 2014-04-07 João Távora <joaotavora@gmail.com>
4131 * elec-pair.el (electric-pair--syntax-ppss):
4132 When inside comments parse from comment beginning.
4133 (electric-pair--balance-info): Fix typo in comment.
4134 (electric-pair--in-unterminated-string-p): Delete.
4135 (electric-pair--unbalanced-strings-p): New function.
4136 (electric-pair-string-bound-function): New var.
4137 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4138 according to `electric-pair--in-unterminated-string-p'
4140 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4141 Inhibit quote pairing if point-max is inside an unterminated string.
4142 (electric-pair--looking-at-unterminated-string-p): Delete.
4143 (electric-pair--in-unterminated-string-p): New function.
4145 2014-04-07 Glenn Morris <rgm@gnu.org>
4147 * shell.el (shell-directory-tracker):
4148 Go back to just ignoring failures. (Bug#17159)
4150 2014-04-07 João Távora <joaotavora@gmail.com>
4152 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4153 backspace. (bug#16981)
4154 * elec-pair.el (electric-pair-backward-delete-char): Delete.
4155 (electric-pair-backward-delete-char-untabify): Delete.
4156 (electric-pair-mode-map): Bind backspace to a menu item filtering
4157 a new `electric-pair-delete-pair' command.
4158 (electric-pair-delete-pair): New command.
4160 * progmodes/python.el (python-electric-pair-string-delimiter):
4161 Fix triple-quoting electricity. (Bug#17192)
4163 * elec-pair.el (electric-pair-post-self-insert-function):
4164 Don't skip whitespace when `electric-pair-text-pairs' and
4165 `electric-pair-pairs' were used. syntax to
4166 electric-pair--skip-whitespace. (Bug#17183)
4168 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4170 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4173 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4176 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4178 2014-04-07 Glenn Morris <rgm@gnu.org>
4180 * help.el (view-lossage): Doc tweak.
4182 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
4184 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4185 only when inhibit-x-resources is nil, and do that earlier in the
4186 function. Doc fix. (Bug#16694)
4187 (face-spec-choose): Accept additional optional argument, whose
4188 value is returned if no matching attributes are found.
4189 (face-spec-recalc): Use the new optional argument when calling
4190 face-spec-choose. (Bug#16378)
4191 (make-face-x-resource-internal): Do nothing when
4192 inhibit-x-resources is non-nil. Don't touch the default face if
4193 reversed video is given--as was done in previous versions of Emacs.
4194 (face-set-after-frame-default): Don't call
4195 make-face-x-resource-internal here. (Bug#16434)
4197 2014-04-07 Tassilo Horn <tsdh@gnu.org>
4199 * doc-view.el (doc-view-bookmark-jump):
4200 Use `bookmark-after-jump-hook' to jump to the right page after the
4201 buffer is shown in a window. (bug#16090)
4203 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4205 * international/characters.el (mirroring): Fix last change:
4206 instead of loading uni-mirrored.el explicitly, do that implicitly
4207 by creating the 'mirroring' uniprop table. This avoids announcing
4208 the loading of uni-mirrored.el.
4210 2014-04-07 Glenn Morris <rgm@gnu.org>
4212 * files.el (buffer-stale--default-function)
4213 (buffer-stale-function, revert-buffer--default):
4214 * autorevert.el (auto-revert-buffers): Doc tweaks.
4216 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4218 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4220 2014-04-07 Glenn Morris <rgm@gnu.org>
4222 * files.el (make-backup-file-name-function)
4223 (make-backup-file-name, make-backup-file-name--default-function)
4224 (make-backup-file-name-1, find-backup-file-name)
4225 (revert-buffer-function, revert-buffer-insert-file-contents-function)
4226 (buffer-stale--default-function, buffer-stale-function)
4227 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4228 (revert-buffer, revert-buffer--default)
4229 (revert-buffer-insert-file-contents--default-function):
4230 Doc fixes related to defaults no longer being nil.
4231 (make-backup-file-name-function): Bump :version.
4232 Restore nil as a valid but deprecated custom type.
4234 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4237 Handle $' used as a variable (bug#17174).
4239 * progmodes/perl-mode.el (perl-indent-new-calculate):
4240 Handle forward-sexp failure (bug#16985).
4241 (perl-syntax-propertize-function): Add "foreach" and "for" statement
4242 modifiers introducing expressions (bug#17116).
4244 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4248 2014-04-05 Leo Liu <sdl.web@gmail.com>
4250 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4251 Add define-compilation-mode.
4253 2014-04-04 João Távora <joaotavora@gmail.com>
4255 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4256 parse from comment beginning.
4257 (electric-pair--balance-info): Fix typo in comment.
4258 (electric-pair--in-unterminated-string-p): Delete.
4259 (electric-pair--unbalanced-strings-p): New function.
4260 (electric-pair-string-bound-function): New var.
4261 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4262 according to `electric-pair--in-unterminated-string-p'.
4264 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4267 Move declaration before first use.
4268 (reftex-move-to-next-arg): Silence compiler warning.
4270 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
4272 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4273 Use `window-total-width' instead of `window-width'.
4275 2014-04-03 Daniel Colascione <dancol@dancol.org>
4277 * subr.el (set-transient-map): Remove rms's workaround entirely;
4278 use new `suspicious-object' subr to mark our lambda for closer
4281 2014-04-02 Richard Stallman <rms@gnu.org>
4283 * subr.el (set-transient-map): Comment out previous change.
4285 2014-04-02 Glenn Morris <rgm@gnu.org>
4287 * menu-bar.el (menu-bar-file-menu):
4288 * vc/ediff.el (ediff-current-file):
4289 Update for revert-buffer-function no longer being nil by default.
4291 * simple.el (command-execute): Respect nil disabled-command-function.
4293 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4295 * simple.el (command-execute): Do not execute the command when it
4296 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4298 2014-04-02 Juri Linkov <juri@jurta.org>
4300 * dired-aux.el (dired-compress-file): Don't use string-match-p
4301 because its match data is used afterwards.
4303 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4305 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4308 2014-04-02 João Távora <joaotavora@gmail.com>
4310 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4311 Inhibit quote pairing if point-max is inside an unterminated string.
4312 (electric-pair--looking-at-unterminated-string-p):
4314 (electric-pair--in-unterminated-string-p): New function.
4316 2014-04-01 Daniel Colascione <dancol@dancol.org>
4318 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4319 when trying to complete the prompt.
4321 2014-03-31 Leo Liu <sdl.web@gmail.com>
4323 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4324 Refactor out eldoc-documentation-function-default.
4325 (eldoc-documentation-function-default): New function.
4326 (eldoc-documentation-function): Change value.
4328 2014-03-31 Glenn Morris <rgm@gnu.org>
4330 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4332 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4333 (vhdl-compose-components-package, vhdl-compose-configuration):
4334 Abbreviate default-directory (missing from some previous upstream sync).
4336 2014-03-31 Reto Zimmermann <reto@gnu.org>
4338 Sync with upstream vhdl mode v3.35.2.
4339 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4340 (top-level): No longer require assoc.
4341 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4342 New functions. Use throughout to replace aget etc.
4343 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4344 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4345 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4346 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4347 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4348 except `vhdl-compiler'.
4349 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4352 2014-03-31 Glenn Morris <rgm@gnu.org>
4354 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4355 Revert 2014-03-26 merge goof; go back to using defalias.
4357 2014-03-30 Daniel Colascione <dancol@dancol.org>
4359 * comint.el (comint-send-input):
4360 Deactivate completion-in-region-mode before we send comint input.
4363 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4366 2014-03-29 Glenn Morris <rgm@gnu.org>
4368 * textmodes/reftex.el: Manage most autoloads automatically.
4369 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4370 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4371 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4372 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4373 * textmodes/reftex-toc.el: Set generated-autoload-file,
4374 and add autoload cookies for reftex.el.
4375 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4377 2014-03-28 Glenn Morris <rgm@gnu.org>
4379 * cus-start.el (report-emacs-bug-address): Set custom properties.
4380 * mail/emacsbug.el (report-emacs-bug-address):
4381 Variable is now defined in emacs.c.
4383 * mail/emacsbug.el (report-emacs-bug):
4384 Include system-configuration-features.
4386 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4388 * simple.el (cycle-spacing): Never delete spaces on first run by
4389 default, but do so in a new 'fast mode and if there are already
4390 N spaces (the previous behavior).
4391 Compare N with its value in previous invocation so that changing
4392 prefix argument restarts `cycle-spacing' sequence.
4393 The idea is that with this change, binding M-SPC to
4394 `cycle-spacing' should not introduce any changes in behavior of
4395 the binding so long as users do not type M-SPC twice in a raw with
4396 the same prefix argument or lack thereof.
4398 2014-03-28 Glenn Morris <rgm@gnu.org>
4400 * faces.el (term-file-aliases): New variable.
4401 (tty-run-terminal-initialization): Respect term-file-aliases.
4402 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4403 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4404 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4406 2014-03-27 Glenn Morris <rgm@gnu.org>
4408 * startup.el (inhibit-startup-hooks): Doc tweak.
4409 (normal-top-level): Simplify running of hooks.
4410 For window-setup-hook, respect inhibit-startup-hooks.
4411 (command-line-1): Don't set window-setup-hook to nil.
4413 Allow selective autoloading from obsolete/ directory.
4414 * Makefile.in (obsolete-autoloads): New rule.
4415 (autoloads): Run obsolete-autoloads.
4416 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4417 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4419 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4422 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4424 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4425 Don't propertize `?' or `!' as symbol constituent when after
4428 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4430 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4431 which is no longer needed and causes trouble in GTK builds (bug#17046).
4433 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4434 Use url-insert-file-contents; package-handle-response no longer exists.
4436 2014-03-26 Daniel Colascione <dancol@dancol.org>
4438 * simple.el (process-menu-mode-map): New variable.
4439 (process-menu-delete-process): New command.
4441 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4443 * emacs-lisp/package.el: Fix bug#16733 (again).
4444 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4445 (url-http-target-url): Remove unused declarations.
4446 (package-handle-response): Remove.
4447 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4448 (package--download-one-archive): Use current-buffer instead of
4449 dynamic binding of `buffer'.
4450 (describe-package-1): Do not decode readme-string.
4452 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4454 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4456 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4457 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4458 `remote-file-name-inhibit-cache' to nil in the second pass.
4459 (tramp-find-executable): Do not call "which" on SunOS.
4460 (tramp-send-command-and-check): Fix docstring.
4461 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4462 check whether source directory has set the sticky bit.
4464 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4466 * simple.el (primitive-undo): Only process marker adjustments
4467 validated against their corresponding (TEXT . POS). Issue warning
4468 for lone marker adjustments in undo history. (Bug#16818)
4469 (undo-make-selective-list): Add marker adjustments to selective
4470 undo list based on whether their corresponding (TEXT . POS) is in
4471 the region. Remove variable adjusted-markers, which was unused
4472 and only non nil during undo-make-selective-list.
4473 (undo-elt-in-region): Return nil when passed a marker adjustment
4474 and explain in function doc.
4476 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4478 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4480 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4482 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4483 Match special global variables without curlies, too.
4484 (ruby-font-lock-keywords): Simplify the matcher for special global
4485 variables. Don't require a non-word character after the variable.
4488 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4490 * simple.el (redisplay-highlight-region-function): Increase priority of
4491 overlay to make sure boundaries are visible (bug#15899).
4493 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4495 * frameset.el (frameset--initial-params): Fix typo in parameter name.
4496 (frameset-restore): Compare display strings with equal.
4498 * frame.el (make-frame): Don't quote display name in error message,
4499 it is already a string.
4501 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4503 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4506 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4508 * emacs-lisp/package.el (package--add-to-archive-contents):
4509 Include already installed and built-in packages in
4510 `package-archive-contents'.
4511 (package-install): Don't include already installed packages in the
4512 options during interactive invocation. (Bug#16762)
4513 (package-show-package-list): If the buffer is already displayed in
4514 another window, switch to that window.
4516 2014-03-26 Reto Zimmermann <reto@gnu.org>
4518 Sync with upstream vhdl mode v3.35.1.
4519 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4520 (vhdl-compiler-alist): Doc fix.
4521 (vhdl-goto-line): Remove.
4522 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4523 (vhdl-mode) <paragraph-start>: Fix value.
4524 (vhdl-fix-statement-region): Not `for' in wait-statement.
4525 (vhdl-beautify-region): Also (un)tabify.
4526 (vhdl-get-visible-signals):
4527 Scan declarative part of generate statements.
4528 (vhdl-template-record): Fix indentation for record type declaration.
4529 (vhdl-expand-abbrev, vhdl-expand-paren):
4530 Revert to using fset again rather than defalias.
4531 (vhdl-scan-directory-contents): Tweak.
4532 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4533 (vhdl-compose-components-package):
4534 Replace vhdl-goto-line with forward-line.
4535 (top-level): Tweak speedbar frame selection.
4536 (vhdl-generate-makefile-1): Support for compilers with no
4537 unit-to-file name mapping (create directory with dummy files).
4539 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
4541 Sync with upstream verilog-mode revision 702457d.
4542 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4543 (create-lockfiles): Declare.
4544 (verilog-read-decls): Fix module header imports, bug709.
4545 Reported by Victor Lau.
4546 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
4547 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4548 interface-only modules, bug721. Reported by Dean Hoyt.
4550 2014-03-26 Glenn Morris <rgm@gnu.org>
4552 * obsolete/gulp.el: Move here from emacs-lisp/.
4554 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4555 Remove fallback aliases, since they are always defined now.
4557 2014-03-24 Daniel Colascione <dancol@dancol.org>
4559 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4560 instead of cl-loop search function.
4562 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4564 * calendar/parse-time.el (parse-time-iso8601-regexp)
4565 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4568 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4570 * net/dns.el (network-interface-list): Define for XEmacs.
4572 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
4574 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4575 the network interfaces changed.
4576 (dns-query): Use it to flush the data.
4578 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4580 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4582 2014-03-23 Daniel Colascione <dancol@dancol.org>
4584 Change subword-mode to use `find-word-boundary-function-table' and
4585 replace `capitalized-words-mode'. Also, convert to lexical binding.
4586 * progmodes/cap-words.el: Delete now-obsolete file.
4587 * progmodes/subword.el: Reimplement using
4588 `find-word-boundary-function-table'.
4589 (subword-mode-map): Hollow out.
4590 (capitalized-words-mode): Define as obsolete alias for
4592 (subword-mode, superword-mode): Tweak documentation to reflect new
4593 implementation; call `subword-setup-buffer'.
4594 (subword-forward, subword-capitalize): Add underscore to indicate
4596 (subword-find-word-boundary-function-table): New constant.
4597 (subword-empty-char-table): New constant.
4598 (subword-setup-buffer): New function.
4599 (subword-find-word-boundary): New function.
4601 2014-03-23 Daniel Colascione <dancol@dancol.org>
4603 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4604 list to look for keyword arguments instead of `memq', fixing
4605 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4606 Please make bootstrap.
4608 2014-03-22 Glenn Morris <rgm@gnu.org>
4610 * dired.el (dired-read-regexp): Make obsolete.
4611 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4612 (dired-flag-files-regexp):
4613 * dired-aux.el (dired-mark-read-regexp):
4614 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4616 * startup.el (fancy-startup-text):
4617 * help.el (describe-gnu-project): Visit online info about GNU project.
4619 * help-fns.el (help-fns--interactive-only): New function.
4620 (help-fns-describe-function-functions): Add the above function.
4621 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4622 (next-line, previous-line): Remove hand-written interactive-only
4623 information from doc strings, it is auto-generated now.
4624 * bookmark.el (bookmark-write):
4625 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4626 (epa-mail-import-keys): Mark interactive-only,
4627 and remove hand-written interactive-only information from doc strings.
4628 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4629 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4630 * files.el (not-modified):
4631 * simple.el (mark-whole-buffer): Mark interactive-only.
4633 * emacs-lisp/byte-run.el (defun-declarations-alist):
4634 Add interactive-only. Doc tweak.
4635 (macro-declarations-alist): Doc tweak.
4636 * subr.el (declare): Doc tweak (add xref to manual).
4637 * comint.el (comint-run):
4638 * files.el (insert-file-literally, insert-file):
4639 * replace.el (replace-string, replace-regexp):
4640 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4641 (delete-forward-char, goto-line, insert-buffer, next-line)
4642 (previous-line): Set interactive-only via declare.
4644 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4646 * emacs-lisp/package.el (package-desc): Use the contents of the
4647 quoted form, not its cdr. (Bug#16873)
4649 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4651 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4652 benefit of doc.c; change parameter profile to match the X function.
4654 2014-03-22 Leo Liu <sdl.web@gmail.com>
4656 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4657 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4659 2014-03-21 Richard Stallman <rms@gnu.org>
4661 * battery.el (battery-linux-sysfs): Search for each field
4662 from the beginning of the buffer.
4664 * subr.el (set-transient-map): Clear out function and value
4665 of the temporary symbol when we're done with it.
4667 * mail/rmailsum.el (rmail-summary-delete-forward):
4668 Optimize case of reaching end and handling count.
4669 (rmail-summary-mark-deleted): Optimize when N is current msg.
4670 Don't create new summary line.
4671 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4672 (rmail-summary-undelete-many): Rewrite for speed.
4673 (rmail-summary-msg-number): New function.
4675 * mail/rmail.el (rmail-delete-message): Update summary.
4676 (rmail-undelete-previous-message): Handle repeat count arg.
4677 (rmail-delete-backward, rmail-delete-forward): Likewise.
4679 2014-03-21 Daniel Colascione <dancol@dancol.org>
4681 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4682 information in bug reports.
4684 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
4686 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4687 and `tramp-copy-env'.
4689 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4690 (tramp-maybe-open-connection): Handle `tramp-login-env'.
4692 2014-03-21 Glenn Morris <rgm@gnu.org>
4694 * electric.el (electric-indent-post-self-insert-function): Add doc.
4696 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
4698 * emacs-lisp/package.el (package-compute-transaction):
4699 Use `version-list-<=' to compare the requirement version against
4700 the version of package already to be installed. Update the error
4701 message. (Bug#16826)
4703 * progmodes/ruby-mode.el (ruby-smie-rules):
4704 Add indentation rule for ` @ '. (Bug#17050)
4706 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4708 * align.el (align-regexp): Remove superfluous backslash.
4710 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4711 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4712 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4713 Fix docstring typos.
4714 (ffap-next): Use C-u in docstring.
4715 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4716 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4717 Remove superfluous backslashes.
4718 (ffap-string-at-point): Reflow docstring.
4720 * server.el (server-host): Reflow docstring.
4721 (server-unload-function): Fix docstring typo.
4722 (server-eval-at): Remove superfluous backslash.
4724 * skeleton.el (skeleton-insert): Remove superfluous backslash.
4725 (skeleton-insert): Doc fix.
4726 (skeleton-insert): Reflow docstring.
4728 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4729 (tty-color-approximate, tty-color-by-index, tty-color-values)
4730 (tty-color-desc): Remove superfluous backslashes.
4732 2014-03-21 Glenn Morris <rgm@gnu.org>
4734 * cus-start.el (history-length): Bump :version.
4736 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4737 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4738 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4739 Don't set `make-backup-files'.
4741 * info.el (info--prettify-description): New function,
4742 to give info-finder descriptions consistent case, punctuation.
4743 (Info-finder-find-node): Use it. Sort packages.
4744 Refer to "description" rather than "commentary".
4746 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4748 * frameset.el (frameset--print-register): New function.
4749 (frameset-to-register): Use it.
4751 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
4753 * progmodes/hideif.el (hif-string-to-number): New function.
4754 (hif-tokenize): Use it to understand non-decimal floats.
4756 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4758 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4760 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * electric.el (electric-newline-and-maybe-indent): New command.
4763 Bind it globally to C-j.
4764 (electric-indent-mode): Don't mess with the global map any more.
4765 Don't drop the post-self-insert-hook is some buffer is still using it
4768 * bindings.el (global-map): Remove C-j binding.
4770 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4771 the docstring of functions advised before dumping (bug#16993).
4773 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
4775 * ps-print.el (ps-generate-postscript-with-faces):
4776 Explicitly deactivate the mark (bug#16866).
4777 * simple.el (deactivate-mark): Update region highlight.
4779 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
4781 * emacs-lisp/package.el (describe-package-1):
4782 Decode commentary (bug#16733).
4784 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
4786 * custom.el (defcustom): Doc fix: recommend avoiding destructive
4787 modification of the value argument of :set (bug#16755).
4789 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * simple.el (newline-and-indent): Do autofill (bug#17031).
4793 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
4795 * newcomment.el (comment-normalize-vars): Only add escaping check
4796 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
4797 (comment-beginning): Use `narrow-to-region' instead of moving back
4799 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4800 (comment-start-skip): Update the docstring.
4802 2014-03-18 Richard Stallman <rms@gnu.org>
4804 * dired.el (dired-display-file): Force use of other window.
4806 2014-03-18 Daniel Colascione <dancol@dancol.org>
4808 * startup.el (tty-handle-args): Remove debug message from 2007.
4810 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4812 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4813 (advice--make-interactive-form): Use it to avoid (auto)loading function.
4814 (advice--make-1, advice-add, advice-remove):
4815 Remove braindead :advice-pending hack.
4817 2014-03-17 Glenn Morris <rgm@gnu.org>
4819 * calendar/calendar.el (calendar-generate-month): Apply weekend
4820 face to the right days; fixes 2013-08-06 change. (Bug#17028)
4822 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
4824 * net/tramp.el (tramp-action-out-of-band): Read pending output.
4825 (tramp-call-process): Trace also DESTINATION.
4827 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4828 Quote file names when they are local. Remove superfluous trace.
4830 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
4832 * newcomment.el (comment-beginning): If `comment-start-skip'
4833 doesn't match, move back one char and try again. (Bug#16971)
4835 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4836 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4837 Set `comment-start-skip' to a simpler value that doesn't try to
4838 check if the semicolon is escaped (this is handled by
4839 `syntax-ppss' now). (Bug#16971)
4841 * progmodes/scheme.el (scheme-mode-variables): Same.
4843 2014-03-16 Martin Rudalics <rudalics@gmx.at>
4845 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4846 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4847 current (Bug#16816, Bug#17007).
4848 (with-current-buffer-window): New macro doing the same as
4849 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4850 * help.el (help-print-return-message): Warn in doc-string to not
4851 use this in `with-help-window'.
4852 (describe-bindings-internal): Call `describe-buffer-bindings'
4853 from within help buffer. See Juanma's scenario in (Bug#16816).
4854 (with-help-window): Update doc-string.
4855 * dired.el (dired-mark-pop-up):
4856 * files.el (save-buffers-kill-emacs):
4857 * register.el (register-preview): Use `with-current-buffer-window'
4858 instead of `with-temp-buffer-window'.
4860 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
4862 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4863 Implement inserting into current buffer, documented in their docstrings.
4864 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4865 (rst-section-tree-point, rst-forward-section, rst-indent)
4866 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4867 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4868 (rst-font-lock-handle-adornment-pre-match-form)
4869 (rst-repeat-last-character): Reflow docstrings.
4870 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4871 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4872 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4873 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4874 Fix docstring typos.
4875 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4876 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4877 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4879 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
4881 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4882 for compatibility with other ports.
4883 (ns-initialize-window-system): Use it. It is set in term/common-win.el
4884 from the -xrm command line argument, but in the Nextstep port its value
4885 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4887 * progmodes/python.el (defconst, python-syntax-count-quotes)
4888 (python-indent-region, python-indent-shift-right)
4889 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4890 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4891 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4892 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4893 (inferior-python-mode, python-shell-make-comint, run-python-internal)
4894 (python-shell-buffer-substring, python-shell-send-buffer)
4895 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4896 (python-completion-complete-at-point, python-fill-docstring-style)
4897 (python-eldoc-function, python-imenu-format-item-label)
4898 (python-imenu-format-parent-item-label)
4899 (python-imenu-format-parent-item-jump-label)
4900 (python-imenu--build-tree, python-imenu-create-index)
4901 (python-imenu-create-flat-index): Fix docstring typos.
4902 (python-indent-context, python-shell-prompt-regexp, run-python):
4903 Remove superfluous backslashes.
4904 (python-indent-line, python-nav-beginning-of-defun)
4905 (python-shell-get-buffer, python-shell-get-process)
4906 (python-info-current-defun, python-info-current-line-comment-p)
4907 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4908 (python-indent-post-self-insert-function, python-shell-send-file)
4909 (python-shell-completion-get-completions)
4910 (python-shell-completion-complete-or-indent)
4911 (python-eldoc--get-doc-at-point): Reflow docstrings.
4913 2014-03-14 Glenn Morris <rgm@gnu.org>
4915 * emacs-lisp/package.el (package-menu-mode-map):
4916 Replace use of obsolete function alias. Tweak menu item text.
4918 * info.el (Info-finder-find-node):
4919 Ignore the `emacs' metapackage. (Bug#10813)
4921 * finder.el (finder-list-matches): Include unversioned packages
4922 in the result of a keyword search.
4924 * finder.el (finder--builtins-descriptions): New constant.
4925 (finder-compile-keywords): Use finder--builtins-descriptions.
4927 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
4929 * simple.el (blink-matching-paren): Describe the new value,
4930 `jump', enabling the old behavior.
4931 (blink-matching-open): Use that value. (Bug#17008)
4933 2014-03-14 Glenn Morris <rgm@gnu.org>
4935 * finder.el (finder-no-scan-regexp): Add leim-list.
4936 (finder-compile-keywords):
4937 Don't skip files with same basename. (Bug#14010)
4938 * Makefile.in (setwins_finder): New, excluding leim.
4939 (finder-data): Use setwins_finder.
4941 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4942 (help-function-arglist, help-make-usage): Move from here...
4943 * help.el (help-split-fundoc, help-add-fundoc-usage)
4944 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
4945 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4947 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
4949 * net/socks.el (socks, socks-override-functions)
4950 (socks-find-services-entry):
4951 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4952 (hif-find-ifdef-block):
4953 * progmodes/modula2.el (m2-indent): Fix docstring typos.
4955 * net/tls.el (tls-program): Reflow docstring.
4957 * progmodes/pascal.el (pascal-mode-abbrev-table)
4958 (pascal-imenu-generic-expression, pascal-auto-endcomments)
4959 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4960 (pascal-outline-mode): Fix docstring typos.
4961 (pascal-mode): Let define-derived-mode document mode hook.
4962 (pascal-uncomment-area): Reflow.
4963 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4965 * progmodes/opascal.el (opascal-compound-block-indent)
4966 (opascal-case-label-indent): Fix docstring typos.
4967 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4969 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
4971 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4972 Fontify multiple adjacent negation chars. (Bug#17004)
4974 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
4976 * emacs-lisp/package.el (package--prepare-dependencies):
4977 Accept requirements without explicit version (bug#14941).
4979 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
4981 * register.el (register-separator, copy-to-register): Doc fixes.
4982 (register-preview-default): Remove unnecessary call to concat.
4984 * frameset.el (frameset-restore): When checking for a visible frame,
4985 use the action map instead of calling visible-frame-list.
4987 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
4989 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4991 2014-03-12 Martin Rudalics <rudalics@gmx.at>
4993 * window.el (fit-frame-to-buffer): Get maximum width from
4994 display's width instead of height.
4996 2014-03-12 Glenn Morris <rgm@gnu.org>
4998 * desktop.el (desktop-restore-frames)
4999 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
5000 (desktop-restore-reuses-frames): Doc tweaks.
5002 * electric.el (electric-indent-mode): Doc fix.
5004 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5006 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
5007 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5008 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
5009 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
5010 (cvs-dired-use-hook): Fix docstring typos.
5011 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
5014 * vc/pcvs-defs.el (cvs-auto-remove-handled)
5015 (cvs-auto-remove-directories, cvs-default-ignore-marks)
5016 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
5017 (cvs-execute-single-dir): Fix docstring typos.
5019 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
5020 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
5022 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
5024 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
5025 Fix docstring typos.
5027 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5029 * frameset.el (frameset--jump-to-register): Add autoload; it could be
5030 called from jump-to-register after unloading the frameset package.
5032 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
5035 (bug#16975). Deactivate the mark before setting it to nil.
5036 (activate-mark): Do nothing if region is already active.
5038 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5040 * frameset.el (frameset--target-display): Remove definition; declare.
5041 (frameset-save, frameset-restore): Let-bind frameset--target-display.
5043 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
5046 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5047 when the advice is pending.
5048 (advice-remove): Remove this marker when not needed any more.
5050 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5052 * frameset.el: Separate options for reusing frames and cleaning up.
5053 (frameset--reuse-list): Remove definition; declare.
5054 (frameset--action-map): Declare.
5055 (frameset--find-frame-if): Doc fix.
5056 (frameset--restore-frame): Cache frame action.
5057 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
5058 how to clean up the frame list after restoring. Remove cleaning
5059 options from REUSE-FRAMES. Change all keyword values to symbols.
5060 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
5062 * desktop.el (desktop-restore-forces-onscreen)
5063 (desktop-restore-reuses-frames): Use non-keyword values.
5064 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
5066 2014-03-10 Glenn Morris <rgm@gnu.org>
5068 * files.el (find-file): Doc fix: update info node name.
5070 * emacs-lisp/advice.el (ad-add-advice, defadvice):
5071 Doc fix: remove references to deleted info nodes.
5073 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
5075 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5076 Do not add nil to the environment, when there's no remote `locale'.
5077 (tramp-find-inline-encoding): Check, that the remote host has
5078 installed perl, before sending scripts.
5080 2014-03-10 Leo Liu <sdl.web@gmail.com>
5082 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5083 Clear eldoc-last-message. (Bug#16920)
5085 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
5090 2014-03-09 Juri Linkov <juri@jurta.org>
5092 * ansi-color.el (ansi-color-names-vector): Copy default colors
5093 from `xterm-standard-colors' that look well on the default white
5094 background (and also on the black background) to avoid illegible
5095 color combinations like yellow-on-white and white-on-white.
5096 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
5098 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
5100 * frameset.el (frameset-restore): When no frame is visible, do not
5101 generate a list of frames, just make visible the selected one.
5103 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
5105 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
5106 it only contains the repository root. (Bug#16897)
5108 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
5110 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
5111 only when `remote-file-name-inhibit-cache' is nil.
5112 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
5114 2014-03-06 Martin Rudalics <rudalics@gmx.at>
5116 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
5118 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
5119 fit-frame-to-buffer variable. Fix doc-string.
5120 (fit-window-to-buffer): Set ONLY argument in call of
5121 fit-frame-to-buffer. Fix doc-string.
5123 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
5125 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
5126 (tramp-action-password): Clear password cache if needed.
5127 (tramp-read-passwd): Do not clear password cache.
5129 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
5130 cache unless it is the first password request.
5132 2014-03-06 Glenn Morris <rgm@gnu.org>
5134 * simple.el (newline): Doc tweak.
5136 * emacs-lisp/shadow.el (load-path-shadows-find):
5137 Ignore dir-locals. (Bug#12357)
5139 2014-03-05 Glenn Morris <rgm@gnu.org>
5141 * files.el (interpreter-mode-alist):
5142 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5144 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5146 * frameset.el (frameset--initial-params): Filter out null entries.
5148 2014-03-05 Martin Rudalics <rudalics@gmx.at>
5150 * window.el (window-min-height, window-min-width):
5151 Rewrite doc-strings.
5152 (window-body-size): Add PIXELWISE argument to make it consistent
5155 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5157 * finder.el (finder-mode-map, finder-mode-syntax-table):
5158 Revert part of 2014-02-28 change.
5160 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
5162 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5163 (eww-setup-buffer): Clear next/prev/etc more reliably.
5164 (eww-textarea-map): [tab] doesn't work on tty.
5165 Reported by Mario Lang.
5167 * net/shr.el (shr-map): Ditto.
5169 2014-03-04 Glenn Morris <rgm@gnu.org>
5171 * minibuffer.el (completion-hilit-commonality):
5172 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5174 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5176 * hilit-chg.el (hilit-chg-unload-function): New function.
5177 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5178 (hilit-chg-map-changes): Prefer cardinal number to digit.
5179 (hilit-chg-display-changes): Reflow docstring.
5180 (highlight-changes-rotate-faces): Remove superfluous backslash.
5182 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
5184 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5185 `tramp-send-command-and-check'.
5187 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5189 * hexl.el (hexl-address-region, hexl-ascii-region)
5190 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5191 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5192 (hexl-forward-word, hexl-previous-line, hexl-next-line):
5193 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5194 (hexl-mode): Doc fix.
5195 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5196 (hexl-mode-ruler): Fix typos in docstrings.
5198 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5199 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5200 Remove superfluous backslashes.
5201 (strokes-last-stroke, strokes-global-map, strokes-mode):
5203 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5204 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5205 (strokes-distance-squared, strokes-global-set-stroke)
5206 (strokes-global-set-stroke-string): Doc fixes.
5207 (strokes-help): Fix typos; reflow docstring.
5209 2014-03-04 Martin Rudalics <rudalics@gmx.at>
5211 * window.el (window-in-direction): Fix doc-string.
5213 2014-03-04 Glenn Morris <rgm@gnu.org>
5215 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5216 Explicit error if no grammar.
5217 (smie-config-save): Doc fix. Fix quote typo.
5219 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
5221 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5222 electric-indent-mode-hook if we obey electric-indent-mode.
5223 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5224 decide whether we obey electric-indent-mode.
5225 (c-change-set-fl-decl-start, c-extend-after-change-region):
5227 (c-electric-indent-mode-hook): Assume we do want to obey
5228 electric-indent-mode.
5230 * electric.el (electric-indent-mode-has-been-called): Remove.
5231 (electric-indent-mode): Fix accordingly.
5233 * files.el (hack-local-variables): Mention file name in warning.
5235 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5237 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
5239 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5240 * simple.el (delete-forward-char): Mark as interactive-only.
5242 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
5244 * icomplete.el (icomplete-completions):
5245 Follow-up to 2014-03-01 change.
5247 * icomplete.el: Miscellaneous doc fixes.
5248 Use Icomplete everywhere instead of icomplete for consistency.
5249 (icomplete-max-delay-chars): Fix typo.
5250 (icomplete-mode): Use \[].
5251 (icomplete-tidy, icomplete-exhibit): Reflow.
5252 (icomplete-minibuffer-setup-hook, icomplete-completions):
5253 Remove superfluous backlashes.
5255 * ido.el: Miscellaneous doc fixes.
5256 Use Ido everywhere instead of ido or `ido' for consistency.
5257 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5258 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5259 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5260 (ido-separator): Extract obsolescence info from docstring and declare
5261 with make-obsolete-variable.
5262 (ido-minibuffer-setup-hook): Simplify example.
5263 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5264 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5265 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5266 (ido-everywhere): Reflow docstring.
5267 (ido-toggle-vc): Doc fix.
5268 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5269 of long list of keybindings.
5271 2014-03-03 Glenn Morris <rgm@gnu.org>
5273 * frame.el (display-pixel-height, display-pixel-width)
5274 (display-mm-dimensions-alist, display-mm-height)
5275 (display-mm-width): Doc tweaks.
5277 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
5279 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5280 case of undo in region.
5282 2014-03-02 Martin Rudalics <rudalics@gmx.at>
5284 * window.el (fit-window-to-buffer): Fix argument in window-size
5285 call when window is horizontally combined.
5287 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5289 * icomplete.el (icomplete-completions): Use string-width.
5290 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5292 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5294 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5295 Highlight regexp options. (Bug#16914)
5297 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5299 * window.el (window--max-delta-1): Round down when calculating
5300 how many lines/columns we can get from a window.
5302 2014-03-01 Glenn Morris <rgm@gnu.org>
5304 * isearch.el (search-invisible): Doc fix.
5306 * minibuffer.el (completion-hilit-commonality):
5307 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5308 * comint.el (comint-dynamic-list-completions): Doc fix.
5309 * comint.el (comint-dynamic-list-completions):
5310 * filecache.el (file-cache-minibuffer-complete):
5311 * tempo.el (tempo-display-completions):
5312 * eshell/em-hist.el (eshell-list-history):
5313 Replace use of obsolete argument of display-completion-list.
5315 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5317 * icomplete.el (icomplete-completions):
5318 Revert back to using "..." when ?… cannot be displayed.
5320 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5322 * finder.el (finder-unload-function): New function.
5324 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5326 * dframe.el (dframe-detach):
5327 * find-dired.el (find-dired, find-name-dired):
5328 * finder.el (finder-mode-map, finder-mode-syntax-table)
5329 (finder-headmark, finder-select, finder-mouse-select):
5330 Fix docstring typos.
5332 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5334 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5335 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5336 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5337 Fix doc-string based on a suggestion by Nicolas Richard
5338 <theonewiththeevillook@yahoo.fr>.
5339 * help.el (with-help-window): Fix doc-string.
5341 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5343 * net/shr.el (shr-image-animate): New option.
5344 (shr-put-image): Respect shr-image-animate.
5346 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5348 * net/tramp-adb.el (tramp-adb-parse-device-names):
5349 Use `accept-process-output'.
5350 (tramp-adb-handle-file-truename): Cache the localname only.
5351 (tramp-adb-handle-make-directory)
5352 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5353 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5354 modes cannot be changed.
5356 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5357 file properties of symlinks.
5359 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5361 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5362 required/optional fields to match development biblatex. (Bug#16781)
5364 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5366 * saveplace.el (toggle-save-place):
5367 Fix argument handling. (Bug#16673)
5369 2014-02-28 Glenn Morris <rgm@gnu.org>
5371 * minibuffer.el (completions-first-difference)
5372 (completions-common-part, completion-hilit-commonality): Doc fixes.
5374 2014-02-28 Karl Berry <karl@gnu.org>
5376 * info.el (Info-mode-map): Add H for describe-mode,
5377 to synchronize with standalone Info.
5379 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5381 * progmodes/sql.el (sql-interactive-mode):
5382 Avoid setting global comint-input-ring-separator. (Bug#16814)
5384 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5386 * net/dbus.el (dbus--init-bus): Declare function.
5387 (dbus-path-local, dbus-interface-local): New defconst.
5388 (dbus-init-bus): Use them.
5389 (dbus-return-values-table): Extend doc.
5390 (dbus-handle-bus-disconnect): Extend error message.
5392 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5394 * subr.el (y-or-n-p): Fix double space issue in message.
5396 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5398 * net/tramp.el (tramp-call-process): Improve trace message.
5399 (tramp-handle-insert-file-contents): Trace error case.
5401 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5402 <insert-directory>: Use `tramp-handle-insert-directory'.
5403 (tramp-adb-handle-insert-directory): Remove function.
5404 (tramp-adb-send-command-and-check): New defun, replacing
5405 `tramp-adb-command-exit-status'. Change all callees.
5406 (tramp-adb-handle-file-attributes)
5407 (tramp-adb-handle-directory-files-and-attributes): Use it.
5408 (tramp-adb-ls-output-name-less-p):
5409 Use `directory-listing-before-filename-regexp'.
5410 (tramp-adb-handle-delete-directory): Flush also file properties of
5411 the truename of directory.
5412 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5413 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5414 (tramp-adb-handle-write-region): Implement APPEND.
5415 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5416 properties correctly.
5417 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5418 variables. Check for connected devices only when needed.
5420 2014-02-27 Glenn Morris <rgm@gnu.org>
5422 * minibuffer.el (completion-table-dynamic)
5423 (completion-table-with-cache): Doc fixes.
5425 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5426 (completing-read-multiple): Doc fixes.
5428 2014-02-27 Daniel Colascione <dancol@dancol.org>
5430 * minibuffer.el (completion--nth-completion): Fix indentation.
5432 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5433 explicit tramp path is empty.
5435 2014-02-27 Glenn Morris <rgm@gnu.org>
5437 * emacs-lisp/crm.el (completing-read-multiple):
5438 Empower help-enable-auto-load.
5440 2014-02-26 Glenn Morris <rgm@gnu.org>
5442 * startup.el (command-line): Don't init the tty in daemon mode.
5444 Avoid calling tty-setup-hook twice, eg if a term file
5445 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5446 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5447 (tty-create-frame-with-faces): Use it.
5448 * startup.el (command-line): Pass run-hook argument
5449 to tty-run-terminal-initialization.
5451 * dired.el (dired-restore-desktop-buffer): Demote errors;
5452 eg in case a glob match fails. (Bug#16884)
5454 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5456 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5457 error from `read-from-string'. (Bug#16850)
5459 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5460 result of `completing-read' in the interactive form. (Bug#16854)
5462 2014-02-25 Glenn Morris <rgm@gnu.org>
5464 * image.el (image-animate, image-animate-timeout):
5465 Stop animating images in dead buffers. (Bug#16878)
5467 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5469 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5471 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5472 * term/sun.el (sun-raw-prefix-hooks):
5473 Use tty-setup-hook instead of term-setup-hook.
5474 (terminal-init-sun): Construct message from bytecomp plist.
5475 * term/wyse50.el (enable-arrow-keys): Doc fix.
5477 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5479 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5480 Fix docstring typos.
5482 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
5484 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5486 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5488 * minibuffer.el (completion--try-word-completion):
5489 Fix error when completing M-x commands (bug#16808).
5491 2014-02-24 Leo Liu <sdl.web@gmail.com>
5493 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5495 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5497 * apropos.el (apropos-print): Avoid formatting error when
5498 apropos-do-all and apropos-compact-layout are both t.
5500 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5502 * apropos.el (apropos-property, apropos-all-words-regexp)
5503 (apropos-true-hit, apropos-variable, apropos-print):
5504 Fix docstring typos, and remove obsolete comment.
5506 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
5508 * net/tramp-sh.el (tramp-sh-handle-file-truename):
5509 Preserve trailing "/". (Bug#16851)
5511 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
5513 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5514 after `=>' (bug#16811).
5515 (ruby-smie-rules): Handle the inconsistent second element of the
5516 list returned by `smie-indent--parent'.
5517 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5520 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5522 * elec-pair.el (electric-pair-text-syntax-table)
5523 (electric-pair-syntax-info, electric-pair--syntax-ppss)
5524 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5525 (electric-pair--looking-at-unterminated-string-p): Doc fix.
5526 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
5528 2014-02-22 Glenn Morris <rgm@gnu.org>
5530 * imenu.el (imenu--generic-function): Doc fix.
5532 * register.el (frame-configuration-to-register): Make obsolete.
5534 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
5536 * desktop.el (desktop-save-buffer-p): Do not fail when
5537 desktop-files-not-to-save is nil. Return t for true result
5540 2014-02-22 Daniel Colascione <dancol@dancol.org>
5542 * net/secrets.el (secrets-create-item, secrets-search-items):
5543 Check that attribute values are strings, avoiding the construction
5544 of invalid dbus messages.
5546 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5548 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5549 defun-declarations-alist.
5551 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
5553 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5556 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5558 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5559 (whitespace-newline, whitespace-trailing, whitespace-line)
5560 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5561 (whitespace-space-after-tab): Fix typo in docstrings.
5563 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
5565 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5567 * electric.el (electric-indent-functions-without-reindent):
5568 Add `yaml-indent-line'.
5570 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5572 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5573 It has done nothing for years; should be removed after the release.
5575 * simple.el (choose-completion): Fix docstring typo.
5576 (read-quoted-char-radix): Remove unneeded * in docstring.
5577 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5578 Don't escape parentheses unnecessarily in docstrings.
5580 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5582 Fix handling of window-min-height/-width (Bug#16738).
5583 * window.el (window--dump-window, window--dump-frame):
5585 (window--min-size-1): Account for window dividers.
5586 When window-resize-pixelwise is nil, delay rounding till after the
5587 sum of the window components has been calculated.
5588 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5589 nil make sure at least one text line and two text columns remain
5591 (window-resize): Signal an error when window-resize-apply fails.
5592 (window--resize-child-windows): Fix calculation of by how many
5593 pixels a window can still be shrunk via window-new-normal.
5594 (adjust-window-trailing-edge): Call window--resizable with
5595 correct TRAIL argument.
5597 (with-temp-buffer-window): Don't evaluate BODY within
5598 with-current-buffer (Bug#16816).
5600 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5602 * net/tramp.el (tramp-check-cached-permissions):
5603 Call `file-attributes' with `suffix' being a symbol but a string.
5605 2014-02-21 Daniel Colascione <dancol@dancol.org>
5607 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5608 (dbus-init-bus): New function: call into dbus-init-bus-1
5609 and installs a handler for the disconnect signal.
5610 (dbus-call-method): Rewrite to look for result in cons.
5611 (dbus-call-method-handler): Store result in cons.
5612 (dbus-check-event): Recognize events with nil sender as valid.
5613 (dbus-handle-bus-disconnect): New function. React to bus
5614 disconnection signal by synthesizing dbus error for each
5615 pending synchronous or asynchronous call.
5616 (dbus-notice-synchronous-call-errors): New function.
5617 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5618 is true, not all the time.
5620 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5622 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5623 Remove obsolescence declarations, these variables do not exist anymore.
5625 * savehist.el (savehist-save-minibuffer-history)
5626 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5627 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5628 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5629 mostly, refer to "Savehist mode" when talking about the mode,
5630 and not the function.
5632 * saveplace.el (save-place): Remove redundant info in docstring.
5633 (save-place-forget-unreadable-files, toggle-save-place)
5634 (save-place-forget-unreadable-files, save-place-dired-hook):
5635 Fix typos and remove unneeded backslashes.
5637 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5639 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5640 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5642 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5643 <insert-directory>: Use `tramp-handle-insert-directory'.
5644 (tramp-gvfs-handle-insert-directory): Remove function.
5646 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5647 Call `tramp-handle-insert-directory'.
5649 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5651 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5652 before the start of buffer/region (bug#16799).
5654 2014-02-20 Glenn Morris <rgm@gnu.org>
5656 * isearch.el (search-invisible): Doc fix.
5658 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5660 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5663 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5665 * frameset.el (frameset-restore): Delay removing an old frame's
5666 duplicate id until the new frame has been correctly created.
5668 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5670 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5671 (tramp-check-cached-permissions): Call `file-attributes' if the
5674 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5675 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5678 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5679 (tramp-gvfs-maybe-open-connection): Set always connection
5680 properties, even if target is mounted already.
5682 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5683 Set tramp-autoload cookie.
5684 (tramp-get-remote-touch): New defun.
5685 (tramp-sh-handle-set-file-times): Use it.
5686 (tramp-sh-handle-directory-files-and-attributes):
5687 Use `tramp-handle-directory-files-and-attributes' if neither stat
5688 nor perl are available on the remote host.
5690 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5691 "/". Write long listing only when "l" belongs to the switches.
5693 * net/trampver.el: Update release number.
5695 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5697 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5699 2014-02-19 Martin Rudalics <rudalics@gmx.at>
5701 * window.el (window-state-put): Allow WINDOW to refer to an
5702 internal window (Bug#16793).
5704 2014-02-19 Glenn Morris <rgm@gnu.org>
5706 * textmodes/remember.el: Move provide statement to end.
5707 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5708 (remember-notes): Doc fixes.
5710 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
5712 * delsel.el (delete-char): Restore incorrectly erased property
5715 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
5717 * frameset.el (frameset--restore-frame): When a frame is being reused
5718 and its root window is not alive, delete all the frame's windows before
5719 restoring the window state. This works around the issue in bug#16793.
5721 2014-02-18 Glenn Morris <rgm@gnu.org>
5723 * textmodes/remember.el (remember-data-directory)
5724 (remember-directory-file-name-format, remember-store-in-files)
5725 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5726 (remember-notes-save-and-bury-buffer)
5727 (remember-notes--kill-buffer-query): Doc fixes.
5729 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5731 2014-02-17 Alan Mackenzie <acm@muc.de>
5733 Connect electric-indent-mode up with CC Mode. Bug #15478.
5734 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5735 to electric-indent-{,local-}-mode.
5736 (c-basic-common-init): Set electric-indent-inhibit.
5737 Initialise c-electric-flag from electric-indent-mode.
5738 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5739 New hook functions which propagate electric-indent-mode to CC mode.
5741 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5742 hit, toggle electric-indent-local-mode.
5744 * electric.el (electric-indent-mode-has-been-called):
5747 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
5749 * frameset.el (frameset-cfg-id): New function.
5750 (frameset--reuse-frame, frameset-restore): Use it.
5751 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5753 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
5755 * ido.el (ido-file-internal): Remove unused var `d'.
5756 Use \` for to match BoS. Fit within 80n columns.
5758 2014-02-17 Daniel Colascione <dancol@dancol.org>
5760 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5761 dbus-call-method check for completion using a busy-wait loop with
5764 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
5766 Sync with Tramp 2.2.9.
5768 * net/trampver.el: Update release number.
5770 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
5772 * ido.el (ido-file-internal): Don't add the name of an existing
5773 directory twice. (Bug#16747)
5775 2014-02-16 Glenn Morris <rgm@gnu.org>
5777 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5778 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5780 2014-02-15 Michael R. Mauger <michael@mauger.com>
5782 * progmodes/sql.el: Version 3.4
5783 (sql-oracle-options): New default value ("-L").
5784 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5785 (sql-placeholders-filter): Correct placeholder pattern.
5786 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
5787 (sql-login-delay): New variable.
5788 (sql-product-interactive): Use it.
5790 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
5792 * frameset.el (frameset--jump-to-register): Check that buffer is live
5795 2014-02-15 Glenn Morris <rgm@gnu.org>
5797 * info.el (info-initialize): Revert 2014-01-10 change.
5799 2014-02-14 Glenn Morris <rgm@gnu.org>
5801 * replace.el (map-query-replace-regexp)
5802 (read-regexp-defaults-function, read-regexp): Doc fixes.
5804 * dired.el (dired-read-regexp):
5805 * faces.el (list-faces-display):
5806 * misearch.el (multi-isearch-read-matching-buffers)
5807 (multi-isearch-read-matching-files):
5808 * play/cookie1.el (cookie-apropos):
5809 * progmodes/grep.el (grep-read-regexp): Doc fixes.
5811 * textmodes/remember.el (remember): Use frameset-to-register
5812 rather than frame-configuration-to-register.
5814 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
5816 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5817 incorrect keybinding.
5819 2014-02-13 Daniel Colascione <dancol@dancol.org>
5821 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5822 when adding overlays so that line numbers from compiler match line
5825 2014-02-13 Glenn Morris <rgm@gnu.org>
5827 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
5829 * jit-lock.el (jit-lock-mode): Doc fix.
5831 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
5833 * apropos.el (apropos-read-pattern): When the user passes an empty
5834 string, give a more helpful error message than "Wrong type
5835 argument: stringp, nil".
5837 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5841 2014-02-13 Glenn Morris <rgm@gnu.org>
5843 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5845 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5848 shift-select commands.
5850 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
5852 * progmodes/js.el (js-indent-line): Don't widen.
5853 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5855 2014-02-12 Glenn Morris <rgm@gnu.org>
5857 * icomplete.el (icomplete): Add info-link to defgroup.
5858 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5859 (icomplete-minibuffer-map, icomplete-mode)
5860 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5862 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5863 (package-menu-filter): Rename from package-menu-filter-interactive.
5866 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
5868 * frameset.el (frameset--jump-to-register): Select the required
5869 window and buffer before restoring position (bug#16696).
5871 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
5873 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5875 2014-02-10 Glenn Morris <rgm@gnu.org>
5877 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
5879 2014-02-10 Eli Zaretskii <eliz@gnu.org>
5881 * w32-common-fns.el (x-get-selection): Doc fix.
5882 * select.el (x-get-selection): Doc fix. (Bug#15109)
5884 * face-remap.el (face-remap-add-relative)
5885 (face-remap-remove-relative, face-remap-reset-base)
5886 (face-remap-set-base): Call force-mode-line-update to redisplay
5887 the current buffer due to potential change in faces. (Bug#16709)
5889 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
5891 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5892 script more robustly.
5894 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5896 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5898 * simple.el (choose-completion): Doc fix (bug#14160).
5900 * subr.el (event-start): Say what a nil EVENT value means.
5902 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5905 * progmodes/grep.el (find-program): Doc fix (bug#14289).
5907 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5909 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5911 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5912 predicate function (bug#15455).
5914 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
5916 * ielm.el (inferior-emacs-lisp-mode): Instead of
5917 `comment-use-global-state', set `comment-use-syntax'.
5919 2014-02-10 Glenn Morris <rgm@gnu.org>
5921 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5923 2014-02-09 Alan Mackenzie <acm@muc.de>
5925 Fix c-invalidate-state-cache on narrowed buffers.
5926 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5927 Widen when setting and clearing the CPP delimiter properties.
5929 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
5931 * help.el (describe-bindings): Doc fix (bug#9888).
5933 * files.el (save-buffer): Use ARG as the parameter name for
5934 consistency (bug#10346).
5935 (save-buffer): Clarify the 0 argument (bug#10346).
5937 * cus-edit.el (customize-apropos): Fix error string.
5938 (custom-buffer-create): Doc fix (bug#11122).
5939 (custom-sort-items): Doc fix (bug#11121).
5941 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5943 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5944 (icomplete-simple-completing-p): Mention the previous variable.
5946 * font-lock.el (font-lock-value-in-major-mode): Clarify the
5947 meaning of the parameter (bug#12282).
5949 * files.el (find-file-noselect): Clarify prompt when changing
5950 readedness (bug#13261).
5951 (locate-file): Suffixes aren't returned, so don't say that they
5953 (backup-inhibited): Doc clarification (bug#12525).
5955 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5956 before we actually start to delete things (bug#16331).
5958 * subr.el (event-start): Doc fix (bug#14228).
5961 2014-02-09 Glenn Morris <rgm@gnu.org>
5963 * emacs-lisp/warnings.el (lwarn):
5964 Empower help-enable-auto-load. (Bug#15940)
5966 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
5968 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5971 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
5973 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5974 Insert output at end of buffer. (Bug#16120)
5976 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5978 * simple.el (choose-completion-string-functions): Document new
5979 calling convention (bug#14153).
5980 (execute-extended-command): Clarify doc string (bug#13373).
5982 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5984 * find-dired.el (find-name-dired): Doc fix (bug#14290).
5985 (find-grep-dired): Doc fix (bug#14288).
5987 2014-02-08 Juri Linkov <juri@jurta.org>
5989 * isearch.el (isearch-quote-char): Check character validity
5990 like in `quoted-insert' (bug#16677).
5992 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
5994 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5996 * isearch.el (isearch-hide-immediately): Doc clarification
5999 * simple.el (line-move): Document utility function used many
6000 places in the Emacs sources (bug#14843).
6002 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
6003 (dired-prev-marked-file): Doc fix (bug#14855).
6004 (dired-up-directory): Doc fix (bug#14848).
6006 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
6008 * files.el (file-relative-name): Doc fix (bug#15159).
6010 * fringe.el (fringe-styles): Doc fix (bug#15239).
6012 * isearch.el (isearch-filter-predicate): Documentation typo fix
6015 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
6017 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6019 * replace.el (replace-match-maybe-edit): Doc clarification
6022 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
6024 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
6026 2014-02-08 Glenn Morris <rgm@gnu.org>
6028 * help-fns.el (describe-variable):
6029 Check {file,dir}-local-variables-alist, and buffer-file-name,
6030 in the correct buffer.
6032 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
6034 * help-fns.el (describe-variable): Fix the case where
6035 a value is directory-local with no dir-locals file. (Bug#16635)
6037 2014-02-08 Glenn Morris <rgm@gnu.org>
6039 * abbrev.el (edit-abbrevs-mode):
6040 Derive from fundamental-mode. (Bug#16682)
6042 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
6044 * simple.el (quoted-insert): Check character validity (bug#16677).
6046 2014-02-07 Juri Linkov <juri@jurta.org>
6048 * desktop.el (desktop-read): Claim the lock when the owner is not
6049 the current process. (Bug#16157)
6051 2014-02-07 Juri Linkov <juri@jurta.org>
6053 * desktop.el (desktop-buffers-not-to-save): Change default from nil
6054 to "\\` ". (Bug#16651)
6056 2014-02-07 Juri Linkov <juri@jurta.org>
6058 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
6059 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
6060 (desktop-auto-save-cancel-timer): New function with some code from
6061 `desktop-auto-save-set-timer'.
6062 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
6063 Instead of setting `desktop-save-mode' to nil, call
6064 `desktop-save-mode' with arg 0. (Bug#16630)
6066 2014-02-07 Glenn Morris <rgm@gnu.org>
6068 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
6069 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
6070 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
6072 * obsolete/iswitchb.el: Move to obsolete/.
6073 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
6074 since obsolete/ is not scanned for autoloads.
6075 * emacs-lisp/authors.el (authors-valid-file-names):
6078 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
6079 Disable now non-functional find-file-hook.
6081 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
6083 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
6084 instead of ";" in order to avoid additional prompts. Let heredoc
6085 scripts read from tty. (Bug#16582)
6086 (tramp-send-command): No special handling of heredocs, it isn't
6089 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
6092 with a space (bug#16664). Limit the symbols considered to the ones
6093 that are bound or fbound (bug#16646).
6095 2014-02-06 Glenn Morris <rgm@gnu.org>
6097 * epa.el (epa-mail-aliases): Doc fix.
6099 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
6101 * emacs-lisp/lisp.el (lisp-completion-at-point):
6102 Use `completion-table-merge' instead of `completion-table-in-turn'
6105 * minibuffer.el (completion-table-merge): New function.
6107 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
6109 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
6110 (tramp-sh-handle-set-file-acl)
6111 (tramp-sh-handle-start-file-process)
6112 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
6113 (tramp-find-executable, tramp-send-command): Use it.
6115 2014-02-05 Glenn Morris <rgm@gnu.org>
6117 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
6119 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6121 * progmodes/python.el (python-shell-send-string)
6122 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
6124 2014-02-04 Anders Lindgren <andlind@gmail.com>
6126 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
6127 the names (bug#16620).
6129 2014-02-03 Martin Rudalics <rudalics@gmx.at>
6131 * faces.el (window-divider): New default value. Rewrite doc-string.
6132 (window-divider-first-pixel, window-divider-last-pixel): New faces.
6134 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
6136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6137 `protected' and `public' can also be called without arguments.
6139 2014-02-03 Glenn Morris <rgm@gnu.org>
6141 * register.el (window-configuration-to-register)
6142 (frame-configuration-to-register): Unadvertise unused argument.
6143 * frameset.el (frameset-to-register): Remove unused argument.
6145 * frameset.el (frameset-to-register):
6146 * kmacro.el (kmacro-to-register):
6147 * register.el (increment-register):
6148 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6149 (calc-append-to-register, calc-prepend-to-register):
6150 * play/gametree.el (gametree-layout-to-register)
6151 (gametree-apply-register-layout):
6152 * textmodes/picture.el (picture-clear-rectangle-to-register)
6153 (picture-yank-rectangle-from-register):
6154 * vc/emerge.el (emerge-combine-versions-register):
6155 Use register-read-with-preview to read registers.
6157 2014-02-03 João Távora <joaotavora@gmail.com>
6159 * elec-pair.el (electric-pair-backward-delete-char): Don't error
6160 when at beginning of (possibly narrowed) buffer.
6162 2014-02-02 Daniel Colascione <dancol@dancol.org>
6164 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6165 Also try to display local help from just before point.
6167 2014-02-02 Alan Mackenzie <acm@muc.de>
6169 c-parse-state. Don't "append-lower-brace-pair" in certain
6170 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
6171 recognised as a comment.
6173 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6174 as well as normal comment starter.
6175 (c-parse-state-get-strategy): Extra return possibility
6177 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6178 return value list to indicate replacement of a brace-pair cons
6180 (c-parse-state-1): With 'back-and-forward, only call
6181 c-append-lower-brace-pair-to state-cache when cons-separated.
6183 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
6185 * term/ns-win.el (ns-suspend-error): New function.
6186 (ns-initialize-window-system): Add ns-suspend-error to
6187 suspend-hook (Bug#16612).
6189 2014-02-02 Daniel Colascione <dancol@dancol.org>
6191 * progmodes/cc-defs.el (c-find-assignment-for-mode):
6192 Make loading cc-mode silent.
6194 2014-02-02 Daniel Colascione <dancol@dancol.org>
6196 * comint.el (comint-prompt-read-only): Change doc to suggest
6199 2014-02-02 Glenn Morris <rgm@gnu.org>
6201 * register.el (register-read-with-preview, point-to-register)
6202 (window-configuration-to-register, frame-configuration-to-register)
6203 (jump-to-register, number-to-register, view-register, insert-register)
6204 (copy-to-register, append-to-register, prepend-to-register)
6205 (copy-rectangle-to-register): Doc fixes.
6207 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6210 * emacs-lisp/find-func.el (find-function-C-source): Idem.
6211 * emacs-lisp/nadvice.el (advice--cd*r): New function.
6212 * help-fns.el (describe-function-1): Use it.
6214 2014-02-02 Glenn Morris <rgm@gnu.org>
6216 * register.el (register-preview-default): New function,
6217 split from register-preview.
6218 (register-preview-function): Rename from register-preview-functions,
6220 (register-preview): Use register-preview-function.
6221 (register-read-with-preview): Error on non-character event. (Bug#16595)
6223 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
6225 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6226 `:' before binary operators (bug#16609). Don't check for `:'
6227 before `[' and `(', or their syntax status. A percent literal
6228 can't end with either.
6229 (ruby-font-lock-keywords): For built-ins that require arguments,
6230 check that they're followed by something that looks like argument
6233 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
6235 * subr.el (butlast): Document what an omitted N means (bug#13437).
6238 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
6240 * net/shr.el (shr-generic): Make into a defsubst to make the stack
6241 depth shallower (bug#16587).
6242 (shr-tag-svg): Respect `shr-inhibit-images'.
6243 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6245 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
6247 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6248 (ruby-smie-grammar): Make "." right-associative. Make its priority
6249 lower than the ternary and all binary operators.
6250 (ruby-smie-rules): Indent "(" relative to the first non-"."
6251 parent, or the first "." parent at indentation.
6252 Use `ruby-align-chained-calls' for indentation of "." tokens.
6255 2014-01-31 Juri Linkov <juri@jurta.org>
6257 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6258 from `make-hash-table'.
6260 * textmodes/ispell.el (ispell-init-process): Change message format
6261 to be consistent with other messages.
6263 2014-01-31 Glenn Morris <rgm@gnu.org>
6265 * delsel.el (delete-selection-mode): Doc fix.
6267 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6268 (trace-function-background): Doc fixes.
6270 * ido.el (ido-use-virtual-buffers): Doc fix.
6271 Reset :version, since the default value has not changed.
6273 * register.el (register-preview-delay, register-read-with-preview):
6276 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6277 do not mess with mail-buffer position (fixes 2009-11-03 change).
6278 * progmodes/cc-mode.el (c-submit-bug-report):
6279 Check auto-fill-mode is bound. (Bug#16592)
6281 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
6283 * startup.el (fancy-splash-image-file): New function,
6284 split from fancy-splash-head.
6285 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6286 so that we are both using the same image. (Bug#16574)
6288 2014-01-30 Glenn Morris <rgm@gnu.org>
6290 * simple.el (eval-expression): Doc fix.
6292 * hexl.el (hexl-mode-hook):
6293 * ielm.el (ielm-mode-hook):
6294 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6295 (lisp-interaction-mode-hook):
6296 * progmodes/cfengine.el (cfengine3-documentation-function):
6297 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6299 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6302 is a symbol (bug#16584).
6304 2014-01-30 Glenn Morris <rgm@gnu.org>
6306 * help.el (help-for-help-internal): Add "P" to text.
6308 2014-01-29 Glenn Morris <rgm@gnu.org>
6310 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6312 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6314 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6317 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6319 * progmodes/hideif.el: Extend to full CPP expression syntax.
6320 (hif-token-alist): Add missing tokens.
6321 (hif-token-regexp): Add support for float/octal/hex immediates.
6322 (hif-string-literal-regexp): New const.
6323 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6324 (hif-exprlist): New function.
6325 (hif-parse-if-exp): Use it.
6326 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6327 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6328 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6329 (hif-logxor, hif-comma): New functions.
6331 2014-01-28 Glenn Morris <rgm@gnu.org>
6333 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6335 * indent.el (tab-stop-list): Doc fix. Add :version.
6337 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6338 (cvs-append-to-ignore): Add compatibility alias.
6340 2014-01-27 Glenn Morris <rgm@gnu.org>
6342 * dired.el (dired-hide-details-mode): Don't autoload it,
6343 since it cannot be used outside Dired buffers anyway.
6345 * emulation/cua-base.el (cua-mode): Doc fix.
6347 * dired.el (dired-hide-details-hide-symlink-targets)
6348 (dired-hide-details-hide-information-lines)
6349 (dired-hide-details-mode): Doc fixes.
6351 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6352 * strokes.el (strokes-file): Doc fix. Bump :version.
6353 (strokes-help): Doc fix.
6354 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6355 * emulation/viper.el (viper): Doc fix for custom group.
6356 (top-level): Remove oh-so-no-longer-relevant text about vip.
6357 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6359 * ido.el (ido-save-directory-list-file):
6360 * saveplace.el (save-place-file):
6361 * calendar/timeclock.el (timeclock-file):
6362 * net/quickurl.el (quickurl-url-file):
6363 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6364 * progmodes/idlwave.el (idlwave-config-directory):
6365 * textmodes/remember.el (remember-data-file):
6368 2014-01-26 Glenn Morris <rgm@gnu.org>
6370 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6371 Doc fix. Make obsolete.
6372 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6374 * sort.el (delete-duplicate-lines): Doc fix.
6376 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6378 * progmodes/ada-mode.el (ada):
6379 * woman.el (woman): Link to info manual and Commentary section.
6381 * progmodes/flymake.el (flymake):
6382 * nxml/nxml-mode.el (nxml):
6384 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6385 * htmlfontify.el (htmlfontify):
6388 * ido.el (ido): Link to info manual.
6390 2014-01-25 Leo Liu <sdl.web@gmail.com>
6392 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6394 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6396 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6399 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6401 * net/eww.el (eww-download-callback):
6402 Fix reference to eww-download-directory.
6404 * emacs-lisp/bytecomp.el (byte-compile-file):
6405 Remove unused local variable `file-name'.
6407 2014-01-24 Glenn Morris <rgm@gnu.org>
6409 * woman.el (woman-default-faces, woman-monochrome-faces):
6410 Fix obsolescence specification.
6412 * subr.el (with-demoted-errors): Doc fix.
6414 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6417 (cl--macroexp-fboundp): New function.
6418 (cl--make-type-test): Use it.
6420 2014-01-23 Glenn Morris <rgm@gnu.org>
6422 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6423 * simple.el (eval-expression): Doc fixes.
6425 2014-01-22 Glenn Morris <rgm@gnu.org>
6427 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6429 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6431 * emacs-lisp/package.el: Write files silently.
6432 (package-autoload-ensure-default-file, package--write-file-no-coding)
6433 (package-generate-description-file, package--download-one-archive)
6434 (package-install-from-archive): Tell `write-region' to stay quiet.
6435 (package-menu-mode, package-menu--print-info): Omit the Archive column
6436 if there's only one archive.
6437 (package-all-keywords, package--has-keyword-p): Remove dead code.
6439 2014-01-22 Glenn Morris <rgm@gnu.org>
6441 * version.el (emacs-bzr-version-bzr): Fix typo.
6443 * version.el (emacs-repository-get-version):
6444 Check either .bzr or .git, but not both.
6445 Make the git case actually use the DIR argument, and return nil
6446 rather than the empty string.
6447 Avoid error if .git exists but the git executable is not found.
6449 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6451 Fixes in window size functions around Bug#16430 and Bug#16470.
6452 * window.el (window-total-size, window-size): New argument ROUND.
6453 (window--min-delta-1, window-min-delta, window--max-delta-1):
6454 Be more conservative when calculating the numbers of lines or
6455 columns a window can shrink (Bug#16430).
6456 (fit-window-to-buffer): Simplify code.
6457 * term.el (term-window-width): Call window-body-width again.
6459 2014-01-22 Glenn Morris <rgm@gnu.org>
6461 * image.el (image-format-suffixes): Doc fix.
6463 * international/quail.el (quail-define-package): Doc fix.
6465 * emacs-lisp/authors.el (authors-valid-file-names)
6466 (authors-renamed-files-alist): Additions.
6468 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6469 reverts 2014-01-09 change. (Bug#16422)
6471 * calc/calc-embed.el (thing-at-point-looking-at):
6472 * emacs-lisp/map-ynp.el (x-popup-dialog):
6473 * obsolete/lmenu.el (x-popup-dialog):
6474 * emacs-lisp/package.el (url-recreate-url):
6475 * mail/mailclient.el (clipboard-kill-ring-save):
6476 * subr.el (x-popup-dialog): Update declaration.
6477 * mail/rmail.el (rmail-mime-message-p):
6478 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6480 2014-01-21 Daniel Colascione <dancol@dancol.org>
6482 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6483 Correctly detect when we're inside an arithmetic expansion form
6484 containing nested parenthesis.
6485 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6486 to detect cases where we shouldn't expand "<<" to a heredoc
6489 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
6491 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6492 (eldoc--message-command-p): New function.
6493 (eldoc-display-message-p): Use it.
6494 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6495 message is not automatically erased for us.
6496 (eldoc-print-current-symbol-info): Erase previous message, if any.
6498 2014-01-21 Tassilo Horn <tsdh@gnu.org>
6500 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6501 specify it's an interactive function.
6503 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6504 Fix regex used for scanning for citation keys which failed for
6505 citations with optional arguments.
6507 2014-01-21 Leo Liu <sdl.web@gmail.com>
6509 * simple.el (read--expression): Don't enable eldoc-mode.
6511 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
6513 * simple.el (move-beginning-of-line): Make sure we don't move forward
6516 2014-01-20 Juri Linkov <juri@jurta.org>
6518 * saveplace.el (toggle-save-place, save-place-to-alist)
6519 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6520 'dired-mode) before checking for dired-directory. (Bug#16477)
6522 2014-01-20 Juri Linkov <juri@jurta.org>
6524 * indent.el (indent-line-to): Use backward-to-indentation
6525 instead of back-to-indentation. (Bug#16461)
6527 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
6529 Revert some of the CANNOT_DUMP fix (Bug#16494).
6530 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6531 but fixing this can wait until after the next release.
6532 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6534 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
6536 * eshell/esh-mode.el (eshell-password-prompt-regexp):
6537 Use `password-word-equivalents'.
6538 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6539 to t. (Bug#5664, Bug#13124)
6541 2014-01-19 Alan Mackenzie <acm@muc.de>
6543 Bind open-paren-in-column-0-is-defun-start to nil at some entry
6545 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6546 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6547 * progmodes/cc-mode.el (c-before-change, c-after-change)
6548 (c-font-lock-fontify-region): Bind it here.
6550 2014-01-19 Martin Rudalics <rudalics@gmx.at>
6552 * term.el (term-window-width): Call window-text-width instead of
6553 window-width (Bug#16470).
6555 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
6557 * simple.el (password-word-equivalents): Remove duplicates.
6558 Sort, to make this easier next time.
6559 Downcase. Omit ": " after "jelszó".
6561 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
6563 * term/common-win.el (saved-region-selection): Defvar it.
6564 (x-select-text): Set saved-region-selection (Bug#16382).
6566 2014-01-18 Glenn Morris <rgm@gnu.org>
6568 * emacs-lisp/authors.el (authors-aliases)
6569 (authors-renamed-files-alist): Add some entries.
6571 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
6573 * net/tramp.el (tramp-password-prompt-regexp):
6574 Use `password-word-equivalents' if available.
6575 (tramp-action-password, tramp-process-one-action)
6576 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6578 2014-01-17 Chong Yidong <cyd@gnu.org>
6580 * simple.el (password-word-equivalents): New defcustom.
6581 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6583 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6586 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6588 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6589 (ruby-align-to-stmt-keywords): Change the default value.
6590 Use `ruby-alignable-keywords' to generate the possible customization
6592 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6593 keywords, check against the value of `ruby-alignable-keywords'
6594 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6596 2014-01-17 Glenn Morris <rgm@gnu.org>
6598 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6600 Make M-x authors return zero *Authors Errors* from current logs.
6601 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6602 (authors-ignored-files): Add some entries, remove others.
6603 (authors-ambiguous-files, authors-valid-file-names):
6605 (authors-renamed-files-alist): Add, remove, and adjust entries.
6606 (authors-renamed-files-regexps): Add some entries.
6607 Remove some very broad ones. Make some entries `lax'.
6608 (authors-lax-changelogs): New constant.
6609 (authors-disambiguate-file-name): Treat top-level specially.
6610 (authors-lax-changelog-p): New function.
6611 (authors-canonical-file-name): Check file as written against
6612 authors-valid-file-names. Do not special-case etc/.
6613 Handle `lax' logs and authors-renamed-files-regexps elements.
6615 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6617 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6618 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6621 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6624 Assume we're already in the proper buffer.
6625 Inspired by Anders Lindgren <andlind@gmail.com>.
6626 (follow-post-command-hook): Call it from the right buffer.
6627 (follow-comint-scroll-to-bottom): Adjust call.
6628 (follow-all-followers): Use get-buffer-window-list.
6630 2014-01-15 Daniel Colascione <dancol@dancol.org>
6632 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6633 `buffer-file-name' in interactive-form so that we don't leave
6634 pathless file names in `file-name-history'.
6636 2014-01-15 Juri Linkov <juri@jurta.org>
6638 * indent.el (indent-rigidly): Set deactivate-mark to nil
6639 in transient indentation mode. (Bug#16438)
6641 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6643 * emacs-lisp/package.el (package-desc-keywords): New function
6645 (describe-package-1, package-all-keywords)
6646 (package--has-keyword-p): Use it.
6648 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6650 * simple.el (define-alternatives): When creating the
6651 COMMAND-alternatives variable, assign COMMAND as its definition
6652 name so that `describe-variable' can relocate it.
6654 2014-01-14 Matthew Leach <matthew@mattleach.net>
6656 * font-lock.el (font-lock-keywords): Fix typo in docstring
6659 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6661 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6662 line instead of wrongly reset `add-coment' (bug#13577).
6664 2014-01-14 Daiki Ueno <ueno@gnu.org>
6666 * epa-file.el (epa-file-write-region): Encode the region according
6667 to `buffer-file-format'. Problem reported at:
6668 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6670 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6672 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6673 so it applies in the right buffer (bug#16410).
6675 2014-01-13 Daniel Colascione <dancol@dancol.org>
6677 * textmodes/rst.el (rst-define-key): Provide deprecated
6678 keybindings through named functions instead of anonymous ones so
6679 that "??" doesn't appear in describe-mode output.
6681 2014-01-13 Bastien Guerry <bzg@gnu.org>
6683 * simple.el (define-alternatives): Call the selected command
6684 interactively. When setting `COMMAND--implementation' for the
6685 first time, tell the user how to chose another implementation.
6686 Enhance the docstring.
6688 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6691 (log-edit--match-first-line): New function.
6692 (log-edit-font-lock-keywords): Use it.
6693 (log-edit-mode): Make jit-lock-defer-multiline work.
6695 2014-01-13 Bastien Guerry <bzg@gnu.org>
6697 * rect.el (rectangle-mark-mode): When the region is not active,
6698 display a message saying that the mark as been set and that
6699 rectangle mode is in use.
6700 (rectangle--highlight-for-redisplay): Only put an overlay with a
6701 visible vertical bar when (display-graphic-p) is non-nil.
6702 This partially fixes Bug#16403.
6704 2014-01-13 Juri Linkov <juri@jurta.org>
6706 * info.el (Info-find-file): Go to DIR before displaying the error
6707 about a nonexistent file if no previous Info file is visited.
6708 Use `user-error' instead of `error' for "Info file %s does not exist".
6709 (Info-find-node-2): In case of a nonexistent node in unwind forms
6710 go to the Top node if there is no previous node to revert to.
6713 2014-01-13 Martin Rudalics <rudalics@gmx.at>
6715 fit-frame/window-to-buffer code fixes including one for Bug#14096.
6716 * window.el (fit-frame-to-buffer): Fix doc-string.
6717 Respect window-min-height/-width. Fit pixelwise when
6718 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
6719 when avoiding that frame goes partially off-screen.
6720 (fit-window-to-buffer): Respect window-min-height/-width
6723 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6725 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6726 after an empty line.
6728 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * net/shr.el (shr-render-region): Autoload.
6732 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
6734 * net/eww.el (eww-download-directory): Rename from
6735 `eww-download-path' (Bug#16419).
6737 2014-01-12 Leo Liu <sdl.web@gmail.com>
6739 * dired-x.el (dired-mode-map): Fix last change.
6741 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6743 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
6746 * emacs-lisp/generic.el (generic--normalize-comments):
6747 Rename from generic--normalise-comments. All uses changed.
6748 * play/bubbles.el (bubbles--neighborhood-score)
6749 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6750 (bubbles--neighborhood-available)
6751 (bubbles--update-neighborhood-score):
6752 Rename from names with 'neighbourhood'. All uses changed.
6754 2014-01-12 Leo Liu <sdl.web@gmail.com>
6756 Re-implement the feature of showing eldoc info after editing.
6757 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6758 (eldoc-edit-message-commands): New function.
6759 (eldoc-print-after-edit): New variable.
6760 (eldoc-pre-command-refresh-echo-area): Emit message only by
6761 eldoc-message-commands.
6762 (eldoc-mode): Restrict eldoc-message-commands to editing commands
6763 if eldoc-print-after-edit is set. (Bug#16346)
6764 * simple.el (read--expression): Enable eldoc-mode.
6765 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6767 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
6768 Eric S. Raymond <esr@thyrsus.com>
6770 * version.el (emacs-repository-get-version): Enhance so the
6771 function works correctly in either a Bazaar or Git repo.
6773 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
6775 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6776 Goes with removal of the joke manpages from /etc.
6778 2014-01-10 Kenichi Handa <handa@gnu.org>
6780 * mail/rmail.el (rmail-get-coding-system):
6781 Check rmail-get-coding-function before "funcall"ing it.
6783 2014-01-10 Glenn Morris <rgm@gnu.org>
6785 * emacs-lisp/authors.el (authors-fixed-entries):
6786 Update for files that no longer exist.
6788 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
6790 * version.el (emacs-bzr-get-version): Restore compatibilty with
6793 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
6795 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6798 2014-01-10 Eli Zaretskii <eliz@gnu.org>
6800 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6802 2014-01-10 Chong Yidong <cyd@gnu.org>
6804 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6806 2014-01-10 Anders Lindgren <andlind@gmail.com>
6808 * follow.el (follow-cache-command-list): Include right-char and
6811 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
6814 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6815 * woman.el (woman-mark-horizontal-position):
6816 Rename from woman-mark-horizonal-position. Use changed.
6818 2014-01-10 Glenn Morris <rgm@gnu.org>
6820 * info.el (info-initialize): If running uninstalled, ensure our
6821 own info files are always found first, even if INFOPATH is set.
6823 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6825 2014-01-09 David Engster <deng@randomsample.de>
6827 * emacs-lisp/eieio-custom.el:
6828 * emacs-lisp/eieio-opt.el: Set generated autoload file to
6829 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6830 * emacs-lisp/eieio.el: Regenerate autoloads.
6832 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
6834 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6835 following renames. (Bug#8756)
6837 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
6839 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6841 (activate-mark): Add `no-tmm' argument.
6842 (set-mark, push-mark-command): Use it instead of running
6843 activate-mark-hook by hand.
6845 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
6847 In preparation for the move to git, sanitize out some
6848 Bazaar-specific names.
6850 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6852 * version.el (emacs-bzr-version): Name changed to
6853 emacs-repository-version. Obsolete-variable alias made.
6854 * loadup.el: Follow through on this name change.
6855 * mail/emacsbug.el (report-emacs-bug): Factor out any
6856 assumption about the version control system in use.
6858 2014-01-08 David Engster <deng@randomsample.de>
6860 * help-fns.el (help-fns-describe-function-functions):
6861 New variable to call functions for augmenting help buffers.
6862 (describe-function-1): Remove explicit calls to
6863 `help-fns--compiler-macro', `help-fns--parent-mode' and
6864 `help-fns--obsolete'. Put them in above new variable instead, and
6865 call them through `run-hook-with-args'.
6866 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6867 `eieio-describe-class'. Not meant for interactive use anymore,
6868 but to augment existing help buffers. Remove optional second
6869 argument. Create proper button for file location.
6870 Rewrite function to use `insert' instead of `princ' and `prin1' where
6872 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6873 (eieio-method-def, eieio-class-def): Move further up.
6874 (describe-method, describe-generic, eieio-describe-method):
6876 (eieio-help-constructor, eieio-help-generic): Rename from
6877 `eieio-describe-constructor' and `eieio-describe-generic', resp.
6878 Rewrite to use `insert' in the current buffer and use proper help
6880 (eieio-help-find-method-definition)
6881 (eieio-help-find-class-definition): Also accept symbols as
6883 (eieio-help-mode-augmentation-maybee): Remove.
6884 (eieio-describe-class-sb): Use `describe-function'.
6885 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6886 Add `eieio-help-generic' and `eieio-help-constructor'.
6888 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
6891 * language/china-util.el (hz-ascii-designation):
6892 Rename from hz-ascii-designnation.
6893 (hz-ascii-designation): Rename from hz-ascii-designnation.
6896 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
6898 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6901 2014-01-08 Bastien Guerry <bzg@gnu.org>
6903 * emacs-lisp/package.el (package-delete):
6904 Correctly delete the package from package-alist.
6906 2014-01-08 Daiki Ueno <ueno@gnu.org>
6908 * emacs-lisp/package.el (url-recreate-url): Declare.
6909 (url-http-target-url): Declare.
6910 (package-handle-response): Include requested URL in the error message.
6911 (package--check-signature): Don't re-signal errors from
6912 package--with-work-buffer. Suggested by Stefan Monnier.
6914 2014-01-07 Bastien Guerry <bzg@gnu.org>
6916 * minibuffer.el (completion--try-word-completion): When both a
6917 hyphen and a space are possible candidates for the character
6918 following a word, display both candidates. (Bug#15980)
6920 2014-01-07 Martin Rudalics <rudalics@gmx.at>
6922 * window.el (balance-windows-2): While rounding don't give a
6923 window more than the remainder. Bug#16351, bug#16383.
6925 2014-01-07 Glenn Morris <rgm@gnu.org>
6927 * menu-bar.el (menu-bar-help-extra-packages): Remove.
6928 (menu-bar-help-menu): Use view-external-packages instead.
6930 2014-01-07 Bastien Guerry <bzg@gnu.org>
6932 * emacs-lisp/package.el (package-delete): Also delete the package
6933 name from `package-alist', not its description only.
6935 2014-01-07 Glenn Morris <rgm@gnu.org>
6937 * help.el (view-external-packages):
6938 * menu-bar.el (menu-bar-help-extra-packages):
6939 Visit efaq.info rather than etc/MORE.STUFF.
6941 2014-01-07 Juri Linkov <juri@jurta.org>
6943 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6944 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
6946 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6947 that shadows RET. (Bug#16342)
6949 2014-01-07 Chong Yidong <cyd@gnu.org>
6951 * isearch.el (isearch-yank-char, isearch-yank-word)
6952 (isearch-yank-line): Doc fix.
6954 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6956 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6957 * emacs-lisp/elint.el (elint-find-builtins):
6958 * emacs-lisp/eldoc.el (eldoc-symbol-function):
6959 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6960 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6961 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6962 * apropos.el (apropos-safe-documentation):
6963 * subr.el (symbol-file): Remove redundant fboundp.
6964 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6966 2014-01-06 Bastien Guerry <bzg@gnu.org>
6968 * hl-line.el (global-hl-line-overlay): Make a local variable.
6969 (global-hl-line-overlays): New variable to store all overlays.
6970 (global-hl-line-mode): Don't delete overlays from the current
6971 buffer when `global-hl-line-sticky-flag' is non-nil.
6972 (global-hl-line-highlight): Add new overlays to
6973 `global-hl-line-overlays'.
6974 (global-hl-line-unhighlight-all): New function to delete all
6975 overlays when turning off `global-hl-line-mode'.
6976 This fixes Bug#16183.
6978 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * subr.el (set-transient-map): Fix nested case and docstring.
6982 2014-01-06 Tassilo Horn <tsdh@gnu.org>
6984 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6987 2014-01-06 Daniel Colascione <dancol@dancol.org>
6989 Fix defun navigation in vc log view.
6991 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6992 like `beginning-of-defun'.
6993 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6994 log-view-end-of-defun to log-view-end-of-defun-1. Replace
6995 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6996 (log-view-extract-comment): Call `log-view-current-entry' directly
6997 instead of relying on broken `log-view-beginning-of-defun' behavior.
6999 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
7002 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
7003 * emacs-lisp/debug.el (cancel-debug-on-entry):
7004 * epg.el (epg-error-to-string):
7005 * files.el (recover-file):
7006 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
7007 * mail/emacsbug.el (report-emacs-bug-hook):
7008 * mail/sendmail.el (mail-recover):
7009 * ses.el (ses-yank-resize):
7010 * term/ns-win.el (ns-print-buffer):
7011 Spelling fixes in diagnostics, mostly for "canceled" with one L.
7012 * epg.el (epg-key-capability-alist): Rename from misspelled version.
7014 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
7016 2014-01-06 Leo Liu <sdl.web@gmail.com>
7018 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
7019 to avoid shadowing global key. (Bug#16354)
7021 2014-01-06 Daniel Colascione <dancol@dancol.org>
7023 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
7026 2014-01-05 Martin Rudalics <rudalics@gmx.at>
7028 * window.el (balance-windows): Add mising t to fix Bug#16351.
7030 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7032 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
7034 (shr-insert): If we have a word that's longer than `shr-width',
7035 break after it anyway. Otherwise we'll do no breaking once we get
7038 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7040 * net/eww.el (eww): Support single/double quote for search.
7041 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
7042 (eww-history-quit): Delete and use quit-window.
7043 (eww-history-kill): Delete, because it doesn't work well and
7045 (eww-history-mode-map): Delete some keys and add easy-menu.
7047 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
7049 Fix misspelling of 'chinese' in rx (Bug#16237).
7050 * emacs-lisp/rx.el (rx-categories): Correct spelling of
7053 Change subword regexps back to vars (Bug#16296).
7054 * progmodes/subword.el (subword-forward-regexp)
7055 (subword-backward-regexp): Change these back to variables.
7057 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
7060 syntax-begin-function (bug#16247).
7062 2014-01-03 Chong Yidong <cyd@gnu.org>
7064 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
7065 (advice--docstring): Delete variable.
7066 (advice--make-1): Leave the docstring empty.
7067 (advice-add): Use function-documentation for advised docstring.
7069 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
7070 Ignore function-documentation property when getting documentation.
7071 (ad-activate-advised-definition): Use function-documentation
7072 generate the docstring.
7073 (ad-make-advised-definition): Don't call
7074 ad-make-advised-definition-docstring.
7075 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7078 * progmodes/sql.el (sql-help): Use function-documentation instead
7079 of dynamic-docstring-function property. No need to autoload now.
7080 (sql--help-docstring): New variable.
7081 (sql--make-help-docstring): Use it.
7083 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7085 * ielm.el (ielm-tab): Retarget.
7086 (ielm-map): Use ielm-tab for tab.
7087 (ielm-complete-filename): Use comint-filename-completion.
7088 (ielm-complete-symbol): Remove.
7089 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
7090 remove ielm-tab from completion-at-point-functions (bug#16224).
7092 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
7093 Beware signals raised by predicates (bug#16201).
7095 2014-01-02 Richard Stallman <rms@gnu.org>
7097 * dired-aux.el (dired-do-print): Handle printer-name.
7099 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
7100 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
7101 (rmail-epa-decrypt): Turn off mime processing.
7103 * mail/rmail.el (rmail-make-in-reply-to-field):
7104 Add parens in message-id.
7106 * mail/rmail.el (rmail-get-coding-function): Variable.
7107 (rmail-get-coding-system): Use it.
7109 2013-12-31 Eli Zaretskii <eliz@gnu.org>
7111 * international/mule-conf.el: Unify the charset indian-is13194.
7112 (indian-is13194): Specify unify-map.
7114 2013-12-31 Leo Liu <sdl.web@gmail.com>
7116 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
7118 2013-12-30 Daniel Colascione <dancol@dancol.org>
7120 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
7121 of printing a useless when we resume from sleep.
7123 * progmodes/sh-script.el
7124 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
7125 in indentation code. (Bug#16233)
7127 2013-12-28 João Távora <joaotavora@gmail.com>
7129 * elec-pair.el (electric-pair-post-self-insert-function):
7130 Don't open extra newlines at beginning of buffer. (Bug#16272)
7132 2013-12-28 Eli Zaretskii <eliz@gnu.org>
7134 * frame.el (window-system-for-display): Don't allow to create a
7135 GUI frame from a -nw session on MS-Windows. (Bug#14739)
7137 2013-12-28 Glenn Morris <rgm@gnu.org>
7139 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7142 * apropos.el (apropos-match-face):
7143 * calculator.el (calculator-displayer):
7144 * dabbrev.el (dabbrev-search-these-buffers-only):
7145 * face-remap.el (buffer-face-mode-face):
7146 * simple.el (yank-handled-properties):
7147 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7148 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7149 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7150 (hashcash-double-spend-database):
7151 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7152 (ruby-deep-indent-paren-style):
7153 * textmodes/flyspell.el (flyspell-auto-correct-binding):
7154 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7155 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7156 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7157 Specify custom types.
7159 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7160 * bookmark.el (bookmark-bmenu-use-header-line):
7161 * doc-view.el (doc-view-scale-internally):
7162 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7163 * register.el (register-preview-delay):
7164 * net/shr.el (shr-bullet):
7165 * progmodes/cfengine.el (cfengine-cf-promises)
7166 (cfengine-parameters-indent):
7167 * progmodes/octave.el (inferior-octave-error-regexp-alist):
7168 * textmodes/reftex-vars.el (reftex-label-regexps):
7169 * vc/log-edit.el (log-edit-setup-add-author): Add version.
7171 * net/tls.el (tls-certtool-program): Fix default value.
7173 * desktop.el (desktop-restore-in-current-display):
7174 * newcomment.el (comment-empty-lines):
7175 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7176 (idlwave-pad-keyword):
7177 * progmodes/tcl.el (tcl-tab-always-indent):
7178 * textmodes/reftex-vars.el (reftex-index-default-tag):
7179 * elec-pair.el (electric-pair-skip-whitespace):
7180 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7182 * emacs-lisp/authors.el (authors-ignored-files)
7183 (authors-valid-file-names, authors-renamed-files-alist): Additions.
7185 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7187 * shell.el (shell-dynamic-complete-command): Doc fix.
7188 (shell--command-completion-data): Shell completion now matches
7189 executable filenames from the current buffer's directory, on
7190 systems in which this behavior is the default (windows-nt, ms-dos).
7192 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7194 * net/shr.el (shr-insert): Don't infloop if the width is zero.
7196 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7201 * electric.el: Move all electric-pair-* to elec-pair.el.
7202 * elec-pair.el: New file, split from electric.el.
7204 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7206 * net/shr.el (shr-find-fill-point): Don't try to fill if the
7207 indentation level is larger than the width, because that will
7209 (shr-insert): Fill repeatedly long texts, so that Japanese is
7210 formatted correctly (bug#16263).
7211 (shr-find-fill-point): Off by one error in comparison with the
7214 2013-12-26 João Távora <joaotavora@gmail.com>
7216 * electric.el (electric-pair-mode): More flexible engine for skip-
7217 and inhibit predicates, new options for pairing-related functionality.
7218 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7219 if that keeps or improves their balance in buffers.
7220 (electric-pair-delete-adjacent-pairs): Delete the pair when
7221 backspacing over adjacent matched delimiters.
7222 (electric-pair-open-extra-newline): Open extra newline when
7223 inserting newlines between adjacent matched delimiters.
7224 (electric--sort-post-self-insertion-hook):
7225 Sort post-self-insert-hook according to priority values when
7226 minor-modes are activated.
7227 * simple.el (newline-and-indent): Call newline with interactive
7229 (blink-paren-post-self-insert-function): Set priority to 100.
7230 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7231 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7232 comments. Locally set electric-pair-skip-whitespace to 'chomp and
7233 electric-pair-open-newline-between-pairs to nil.
7235 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7237 * progmodes/python.el: Use lexical-binding.
7238 (python-nav-beginning-of-defun): Stop searching ASAP.
7240 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
7242 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7243 Fix interactive spec. Doc fix. (Bug#15754)
7245 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7247 * emacs-lisp/byte-run.el (eval-when-compile):
7248 * progmodes/cc-defs.el (cc-eval-when-compile):
7249 Fix edebug spec (bug#16184).
7251 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7253 * net/shr.el (shr-visit-file): Remove debugging function.
7254 (shr-insert): Don't infloop if we can't find a good place to break
7255 the line (bug#16256).
7257 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
7259 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7260 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
7261 python-nav-lisp-forward-sexp-safe.
7262 (python-nav--forward-sexp): New argument SAFE allows switching
7263 forward sexp movement behavior for parens.
7264 (python-nav-forward-sexp): Throw errors on unterminated parens
7266 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7267 (python-nav-backward-sexp-safe): New functions.
7268 (python-shell-buffer-substring):
7269 Use `python-nav-forward-sexp-safe'.
7271 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7273 * net/shr.el (shr-find-fill-point): Don't break lines before a
7275 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7276 (shr-find-fill-point): Remove the special checks for the quotation
7277 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7279 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7281 * net/eww.el (eww-form-textarea): Use a different face for
7282 textareas than text input since they have different keymaps
7285 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7287 * progmodes/python.el (python-nav-beginning-of-statement):
7288 Speed up (Bug#15295).
7290 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7292 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7293 the window configuration.
7295 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7297 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7298 we run on MS-Windows or MS-DOS.
7300 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7302 * window.el (balance-windows-area): Call window-size instead of
7303 window-height and window-width. Bug#16241.
7305 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7307 * net/eww.el (eww-bookmark-quit): Remove.
7308 (eww-bookmark-browse): Restore the window configuration when you
7309 choose a bookmark (bug#16144).
7311 2013-12-24 Daniel Colascione <dancol@dancol.org>
7313 * icomplete.el: Remove redundant :group arguments to `defcustom'
7315 (icomplete-show-matches-on-no-input): New customizable variable.
7316 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7317 we have something to show.
7318 (icomplete-exhibit): Compute completions even if we have no user input.
7320 2013-12-23 Daniel Colascione <dancol@dancol.org>
7322 * icomplete.el: Move `provide' to end of file.
7324 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7326 * net/gnutls.el (gnutls-verify-error): Add version tag.
7328 2013-12-23 Chong Yidong <cyd@gnu.org>
7330 * subr.el (set-transient-map): Rename from
7331 set-temporary-overlay-map. Doc fix.
7333 * face-remap.el (text-scale-adjust):
7334 * indent.el (indent-rigidly):
7335 * kmacro.el (kmacro-call-macro):
7336 * minibuffer.el (minibuffer-force-complete):
7337 * repeat.el (repeat):
7338 * simple.el (universal-argument--mode):
7339 * calendar/todo-mode.el (todo-insert-item--next-param):
7340 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7342 * indent.el (indent-rigidly): Use substitute-command-keys.
7344 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7346 * net/eww.el (eww-tag-select): Add text-property to jump to next
7348 (eww): Add non-supported ftp error.
7350 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7352 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7353 comments. Handle electric indent after typing `?' and `!'.
7355 2013-12-22 Chong Yidong <cyd@gnu.org>
7357 * faces.el (face-spec-recalc): If the theme specs are not
7358 applicable to a frame, fall back on the defface spec.
7359 This prevents themes from obliterating faces on low-color terminals.
7361 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7363 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7364 after `{'. We need it after block openers, and it doesn't seem
7365 to hurt after hash openers.
7367 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7369 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7370 extracted from `ruby-smie-rules'.
7371 (ruby--electric-indent-chars): New variable.
7372 (ruby--electric-indent-p): New function.
7373 (ruby-mode): Use `electric-indent-functions' instead of
7374 `electric-indent-chars'.
7376 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7378 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7380 (ruby-smie-rules): Indent plus one level after `=>'.
7382 2013-12-21 Richard Stallman <rms@gnu.org>
7384 * simple.el (newline): Doc fix.
7386 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7388 * net/eww.el (eww-list-histories, eww-list-histories)
7389 (eww-history-browse, eww-history-quit, eww-history-kill)
7390 (eww-history-mode-map, eww-history-mode): New command and
7391 functions to list browser histories.
7392 (eww-form-text): Support text form with disabled
7393 and readonly attributes.
7394 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7396 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7398 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7399 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7400 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7401 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7403 (eww-bookmark-mode-map): Add menu.
7404 (eww-render, eww-mode): Use `setq-local'.
7405 (eww-tool-bar-map): New variable.
7406 (eww-mode): Set `tool-bar-map'.
7407 (eww-view-source): Check for `html-mode' with `fboundp'.
7409 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7411 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7412 elements with text inside. Also remove debugging.
7414 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7416 * cus-start.el (all): Add ns-use-srgb-colorspace.
7418 2013-12-21 Chong Yidong <cyd@gnu.org>
7420 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7421 undefined. Thus, theme settings for undefined faces do not take
7422 effect until the faces are defined with defface, the same as with
7425 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7426 (face-spec-reset-face): Don't assign extra properties in temacs.
7427 (face-spec-recalc): Apply X resources too.
7429 2013-12-21 Chong Yidong <cyd@gnu.org>
7431 * faces.el (face-spec-set):
7432 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7433 * custom.el (defface): Doc fixes (Bug#16203).
7435 * indent.el (indent-rigidly-map): Add docstring, and move commands
7436 into named functions.
7437 (indent-rigidly-left, indent-rigidly-right)
7438 (indent-rigidly-left-to-tab-stop)
7439 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7440 indentation direction based on bidi direction, and accumulate
7441 sequential commands in a single undo boundary.
7442 (indent-rigidly--pop-undo): New utility function.
7444 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7446 * faces.el (read-face-name): Require crm.el when using crm-separator.
7448 2013-12-20 Daniel Colascione <dancol@dancol.org>
7450 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7451 so that we don't reflow comments into the shebang line.
7453 2013-12-20 Juri Linkov <juri@jurta.org>
7455 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7456 a position when `dired-directory' is non-nil. Check integer
7457 positions with `integerp'.
7458 (toggle-save-place, save-places-to-alist): Add check for
7460 (save-place-find-file-hook): Check integer positions with
7462 (save-place-dired-hook): Use `dired-goto-file' when
7463 `dired-filename' is found in the assoc list. Check integer
7464 positions with `integerp'.
7465 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7467 * dired.el (dired-initial-position-hook): Rename back from
7468 `dired-initial-point-hook'.
7469 (dired-initial-position): Rename `dired-initial-point-hook' to
7470 `dired-initial-position-hook'.
7471 (dired-file-name-at-point): Doc fix. (Bug#15329)
7473 2013-12-20 Juri Linkov <juri@jurta.org>
7475 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7476 (read-regexp-suggestions): New function.
7477 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7478 Use `read-regexp-suggestions'. Add non-empty default to history
7480 (occur-read-regexp-defaults-function): Remove function.
7481 (occur-read-primary-args): Use `regexp-history-last' instead of
7482 `occur-read-regexp-defaults-function'.
7484 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7485 (hi-lock-line-face-buffer, hi-lock-face-buffer)
7486 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7487 `hi-lock-read-regexp-defaults-function'. Doc fix.
7488 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7489 with `find-tag-default-as-symbol-regexp'. Doc fix.
7490 (hi-lock-read-regexp-defaults): Remove function.
7491 (hi-lock-regexp-okay): Add check for null.
7493 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7494 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
7496 * subr.el (find-tag-default-as-symbol-regexp): New function.
7497 (find-tag-default-as-regexp): Move symbol regexp formatting to
7498 `find-tag-default-as-symbol-regexp'.
7500 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
7502 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7505 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7507 * calendar/todo-mode.el: New implementation of item insertion
7508 commands and key bindings.
7509 (todo-key-prompt): New face.
7510 (todo-insert-item): New command.
7511 (todo-insert-item--parameters): New defconst, replacing defvar
7512 todo-insertion-commands-args-genlist.
7513 (todo-insert-item--param-key-alist): New defconst, replacing
7514 defvar todo-insertion-commands-arg-key-list.
7515 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7516 (todo-insert-item--argsleft, todo-insert-item--apply-args)
7517 (todo-insert-item--next-param): New functions.
7518 (todo-insert-item--args, todo-insert-item--argleft)
7519 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7521 (todo-key-bindings-t): Change binding of "i" from
7522 todo-insertion-map to todo-insert-item.
7523 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7524 (todo-insertion-command-name, todo-insertion-commands-names)
7525 (todo-define-insertion-command, todo-insertion-commands)
7526 (todo-insertion-key-bindings, todo-insertion-map): Remove.
7528 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7530 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7531 (todo-toggle-item-highlighting): Use eval-and-compile instead of
7533 (todo-move-category): Allow choosing a non-existing todo file to
7534 move the category to, and create that file.
7535 (todo-default-priority): New user option.
7536 (todo-set-item-priority): Use it.
7537 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7538 (desktop-restore-file-buffer): Declare.
7539 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7540 (todo-modes-set-2): Locally set desktop-save-buffer to
7541 todo-desktop-save-buffer.
7542 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7543 (auto-mode-alist): Add autoload cookie.
7545 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
7547 * emacs-lisp/subr-x.el: Renamed from helpers.el.
7548 helpers.el was a poor choice of name.
7549 (string-remove-prefix): New function.
7550 (string-remove-suffix): New function.
7552 2013-12-20 Martin Rudalics <rudalics@gmx.at>
7554 Fix assignment for new window total sizes.
7555 * window.el (window--pixel-to-size): Remove function.
7556 (window--pixel-to-total-1, window--pixel-to-total):
7557 Fix calculation of new total sizes.
7559 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
7561 * comint.el (comint-output-filter): Fix rear-nonsticky property
7562 placement (Bug#16010).
7564 2013-12-20 Chong Yidong <cyd@gnu.org>
7566 * faces.el (read-color): Minor fix for completion function.
7568 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
7570 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7571 New option. (Bug#16182)
7572 (ruby-smie--indent-to-stmt-p): Use it.
7573 (ruby-smie-rules): Revert the logic in the handling of `when'.
7574 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7575 (ruby-deep-arglist, ruby-deep-indent-paren)
7576 (ruby-deep-indent-paren-style): Update docstrings to note that the
7577 vars don't have any effect with SMIE.
7579 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7581 * calc/calc.el (calc-enter, calc-pop): Use the variable
7582 `calc-context-sensitive-enter'.
7584 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586 * net/shr.el (shr-insert): Protect against infloops in degenerate
7589 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7591 * progmodes/octave.el (octave): Add link to manual and octave
7593 (octave-mode-menu): Link to octave-mode manual.
7595 2013-12-20 Leo Liu <sdl.web@gmail.com>
7597 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7598 insertion using skeleton-end-newline. (Bug#16138)
7600 2013-12-20 Juri Linkov <juri@jurta.org>
7602 * replace.el (occur-engine): Use `add-face-text-property'
7603 to add the face property to matches and titles. (Bug#14645)
7605 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7606 the palette of other hi-lock colors.
7607 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7609 2013-12-19 Juri Linkov <juri@jurta.org>
7611 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7612 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7613 (minibuffer-history-symbol): Move variable declaration closer to
7616 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7619 2013-12-19 Juri Linkov <juri@jurta.org>
7621 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7623 (log-edit-hook): Add it to :options. (Bug#16170)
7625 2013-12-19 Juri Linkov <juri@jurta.org>
7627 * simple.el (eval-expression-print-format): Don't check for
7628 command names and the last command. Always display additional
7629 formats of the integer result in the echo area, and insert them
7630 to the current buffer only with a zero prefix arg.
7631 Display character when char-displayable-p is non-nil.
7632 (eval-expression): With a zero prefix arg, set `print-length' and
7633 `print-level' to nil, and insert the integer values from
7634 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7636 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7637 `eval-last-sexp-arg-internal'. Doc fix.
7638 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7639 `eval-last-sexp-print-value'. Doc fix.
7640 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7641 Set `print-length' and `print-level' to nil when arg is zero.
7642 (eval-last-sexp): Doc fix.
7643 (eval-defun-2): Print the integer values from
7644 `eval-expression-print-format' at the end.
7646 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7647 values from `eval-expression-print-format' at the end.
7649 * ielm.el (ielm-eval-input): Print the integer
7650 values from `eval-expression-print-format' at the end.
7652 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7654 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7655 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7657 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7659 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7660 (hl-line-highlight, global-hl-line-highlight): Use it.
7661 (hl-line-overlay): Use defvar-local.
7663 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7665 * term/ns-win.el: Require dnd.
7666 (global-map): Remove drag items.
7667 (ns-insert-text, ns-set-foreground-at-mouse)
7668 (ns-set-background-at-mouse):
7669 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7670 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7673 2013-12-19 Glenn Morris <rgm@gnu.org>
7675 * emacs-lisp/ert.el (ert-select-tests):
7676 Fix string/symbol mixup. (Bug#16121)
7678 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7680 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7681 keywords to their parent.
7683 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7685 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7686 first arg to be a string (fixed dead code), or an operator symbol.
7687 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7689 (ruby-smie-rules): Remove parent token check in the `.' clause, it
7690 did nothing. Don't respond to `(:after ".")', it will be called
7691 with :before anyway. Remove the ` @ ' rule, it didn't seem to
7692 change anything. Only return indentation for binary operators
7693 when they are hanging. De-dent opening paren when its parent is
7694 `.', otherwise it looks bad when the dot is not at bol or eol
7697 2013-12-19 Juri Linkov <juri@jurta.org>
7699 * replace.el (query-replace-read-args): Split a non-negative arg
7700 and a negative arg into separate elements.
7701 (query-replace, query-replace-regexp, replace-string)
7702 (replace-regexp): Add arg `backward'. Doc fix.
7703 (replace-match-maybe-edit): When new arg `backward' is non-nil,
7704 move point to the beginning of the match.
7705 (replace-search, replace-highlight): Use new arg `backward'
7706 to set the value of `isearch-forward'.
7707 (perform-replace): Add arg `backward' and use it to perform
7708 replacement backward. (Bug#14979)
7710 * isearch.el (isearch-query-replace): Use a negative prefix arg
7711 to call `perform-replace' with a non-nil arg `backward'.
7713 2013-12-18 Juri Linkov <juri@jurta.org>
7715 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7716 to the default list. Move `log-edit-show-files' to the end.
7717 Add more available functions to options.
7718 (log-edit): Move default specific settings to
7719 `log-edit-insert-message-template'. Don't move point.
7720 (log-edit-insert-message-template): New function.
7721 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7724 2013-12-18 Juri Linkov <juri@jurta.org>
7726 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7727 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
7729 2013-12-18 Leo Liu <sdl.web@gmail.com>
7731 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7734 2013-12-18 Eli Zaretskii <eliz@gnu.org>
7736 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7737 formats for displaying file sizes when the -s switch is given.
7738 Instead, compute a separate format for displaying the size in
7739 blocks, which is displayed in addition to the "regular" size.
7740 When -h is given in addition to -s, produce size in blocks in
7741 human-readable form as well. (Bug#16179)
7743 2013-12-18 Tassilo Horn <tsdh@gnu.org>
7745 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7746 Reference tables with ~\ref{...} instead of only \ref{...}.
7748 2013-12-18 Chong Yidong <cyd@gnu.org>
7750 * cus-edit.el (custom-magic-alist): Fix "themed" description
7753 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7754 is non-nil, do not create a new entry in the symbol's theme-value
7755 or theme-face property; update theme-settings only (Bug#14664).
7756 (custom-available-themes): Doc fix.
7758 * cus-theme.el (custom-new-theme-mode-map): Add bindings
7761 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7763 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7765 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7768 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7770 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7772 2013-12-18 Glenn Morris <rgm@gnu.org>
7774 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7775 * cus-start.el (load-prefer-newer): New option.
7777 2013-12-18 Le Wang <l26wang@gmail.com>
7779 * comint.el (comint-previous-matching-input-from-input):
7780 Retain point (Bug#13404).
7782 2013-12-18 Chong Yidong <cyd@gnu.org>
7784 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7786 2013-12-18 Glenn Morris <rgm@gnu.org>
7788 * mail/emacsbug.el (report-emacs-bug):
7789 Only mention enable-multibyte-characters if non-standard.
7791 2013-12-17 Juri Linkov <juri@jurta.org>
7793 * arc-mode.el (archive-extract-by-file): Check if directory exists
7794 before deletion to not show irrelevant errors if it doesn't exist.
7796 2013-12-17 Juri Linkov <juri@jurta.org>
7798 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7801 * net/eww.el (browse-web): Add alias to `eww'.
7802 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7803 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
7805 * net/browse-url.el (browse-url-browser-function): Move `eww'
7806 closer to similar functions.
7808 * startup.el (fancy-startup-screen, fancy-about-screen):
7809 Set browse-url-browser-function to eww-browse-url locally.
7812 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7814 * window.el (window--pixel-to-total): Remove unused `mini' var.
7815 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7816 (split-window): Remove unused `new' var.
7817 (window--display-buffer): Remove unused `frame' and `delta' vars.
7818 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7821 2013-12-17 Martin Rudalics <rudalics@gmx.at>
7823 * dired.el (dired-mark-pop-up):
7824 * register.el (register-preview): Don't bind
7825 split-height-threshold here since it's now done in
7826 display-buffer-below-selected.
7828 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
7830 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7831 xterm-rgb-convert-to-16bit.
7832 (rxvt-register-default-colors): Standardize with
7833 xterm-register-default-colors (Bug#14078).
7835 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
7837 * simple.el (kill-region): Pass mark first, then point, so that
7838 kill-append works right (Bug#12819).
7839 (copy-region-as-kill, kill-ring-save): Likewise.
7841 2013-12-17 Leo Liu <sdl.web@gmail.com>
7843 * net/rcirc.el (rcirc-add-face):
7844 * eshell/em-prompt.el (eshell-emit-prompt):
7845 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7848 2013-12-17 Chong Yidong <cyd@gnu.org>
7850 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7851 Suggested by Xue Fuqiao.
7853 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7855 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7857 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7859 * net/shr.el (shr-insert-document): Remove unused var
7860 `shr-preliminary-table-render'.
7861 (shr-rescale-image): Remove unused arg `force'.
7862 (shr-put-image): Update calls accordingly.
7863 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7865 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7867 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7868 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7869 :close-all, to see which indentation method to use (Bug#16116).
7870 (smie-rules-function): Document the method :close-all.
7872 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7876 * net/eww.el (eww-display-html): If we can't find the anchor we're
7877 looking for, then go to point-min.
7879 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
7881 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7882 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7883 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7884 Expand dir too, in case it's relative.
7886 2013-12-16 Juri Linkov <juri@jurta.org>
7888 * desktop.el (desktop-auto-save-timeout): Change default to
7889 `auto-save-timeout'. Doc fix.
7890 (desktop-save): Skip the timestamp in desktop-saved-frameset
7891 when checking for auto-save changes.
7892 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7893 `desktop-auto-save' is called repeatedly by the idle timer.
7894 (desktop-auto-save-set-timer): Replace `run-with-timer' with
7895 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
7898 2013-12-16 Juri Linkov <juri@jurta.org>
7900 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7902 (isearch-pre-command-hook): Check `this-command' for symbolp.
7904 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7908 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
7910 * progmodes/cfengine.el (cfengine3--current-word): Remove.
7911 (cfengine3--current-function): Bring in the current-function
7912 functionality from `cfengine3--current-word'.
7913 (cfengine3-completion-function): Bring in the
7914 bounds-of-current-word functionality from
7915 `cfengine3--current-word'.
7917 2013-12-16 Martin Rudalics <rudalics@gmx.at>
7919 * window.el (display-buffer-below-selected):
7920 Bind split-height-threshold to 0 as suggested by Juri Linkov.
7922 2013-12-16 Leo Liu <sdl.web@gmail.com>
7924 * progmodes/compile.el (compile-goto-error): Do not push-mark.
7925 Remove NOMSG arg and all uses changed.
7927 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7929 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7930 (cua--deactivate-rectangle): Don't deactivate the mark.
7931 (cua-set-rectangle-mark): Don't set mark-active since
7932 cua--activate-rectangle already does it for us.
7933 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7934 non-rectangular region.
7936 * emulation/cua-base.el (cua-repeat-replace-region):
7937 Use with-current-buffer.
7939 * net/gnutls.el: Use cl-lib.
7940 (gnutls-negotiate): `mapcan' -> cl-mapcan.
7942 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7944 * emacs-lisp/package.el (package-built-in-p): Support both
7945 built-in and the package.el converted package descriptions.
7946 (package-show-package-list): Allow keywords.
7947 (package-keyword-button-action): Use it instead of
7948 `finder-list-matches'.
7949 (package-menu-filter-interactive): Interactive filtering (by
7951 (package-menu--generate): Support keywords and change keymappings
7952 and headers when they are given.
7953 (package--has-keyword-p): Helper function.
7954 (package-menu--refresh): Use it.
7955 (package--mapc): Helper function.
7956 (package-all-keywords): Use it.
7957 (package-menu-mode-map): Set up menu items and keybindings to
7958 provide a filtering UI.
7960 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
7962 * net/gnutls.el (gnutls-verify-error): New defcustom to control
7963 the behavior when a certificate fails validation. Defaults to
7964 old behavior: never abort, just warn.
7965 (gnutls-negotiate): Use it.
7967 2013-12-14 Martin Rudalics <rudalics@gmx.at>
7969 * window.el (display-buffer-below-selected): Never split window
7970 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
7972 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
7974 * emacs-lisp/package.el (package--prepare-dependencies): New function.
7975 (package-buffer-info): Use it (bug#15108).
7977 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
7979 * icomplete.el (icomplete-completions): Make sure the prefix is already
7980 displayed elsewhere before hiding it (bug#16219).
7982 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
7984 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7985 open-paren tokens when preceded by a open-paren, too.
7986 (ruby-smie-rules): Handle virtual indentation after open-paren
7987 tokens specially. If there is code between it and eol, return the
7988 column where is starts (Bug#16118).
7990 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
7992 * progmodes/cfengine.el: Fix `add-hook' doc.
7993 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7994 (cfengine3--current-word): Fix parameters.
7995 (cfengine3-make-syntax-cache): Simplify further.
7996 (cfengine3-completion-function, cfengine3--current-function):
7997 Use `assq' for symbols.
7998 (cfengine3--current-function): Fix `cfengine3--current-word' call.
8000 2013-12-13 Glenn Morris <rgm@gnu.org>
8002 * loadup.el (load-path): Warn if site-load or site-init changes it.
8003 No more need to reset it when bootstrapping.
8005 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8007 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
8008 locations for cf-promises.
8009 (cfengine-mode-syntax-functions-regex): New caching variable.
8010 (cfengine3-fallback-syntax): Fallback syntax for cases where
8011 cf-promises doesn't run.
8012 (cfengine3--current-word): Reimplement using
8013 `cfengine-mode-syntax-functions-regex'.
8014 (cfengine3-completion-function, cfengine3--current-function):
8015 Use `cfengine3-make-syntax-cache' directly.
8016 (cfengine3-clear-syntax-cache): New function.
8017 (cfengine3-make-syntax-cache): Simplify and create
8018 `cfengine-mode-syntax-functions-regex' on demand.
8019 (cfengine3-format-function-docstring): Don't call
8020 `cfengine3-make-syntax-cache' explicitly.
8022 2013-12-13 Martin Rudalics <rudalics@gmx.at>
8024 Fix windmove-find-other-window broken after pixelwise resizing
8026 * windmove.el (windmove-other-window-loc): Revert change from
8028 (windmove-find-other-window): Call window-in-direction.
8029 * window.el (window-in-direction): New arguments SIGN, WRAP and
8030 MINI to emulate original windmove-find-other-window behavior.
8032 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
8034 * simple.el (blink-matching--overlay): New variable.
8035 (blink-matching-open): Instead of moving point, highlight the
8036 matching paren with an overlay
8037 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
8039 * faces.el (paren-showing-faces, show-paren-match)
8040 (show-paren-mismatch): Move from paren.el.
8042 2013-12-13 Leo Liu <sdl.web@gmail.com>
8044 * indent.el (indent-region): Disable progress reporter in
8045 minibuffer. (Bug#16108)
8047 * bindings.el (visual-order-cursor-movement): Fix version.
8049 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8051 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
8052 Also match after beginning of line.
8053 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
8054 files. Thanks to Russell Sim. (Bug#15378)
8056 2013-12-13 Juri Linkov <juri@jurta.org>
8058 * simple.el <Keypad support>: Remove key bindings duplicated
8059 with bindings.el. (Bug#14397)
8061 2013-12-13 Juri Linkov <juri@jurta.org>
8063 * comint.el (comint-mode-map): Replace `delete-char' with
8064 `delete-forward-char'. (Bug#16109)
8066 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8068 * progmodes/python.el (python-indent-calculate-indentation):
8069 Fix de-denters cornercase. (Bug#15731)
8071 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8073 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
8074 (advice--make): Pay attention to `depth'.
8075 (advice--make-1): Don't autoload commands eagerly.
8076 * emacs-lisp/elp.el (elp-instrument-function):
8077 * emacs-lisp/trace.el (trace-function-internal):
8078 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
8080 * iswitchb.el (iswitchb-mode): Don't belittle ido.
8082 2013-12-12 Eli Zaretskii <eliz@gnu.org>
8084 * term/w32-win.el (w32-handle-dropped-file):
8085 * startup.el (normal-top-level):
8086 * net/browse-url.el (browse-url-file-url):
8087 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
8088 decode file names using 'utf-8' rather than
8089 file-name-coding-system.
8091 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8093 * progmodes/python.el (python-indent-context)
8094 (python-indent-calculate-indentation): Fix auto-identation
8095 behavior for comment blocks. (Bug#15916)
8097 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8099 * progmodes/python.el (python-indent-calculate-indentation):
8100 When determining indentation, don't treat "return", "pass", etc., as
8101 operators when they are just string constituents. (Bug#15812)
8103 2013-12-12 Juri Linkov <juri@jurta.org>
8105 * uniquify.el (uniquify-buffer-name-style): Change default to
8106 `post-forward-angle-brackets'.
8108 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
8109 `uniquify'. Change default to `post-forward-angle-brackets'.
8111 2013-12-11 Glenn Morris <rgm@gnu.org>
8113 * emacs-lisp/package.el (finder-list-matches):
8114 Autoload rather than falsely declaring.
8116 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8118 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
8119 (eww-mode-map): Use them.
8121 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8123 * window.el (display-buffer-in-side-window): Fix doc-string
8126 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
8128 * vc/vc-git.el: Silence byte-compiler warnings.
8129 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
8130 (log-edit-set-header): Declare.
8132 2013-12-11 Eli Zaretskii <eliz@gnu.org>
8134 * Makefile.in (custom-deps, finder-data): Run output file names
8135 through unmsys--file-name. (Bug#16099)
8137 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8139 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8140 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8142 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8143 instead of deleting the selection "by hand" (bug#16098).
8144 Rely on insert-for-yank to yank rectangles.
8145 (cua-highlight-region-shift-only): Mark obsolete.
8146 (cua-mode): Don't enable/disable transient-mark-mode,
8147 shift-select-mode (cua-mode works both with and without them), and
8148 pc-selection-mode (obsolete).
8149 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8150 (cua--deactivate-rectangle): Deactivate it.
8152 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8153 (delete-selection-helper): Make sure yank starts at the top of the
8155 (minibuffer-keyboard-quit): Use region-active-p.
8157 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8159 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8160 to `delete' (bug#16109).
8162 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8164 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8165 info manual and show keybindings and set `:group' keyword.
8167 2013-12-11 Juri Linkov <juri@jurta.org>
8169 * delsel.el (delete-active-region): Let-bind `this-command'
8170 to prevent `kill-region' from changing its original value.
8171 (delete-selection-helper): Handle `overwrite-mode' for the type
8172 `kill' exactly the same way as for the type `t'.
8173 (insert-char, quoted-insert, reindent-then-newline-and-indent):
8174 Support more commands. (Bug#13312)
8176 2013-12-11 Juri Linkov <juri@jurta.org>
8178 * bindings.el: Map kp keys to non-kp keys systematically
8179 with basic modifiers control, meta and shift. (Bug#14397)
8181 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8183 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8184 "Close browser" menu items. Fix wrong function of "List
8187 2013-12-11 Juri Linkov <juri@jurta.org>
8189 * misearch.el (multi-isearch-buffers): Set the value of
8190 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8191 arg of isearch-forward to t.
8192 (multi-isearch-buffers-regexp): Set the value of
8193 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8194 arg of isearch-forward-regexp to t.
8195 (multi-isearch-files): Set the value of
8196 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8197 arg of isearch-forward to t.
8198 (multi-isearch-files-regexp): Set the value of
8199 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8200 arg of isearch-forward-regexp to t. (Bug#16035)
8202 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8203 arg of isearch-forward to t.
8204 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8205 arg of isearch-forward-regexp to t.
8206 (dired-isearch-filter-filenames): Remove unnecessary check for
8207 `dired-isearch-filenames'.
8209 * comint.el (comint-history-isearch-backward):
8210 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8211 (comint-history-isearch-backward-regexp):
8212 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8214 2013-12-10 Eli Zaretskii <eliz@gnu.org>
8216 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8217 unmsys--file-name. (Bug#16099)
8219 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
8221 * emacs-lisp/package.el (package-keyword-button-action):
8222 Remove finder.el require dependency.
8224 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
8226 * emacs-lisp/package.el: Require finder.el.
8227 (describe-package-1): Add keyword buttons.
8228 (package-make-button): New convenience function.
8229 (package-keyword-button-action): Keyword button action using
8230 `finder-list-matches'.
8232 2013-12-09 Eli Zaretskii <eliz@gnu.org>
8234 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8237 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
8239 * autorevert.el (auto-revert-notify-add-watch): Do not handle
8242 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8244 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8245 after the end of a percent literal.
8247 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
8249 * progmodes/ruby-mode.el (ruby-forward-string): Document.
8250 Handle caret-delimited strings (Bug#16079).
8252 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8254 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8255 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8256 `ruby-parse-partial' (Bug#16078).
8258 2013-12-09 Leo Liu <sdl.web@gmail.com>
8260 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
8262 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
8264 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8265 (js-switch-indent-offset): New option.
8266 (js--proper-indentation): Use it. And handle the case when
8267 "default" is actually a key in an object literal.
8268 (js--same-line): New function.
8269 (js--multi-line-declaration-indentation): Use it.
8270 (js--indent-in-array-comp, js--array-comp-indentation):
8272 (js--proper-indentation): Use them, to handle array comprehension
8275 2013-12-08 Leo Liu <sdl.web@gmail.com>
8277 * progmodes/flymake.el (flymake-highlight-line): Re-write.
8278 (flymake-make-overlay): Remove arg MOUSE-FACE.
8279 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8281 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8283 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8285 (redisplay-highlight-region-function): Use it.
8287 * emulation/cua-base.el (cua--explicit-region-start)
8288 (cua--last-region-shifted): Remove.
8289 (cua--deactivate): Use deactivate-mark.
8290 (cua--pre-command-handler-1): Don't handle shift-selection.
8291 (cua--post-command-handler-1): Don't change transient-mark-mode.
8292 (cua--select-keymaps): Use region-active-p rather than
8293 cua--explicit-region-start or cua--last-region-shifted.
8294 (cua-mode): Enable shift-select-mode.
8296 2013-12-08 Leo Liu <sdl.web@gmail.com>
8298 * progmodes/flymake.el (flymake-popup-current-error-menu):
8299 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8300 (flymake-posn-at-point-as-event, flymake-popup-menu)
8301 (flymake-make-emacs-menu): Remove. (Bug#16077)
8303 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8305 * rect.el (rectangle-mark-mode): Activate mark even if
8306 transient-mark-mode is off (bug#16066).
8307 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8308 is > mark and at bolp.
8310 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8311 (region-extract-function): Use it.
8312 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8313 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8315 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8316 kill-ring-save, kill-region, delete-char, delete-forward-char.
8317 Ignore self-insert-iso.
8319 * emulation/cua-gmrk.el (cua--init-global-mark):
8320 Ignore `self-insert-iso'.
8322 * emulation/cua-base.el (cua--prefix-copy-handler)
8323 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8324 checking cua--rectangle.
8325 (cua-delete-region): Use region-extract-function.
8326 (cua-replace-region): Delete function.
8327 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8328 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8329 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8330 (cua--init-keymaps): Don't remap delete-selection commands.
8331 (cua-mode): Use delete-selection-mode instead of rolling our own
8334 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8335 Obey region-extract-function.
8337 Make registers and delete-selection-mode work on rectangles.
8338 * register.el (describe-register-1): Don't modify the register's value.
8339 (copy-to-register): Obey region-extract-function.
8340 * delsel.el (delete-active-region): Obey region-extract-function.
8342 2013-12-08 Leo Liu <sdl.web@gmail.com>
8344 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8345 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8346 (flymake-compilation-prevents-syntax-check)
8347 (flymake-start-syntax-check-on-newline)
8348 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8349 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8350 (flymake-xml-program, flymake-master-file-dirs)
8351 (flymake-master-file-count-limit)
8352 (flymake-allowed-file-name-masks): Relocate.
8353 (flymake-makehash, flymake-float-time)
8354 (flymake-replace-regexp-in-string, flymake-split-string)
8355 (flymake-get-temp-dir): Remove.
8356 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8357 (flymake-current-row, flymake-selected-frame)
8358 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8359 related functions. (Bug#16077)
8361 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8363 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8365 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8367 * help-fns.el (describe-function-1): Use new advice-* functions
8368 rather than old ad-* functions. Fix function type description and
8369 source links for advised functions and subrs.
8371 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8373 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8375 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8377 * progmodes/compile.el (compilation-start):
8378 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8380 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8381 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8383 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8385 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8386 Touch up the last change.
8388 2013-12-06 Leo Liu <sdl.web@gmail.com>
8390 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8391 (inferior-octave-startup): Always use "octave> " for prompt.
8392 (octave-goto-function-definition)
8393 (octave-sync-function-file-names)
8394 (octave-find-definition-default-filename): Remove redundant backquotes.
8396 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8398 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8400 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8401 where appropriate already.
8402 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8403 end of method names (Bug#15874).
8405 2013-12-06 Juri Linkov <juri@jurta.org>
8407 * isearch.el (isearch--saved-overriding-local-map):
8408 New internal variable.
8409 (isearch-mode): Set it to the initial value of
8410 `overriding-terminal-local-map'.
8411 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8412 with `isearch--saved-overriding-local-map'. (Bug#16035)
8414 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8416 * progmodes/octave.el (inferior-octave-completion-table):
8417 Turn back into function, use `completion-table-with-cache'
8418 (Bug#11906). Update all references.
8420 * minibuffer.el (completion-table-with-cache): New function.
8422 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8424 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8426 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8428 * net/eww.el (eww-current-source): New variable to store page
8430 (eww-display-html, eww-mode, eww-save-history)
8431 (eww-restore-history): Use it.
8432 (eww-view-source): New command to view page source.
8433 Opportunistically uses `html-mode' to highlight the buffer.
8434 (eww-mode-map): Install it.
8436 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8438 * net/dbus.el (dbus-unregister-service)
8439 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8441 (dbus-unregister-service): Skip :serial entries in
8442 `dbus-registered-objects-table'.
8443 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8445 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8447 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8448 around keywords with extra `split-string' argument.
8450 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8452 * windmove.el (windmove-other-window-loc): Handle navigation
8453 between windows (excluding the minibuffer window - Bug#16017).
8455 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8457 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8458 in D-Bus type syntax.
8459 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8460 preserve unibyte strings. (Bug#16048)
8462 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8464 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8465 Call force-mode-line-update is the proper buffer (bug#16042).
8467 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8469 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8470 `log-edit-remember-comment', make argument optional. Adjust all
8472 (log-edit-mode): Add `log-edit-remember-comment' to
8473 `kill-buffer-hook' locally.
8474 (log-edit-kill-buffer): Don't remember comment explicitly since
8475 the buffer is killed anyway.
8477 2013-12-04 Juri Linkov <juri@jurta.org>
8479 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8480 add-hook and remove-hook for multi-buffer search. (Bug#16035)
8482 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
8484 * notifications.el (notifications-close-notification): Call the
8485 D-Bus method with ID being a `:uint32'. (Bug#16030)
8487 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
8489 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8491 2013-12-03 Juri Linkov <juri@jurta.org>
8493 * progmodes/compile.el (compilation-start): Rename window alist
8494 entry `no-display-ok' to `allow-no-window'.
8496 * simple.el (shell-command): Add window alist entry
8497 `allow-no-window' to `display-buffer'.
8498 (async-shell-command): Doc fix.
8500 * window.el (display-buffer-no-window): New action function.
8501 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
8503 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8505 * vc/log-edit.el (log-edit-set-header): Extract from
8506 `log-edit-toggle-header'.
8507 (log-edit-extract-headers): Separate the summary, when extracted
8508 from header, from the rest of the message with an empty line.
8510 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8511 line, if present, to the Summary header.
8513 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8515 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8516 in current-buffer (bug#16029).
8518 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
8520 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8521 (debugger-mode-map): Bind it.
8522 (debugger--backtrace-base): New function.
8523 (debugger-eval-expression): Use it.
8524 (debugger-frame-number): Skip local vars when present.
8525 (debugger--locals-visible-p, debugger--insert-locals)
8526 (debugger--show-locals, debugger--hide-locals): New functions.
8528 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
8530 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8532 (tramp-get-remote-locale): New defun.
8533 (tramp-open-connection-setup-interactive-shell): Use it.
8535 2013-12-02 Leo Liu <sdl.web@gmail.com>
8537 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
8539 * progmodes/sh-script.el (sh-shell-process):
8540 * progmodes/octave.el (inferior-octave-process-live-p):
8541 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8542 (gdb-inferior-io-sentinel):
8543 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8545 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8547 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8548 `save-selected-window' to `log-edit-hide-buf'. This makes
8549 `log-edit-show-files' idempotent.
8550 (log-edit-show-files): Mark the new window as dedicated.
8552 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8554 * vc/log-edit.el (log-edit-mode-map): Add binding for
8555 `log-edit-kill-biffer'.
8556 (log-edit-hide-buf): Add a FIXME comment.
8557 (log-edit-add-new-comment): New function, extracted from
8559 (log-edit-done, log-edit-add-to-changelog): Use it.
8560 (log-edit-kill-buffer): New command.
8562 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8564 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8565 instead of killing the buffer.
8567 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8569 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8571 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8573 * net/eww.el (eww-form-checkbox-selected-symbol)
8574 (eww-form-checkbox-symbol): New customizable variable.
8575 (eww-form-checkbox, eww-toggle-checkbox):
8576 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8578 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8579 (shr--get-media-pref, shr--extract-best-source): New function.
8580 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8581 no :src tag was specified.
8583 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8584 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8585 Use \\` to match beginning of string instead of ^.
8586 (eww-browse-with-external-browser): Provide optional URL parameter.
8587 (eww-render): Set `eww-current-title' back to "".
8589 * net/shr.el (shr-tag-video): Display content for video if no
8590 poster is available.
8591 (shr-tag-audio): Add support for <audio> tag.
8593 * net/eww.el (eww-text-input-types): New const.
8594 (eww-process-text-input): Treat input types in
8595 `eww-text-input-types' as text.
8597 * net/shr.el (shr-tag-table): Fix comment typo.
8599 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601 * net/eww.el (eww-follow-link): New command to avoid reloading
8602 pages when we follow #target links (bug#15243).
8603 (eww-quit): Special mode buffers shouldn't query before exiting.
8605 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8607 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8610 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612 * net/eww.el (eww-restore-history): Update the window title after
8613 moving in the history.
8614 (eww-current-dom): New variable used to save the current DOM.
8616 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8618 * vc/log-edit.el (log-edit-mode-map): Add binding for
8619 `log-edit-beginning-of-line'.
8620 (log-edit-setup-add-author): New user option.
8621 (log-edit-beginning-of-line): New command.
8622 (log-edit): Move major mode call above the contents setup so that
8623 the local variable values are already applied.
8624 (log-edit): Only insert "Author: " when
8625 `log-edit-setup-add-author' is non-nil.
8626 (log-edit): When SETUP is non-nil, position point after ": "
8627 instead of point-min.
8629 2013-12-01 Glenn Morris <rgm@gnu.org>
8631 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8633 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8635 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8636 redisplay to make sure the initial frame gets a chance to become
8637 visible. (Bug#16014)
8639 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8641 Support resizing frames and windows pixelwise.
8642 * cus-start.el (frame-resize-pixelwise)
8643 (window-resize-pixelwise): New entries.
8644 * emacs-lisp/debug.el (debug): Use window-total-height instead
8645 of window-total-size.
8646 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8647 * help.el (describe-bindings-internal): Use help-buffer as
8648 argument for with-help-window.
8649 (temp-buffer-max-width): New option.
8650 (resize-temp-buffer-window, help-window-setup)
8651 (with-help-window): Rewrite.
8652 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8654 * window.el (frame-char-size, window-min-pixel-height)
8655 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8656 (window-min-pixel-width, window-safe-min-pixel-size)
8657 (window-combination-p, window-safe-min-size)
8658 (window-resizable-p, window--size-to-pixel)
8659 (window--pixel-to-size, window--resize-apply-p): New functions.
8660 (window-safe-min-height): Fix doc-string.
8661 (window-size, window-min-size, window--min-size-1)
8662 (window-sizable, window-sizable-p, window--min-delta-1)
8663 (window-min-delta, window--max-delta-1, window-max-delta)
8664 (window--resizable, window--resizable-p, window-resizable)
8665 (window-full-height-p, window-full-width-p, window-at-side-p)
8666 (window--in-direction-2, window-in-direction)
8667 (window--resize-reset-1, window--resize-mini-window)
8668 (window-resize, window-resize-no-error)
8669 (window--resize-child-windows-normal)
8670 (window--resize-child-windows, window--resize-siblings)
8671 (window--resize-this-window, window--resize-root-window)
8672 (window--resize-root-window-vertically)
8673 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8674 (maximize-window, minimize-window, delete-window)
8675 (quit-restore-window, window-split-min-size, split-window)
8676 (balance-windows-2, balance-windows)
8677 (balance-windows-area-adjust, balance-windows-area)
8678 (window--state-get-1, window-state-get, window--state-put-1)
8679 (window--state-put-2, window-state-put)
8680 (display-buffer-record-window, window--display-buffer):
8681 Make functions handle pixelwise sizing of windows.
8682 (display-buffer--action-function-custom-type)
8683 (display-buffer-fallback-action):
8684 Add display-buffer-in-previous-window.
8685 (display-buffer-use-some-window): Resize window to height it had
8687 (fit-window-to-buffer-horizontally): New option.
8688 (fit-frame-to-buffer): Describe new values.
8689 (fit-frame-to-buffer-bottom-margin): Replace with
8690 fit-frame-to-buffer-margins.
8691 (window--sanitize-margin): New function.
8692 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8693 using window-text-pixel-size.
8695 2013-11-30 Glenn Morris <rgm@gnu.org>
8697 * emacs-lisp/bytecomp.el (byte-compile-form):
8698 Make the `interactive-only' warning like the `obsolete' one.
8699 * comint.el (comint-run):
8700 * files.el (insert-file-literally, insert-file):
8701 * replace.el (replace-string, replace-regexp):
8702 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8703 (goto-line, insert-buffer, next-line, previous-line):
8704 Tweak `interactive-only' spec.
8706 Stop keeping (most) generated cedet grammar files in the repository.
8707 * Makefile.in (semantic): New.
8708 (compile-main): Depend on semantic.
8710 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8713 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8715 * uniquify.el (uniquify-buffer-name-style): Change default.
8717 * loadup.el: Preload "uniquify".
8719 * time.el (display-time-update): Update all mode lines (bug#15999).
8721 * electric.el (electric-indent-mode): Enable by default.
8722 * loadup.el: Preload "electric".
8724 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
8726 * emacs-lisp/helpers.el (string-empty-p): New function.
8727 (string-blank-p): New function.
8729 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
8731 * imenu.el (imenu--index-alist): Add missing dot to the docstring
8734 2013-11-29 Andreas Politz <politza@fh-trier.de>
8735 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8736 allow non-lambda lists as functions.
8737 (imenu--in-alist): Don't recurse into non-subalists.
8738 (imenu): Don't pass function itself as an argument (Bug#14029).
8740 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * progmodes/python.el (python-mode-map): Remove binding for ":".
8743 (python-indent-electric-colon): Remove command.
8744 (python-indent-post-self-insert-function): Integrate the previous code
8745 of python-indent-electric-colon. Make it conditional on
8746 electric-indent-mode.
8747 (python-mode): Add ?: to electric-indent-chars.
8748 Move python-indent-post-self-insert-function to the end of
8749 post-self-insert-hook.
8751 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * doc-view.el (doc-view-goto-page): Update mode-line.
8755 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8757 2013-11-27 Glenn Morris <rgm@gnu.org>
8759 * international/charprop.el, international/uni-bidi.el:
8760 * international/uni-category.el, international/uni-combining.el:
8761 * international/uni-comment.el, international/uni-decimal.el:
8762 * international/uni-decomposition.el, international/uni-digit.el:
8763 * international/uni-lowercase.el, international/uni-mirrored.el:
8764 * international/uni-name.el, international/uni-numeric.el:
8765 * international/uni-old-name.el, international/uni-titlecase.el:
8766 * international/uni-uppercase.el:
8767 Remove generated files from VCS repository.
8769 2013-11-27 Eli Zaretskii <eliz@gnu.org>
8771 * filenotify.el (file-notify-add-watch): Don't special-case
8772 w32notify when computing the directory to watch.
8774 2013-11-27 Glenn Morris <rgm@gnu.org>
8776 Make bootstrap without generated uni-*.el files possible again.
8777 * loadup.el: Update command-line-args checking for unidata-gen.
8778 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8779 * composite.el, international/characters.el:
8780 Handle unicode tables being undefined.
8782 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8783 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8784 (compile-main): Depend on leim rule.
8786 * loadup.el: Move leim-list.el to leim/ subdirectory.
8787 * startup.el (normal-top-level): No more leim directory.
8788 * international/ja-dic-cnv.el (skkdic-convert):
8789 Disable version-control and autoloads in output files.
8790 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8791 Disable version-control and autoloads in output files.
8792 * leim/quail: Move here from ../leim.
8793 * leim/quail/hangul.el (hangul-input-method-activate):
8794 Add autoload cookie.
8795 (generated-autoload-load-name): Set file-local value.
8796 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8797 (generated-autoload-load-name): Set file-local value.
8799 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
8801 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8802 (eww-add-bookmark): Ask confirmation when add to bookmarks.
8803 (eww-quit): Ask confirmation before quitting eww.
8805 2013-11-26 Eli Zaretskii <eliz@gnu.org>
8807 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8808 reading output from Diff on MS-Windows and MS-DOS.
8810 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
8812 * emacs-lisp/helpers.el (string-reverse): New function.
8814 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
8816 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8817 names on MS Windows, like "/[::1]:".
8819 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8822 2013-11-26 Glenn Morris <rgm@gnu.org>
8824 * progmodes/python.el (python-indent-guess-indent-offset):
8825 Avoid corner-case error. (Bug#15975)
8827 Preload leim-list.el. (Bug#4789)
8828 * loadup.el: Load leim-list.el when found.
8829 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8831 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
8833 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8835 * emacs-lisp/helpers.el (string-join): New function.
8837 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
8839 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8840 Mark as obsolete and replace it with a symbol property.
8841 (byte-compile-form): Use new 'interactive-only property.
8842 * comint.el, files.el, replace.el, simple.el:
8843 Apply new 'interactive-only properly.
8845 2013-11-25 Martin Rudalics <rudalics@gmx.at>
8847 * window.el (display-buffer-at-bottom): Make sure that
8848 split-window-sensibly creates the new window on bottom
8851 2013-11-23 David Kastrup <dak@gnu.org>
8853 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8854 on the conflict markers when available.
8855 (smerge--get-marker): New function.
8856 (smerge-end-re, smerge-base-re): Add subgroup.
8858 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * frame.el (handle-focus-in, handle-focus-out): Add missing
8863 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
8865 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8866 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8868 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8870 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
8871 (gomoku--last-pos): New var.
8872 (gomoku--intangible-chars): New const.
8873 (gomoku--intangible): New function.
8874 (gomoku-mode): Use it. Derive from special-mode.
8875 (gomoku-move-up): Adjust line count.
8876 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8877 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8878 Simplify accordingly.
8880 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8881 Remove blink-cursor code.
8882 (blink-cursor-timer-function, blink-cursor-suspend):
8883 Don't special-case GUIs.
8884 (blink-cursor-mode): Use focus-in/out-hook.
8886 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
8888 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8889 work when annotation is invisible (Bug#13886).
8891 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
8893 * json.el (json-alist-p): Only return non-nil if the alist has
8894 simple keys (Bug#13518).
8896 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
8898 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8899 when control-statement is the first statement in a buffer (Bug#15956).
8901 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
8903 * imenu.el (imenu-generic-skip-comments-and-strings):
8904 New option (Bug#15560).
8905 (imenu--generic-function): Use it.
8907 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
8909 * minibuffer.el (completion--in-region-1): Scroll the correct window.
8912 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
8914 * emacs-lisp/helpers.el: Add some string helpers.
8915 (string-trim-left): Removes leading whitespace.
8916 (string-trim-right): Removes trailing whitespace.
8917 (string-trim): Removes leading and trailing whitespace.
8919 * subr.el (string-suffix-p): New function.
8921 2013-11-23 Glenn Morris <rgm@gnu.org>
8923 * progmodes/python.el (python-shell-send-file):
8924 Add option to delete file when done. (Bug#15647)
8925 (python-shell-send-string, python-shell-send-region): Use it.
8927 2013-11-23 Ivan Shmakov <ivan@siamics.net>
8929 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8930 to set buffer-read-only to t, never to nil. (Bug#15938)
8932 * textmodes/tex-mode.el (latex-noindent-environments):
8933 Add safe-local-variable property. (Bug#15936)
8935 2013-11-23 Glenn Morris <rgm@gnu.org>
8937 * textmodes/enriched.el (enriched-mode): Doc fix.
8938 * emacs-lisp/authors.el (authors-renamed-files-alist):
8939 Add enriched.doc -> enriched.txt.
8941 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8943 2013-11-22 Leo Liu <sdl.web@gmail.com>
8945 * progmodes/octave.el (inferior-octave-startup): Spit out error
8948 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
8950 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8953 (ruby-encoding-magic-comment-style): Add :version.
8955 2013-11-22 Leo Liu <sdl.web@gmail.com>
8957 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8959 (octave-help-mode): Adapt to change to help-mode-finish to use
8960 derived-mode-p on 2013-09-17.
8961 (inferior-octave-prompt): Also match octave-gui.
8962 (octave-kill-process): Don't ask twice. (Bug#10564)
8964 2013-11-22 Leo Liu <sdl.web@gmail.com>
8966 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8967 (inferior-octave-startup, inferior-octave-check-process)
8968 (inferior-octave-track-window-width-change)
8969 (octave-completion-at-point, octave-eldoc-function): Use it.
8970 (octave-kill-process): Provide confirmation. (Bug#10564)
8972 2013-11-21 Leo Liu <sdl.web@gmail.com>
8974 * progmodes/octave.el (octave-mode, inferior-octave-mode):
8975 Fix obsolete variable comment-use-global-state.
8977 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8979 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8980 Add `octave-source-file'.
8981 (octave-source-file): New function. (Bug#15935)
8983 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
8985 * net/eww.el (eww-local-regex): New variable.
8986 (eww): Use it to detect localhost and similar.
8988 2013-11-21 Leo Liu <sdl.web@gmail.com>
8990 Add completion for command `ag'.
8991 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8992 (pcomplete/ag): New function.
8993 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
8995 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8997 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8999 (make-obsolete): Remove interactive spec.
9001 2013-11-21 Glenn Morris <rgm@gnu.org>
9003 * startup.el (command-line-1): Use path-separator with -L.
9005 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
9007 * emacs-lisp/package.el (describe-package-1): Add package archive
9010 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
9012 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9013 Change default to "# encoding: %s" to differentiate it from the
9014 default Ruby encoding comment template.
9016 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
9018 * ses.el (ses-mode): Doc fix. (Bug#14748)
9020 2013-11-20 Leo Liu <sdl.web@gmail.com>
9022 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
9024 2013-11-19 Dan Nicolaescu <dann@gnu.org>
9026 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
9027 when rebase or bisect are in progress.
9029 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
9031 * filenotify.el (file-notify-add-watch): Doc fix.
9033 2013-11-19 Leo Liu <sdl.web@gmail.com>
9035 * obsolete/rcompile.el: Mark obsolete.
9037 * progmodes/compile.el (compilation-start)
9038 (compilation-goto-locus, compilation-find-file):
9039 Pass no-display-ok and handle nil value from display-buffer.
9042 * window.el (display-buffer-alist, display-buffer): Document the
9043 new parameter no-display-ok. Return either a window or nil
9044 but never a non-window value.
9046 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9048 * electric.el (electric-indent-mode-map): Remove.
9049 (electric-indent-mode): Change the global-map instead (bug#15915).
9051 * textmodes/text-mode.el (paragraph-indent-minor-mode):
9054 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * emacs-lisp/nadvice.el (remove-function): Align with
9057 add-function's behavior.
9059 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
9060 (gdb--string-regexp): New constant.
9061 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
9062 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
9063 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
9065 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
9066 Adjust use accordingly.
9067 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
9069 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
9071 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
9072 interpolation curlies (Bug#15914).
9074 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
9076 * calc/calc.el (calc-context-sensitive-enter): New variable.
9077 (calc-enter): Use `calc-context-sensitive-enter'.
9079 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
9081 * progmodes/cfengine.el: Version bump.
9082 (cfengine-cf-promises): New defcustom to locate cf-promises.
9083 (cfengine3-vartypes): Add new "data" type.
9084 (cfengine3--current-word): New function to get current name-like
9086 (cfengine3--current-function): New function to look up a CFEngine
9087 function's definition.
9088 (cfengine3-format-function-docstring): New function.
9089 (cfengine3-make-syntax-cache): New function.
9090 (cfengine3-documentation-function): New function: ElDoc glue.
9091 (cfengine3-completion-function): New function: completion glue.
9092 (cfengine3-mode): Set `compile-command',
9093 `eldoc-documentation-function', and add to
9094 `completion-at-point-functions'.
9096 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
9098 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9099 `tramp-current-connection'.
9101 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
9103 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
9104 nil/self/true/false with "end of symbol".
9106 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
9108 * subr.el (version-regexp-alist): Fix a typo.
9110 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
9112 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
9113 "en_US.utf8" and "LC_CTYPE" to "".
9114 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
9115 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
9117 2013-11-15 Leo Liu <sdl.web@gmail.com>
9119 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
9121 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9123 * progmodes/gud.el (ctl-x-map):
9124 Remove C-x SPC binding. (Bug#12342)
9125 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
9127 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
9129 * subr.el (version-regexp-alist):
9130 Recognize hg, svn and darcs versions as snapshot versions.
9132 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
9133 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
9134 (ruby--encoding-comment-required-p): Extract from
9135 `ruby-mode-set-encoding'.
9136 (ruby-mode-set-encoding): Add the ability to always insert an
9137 utf-8 encoding comment. Fix and simplify coding comment update
9140 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
9142 * net/tramp-gvfs.el (top): Run init code only when
9143 `tramp-gvfs-enabled' is not nil.
9144 (tramp-gvfs-enabled): Check also :system bus.
9146 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9148 Sync with upstream verilog-mode revision 78e66ba.
9149 * progmodes/verilog-mode.el (verilog-end-of-defun)
9150 (verilog-type-completion, verilog-get-list): Remove unused funcs.
9151 (verilog-get-end-of-defun): Remove unused argument.
9152 (verilog-comment-depth): Remove unused local `e'.
9153 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9154 Don't pass arg to verilog-get-end-of-defun.
9156 2013-11-14 Glenn Morris <rgm@gnu.org>
9158 * obsolete/assoc.el (aget): Prefix dynamic variable.
9160 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9162 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9164 * widget.el, hfy-cmap.el: Remove bogus package version number.
9166 2013-11-13 Glenn Morris <rgm@gnu.org>
9168 * replace.el (replace-eval-replacement):
9169 Try to give more helpful error message. (Bug#15836)
9171 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9172 (archive-7z-update): Avoid custom type mismatches.
9174 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9176 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
9178 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9179 address can be empty.
9181 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9182 Accept nil SWITCHES.
9183 (tramp-gvfs-handle-write-region): Implement APPEND.
9185 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
9187 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9188 binary "|" operator and closing block args delimiter.
9189 Remove FIXME comment referring to Ruby 1.8-only syntax.
9190 (ruby-smie--implicit-semi-p): Not after "|" operator.
9191 (ruby-smie--closing-pipe-p): New function.
9192 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9193 (ruby-smie-rules): Indent after "|".
9195 2013-11-12 Glenn Morris <rgm@gnu.org>
9197 * ps-print.el (ps-face-attribute-list):
9198 Handle anonymous faces. (Bug#15827)
9200 2013-11-12 Martin Rudalics <rudalics@gmx.at>
9202 * window.el (display-buffer-other-frame): Fix doc-string.
9205 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * subr.el (force-mode-line-update): Delete, move to buffer.c.
9209 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
9211 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9212 (tramp-sh-handle-file-local-copy): Don't write a message when
9213 saving temporary files.
9215 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9216 both directories are remote.
9217 (tramp-smb-handle-directory-files): Do not return double entries.
9218 Do not expand full file names.
9219 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9220 (tramp-smb-handle-write-region): Implement APPEND.
9221 (tramp-smb-get-stat-capability): Fix a stupid bug.
9223 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9227 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9229 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9230 throwing error over malformed let/let* (bug#15814).
9232 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9234 * iswitchb.el (iswitchb-mode): Mark obsolete.
9236 2013-11-11 Glenn Morris <rgm@gnu.org>
9238 * international/uni-bidi.el, international/uni-category.el:
9239 * international/uni-name.el, international/uni-numeric.el:
9240 Regenerate for Unicode 6.3.0.
9242 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
9244 * net/tramp.el (tramp-methods):
9245 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9246 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
9248 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
9250 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9251 Force highlighting text after Summary keyword in doc face for rpm.
9253 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
9255 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9256 available and the word has no wildcards, append one to the grep pattern.
9257 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9258 (ispell-complete-word): Call `ispell-lookup-words' with the value
9259 independent of `ispell-look-p'.
9261 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9263 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9265 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9268 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
9271 (ruby-font-lock-keywords): Use backquote.
9273 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9275 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9276 (ruby-smie--backward-token): Only consider full-string matches.
9278 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
9280 * faces.el (describe-face): Add distant-foreground.
9282 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
9284 * progmodes/ruby-mode.el: Improve encoding comment handling.
9285 (ruby-encoding-magic-comment-style): New option.
9286 (ruby-custom-encoding-magic-comment-template): New option.
9287 (ruby--insert-coding-comment, ruby--detect-encoding):
9288 New functions extracted from `ruby-mode-set-encoding'.
9289 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9290 to control the style of the auto-inserted encoding comment.
9292 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9294 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9295 Use `smie-backward-sexp' with token argument.
9297 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9299 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9300 Remove instrumentation code.
9302 2013-11-08 Glenn Morris <rgm@gnu.org>
9304 * progmodes/autoconf.el (autoconf-mode):
9305 Tweak comment-start-skip. (Bug#15822)
9307 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9309 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9310 at bobp (bug#15826).
9311 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9313 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9315 * man.el (Man-start-calling): New macro, extracted from
9316 Man-getpage-in-background.
9317 (Man-getpage-in-background): Use it.
9318 (Man-update-manpage): New command.
9319 (Man-mode-map): Bind it.
9321 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9323 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9324 of "and", "or", "&&" and "||".
9325 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9326 argument. Prohibit opening curly brace because it could only be a
9327 block opener in that position.
9328 (ruby-smie--forward-token, ruby-smie--backward-token):
9329 Separate "|" from "&" or "*" going after it. That can happen in block
9331 (ruby-smie--indent-to-stmt): New function, seeks the end of
9332 previous statement or beginning of buffer.
9333 (ruby-smie-rules): Use it.
9334 (ruby-smie-rules): Check if there's a ":" before a curly block
9335 opener candidate; if there is, it's a hash.
9337 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9339 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9340 (cl--block-wrapper): Fix last accidental change.
9342 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9344 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9345 Instrument, in order to hunt failure on hydra.
9347 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9349 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9350 malformed bindings form (bug#15814).
9352 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9354 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9355 "." compared to " @ ". This incidentally fixes some indentation
9357 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9358 (ruby-smie-grammar): New tokens: "and" and "or".
9359 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9360 Exclude "and" and "or". Remove "do" in order to work around token
9362 (ruby-smie-rules): Add all infix tokens. Handle the case of
9363 beginning-of-buffer.
9365 2013-11-06 Glenn Morris <rgm@gnu.org>
9367 * Makefile.in (setwins_almost, setwins_for_subdirs):
9368 Avoid accidental matches.
9370 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * menu-bar.el (popup-menu): Use key-binding.
9374 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9376 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9377 menus, support also the menus produced by minor modes.
9380 2013-11-06 Leo Liu <sdl.web@gmail.com>
9382 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9383 DISTANCE to bound the search. All uses changed. (Bug#15808)
9385 2013-11-06 Glenn Morris <rgm@gnu.org>
9387 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9388 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9389 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9391 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * electric.el (electric-indent-just-newline): New command.
9394 (electric-indent-mode-map): New keymap.
9395 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9396 Re-add :group which weren't redundant.
9398 * electric.el (electric-indent-local-mode): New minor mode.
9399 (electric-indent-functions-without-reindent): New var.
9400 (electric-indent-post-self-insert-function): Use it.
9401 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9403 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9405 * international/quail.el (quail-help): Be more explicit about the
9406 meaning of the labels shown on the keys. (Bug#15800)
9408 * startup.el (normal-top-level): Load the subdirs.el files before
9409 setting the locale environment. (Bug#15805)
9411 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9414 via arguments so as to get the right ones (bug#15418).
9416 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9418 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9420 Fix problems found while writing a test suite.
9422 * net/tramp-compat.el (tramp-compat-load): New defun.
9423 * net/tramp.el (tramp-handle-load): Use it.
9425 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9426 "(numberp ok-if-already-exists)" correctly.
9428 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9430 * international/characters.el (glyphless-char-display-control):
9433 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9435 * progmodes/python.el (python-mode):
9436 * progmodes/scheme.el (scheme-mode):
9437 * progmodes/prolog.el (prolog-mode):
9438 * progmodes/ruby-mode.el (ruby-mode):
9439 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9440 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9442 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9444 * rect.el (rectangle--highlight-for-redisplay):
9445 * emacs-lisp/smie.el (smie--next-indent-change):
9446 Use buffer-chars-modified-tick.
9448 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9450 * electric.el (electric-indent-post-self-insert-function):
9451 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9453 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9455 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9457 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9459 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9462 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9464 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9466 * progmodes/python.el: Fix up last change.
9467 (python-shell--save-temp-file): New function.
9468 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9469 `string' comes from the current buffer.
9470 (python-shell-send-string-no-output): Remove `msg' arg.
9471 (python--use-fake-loc): New var.
9472 (python-shell-buffer-substring): Obey it. Try to compensate for the
9473 extra coding line added by python-shell--save-temp-file.
9474 (python-shell-send-region): Use python-shell--save-temp-file and
9475 python-shell-send-file directly. Add `nomain' argument.
9476 (python-shell-send-buffer): Use python-shell-send-region.
9477 (python-electric-pair-string-delimiter): New function.
9478 (python-mode): Use it.
9480 2013-11-04 Eli Zaretskii <eliz@gnu.org>
9482 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9483 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9484 environment and decoding all of the default-directory's to here
9486 (command-line): Decode also argv[0].
9488 * loadup.el: Error out if default-directory is a multibyte string
9489 when we are dumping.
9491 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
9493 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
9495 * emacs-lisp/package.el (package-menu-mode)
9496 (package-menu--print-info, package-menu--archive-predicate):
9497 Add Archive column to package list.
9499 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
9501 Fix problems found while writing a test suite.
9503 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9504 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9505 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9506 to nil when running original file name handler. Otherwise,
9507 there are problems with constructs like "$$FOO".
9509 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9512 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
9514 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9516 * subr.el (version<, version<=, version=):
9517 Update docstrings with information for snapshot versions.
9519 * helpers.el: New library for misc helper functions.
9520 (hash-table-keys): New function returning a list of hash keys.
9521 (hash-table-values): New function returning a list of hash values.
9523 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
9525 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9526 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9528 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
9530 * textmodes/fill.el (fill-single-char-nobreak-p): New function
9531 checking whether point is after a 1-letter word.
9533 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9535 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9536 Don't infloop when expanding region over `multiline' syntax-type that
9537 begins a line (bug#15778).
9539 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9541 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9542 Make it into a proper minor mode.
9543 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9544 (rectangle-mark-mode-map): New keymap.
9545 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9547 2013-11-04 Glenn Morris <rgm@gnu.org>
9549 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9551 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
9553 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9554 (ruby-smie-rules): Use smie-rule-parent instead.
9556 * emacs-lisp/smie.el (smie-rule-parent): Always call
9557 smie-indent-virtual rather than only for hanging tokens.
9558 (smie--next-indent-change): New helper command.
9560 2013-11-03 Glenn Morris <rgm@gnu.org>
9562 * Makefile.in (abs_srcdir): Remove.
9563 (emacs): Unset EMACSLOADPATH.
9565 2013-11-02 Glenn Morris <rgm@gnu.org>
9567 * Makefile.in (EMACS): Use a relative filename.
9568 (abs_top_builddir): Remove.
9569 (custom-deps, finder-data, autoloads): Use --chdir.
9571 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9573 Use relative filenames in TAGS files.
9574 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9575 (lisptagsfiles4, TAGS): Use relative file names.
9576 (TAGS-LISP): Remove.
9577 (maintainer-clean): No more TAGS-LISP file.
9579 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9580 (lisptagsfiles4): Use absolute filenames again.
9581 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9582 Remove all *loaddefs files, not just the first. Remove esh-groups.
9583 (maintainer-clean): Delete TAGS, TAGS-LISP.
9585 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9587 * emacs-lisp/package.el (package-version-join):
9588 Recognize snapshot versions.
9590 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9592 * subr.el (version-regexp-alist): Add support for snapshot versions.
9594 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9596 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9597 New function, replacement for `smie-rule-parent' for when we want to
9598 skip over our direct parent if it's an assignment token..
9599 (ruby-smie-rules): Use it.
9601 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9603 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9604 unconditionally. Remove now unnecessary forward declarations.
9605 Remove XEmacs-specific setup.
9606 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9607 (ruby-font-lock-syntactic-keywords)
9608 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9609 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9610 (ruby-here-doc-end-syntax): Remove.
9611 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9612 defined as function.
9614 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9616 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9618 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9620 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9621 table and abbrev table, `define-derived-mode' does that for us
9624 2013-11-01 Glenn Morris <rgm@gnu.org>
9626 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9627 files is atomic for some time, so no parallel compilation issues).
9629 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9631 * faces.el (face-x-resources): Add :distant-foreground.
9632 (region): Use :distant-foreground for gtk and ns.
9634 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9636 Allow multiple bibliographies when BibLaTeX is used rather than
9638 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9639 (reftex-locate-bibliography-files): Us it.
9641 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9643 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9644 allow comments in pbm files.
9646 * term/w32-win.el (dynamic-library-alist): Support newer versions
9647 of libjpeg starting with v7: look only for the DLL from the
9648 version against which Emacs was built.
9649 Support versions of libpng beyond 1.4.x.
9650 Support libtiff v4.x.
9652 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9654 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9655 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9657 (ruby-deep-arglist): Add property :type.
9659 2013-10-31 Glenn Morris <rgm@gnu.org>
9661 * Makefile.in (custom-deps, finder-data): No need to setq the target
9662 variables, we are in the right directory and the defaults work fine.
9664 2013-10-30 Glenn Morris <rgm@gnu.org>
9666 * Makefile.in (autoloads): Do not use abs_lisp.
9668 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9669 `newline' does not respect `standard-output', so use `princ'.
9671 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9673 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9674 * buff-menu.el (Buffer-menu--unmark): New function.
9675 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9677 2013-10-30 Glenn Morris <rgm@gnu.org>
9679 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9681 * emacs-lisp/package.el (lm-homepage): Declare.
9683 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9686 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9688 * Makefile.in (finder-data, autoloads, update-subdirs)
9689 (compile-main, compile-clean, compile-always, bootstrap-clean):
9690 Check return value of cd.
9691 (compile-calc): Remove.
9693 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9697 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9698 (byte-compile-and-folded): New function.
9699 (=, <, >, <=, >=): Use it.
9701 * dos-w32.el (minibuffer-history-case-insensitive-variables)
9702 (path-separator, null-device, buffer-file-coding-system)
9703 (lpr-headers-switches): Check system-type before modifying them.
9704 (find-buffer-file-type-coding-system): Mark obsolete.
9705 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9706 find-file-not-found-set-buffer-file-coding-system.
9707 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9708 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9709 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9710 (w32-direct-print-region-helper, w32-direct-print-region-function)
9711 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9712 * startup.el (normal-top-level-add-subdirs-to-load-path):
9713 * ps-print.el (ps-print-region-function):
9714 * lpr.el (print-region-function): Use new name.
9716 * subr.el (custom-declare-variable-early): Remove function.
9717 (custom-declare-variable-list): Remove var.
9718 (error, user-error): Remove `while' loop.
9719 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9720 (user-emacs-directory-warning, locate-user-emacs-file):
9722 * simple.el (read-quoted-char-radix, read-quoted-char):
9723 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9725 * custom.el (custom-declare-variable-list): Don't process
9726 custom-declare-variable-list.
9728 * progmodes/python.el (python-shell-get-buffer): New function.
9729 (python-shell-get-process): Use it.
9730 (python-shell-send-string): Always use utf-8 and add a cookie to tell
9731 Python which encoding was used. Don't split-string since we only care
9732 about the first line. Return the temp-file, if applicable.
9733 (python-shell-send-region): Tell compile.el how to turn locations in
9734 the temp-file into locations in the source buffer.
9736 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * subr.el (undefined): Add missing behavior from the C code for
9741 * rect.el: Use lexical-binding. Add new rectangular region support.
9742 (rectangle-mark): New command.
9743 (rectangle--region): New var.
9744 (deactivate-mark-hook): Reset rectangle--region.
9745 (rectangle--extract-region, rectangle--insert-for-yank)
9746 (rectangle--highlight-for-redisplay)
9747 (rectangle--unhighlight-for-redisplay): New functions.
9748 (region-extract-function, redisplay-unhighlight-region-function)
9749 (redisplay-highlight-region-function): Use them to handle
9751 * simple.el (region-extract-function): New var.
9752 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9753 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9754 (kill-region): Replace obsolete `yank-handler' arg with `region'.
9755 (copy-region-as-kill, kill-ring-save): Add `region' argument.
9756 (redisplay-unhighlight-region-function)
9757 (redisplay-highlight-region-function): New vars.
9758 (redisplay--update-region-highlight): New function.
9759 (pre-redisplay-function): Use it.
9760 (exchange-point-and-mark): Don't deactivate the mark before
9761 reactivate-it anyway.
9762 * comint.el (comint-kill-region): Remove yank-handler argument.
9763 * delsel.el (delete-backward-char, backward-delete-char-untabify)
9764 (delete-char): Remove property, since it's now part of their
9766 (self-insert-iso): Remove property since this command doesn't exist.
9768 * emacs-lisp/package.el (package--download-one-archive)
9769 (describe-package-1): Don't query the user about final newline.
9771 2013-10-29 Daniel Colascione <dancol@dancol.org>
9773 * net/tramp.el (tramp-methods): Document new functionality.
9774 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9775 tramp-hostname-checker if method provides one instead of scanning
9776 argument list for "%h" to decide hostname acceptability.
9778 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
9780 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9781 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9782 Handle COPY-CONTENTS. (Bug#15737)
9784 2013-10-28 Daiki Ueno <ueno@gnu.org>
9786 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9787 Document that this option has no effect with GnuPG 2.0 (bug#15552).
9789 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
9791 * image.el (defimage, image-load-path): Doc fixes.
9793 2013-10-27 Alan Mackenzie <acm@muc.de>
9795 Indent statements in macros following "##" correctly.
9796 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9797 Modify the "#" arm of a cond form to handle "#" and "##" operators.
9799 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9801 * linum.el (linum-update-window): Fix boundary test (bug#13446).
9803 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
9805 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9806 after `=' is probably a new expression.
9808 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9810 * man.el (man-imenu-title): New option.
9811 (Man-mode-map): Add menu. (Bug#15722)
9812 (Man-mode): Add imenu to menu.
9814 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
9816 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9817 specific in what the first arg can be: a non-keyword word,
9818 string/regexp/percent literal opener, opening paren, or unary
9819 operator followed directly by word.
9821 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9823 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9824 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9825 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9826 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9827 Remove vars, they do not apply any more.
9828 (prolog-mode-abbrev-table): Remove redundant declaration.
9829 (prolog-upper-case-string, prolog-lower-case-string): Remove.
9830 (prolog-use-smie): Remove.
9831 (prolog-smie-rules): Add indentation rule for the if-then-else layout
9832 supported by prolog-electric-if-then-else-flag.
9833 (prolog-mode-variables, prolog-menu): Use setq-local.
9834 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9835 Remove binding to `Backspace' since this key doesn't exist anyway.
9836 Remove bindings for electric self-inserting keys.
9837 (prog-mode): Assume it's defined.
9838 (prolog-post-self-insert): New function.
9839 (prolog-mode): Use it.
9840 (prolog-indent-line, prolog-indent-level)
9841 (prolog-find-indent-of-matching-paren)
9842 (prolog-indentation-level-of-line, prolog-goto-comment-column)
9843 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9844 (prolog-goto-next-paren, prolog-in-string-or-comment)
9845 (prolog-tokenize, prolog-inside-mline-comment)
9846 (prolog-find-start-of-mline-comment): Remove functions.
9847 (prolog-find-unmatched-paren, prolog-clause-end)
9848 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9849 (prolog-electric--if-then-else): Rename from
9850 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9851 (prolog-tokenize-searchkey): Remove const.
9852 (prolog-clause-info): Use forward-sexp.
9853 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9854 (prolog-electric-if-then-else): Remove commands.
9855 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9856 for use in post-self-insert-hook.
9857 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9858 for use in post-self-insert-hook.
9859 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9860 for use in post-self-insert-hook.
9861 (prolog-electric--underscore): Rename from prolog-electric--underscore;
9862 adapt it for use in post-self-insert-hook.
9864 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
9866 * emacs-lisp/ert.el (ert-run-tests-interactively):
9867 Use `completing-read'. (Bug#9756)
9869 2013-10-25 Eli Zaretskii <eliz@gnu.org>
9871 * simple.el (line-move): Call line-move-1 instead of
9872 line-move-visual when the current window hscroll is zero, but
9873 temporary-goal-column indicates we will need to hscroll as result
9874 of the movement. (Bug#15712)
9876 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
9878 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9879 capitalization. Use :visible instead of :active.
9880 Fix `ruby-indent-exp' reference. Add menu items for the generic
9881 commands that are used with SMIE.
9882 (ruby-do-end-to-brace): Insert space after `{'.
9884 2013-10-25 John Anthony <john@jo.hnanthony.com>
9886 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
9888 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
9890 2013-10-25 Glenn Morris <rgm@gnu.org>
9892 * vc/vc.el (vc-print-log): Don't use a working revision unless
9893 one was explicitly specified. (Bug#15322)
9895 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9897 * subr.el (add-to-list): Preserve return value in compiler-macro
9900 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9902 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9903 result. Ask user to retry using '-all' flag. (Bug#15701)
9905 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9907 * emacs-lisp/smie.el: New smie-config system.
9908 (smie-config): New defcustom.
9909 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9910 (smie-config-guess, smie-config-save): New commands.
9911 (smie-config--mode-local, smie-config--buffer-local)
9912 (smie-config--trace, smie-config--modefuns): New vars.
9913 (smie-config--advice, smie-config--mode-hook)
9914 (smie-config--setter, smie-config-local, smie-config--get-trace)
9915 (smie-config--guess-value, smie-config--guess): New functions.
9916 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9917 text properties. Treat "string fence" syntax like string syntax.
9919 * progmodes/sh-script.el (sh-use-smie): Change default.
9920 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9921 (sh-var-value): Simplify by CSE.
9922 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9923 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9925 (sh-guess-basic-offset): Use cl-incf.
9926 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9928 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
9930 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9933 2013-10-24 Glenn Morris <rgm@gnu.org>
9935 * Makefile.in (abs_top_srcdir): Remove.
9936 (update-subdirs): Use relative path to update-subdirs.
9938 2013-10-24 Eli Zaretskii <eliz@gnu.org>
9940 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9941 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9942 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9943 Call unmsys--file-name before expand-file-name, not after it.
9945 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
9947 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9948 (ert-test-skipped): New error.
9949 (ert-skip, ert-stats-skipped): New defuns.
9950 (ert--skip-unless): New macro.
9951 (ert-test-skipped): New struct.
9952 (ert--run-test-debugger, ert-test-result-type-p)
9953 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9954 (ert--stats-set-test-and-result, ert-char-for-test-result)
9955 (ert-string-for-test-result, ert-run-tests-batch)
9956 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9957 Handle skipped tests. (Bug#9803)
9959 2013-10-24 Glenn Morris <rgm@gnu.org>
9961 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9963 * Makefile.in (abs_top_srcdir): New, set by configure.
9964 (update-subdirs): Correct build-aux location.
9966 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
9968 * vc/vc.el (vc-print-root-log): Always set `default-directory'
9969 value, whether we could auto-deduce `backend', or not.
9971 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9972 with parameters" example. Simplify the "is it block or is it
9973 hash" check, but also make it more thorough.
9975 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
9977 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
9979 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
9981 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9984 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9987 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
9989 * progmodes/compile.el (compilation-directory-matcher)
9990 (compilation-page-delimiter):
9991 Support GNU Make-4.0 directory quoting. (Bug#15678)
9993 2013-10-23 Leo Liu <sdl.web@gmail.com>
9995 * ido.el (ido-tidy): Handle read-only text.
9997 2013-10-23 Glenn Morris <rgm@gnu.org>
9999 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
10000 (emacs, compile, compile-always):
10001 Quote entities that might contain whitespace.
10002 (custom-deps, finder-data, autoloads): Use abs_lisp.
10003 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10004 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10005 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10007 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
10009 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
10010 Use `following-char'.
10012 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
10015 * progmodes/ruby-mode.el (ruby-smie-rules):
10016 Remove corresponding workaround. Fix indentation rule of ";" so it
10017 also applies when ";" is the parent.
10019 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
10021 * frame.el (display-screens, display-pixel-height)
10022 (display-pixel-width, display-mm-width, display-backing-store)
10023 (display-save-under, display-planes, display-color-cells)
10024 (display-visual-class, display-monitor-attributes-list):
10025 Mention the optional ‘display’ argument in doc strings.
10027 2013-10-22 Michael Gauland <mikelygee@amuri.net>
10029 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
10030 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
10032 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10034 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
10035 TODO. Add "." after " @ ".
10036 (ruby-smie--at-dot-call): New function. Checks if point at method
10037 call with explicit target.
10038 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
10039 to the method name tokens when it precedes them.
10040 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
10041 (ruby-smie-rules): Add rule for indentation before and after "."
10044 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * textmodes/remember.el (remember-diary-extract-entries):
10049 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
10052 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10054 * progmodes/ruby-mode.el (ruby-smie-grammar):
10055 Add (almost) all infix operators.
10056 (ruby-smie--implicit-semi-p): Add new operator chars.
10058 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10060 (ruby-smie--args-separator-p): Check that there's no newline
10061 between method call and its arguments.
10063 2013-10-20 Alan Mackenzie <acm@muc.de>
10065 Allow comma separated lists after Java "implements".
10067 * progmodes/cc-engine.el (c-backward-over-enum-header):
10069 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
10070 from a "disallowed" list in enum fontification.
10072 2013-10-20 Johan Bockgård <bojohan@gnu.org>
10074 * startup.el (default-frame-background-mode): Remove unused defvar.
10076 * progmodes/verilog-mode.el (verilog-mode): Don't set
10077 comment-indent-function globally.
10079 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
10081 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
10082 Move Info menu item creation to ns-win.el.
10084 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
10087 * menu-bar.el: Move GNUstep specific menus...
10089 * term/ns-win.el (ns-initialize-window-system): ... to here.
10091 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * simple.el (newline): Only run post-self-insert-hook when
10094 called interactively.
10096 2013-10-19 Johan Bockgård <bojohan@gnu.org>
10098 * icomplete.el (icomplete-with-completion-tables): Add :version.
10100 2013-10-19 Alan Mackenzie <acm@muc.de>
10102 Fix fontification bugs with constructors and const.
10104 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
10105 CASE 2) Remove the check for the absence of a suffix construct
10106 after a function declaration with only types (no identifiers) in
10107 the parentheses. Also, accept a function declaration with just a
10108 type inside the parentheses, if this type can be positively
10109 recognised as such, or if a prefix keyword like "explicit" nails
10110 down the construct as a declaration.
10112 2013-10-19 Eli Zaretskii <eliz@gnu.org>
10114 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
10115 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
10116 the problem whereby selecting a menu item that leads to a
10117 minibuffer prompt moves the cursor out of the minibuffer window,
10118 making it hard to type at the prompt. Suggested by Stefan Monnier
10119 <monnier@iro.umontreal.ca>.
10121 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
10123 * menu-bar.el: Don't make Services menu.
10125 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10127 * ffap.el: Handle "/usr/include/c++/<version>" directories.
10128 (ffap-alist): Use ffap-c++-mode for c++-mode.
10129 (ffap-c++-path): New variable.
10130 (ffap-c++-mode): New function.
10132 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
10134 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
10136 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
10138 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10139 introduced on 2013-09-08, which results in an infinite loop
10140 requesting a password.
10142 2013-10-18 Glenn Morris <rgm@gnu.org>
10144 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10146 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
10148 Sync with upstream verilog-mode revision 1a6ecec7.
10149 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10150 (verilog-mode-release-date): Remove.
10151 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10152 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10153 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10154 (verilog-auto-tieoff-ignore-regexp)
10155 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10156 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10157 (verilog-signals-with, verilog-dir-cache-preserving)
10158 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10160 (verilog-case-fold): New option, to control case folding in
10161 regexp searches, bug597.
10162 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10163 (verilog-string-match-fold, verilog-in-paren-count)
10164 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10165 (verilog-at-close-struct-p): New functions.
10166 (verilog-beg-block-re-ordered, verilog-extended-case-re)
10167 (verilog-forward-sexp, verilog-set-auto-endcomments)
10168 (verilog-leap-to-case-head): Handle "unique0" case.
10169 (verilog-in-constraint-re): New constant.
10170 (verilog-keywords, verilog-type-font-keywords):
10171 Add some SystemVerilog 1800-2012 keywords.
10172 (verilog-label-be): Remove unimplemented argument, bug669.
10173 (verilog-batch-execute-func): When batch expanding clear
10174 create-lockfiles to prevent spurious user locks when a file ends
10176 (verilog-calculate-indent, verilog-calc-1)
10177 (verilog-at-close-constraint-p, verilog-at-constraint-p)
10178 (verilog-do-indent): Fix indentation of nested constraints
10180 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10181 (verilog-auto-inst-param): Use verilog-string-match-fold.
10182 (verilog-read-inst-module-matcher):
10183 Fix AUTOINST on gate primitives with #1.
10184 (verilog-read-decls): Fix double-declaring user-defined typed signals.
10185 Reads all user-defined typed variables.
10186 (verilog-read-defines): Fix reading definitions inside comments, bug647.
10187 (verilog-signals-matching-regexp)
10188 (verilog-signals-not-matching-regexp, verilog-auto):
10189 Respect verilog-case-fold.
10190 (verilog-diff-report): Fix line count.
10191 (verilog-auto-assign-modport): Remove unused local `modi'.
10192 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10193 better handle multidimensional arrays.
10194 Fix packed array ports misadding bit index in AUTOINST, bug637.
10195 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10196 to not double-declare existing outputs and inputs, respectively.
10197 (verilog-template-map): Bind U to verilog-sk-uvm-component.
10198 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10199 (verilog-sk-uvm-component): New skeleton.
10200 (verilog-submit-bug-report): Add verilog-case-fold,
10201 remove verilog-mode-release-date.
10203 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
10205 * subr.el (sit-for): Call (input-pending-p t) so as to behave
10208 2013-10-18 Reuben Thomas <rrt@sc3d.org>
10210 * textmodes/remember.el (remember): Set buffer-offer-save in
10211 remember buffers (bug#13566).
10213 2013-10-18 Daniel Colascione <dancol@dancol.org>
10215 When evaluating forms in ielm, direct standard output to ielm
10216 buffer. Add new ielm-return-for-effect command. Remove trailing
10217 whitespace throughout.
10219 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10220 (ielm-return-for-effect): New command.
10221 (ielm-send-input): Accept optional `for-effect' parameter.
10222 (ielm-eval-input): Accept optional `for-effect' parameter.
10223 Bind `standard-output' to stream we create using
10224 `ielm-standard-output-impl'. Suppress printing result when
10226 (ielm-standard-output-impl): New function.
10227 (inferior-emacs-lisp-mode): Explain new features in documentation.
10229 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
10233 * net/tramp.el (tramp-debug-message): Do not check for connection
10235 (tramp-message): Use "vector" connection property.
10237 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10238 (tramp-equal-remote, tramp-eshell-directory-change)
10239 * net/tramp-adb.el (tramp-adb-handle-copy-file)
10240 (tramp-adb-handle-rename-file)
10241 * net/tramp-cmds.el (tramp-list-remote-buffers)
10242 (tramp-cleanup-connection, tramp-cleanup-this-connection)
10243 * net/tramp-compat.el (tramp-compat-process-running-p)
10244 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10245 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10246 (tramp-gvfs-handle-rename-file)
10247 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10248 (tramp-set-file-uid-gid)
10249 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10250 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10251 of `file-remote-p'.
10253 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10254 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10255 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10256 (tramp-gw-open-network-stream): Suppress unrelated traces.
10258 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10259 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10260 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10261 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10262 connection property.
10264 * net/tramp-cache.el (top): Suppress traces when reading
10267 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10268 Refactor common code. Improve debug message.
10269 (tramp-maybe-open-connection)
10270 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10271 connection buffer too early.
10273 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10274 from `tramp-smb-actions-with-acl'.
10275 (tramp-smb-actions-set-acl): New defconst.
10276 (tramp-smb-handle-copy-directory)
10277 (tramp-smb-action-get-acl): New defun, renamed from
10278 `tramp-smb-action-with-acl'.
10279 (tramp-smb-action-set-acl): New defun.
10280 (tramp-smb-handle-set-file-acl): Rewrite.
10282 2013-10-17 Glenn Morris <rgm@gnu.org>
10284 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10286 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10288 * skeleton.el (skeleton-newline): Remove.
10289 (skeleton-internal-1): Use (insert "\n") instead.
10291 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10294 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10295 forward-sexp-function while we redo its job (bug#15613).
10297 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10299 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10300 represented by lists.
10302 2013-10-16 Glenn Morris <rgm@gnu.org>
10304 * tmm.el (tmm--history): New dynamic variable.
10305 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10307 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10309 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10310 (tramp-smb-errors): Add error messages.
10311 (tramp-smb-actions-with-acl): New defconst.
10312 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10313 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10314 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10315 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10316 (tramp-smb-get-stat-capability): Fix tests.
10318 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10320 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10323 2013-10-16 Glenn Morris <rgm@gnu.org>
10325 * ansi-color.el (ansi-color-drop-regexp):
10326 Add 1J, 1K, 2K. (Bug#15617)
10328 * files.el (hack-local-variables--warned-lexical): New.
10329 (hack-local-variables):
10330 Warn about misplaced lexical-binding. (Bug#15616)
10332 * net/eww.el (eww-render): Always set eww-current-url,
10333 and update header line. (Bug#15622)
10334 (eww-display-html): ... Rather than just doing it here.
10336 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10338 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10339 menu navigations commands.
10341 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10343 * progmodes/subword.el (subword-capitalize): Be careful when
10344 the search for [[:alpha:]] fails (bug#15580).
10346 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10348 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10349 to commands that scroll the menu.
10351 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10353 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10354 Handle methods ending with `?' and `!'.
10356 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10358 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10359 `japanese-cp932' to `cp932' to fix the problem where saving a
10360 source file written in Shift_JIS twice would end up having
10361 `coding: japanese-cp932' which Ruby could not recognize.
10362 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10363 in `ruby-encoding-map'.
10364 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10365 doesn't need to be explicitly declared in magic comment.
10366 (ruby-encoding-map): Add type declaration for better customize UI.
10368 2013-10-13 Glenn Morris <rgm@gnu.org>
10370 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10371 Occur buffers are read-only. http://bugs.debian.org/720775
10373 * emacs-lisp/authors.el (authors-fixed-entries):
10374 Comment out old alpha stuff.
10376 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10378 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10379 to `after-save-hook' instead of `before-save-hook'.
10380 (ruby-mode-set-encoding): Use the value of coding system used to
10381 write the file. Call `basic-save-buffer-1' after modifying the
10384 2013-10-13 Alan Mackenzie <acm@muc.de>
10386 Fix indentation/fontification of Java enum with
10387 "implements"/generic.
10389 * progmodes/cc-engine.el (c-backward-over-enum-header):
10390 Extracted from the three other places and enhanced to handle generics.
10391 (c-inside-bracelist-p): Uses new function above.
10392 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10394 (c-font-lock-enum-tail): Uses new function above.
10396 2013-10-13 Kenichi Handa <handa@gnu.org>
10398 * international/mule-cmds.el (select-safe-coding-system): Remove a
10399 superfluous condition in chekcing whether a coding system is safe
10402 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10404 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10406 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10408 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10410 2013-10-13 Glenn Morris <rgm@gnu.org>
10412 * menu-bar.el (menu-bar-update-buffers):
10413 Unify Buffers menu prompt string. (Bug#15576)
10415 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10417 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10419 (authors-fixed-entries): Use accented form of name.
10421 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10424 method calls (bug#15594).
10425 (ruby-smie--args-separator-p): New function.
10426 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10427 recognize paren-free method calls.
10429 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10430 internals of universal-argument.
10432 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10434 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10435 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10436 dropped menu on second mouse click on the menu bar.
10438 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10441 (explicit-shell-file-name): Declare.
10442 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10443 (sh-completion-at-point-function): New function.
10445 (sh-smie--keyword-p): Remove unused argument.
10446 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10448 (sh-set-shell): Always setup SMIE, even if we use the
10449 old indentation code.
10451 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10453 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10455 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10456 predicate would return nil are almost non-existent.
10457 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10459 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10460 cache also after commands that modify the buffer but don't move
10463 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * env.el (substitute-env-in-file-name): New function.
10466 (substitute-env-vars): Extend the meaning of the optional arg.
10468 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10470 * term/w32-win.el (dynamic-library-alist): Define separate lists
10471 of GIF DLLs for versions before and after 5.0.0 of giflib.
10474 2013-10-10 João Távora <joaotavora@gmail.com>
10476 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10477 not locked, use last revision and current source as
10478 defaults. (Bug#15569)
10480 2013-10-10 Masatake YAMATO <yamato@redhat.com>
10482 * menu-bar.el (menu-bar-open): Don't use popup-menu if
10483 menu-bar is hidden.
10485 2013-10-10 Martin Rudalics <rudalics@gmx.at>
10487 * window.el (pop-to-buffer-same-window): Fix doc-string.
10490 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10494 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
10496 * calendar/icalendar.el (icalendar-import-file):
10497 Fix interactive spec. (Bug#15482)
10499 2013-10-10 Glenn Morris <rgm@gnu.org>
10501 * desktop.el (desktop-save): Default to saving in .emacs.d,
10502 since PWD is no longer in desktop-path by default. (Bug#15319)
10504 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10505 now that text mode has a menu with the same entry.
10506 (menu-bar-text-mode-auto-fill): Remove now unused func.
10507 * textmodes/text-mode.el (text-mode-map):
10508 Use auto-fill help text from menu-bar.el.
10510 2013-10-10 John Anthony <john@jo.hnanthony.com>
10512 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
10514 2013-10-09 Juri Linkov <juri@jurta.org>
10516 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10517 instead of this-command-keys. Add universal-argument-more and
10518 universal-argument-minus to the list of prefix commands. (Bug#15568)
10520 2013-10-09 Glenn Morris <rgm@gnu.org>
10522 * vc/vc-svn.el (vc-svn-create-repo):
10523 Expand paths in file://... url. (Bug#15446)
10525 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10527 (authors): Remove unused local variables.
10529 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
10531 * profiler.el: Create a more coherent calltree from partial backtraces.
10532 (profiler-format): Hide the tail with `invisible' so that C-s can still
10533 find the hidden elements.
10534 (profiler-calltree-depth): Don't recurse so enthusiastically.
10535 (profiler-function-equal): New hash-table-test.
10536 (profiler-calltree-build-unified): New function.
10537 (profiler-calltree-build): Use it.
10538 (profiler-report-make-name-part): Indent the calltree less.
10539 (profiler-report-mode): Add visibility specs for profiler-format.
10540 (profiler-report-expand-entry, profiler-report-toggle-entry):
10541 Expand the whole subtree when provided with a prefix arg.
10543 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
10545 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10547 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10548 hanging iuwu-mod token.
10549 (ruby-smie--forward-token): Do not include a dot after a token in
10551 (ruby-smie--backward-token): Likewise.
10553 2013-10-08 Juri Linkov <juri@jurta.org>
10555 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10556 to isearch-other-control-char.
10557 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10558 and isearch-post-command-hook to post-command-hook.
10559 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10560 and isearch-post-command-hook from post-command-hook.
10561 (isearch-unread-key-sequence)
10562 (isearch-reread-key-sequence-naturally)
10563 (isearch-lookup-scroll-key, isearch-other-control-char)
10564 (isearch-other-meta-char): Remove functions.
10565 (isearch-pre-command-hook, isearch-post-command-hook):
10566 New functions based on isearch-other-meta-char rewritten
10567 relying on the new behavior of overriding-terminal-local-map
10568 that does not replace the local keymaps any more. (Bug#15200)
10570 2013-10-08 Eli Zaretskii <eliz@gnu.org>
10572 Support menus on text-mode terminals.
10573 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10576 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10578 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10579 Move here from mouse.el.
10580 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10582 (tty-menu-navigation-map): New map for TTY menu navigation.
10584 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10586 * frame.el (display-mouse-p): Report text-mode mouse as available
10588 (display-popup-menus-p): Report availability if mouse is
10589 available; don't condition on window-system.
10591 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10592 (tty-menu-selected-face): New faces.
10594 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10596 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10597 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10598 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10599 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10601 (lisp-mode-variables): New `elisp' argument.
10602 (emacs-lisp-mode): Use it.
10603 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10604 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10606 * indent.el: Use lexical-binding.
10607 (indent-region): Add progress reporter.
10608 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10610 (indent--next-tab-stop): New function to implement this behavior.
10611 (tab-to-tab-stop, move-to-tab-stop): Use it.
10613 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10615 * indent.el (indent-rigidly--current-indentation): New function.
10616 (indent-rigidly-map): New var.
10617 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10619 2013-10-08 Bastien Guerry <bzg@gnu.org>
10621 * register.el (insert-register): Fix 2013-10-07 change.
10623 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * progmodes/perl-mode.el: Use lexical-binding.
10626 Remove redundant :group args.
10627 (perl-nochange): Change default to be closer to other major modes's
10629 (perl-indent-line): Don't consider text on current line as a
10630 valid beginning of function from which to indent.
10632 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10633 with more than one argument (bug#15538).
10635 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10637 * vc/pcvs.el: Use lexical-binding.
10638 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10639 environment of `eval'.
10640 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10641 than a list of expressions. Adjust callers.
10642 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10644 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10646 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10647 case of the dot in a chained method call being on the following line.
10649 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10651 * electric.el (electric-indent-inhibit): New var.
10652 (electric-indent-post-self-insert-function): Use it.
10653 * progmodes/python.el (python-mode): Set it.
10655 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10658 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10660 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10661 (css-mode): Use electric-indent-chars.
10663 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10664 (font-lock-beg, font-lock-end): Move before first use.
10665 (nxml-mode): Use syntax-propertize-function.
10666 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10667 (nxml-extend-after-change-region): Remove.
10668 * nxml/xmltok.el: Use lexical-binding.
10669 (xmltok-save): Use `declare'.
10670 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10671 * nxml/nxml-util.el: Use lexical-binding.
10672 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10674 * nxml/nxml-ns.el: Use lexical-binding.
10675 (nxml-ns-save): Use `declare'.
10676 (nxml-ns-prefixes-for): Avoid add-to-list.
10677 * nxml/rng-match.el: Use lexical-binding.
10678 (rng--ipattern): Use cl-defstruct.
10679 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10680 (rng-cons-group-after, rng-subst-group-after)
10681 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10682 Use closures instead of `(lambda...).
10684 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
10686 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10689 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10690 Use `tramp-handle-insert-file-contents'.
10691 (tramp-gvfs-handle-insert-file-contents): Remove function.
10693 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10694 Use `save-restriction' in order to keep markers.
10696 * net/trampver.el: Update release number.
10698 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10700 * progmodes/compile.el (compilation-parse-errors):
10701 Use compilation--put-prop.
10702 (compilation--ensure-parse): Check compilation-multiline.
10704 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10706 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10709 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10711 * progmodes/ruby-mode.el: Fix recently added tests.
10712 (ruby-smie-grammar): Add - and +.
10713 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10714 (ruby-smie--backward-id): New functions.
10715 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10716 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
10719 2013-10-07 Leo Liu <sdl.web@gmail.com>
10721 * register.el (register-preview-delay)
10722 (register-preview-functions): New variables.
10723 (register-read-with-preview, register-preview)
10724 (register-describe-oneline): New functions.
10725 (point-to-register, window-configuration-to-register)
10726 (frame-configuration-to-register, jump-to-register)
10727 (number-to-register, view-register, insert-register)
10728 (copy-to-register, append-to-register, prepend-to-register)
10729 (copy-rectangle-to-register): Use register-read-with-preview to
10730 read register. (Bug#15525)
10732 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
10734 * net/network-stream.el (network-stream-open-starttls): Don't add
10735 --insecure if it's already present, because that gnutls-cli
10736 rejects getting that parameter twice.
10738 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
10740 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10743 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
10745 * newcomment.el (comment-use-global-state): Change default value
10746 to t, mark obsolete (Bug#15251).
10747 (comment-beginning): In addition to `comment-to-syntax', check the
10748 value of `comment-use-global-state'.
10750 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10752 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10753 (ruby-comment-column): Follow the global default, by default.
10754 (ruby-smie-grammar): Add assignment syntax.
10755 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10756 open-paren, a comma, or a \.
10757 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10758 and line continuations.
10759 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10760 followed by implicit semi-colons. Add rule for string concatenation
10761 and for indentation at BOB.
10762 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10764 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10765 calling next-sexp, since next-token may have skipped chars which
10766 next-sexp doesn't know should be skipped!
10768 2013-10-05 Leo Liu <sdl.web@gmail.com>
10770 * progmodes/octave.el (octave-send-region):
10771 Call compilation-forget-errors.
10773 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10775 * vc/vc-svn.el (vc-svn-find-admin-dir):
10776 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10777 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10778 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10779 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10781 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10785 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10787 * subr.el (read-passwd): Hide chars even when called within a context
10788 where after-change-functions is disabled (bug#15501).
10789 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10790 until we removed ourself from overriding-terminal-local-map.
10792 2013-10-04 Leo Liu <sdl.web@gmail.com>
10794 * progmodes/octave.el (inferior-octave-mode):
10795 Call compilation-forget-errors.
10797 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10799 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10801 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
10803 * net/secrets.el (secrets-create-collection): Add optional
10804 argument ALIAS. Use proper Label keyword. Append ALIAS as
10805 dbus-call-method argument. (Bug#15516)
10807 2013-10-04 Leo Liu <sdl.web@gmail.com>
10809 * progmodes/octave.el (inferior-octave-error-regexp-alist)
10810 (inferior-octave-compilation-font-lock-keywords): New variables.
10811 (compilation-error-regexp-alist)
10812 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10813 (inferior-octave-mode): Use compilation-shell-minor-mode.
10815 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
10817 * minibuffer.el (completion--replace): Be careful that `end' might be
10820 2013-10-03 Daiki Ueno <ueno@gnu.org>
10822 Add support for package signature checking.
10823 * emacs-lisp/package.el (url-http-file-exists-p)
10824 (epg-make-context, epg-context-set-home-directory)
10825 (epg-verify-string, epg-context-result-for)
10826 (epg-signature-status, epg-signature-to-string)
10827 (epg-check-configuration, epg-configuration)
10828 (epg-import-keys-from-file): Declare.
10829 (package-check-signature): New user option.
10830 (package-unsigned-archives): New user option.
10831 (package-desc): Add `signed' field.
10832 (package-load-descriptor): Set `signed' field if .signed file exists.
10833 (package--archive-file-exists-p): New function.
10834 (package--check-signature): New function.
10835 (package-install-from-archive): Check package signature.
10836 (package--download-one-archive): Check archive signature.
10837 (package-delete): Remove .signed file.
10838 (package-import-keyring): New command.
10839 (package-refresh-contents): Import default keyring.
10840 (package-desc-status): Add "unsigned" status.
10841 (describe-package-1, package-menu--print-info)
10842 (package-menu-mark-delete, package-menu--find-upgrades)
10843 (package-menu--status-predicate): Support "unsigned" status.
10845 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10848 the new compilation scheme using the new byte-codes.
10850 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10851 (byte-pophandler): New byte codes.
10852 (byte-goto-ops): Adjust accordingly.
10853 (byte-compile--use-old-handlers): New var.
10854 (byte-compile-catch): Use new byte codes depending on
10855 byte-compile--use-old-handlers.
10856 (byte-compile-condition-case--old): Rename from
10857 byte-compile-condition-case.
10858 (byte-compile-condition-case--new): New function.
10859 (byte-compile-condition-case): New function that dispatches depending
10860 on byte-compile--use-old-handlers.
10861 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10864 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10865 Optimize under `condition-case' and `catch' if
10866 byte-compile--use-old-handlers is nil.
10867 (disassemble-offset): Handle new bytecodes.
10869 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10871 * subr.el (error): Use `declare'.
10872 (decode-char, encode-char): Use advertised-calling-convention instead
10873 of the docstring to discourage use of the `restriction' arg.
10875 2013-10-03 Daiki Ueno <ueno@gnu.org>
10877 * epg.el (epg-verify-file): Add a comment saying that it does not
10878 notify verification error as a return value nor a signal.
10879 (epg-verify-string): Ditto.
10881 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10883 * progmodes/compile.el (compilation-start): Try globbing the arg to
10886 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
10888 Sync with Tramp 2.2.8.
10890 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10891 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10892 * net/trampver.el: Update release number.
10894 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
10896 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10897 and default-process-coding-system for darwin only.
10899 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
10901 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10903 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
10905 * vc/vc-git.el (vc-git-grep): Disable pager.
10907 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
10909 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10910 Use :url instead of :homepage, as per
10911 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10913 * newcomment.el (comment-beginning): When `comment-use-syntax' is
10914 non-nil, use `syntax-ppss' (Bug#15251).
10916 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10918 * progmodes/octave.el (inferior-octave-startup-file):
10919 Prefer ~/.emacs.d/init_octave.m.
10921 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
10923 * emacs-lisp/package.el (package-desc-from-define):
10924 Accept additional arguments as plist, convert them to an alist and store
10925 them in the `extras' slot.
10926 (package-generate-description-file): Convert extras alist back to
10927 plist and append to the `define-package' form arguments.
10928 (package--alist-to-plist): New function.
10929 (package--ac-desc): Add `extras' slot.
10930 (package--add-to-archive-contents): Check if the archive-contents
10931 vector is long enough, and if it is, pass its `extras' slot value
10932 to `package-desc-create'.
10933 (package-buffer-info): Call `lm-homepage', pass the returned value
10934 to `package-desc-from-define'.
10935 (describe-package-1): Render the homepage button (Bug#13291).
10937 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10938 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10940 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
10942 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10943 and default-process-coding-system to utf-8-unix (Bug#15402).
10945 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
10947 * subr.el (looking-back): Do not recommend using looking-back.
10949 2013-09-28 Alan Mackenzie <acm@muc.de>
10951 Fix indentation/fontification of Java enum with "implements".
10953 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10954 regexp which matches "implements", etc., in Java.
10955 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10956 specifier clauses coming after "enum".
10957 * progmodes/cc-fonts.el (c-font-lock-declarations)
10958 (c-font-lock-enum-tail): Check for extra specifier clauses coming
10961 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
10963 * faces.el (region): Change ns_selection_color to
10964 ns_selection_fg_color, add ns_selection_bg_color.
10966 2013-09-28 Leo Liu <sdl.web@gmail.com>
10968 * progmodes/octave.el (inferior-octave-completion-table)
10969 (inferior-octave-completion-at-point): Minor tweaks.
10971 * textmodes/ispell.el (ispell-lookup-words): Rename from
10972 lookup-words. (Bug#15460)
10973 (lookup-words): Obsolete.
10974 (ispell-complete-word, ispell-command-loop): All uses changed.
10976 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10978 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10979 (octave-mode-menu): Add octave-send-buffer.
10980 (octave-send-buffer): New function.
10982 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10984 * progmodes/octave.el (octave-mode-map): Add key binding for
10986 (octave-mode-menu): Add octave-lookfor.
10987 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10989 (octave-lookfor): New function.
10991 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10993 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10994 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10996 (cl--loop-set-iterator-function): New function.
10997 (cl-loop): Adjust accordingly, so as not to use cl-subst.
10998 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10999 Bind `it' with `let' instead of substituting it with `cl-subst'.
11000 (cl--unused-var-p): New function.
11001 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
11002 Eliminate some unused variable warnings (bug#15326).
11004 2013-09-27 Tassilo Horn <tsdh@gnu.org>
11006 * doc-view.el (doc-view-scale-reset): Rename from
11007 `doc-view-reset-zoom-level'.
11008 (doc-view-scale-adjust): New command.
11009 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
11010 `doc-view-scale-adjust'.
11012 2013-09-26 Tassilo Horn <tsdh@gnu.org>
11014 * doc-view.el (doc-view-reset-zoom-level): New command.
11015 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
11016 zoom commands (bug#15466).
11018 2013-09-26 Kenichi Handa <handa@gnu.org>
11020 * international/quail.el (quail-help): Make it not a command.
11022 2013-09-26 Leo Liu <sdl.web@gmail.com>
11024 * minibuffer.el (completion-all-sorted-completions): Make args
11025 optional as they are.
11027 2013-09-25 Daniel Colascione <dancol@dancol.org>
11029 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
11030 specs are and that they're not evaluated.
11032 2013-09-24 Sam Steingold <sds@gnu.org>
11034 * midnight.el (clean-buffer-list-kill-regexps)
11035 (clean-buffer-list-kill-buffer-names): Update for the new Man
11036 buffer naming which includes the object name.
11038 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11040 * eshell/esh-cmd.el (eshell--sep-terms): New var.
11041 (eshell-parse-command, eshell-parse-pipeline): Use it since
11042 eshell-separate-commands requires a dynamic scoped var.
11043 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
11045 2013-09-23 Leo Liu <sdl.web@gmail.com>
11047 * autoinsert.el (auto-insert-alist): Make the value of
11048 lexical-binding match its file setting.
11050 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
11052 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
11054 * autoarg.el (autoarg-kp-digit-argument):
11055 * electric.el (Electric-command-loop):
11056 * kmacro.el (kmacro-step-edit-insert):
11057 Do not set universal-argument-num-events.
11059 2013-09-22 Leo Liu <sdl.web@gmail.com>
11061 * files.el (interpreter-mode-alist): Add octave.
11063 2013-09-21 Alan Mackenzie <acm@muc.de>
11065 C++: fontify identifier in declaration following "public:" correctly.
11066 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
11067 to match "public", etc.
11068 (c-decl-prefix-re): Add ":" into the C++ value.
11069 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
11070 bit. Add a check for a ":" preceded by "public", etc.
11072 2013-09-21 Eli Zaretskii <eliz@gnu.org>
11074 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
11075 recognized by GDB 7.5 and later.
11077 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
11079 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
11081 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11083 * subr.el (internal--call-interactively): New const.
11084 (called-interactively-p): Use it (bug#3984).
11086 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
11088 * vc/pcvs.el (cvs-mode-ignore):
11089 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
11090 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
11092 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11094 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
11095 (eshell-ls-orig-insert-directory): Remove.
11096 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
11097 (eshell-ls-use-in-dired): Use advice-add/remove.
11098 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
11099 Add `orig-fun' arg for use in :around advice.
11100 Make it check (redundantly) eshell-ls-use-in-dired.
11102 2013-09-19 Glenn Morris <rgm@gnu.org>
11104 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
11106 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
11108 * emacs-lisp/eieio.el (class-parent): Undo previous change.
11110 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
11112 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
11113 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
11114 (tramp-get-remote-python): New defuns.
11115 (tramp-get-remote-uid-with-perl)
11116 (tramp-get-remote-gid-with-perl): New defuns. Perl code
11117 contributed by yary <not.com@gmail.com> (tiny change).
11118 (tramp-get-remote-uid-with-python)
11119 (tramp-get-remote-gid-with-python): New defuns. Python code
11120 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
11121 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
11123 2013-09-19 Glenn Morris <rgm@gnu.org>
11125 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
11127 * eshell/em-unix.el (eshell-remove-entries):
11128 Rename argument to avoid name-clash with global `top-level'.
11130 * eshell/esh-proc.el (eshell-kill-process-function):
11131 Remove eshell-reset-after-proc from eshell-kill-hook if present.
11132 (eshell-reset-after-proc): Remove unused arg `proc'.
11134 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
11135 (directory-files-and-attributes): Mark unused arg.
11137 * eshell/em-unix.el (eshell-remove-entries):
11138 Remove unused arg `path'. Update callers.
11140 * eshell/em-hist.el (eshell-hist-parse-arguments):
11141 Remove unused arg `silent'. Update callers.
11143 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11144 Fix (f)boundp mix-up.
11146 * eshell/em-smart.el (eshell-smart-scroll-window)
11147 (eshell-disable-after-change):
11148 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11150 2013-09-18 Alan Mackenzie <acm@muc.de>
11152 Fix fontification of type when followed by "const".
11153 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11154 "known" types from fontification.
11156 2013-09-18 Glenn Morris <rgm@gnu.org>
11158 * emacs-lisp/chart.el (x-display-color-cells): Declare.
11159 (chart-face-list): Drop Emacsen without display-color-p.
11161 * net/eww.el (libxml-parse-html-region): Declare.
11162 (eww-display-html): Explicit error if no libxml2 support.
11164 * doc-view.el (doc-view-mode): Silence --without-x compilation.
11166 * image.el (image-type-from-buffer, image-multi-frame-p):
11167 Remove --without-x warning/error.
11169 * mouse.el (mouse-yank-primary):
11170 * term.el (term-mouse-paste):
11171 Reorder to silence --without-x compilation.
11173 * mpc.el (doc-view-mode): Silence --without-x compilation.
11175 * mail/rmailmm.el (rmail-mime-set-bulk-data):
11176 Silence --without-x compilation.
11178 * progmodes/gud.el (gud-find-file, gud-mode):
11179 Silence --without-x compilation.
11180 (tooltip-mode): Declare.
11182 * wdired.el (dired-backup-overwrite): Remove declaration.
11183 (wdired-mode-map): Add doc string.
11185 * custom.el (x-get-resource): Declare.
11187 * eshell/em-glob.el (ange-cache):
11188 * eshell/em-unix.el (ange-cache): Declare.
11190 * faces.el (x-display-list, x-open-connection, x-get-resource):
11193 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11194 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11197 * frame.el (x-display-grayscale-p, x-display-name): Declare.
11199 * net/gnutls.el (gnutls-log-level): Declare.
11201 * net/shr.el (image-size, image-animate): Declare.
11203 * simple.el (font-info): Declare.
11205 * subr.el (x-popup-dialog): Declare.
11207 * term/common-win.el (x-select-enable-primary)
11208 (x-last-selected-text-primary, x-last-selected-text-clipboard):
11211 * term/ns-win.el (x-handle-args): Declare.
11213 * term/x-win.el (x-select-enable-clipboard): Declare.
11215 * term/w32-win.el (create-default-fontset): Declare.
11217 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11220 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11221 (fit-frame-to-buffer): Explicit error if --without-x.
11222 (mouse-autoselect-window-select): Silence compiler.
11224 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11226 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11227 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11228 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11229 * eshell/esh-util.el (eshell-sublist):
11230 Remove unused local variables.
11232 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11234 * textmodes/two-column.el: Make 2C-split work for --without-x.
11235 (scroll-bar-columns): Autoload.
11236 (top-level): Require fringe when compiling.
11238 2013-09-18 Leo Liu <sdl.web@gmail.com>
11240 * subr.el (add-hook): Robustify to handle closure as well.
11242 2013-09-17 Glenn Morris <rgm@gnu.org>
11244 * simple.el (messages-buffer-mode-map): Unbind "g".
11246 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11248 * help-mode.el (help-mode-finish): Use derived-mode-p.
11249 Remove obsolete highlighting.
11251 * play/life.el (life-mode): Use define-derived-mode. Derive from
11253 (life): Let-bind inhibit-read-only.
11254 (life-setup): Avoid `setq'. Use `life-mode'.
11256 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11257 which should not be needed any more.
11258 (package-menu-refresh, package-menu-describe-package): Use user-error.
11260 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11261 (eshell-post-rewrite-command-hook): Make obsolete.
11262 (eshell-parse-command): Simplify.
11263 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11264 (eshell--cmd): Declare.
11265 (eshell-parse-pipeline): Remove unused var `final-p'.
11266 Pass a dynvar to eshell-post-rewrite-command-hook.
11267 Implement the new eshell-post-rewrite-command-function.
11268 (eshell-invoke-directly): Remove unused arg `input'.
11269 * eshell/esh-io.el (eshell-io-initialize):
11270 Use eshell-post-rewrite-command-function (bug#15399).
11271 (eshell--apply-redirections): Rename from eshell-apply-redirections;
11272 adjust to new calling convention.
11273 (eshell-create-handles): Rename args to avoid clashing with dynvar
11276 2013-09-17 Glenn Morris <rgm@gnu.org>
11278 * simple.el (messages-buffer-mode): New major mode.
11279 (messages-buffer): New function.
11280 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11281 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11282 (ert-run-test): Use `messages-buffer' function.
11283 (ert--force-message-log-buffer-truncation): Ignore read-only.
11284 * help.el (view-echo-area-messages): Use `messages-buffer' function.
11285 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11287 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11289 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11291 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11293 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11295 * icomplete.el (icomplete-in-buffer): New var.
11296 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11297 vars and replace them with functions.
11298 (icomplete-minibuffer-setup): Adjust accordingly.
11299 (icomplete--completion-table, icomplete--completion-predicate)
11300 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11302 (icomplete-forward-completions, icomplete-backward-completions)
11303 (icomplete-simple-completing-p, icomplete-exhibit)
11304 (icomplete-completions): Use them.
11305 (icomplete--in-region-buffer): New var.
11306 (icomplete--in-region-setup): New function.
11307 (icomplete-mode): Use it.
11309 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11311 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11312 return args and options.
11313 (eshell-eval-using-options): Use the new return value of
11314 eshell--do-opts to set the options's vars in their scope.
11315 (eshell--set-option): Rename from eshell-set-option.
11316 Add arg `opt-vals'.
11317 (eshell--process-option): Rename from eshell-process-option.
11318 Add arg `opt-vals'.
11319 (eshell--process-args): Use an `opt-vals' alist to store the options's
11320 values during their processing and return them additionally to the
11323 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11325 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11326 continuation character an operator, as far as indentation is
11327 concerned (Bug#15369).
11329 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11331 * window.el (window--state-put-2): Don't process buffer state
11332 when buffer doesn't exist any more (Bug#15382).
11334 2013-09-15 Glenn Morris <rgm@gnu.org>
11336 * eshell/em-unix.el (eshell/rm):
11337 Make -f ignore missing files. (Bug#15373)
11339 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11340 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11341 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11343 2013-09-14 Glenn Morris <rgm@gnu.org>
11345 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11347 2013-09-13 Glenn Morris <rgm@gnu.org>
11349 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11350 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11352 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11354 * frame.el (x-focus-frame): Mark as declared in frame.c.
11356 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * ls-lisp.el: Use advice-add.
11359 (original-insert-directory): Remove.
11360 (ls-lisp--insert-directory): Rename from insert-directory; add
11361 `orig-fun' argument.
11362 (insert-directory): Advise.
11364 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11366 * term.el (term-emulate-terminal): Decode the command string
11367 before passing it to term-command-hook. (Bug#15337)
11369 2013-09-13 Glenn Morris <rgm@gnu.org>
11371 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11373 * eshell/esh-ext.el (eshell-search-path): Declare.
11375 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11376 Otherwise an error occurs if eshell-dirs module not loaded.
11378 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11380 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11382 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11383 `tramp-check-proper-host'. Check for a valid method name.
11385 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11386 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11387 * net/tramp-sh.el (tramp-maybe-open-connection):
11388 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11390 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11391 also for hash values.
11393 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * term/ns-win.el (parameters): Don't declare as dynamic.
11396 (before-make-frame-hook): Don't add ineffective function.
11398 * eshell/*.el: Use lexical-binding (bug#15231).
11400 2013-09-12 Kenichi Handa <handa@gnu.org>
11402 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11404 2013-09-12 Glenn Morris <rgm@gnu.org>
11406 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11407 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11409 * subr.el (do-after-load-evaluation): Also give compiler warnings
11410 when obsolete files are used (except by obsolete files).
11412 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11413 in the status output, assume `filename' is the first. (Bug#15322)
11415 * vc/vc.el (vc-deduce-fileset): Doc fix.
11417 * calc/calc-help.el (Info-goto-node):
11418 * progmodes/cperl-mode.el (Info-find-node):
11419 * vc/ediff.el (Info-goto-node): Update declarations.
11421 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11423 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11424 (vc-bzr-pull): Require vc-dispatcher.
11425 * vc/vc-git.el (vc-compilation-mode): Declare.
11426 (vc-git-pull): Require vc-dispatcher.
11428 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11430 * progmodes/octave.el (help-button-action): Declare.
11432 * shell.el (shell-directory-tracker): Output error as a message
11433 rather than just returning it as a string.
11434 (shell-process-pushd): Remove useless use of message.
11436 * dframe.el (dframe-timer-fn):
11437 * files.el (dir-locals-read-from-file):
11438 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11440 * reveal.el (reveal-post-command):
11441 * saveplace.el (load-save-place-alist-from-file):
11442 * shell.el (shell-resync-dirs):
11443 * w32-common-fns.el (x-get-selection-value):
11444 * emacs-lisp/copyright.el (copyright-find-copyright):
11445 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11446 * emulation/tpu-edt.el (tpu-copy-keyfile):
11447 * play/bubbles.el (bubbles--mark-neighbourhood):
11448 * progmodes/executable.el
11449 (executable-make-buffer-file-executable-if-script-p):
11450 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11452 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11454 Cleanup Eshell to rely less on dynamic scoping.
11455 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11456 last-value, and ext-command here. Bind `args' closer to `body'.
11457 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11458 (eshell--args): Declare new dynamic var.
11459 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11460 last-value, and ext-command. Pass `args' to `body'.
11461 (eshell-process-args): Bind eshell--args.
11462 (eshell-set-option): Use eshell--args.
11463 * eshell/eshell.el (eshell): Use derived-mode-p.
11464 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11465 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11466 (eshell-glob-function): Declare.
11467 * eshell/esh-util.el: Require cl-lib.
11468 (eshell-read-hosts-file): Avoid add-to-list.
11469 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11471 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11473 (eshell/diff): Remove unused var `err'.
11474 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11476 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11477 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11479 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11480 Move declaration before first use.
11481 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11482 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11485 2013-09-12 Glenn Morris <rgm@gnu.org>
11487 * term/ns-win.el (global-map): Remove binding for ispell-next,
11488 deleted 1999-05-29. (Bug#15357)
11490 2013-09-11 Glenn Morris <rgm@gnu.org>
11492 * echistory.el (electric-command-history): Remove call to deleted func.
11494 * play/landmark.el (landmark-mode): Fix typos.
11496 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11497 Check cvs-sort-ignore-file is bound.
11499 * savehist.el: No need for cl when compiling on Emacs.
11501 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11503 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11505 (eshell-self-insert-command, eshell-send-invisible):
11506 Remove unused argument.
11507 (eshell-handle-control-codes): Remove unused var `orig'.
11508 Avoid delete-backward-char.
11510 * files.el (set-auto-mode): Simplify a bit further.
11512 2013-09-11 Glenn Morris <rgm@gnu.org>
11514 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11515 (set-auto-mode): Don't regexp-quote elements.
11516 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11517 * progmodes/cc-mode.el (interpreter-mode-alist):
11518 * progmodes/ruby-mode.el (interpreter-mode-alist):
11519 Revert previous change.
11521 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11523 * play/snake.el (snake-mode):
11524 * play/mpuz.el (mpuz-mode):
11525 * play/landmark.el (lm-mode):
11526 * play/blackbox.el (blackbox-mode):
11527 * play/5x5.el (5x5-mode):
11528 * obsolete/options.el (Edit-options-mode):
11529 * net/quickurl.el (quickurl-list-mode):
11530 * net/newst-treeview.el (newsticker-treeview-mode):
11531 * mail/rmailsum.el (rmail-summary-mode):
11532 * mail/mspools.el (mspools-mode):
11533 * locate.el (locate-mode):
11534 * ibuffer.el (ibuffer-mode):
11535 * emulation/ws-mode.el (wordstar-mode):
11536 * emacs-lisp/debug.el (debugger-mode):
11537 * array.el (array-mode):
11538 * net/eudc.el (eudc-mode): Use define-derived-mode.
11539 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11540 Move initialization into declaration.
11541 (mairix-searches-mode): Use define-derived-mode.
11542 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11543 (eudc-edit-hotlist): Use dolist.
11544 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11545 (Man-mode): Use define-derived-mode.
11546 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11547 (Info-edit-mode): Use define-derived-mode.
11548 (Info-cease-edit): Use Info-mode.
11549 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11551 (eshell-mode): Use define-derived-mode.
11552 * chistory.el (command-history-mode-map): Rename from
11553 command-history-map.
11554 (command-history-mode): Use define-derived-mode.
11555 (Command-history-setup): Remove function.
11556 * calc/calc.el (calc-trail-mode-map): New var.
11557 (calc-trail-mode): Use define-derived-mode.
11558 (calc-trail-buffer): Set calc-main-buffer manually.
11559 * bookmark.el (bookmark-insert-annotation): New function.
11560 (bookmark-edit-annotation): Use it.
11561 (bookmark-edit-annotation-mode): Make it a proper major mode.
11562 (bookmark-send-edited-annotation): Use derived-mode-p.
11563 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11564 closer to its ideal place. Use \' to match EOS.
11566 * profiler.el (profiler-calltree-find): Use function-equal.
11568 2013-09-10 Glenn Morris <rgm@gnu.org>
11570 * files.el (interpreter-mode-alist): Convert to regexps.
11571 (set-auto-mode): Adapt for this. (Bug#15306)
11572 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11573 Comment out unused variable.
11574 * progmodes/cc-mode.el (interpreter-mode-alist):
11575 * progmodes/python.el (interpreter-mode-alist):
11576 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11577 * progmodes/sh-script.el (sh-set-shell):
11578 No longer use interpreter-mode-alist to get list of shells.
11580 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11582 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11584 * simple.el: Use set-temporary-overlay-map for universal-argument.
11585 (universal-argument-map): Don't use default-bindings (bug#15317).
11586 Bind switch-frame explicitly. Replace universal-argument-minus with
11587 a conditional binding.
11588 (universal-argument-num-events, saved-overriding-map): Remove.
11589 (restore-overriding-map): Remove.
11590 (universal-argument--mode): Rename from save&set-overriding-map,
11592 (universal-argument, universal-argument-more, negative-argument)
11593 (digit-argument): Adjust accordingly.
11594 (universal-argument-minus): Remove.
11595 (universal-argument-other-key): Remove.
11597 * subr.el (with-demoted-errors): Add `format' argument.
11599 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11601 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11602 `tramp-cleanup-connection'.
11604 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11605 parameters KEEP-DEBUG and KEEP-PASSWORD.
11607 * net/tramp.el (tramp-file-name-handler):
11608 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11610 (tramp-maybe-open-connection):
11611 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11612 Use `tramp-cleanup-connection'.
11614 * net/tramp-sh.el (tramp-maybe-open-connection):
11615 Catch 'uname-changed inside the progress reporter.
11617 2013-09-10 Glenn Morris <rgm@gnu.org>
11619 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11621 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11622 returns "alternate access method" in mode (eg "-rw-r--r--.").
11624 2013-09-08 Glenn Morris <rgm@gnu.org>
11626 * saveplace.el (load-save-place-alist-from-file):
11627 Demote errors. (Bug#15305)
11629 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11631 Improve compatibility with older Emacsen, and XEmacs.
11633 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11634 only if it is bound. It isn't for XEmacs.
11635 (with-tramp-progress-reporter): Do not let-bind `result'.
11636 This yields to scoping errors in XEmacs.
11637 (tramp-handle-make-auto-save-file-name): New function, moved from
11640 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11641 for `make-auto-save-file-name'.
11642 (tramp-adb--gnu-switches-to-ash):
11643 Use `tramp-compat-replace-regexp-in-string'.
11645 * net/tramp-cache.el (tramp-cache-print): Call
11646 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11648 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11649 bound. It isn't for XEmacs.
11651 * net/tramp-compat.el (tramp-compat-copy-file):
11652 Catch `wrong-number-of-arguments' error.
11653 (tramp-compat-replace-regexp-in-string): New defun.
11655 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11656 for `make-auto-save-file-name'.
11657 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11659 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11660 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11661 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11663 * net/tramp-gw.el (tramp-gw-open-network-stream):
11664 Use `tramp-compat-replace-regexp-in-string'.
11666 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11667 Call `tramp-handle-make-auto-save-file-name'.
11668 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11669 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11670 (tramp-sh-file-inotifywait-process-filter):
11671 Use `tramp-compat-replace-regexp-in-string'.
11672 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11674 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11675 for `make-auto-save-file-name'.
11676 (tramp-smb-handle-copy-directory):
11677 Call `tramp-compat-replace-regexp-in-string'.
11678 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11679 (tramp-smb-handle-copy-file): Improve error message.
11680 (tramp-smb-handle-rename-file): Rename directly only in case
11681 `newname' does not exist yet. This is a restriction of smbclient.
11682 (tramp-smb-maybe-open-connection): Rerun the function only when
11683 `auth-sources' is non-nil.
11685 2013-09-08 Kenichi Handa <handa@gnu.org>
11687 * international/characters.el: Set category "^" (Combining) for
11690 2013-09-07 Alan Mackenzie <acm@muc.de>
11692 Correctly fontify Java class constructors.
11693 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11695 (c-recognize-typeless-decls): Set the Java value to t.
11696 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11697 While handling a "(", add a check for, effectively, Java, and handle a
11698 "typeless" declaration there.
11700 2013-09-07 Roland Winkler <winkler@gnu.org>
11702 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11703 field subtitle for entry type book.
11705 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11707 * minibuffer.el: Make minibuffer-complete call completion-in-region
11708 rather than other way around.
11709 (completion--some, completion-pcm--find-all-completions):
11710 Don't delay signals when debugging.
11711 (minibuffer-completion-contents): Beware fields within the
11712 minibuffer contents.
11713 (completion-all-sorted-completions): Use defvar-local.
11714 (completion--do-completion, completion--cache-all-sorted-completions)
11715 (completion-all-sorted-completions, minibuffer-force-complete):
11716 Add args `beg' and `end'.
11717 (completion--in-region-1): New fun, extracted from minibuffer-complete.
11718 (minibuffer-complete): Use completion-in-region.
11719 (completion-complete-and-exit): New fun, extracted from
11720 minibuffer-complete-and-exit.
11721 (minibuffer-complete-and-exit): Use it.
11722 (completion--complete-and-exit): Rename from
11723 minibuffer--complete-and-exit.
11724 (completion-in-region--single-word): New function, extracted from
11725 minibuffer-complete-word.
11726 (minibuffer-complete-word): Use it.
11727 (display-completion-list): Make `common-substring' argument obsolete.
11728 (completion--in-region): Call completion--in-region-1 instead of
11729 minibuffer-complete.
11730 (completion-help-at-point): Pass boundaries to
11731 minibuffer-completion-help as args rather than via an overlay.
11732 (completion-pcm--string->pattern): Use `any-delim'.
11733 (completion-pcm--optimize-pattern): New function.
11734 (completion-pcm--pattern->regex): Handle `any-delim'.
11735 * icomplete.el (icomplete-forward-completions)
11736 (icomplete-backward-completions, icomplete-completions):
11737 Adjust calls to completion-all-sorted-completions and
11738 completion--cache-all-sorted-completions.
11739 (icomplete-with-completion-tables): Default to t.
11740 * emacs-lisp/crm.el (crm--current-element): Rename from
11741 crm--select-current-element. Don't put an overlay but return the
11742 boundaries instead.
11743 (crm--completion-command): Take two new args to bind to the boundaries.
11744 (crm-completion-help): Adjust accordingly.
11745 (crm-complete): Use completion-in-region.
11746 (crm-complete-word): Use completion-in-region--single-word.
11747 (crm-complete-and-exit): Use completion-complete-and-exit.
11749 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11754 2013-09-06 Juri Linkov <juri@jurta.org>
11756 * info.el (Info-display-images-node): When image file doesn't exist
11757 display text version of the image if it's provided in the Info file.
11758 Otherwise, display the location of missing image from SRC attribute.
11759 Add help-echo text property from ALT attribute. (Bug#15279)
11761 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11763 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11764 (edit-abbrevs-mode): Use define-derived-mode.
11766 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11767 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11769 (epa-key-list-mode, epa-key-mode, epa-info-mode):
11770 Use define-derived-mode.
11772 * epg.el (epg-start-encrypt): Minor CSE simplification.
11774 2013-09-06 William Xu <william.xwl@gmail.com>
11776 * arc-mode.el: Add support for 7za (bug#15264).
11777 (archive-7z-program): New var.
11778 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11779 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11780 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11782 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
11786 * net/tramp.el (tramp-syntax, tramp-prefix-format)
11787 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11788 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11789 (tramp-postfix-host-format, tramp-file-name-regexp)
11790 (tramp-completion-file-name-regexp)
11791 (tramp-completion-dissect-file-name)
11792 (tramp-handle-substitute-in-file-name): Remove 'url case.
11793 (tramp-file-name-regexp-url)
11794 (tramp-completion-file-name-regexp-url): Remove constants.
11796 2013-09-06 Glenn Morris <rgm@gnu.org>
11798 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
11800 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
11802 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11803 keywords" below "here-doc beginnings" (Bug#15270).
11805 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11807 * subr.el (pop): Use `car-safe'.
11808 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11809 to detect unused `pop' return value.
11811 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11812 var `block-regexp'.
11813 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11814 (python-fill-string): Remove unused var `marker'.
11815 (python-skeleton-add-menu-items): Remove unused var `items'.
11817 * international/mule-cmds.el: Require CL.
11818 (find-coding-systems-for-charsets): Avoid add-to-list.
11819 (sanitize-coding-system-list): New function, extracted from
11820 select-safe-coding-system-interactively.
11821 (select-safe-coding-system-interactively): Use it.
11822 (read-input-method-name): Accept symbols for `default'.
11824 * emacs-lisp/advice.el (defadvice): Add indent rule.
11826 2013-09-05 Daniel Hackney <dan@haxney.org>
11830 * net/browse-url.el:
11833 * net/eudcb-ldap.el:
11837 * vc/ediff-diff.el:
11838 * vc/ediff-init.el:
11839 * vc/ediff-merg.el:
11840 * vc/ediff-mult.el:
11841 * vc/ediff-util.el:
11842 * vc/ediff-wind.el:
11846 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11847 byte compiler. Remove some unused let-bound variables.
11849 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11851 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11852 a "ref-cell", since it gets better optimized (bug#14883).
11854 2013-09-05 Glenn Morris <rgm@gnu.org>
11856 * progmodes/cc-awk.el (c-forward-sws): Declare.
11858 2013-09-04 Glenn Morris <rgm@gnu.org>
11860 * generic-x.el [rul-generic-mode]: Require cc-mode.
11861 (c++-mode-syntax-table): Declare.
11862 (rul-generic-mode-syntax-table): Init in the defvar.
11864 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11867 (vc-do-command, vc-set-async-update):
11868 * vc/vc-mtn.el (vc-mtn-dir-status):
11869 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11870 (vc-hg-pull, vc-hg-merge-branch):
11871 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11872 (vc-git-merge-branch):
11873 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11874 (vc-cvs-dir-status-files):
11875 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11876 (vc-bzr-dir-status-files):
11877 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11878 * vc/vc-annotate.el: Use lexical-binding.
11879 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11880 (vc-sentinel-movepoint): Declare.
11881 (vc-annotate): Don't use `goto-line'.
11882 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11883 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11884 (vc-sentinel-movepoint): Declare.
11885 * vc/vc-svn.el: Use lexical-binding.
11886 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11888 * vc/vc-rcs.el: Use lexical-binding.
11890 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11891 `deleted'. Don't drop errors silently.
11893 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11895 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
11897 * vc/vc.el (vc-ignore): Rewrite.
11898 (vc-default-ignore): New function.
11899 (vc-default-ignore-completion-table): Use find-ignore-file.
11901 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11902 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11903 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11904 Remove. Most code moved to vc.el.
11906 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
11908 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11909 * net/tramp-smb.el (tramp-smb-get-file-entries):
11910 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11911 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11913 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11915 (eww-change-select): Remove unused var `properties'.
11916 (eww-make-unique-file-name): Remove unused var `base'.
11918 * finder.el (finder-compile-keywords): Don't mess with windows.
11920 * calculator.el (calculator-funcall): Fix typo in last change.
11922 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11924 * emacs-lisp/package.el (package-activate-1): Don't let a missing
11925 <pkg>-autoloads.el file stop us.
11927 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11928 warnings, and factor out common code.
11930 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
11932 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11933 two-character operators and whether the character preceding them
11934 changes their meaning (Bug#15208).
11936 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11938 Format code sent to Python shell for robustness.
11939 * progmodes/python.el (python-shell-buffer-substring):
11941 (python-shell-send-region, python-shell-send-buffer): Use it.
11943 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
11945 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11946 * net/tramp.el (tramp-user-error): ... here.
11947 (tramp-find-method, tramp-check-proper-host)
11948 (tramp-dissect-file-name, tramp-debug-message)
11949 (tramp-handle-shell-command):
11950 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11951 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11953 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11955 2013-09-02 Martin Rudalics <rudalics@gmx.at>
11957 * avoid.el (mouse-avoidance-point-position)
11958 (mouse-avoidance-too-close-p): Handle case where posn-at-point
11961 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
11963 * progmodes/python.el (python-shell-completion-get-completions):
11964 Drop use of deleted `comint-last-prompt-overlay'.
11965 (python-nav-if-name-main): New command.
11967 2013-09-01 Glenn Morris <rgm@gnu.org>
11969 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11970 Avoid leading space in $wins. Otherwise the sed command used by
11971 eg compile-main ends up containing "/*.el". (Bug#15170)
11973 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
11975 2013-08-30 Glenn Morris <rgm@gnu.org>
11977 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11978 Fix is-this-a-directory logic. (Bug#15220)
11980 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
11982 * textmodes/css-mode.el: Use SMIE.
11983 (css-smie-grammar): New var.
11984 (css-smie--forward-token, css-smie--backward-token)
11985 (css-smie-rules): New functions.
11986 (css-mode): Use them.
11987 (css-navigation-syntax-table): Remove var.
11988 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11989 (css-indent-calculate, css-indent-line): Remove functions.
11991 Misc changes to reduce use of `(lambda...); and other cleanups.
11992 * cus-edit.el: Use lexical-binding.
11993 (customize-push-and-save, customize-apropos)
11994 (custom-buffer-create-internal): Use closures.
11995 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11996 * progmodes/ada-xref.el: Use setq.
11997 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11998 * dframe.el: Use lexical-binding.
11999 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
12000 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
12001 * descr-text.el: Use lexical-binding.
12002 (describe-text-widget, describe-text-sexp, describe-property-list):
12004 * comint.el (comint-history-isearch-push-state): Use a closure.
12005 * calculator.el: Use lexical-binding.
12006 (calculator-number-to-string): Make it work with lexical-binding.
12007 (calculator-funcall): Same and use cl-letf.
12009 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
12010 (lisp--company-doc-string, lisp--company-location): New functions.
12011 (lisp-completion-at-point): Use them to improve Company support.
12013 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
12014 params of lambda expressions.
12015 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
12016 (ruby-smie--opening-pipe-p): New function.
12017 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
12018 symbols and matched |...| for formal params.
12019 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
12020 from being treated as hanging. Handle "rescue".
12022 2013-08-29 Glenn Morris <rgm@gnu.org>
12024 * progmodes/cc-engine.el (c-pull-open-brace):
12025 Move definition before use.
12027 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12029 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
12030 are immutable. Don't use `unsafe' any more.
12031 (cl--defsubst-expand): Don't substitute at the same time as keeping
12032 a residual unused let-binding. Don't use `unsafe' any more.
12034 2013-08-29 Glenn Morris <rgm@gnu.org>
12036 * calendar/cal-china.el (calendar-chinese-year-cache):
12039 * nxml/nxml-util.el (nxml-debug-clear-inside):
12040 Use cl-loop rather than loop.
12042 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
12044 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
12046 2013-08-28 Glenn Morris <rgm@gnu.org>
12048 * progmodes/antlr-mode.el: No need to require cc-mode twice.
12050 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
12052 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
12054 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12056 * simple.el (repeat-complex-command--called-interactively-skip):
12058 (repeat-complex-command): Use it (bug#14136).
12060 * progmodes/cc-mode.el: Minor cleanup of var declarations.
12061 (c-define-abbrev-table): Add `doc' argument.
12062 (c-mode-abbrev-table, c++-mode-abbrev-table)
12063 (objc-mode-abbrev-table, java-mode-abbrev-table)
12064 (idl-mode-abbrev-table, pike-mode-abbrev-table)
12065 (awk-mode-abbrev-table): Use it.
12066 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
12067 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
12068 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
12069 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
12070 Move initialization into the declaration; and remove any
12073 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
12074 and dynamic let binding.
12076 * vc/smerge-mode.el: Remove redundant :group args.
12078 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
12081 2013-08-28 Juri Linkov <juri@jurta.org>
12083 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
12084 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
12085 (isearch-other-meta-char): Handle an undefined shifted printing
12086 character by downshifting it. (Bug#15200)
12088 2013-08-28 Juri Linkov <juri@jurta.org>
12090 * isearch.el (isearch-search): Change regexp error message for
12091 non-regexp searches. (Bug#15166)
12093 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
12095 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
12096 for portability to hosts where /bin/sh has problems.
12098 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12100 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
12102 2013-08-27 Juri Linkov <juri@jurta.org>
12104 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
12105 in the keyboard macro. (Bug#15126)
12107 2013-08-27 Juri Linkov <juri@jurta.org>
12109 * isearch.el (isearch-quote-char): Comment out converting unibyte
12110 to multibyte, thus syncing with its `quoted-insert' counterpart.
12113 2013-08-27 Martin Rudalics <rudalics@gmx.at>
12115 * window.el (display-buffer-use-some-window): Add missing
12116 argument in call of get-largest-window (Bug#15185).
12117 Reported by Stephen Leake.
12119 2013-08-27 Glenn Morris <rgm@gnu.org>
12121 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12123 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
12125 * progmodes/python.el (python-font-lock-keywords): Don't return nil
12126 from a matcher-function unless there's no more matches (bug#15161).
12128 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12130 * minibuffer.el: Revert change from 2013-08-20.
12132 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
12133 with text property `tramp-default', if appropriate.
12134 (tramp-check-proper-host): New defun.
12135 (tramp-dissect-file-name): Do not check hostname. Revert change
12137 (tramp-backtrace): Make VEC-OR-PROC optional.
12139 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12140 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12141 * net/tramp-sh.el (tramp-maybe-open-connection):
12142 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12143 Apply `tramp-check-proper-host'.
12145 2013-08-26 Tassilo Horn <tsdh@gnu.org>
12147 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12148 lambda expression in order to have `describe-variable' display it.
12150 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12152 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12153 BUF can be optional. (Bug#15186)
12155 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
12157 * progmodes/flymake.el (flymake-get-real-file-name-function):
12158 Fix broken customization. (Bug#15184)
12160 2013-08-25 Alan Mackenzie <acm@muc.de>
12162 Improve indentation of bracelists defined by macros (without "=").
12164 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12165 expansion begins with "{", regard it as bracelist when it doesn't
12168 Parse C++ inher-intro when there's a template split over 2 lines.
12170 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12171 rigorously the search for "class" etc. followed by ":".
12173 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12174 random languages a regexp which never matches rather than nil.
12176 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12178 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12179 (c-awk-regexp-one-line-possibly-open-char-list-re)
12180 (c-awk-one-line-possibly-open-regexp-re)
12181 (c-awk-one-line-non-syn-ws*-re): Remove.
12182 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12183 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12184 (c-awk-space*-unclosed-regexp-/-re): New constants.
12185 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12186 aren't regexp delimiters.
12188 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12189 handling for a rare situation in AWK Mode involving unterminated
12192 2013-08-23 Glenn Morris <rgm@gnu.org>
12194 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12196 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12198 * files.el (create-file-buffer): If the result would begin with
12199 spaces, prepend a "|" instead of removing them. (Bug#15162)
12201 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12203 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12204 text-properties (bug#15155).
12206 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12208 (calc-keypad-redraw): Remove unused var `pad'.
12209 (calc-keypad-press): Remove unused var `menu'.
12211 2013-08-23 Martin Rudalics <rudalics@gmx.at>
12213 * window.el (display-buffer-pop-up-frame):
12214 Call pop-up-frame-function with BUFFER current so `make-frame' will
12215 use it as the new frame's buffer (Bug#15133).
12217 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12219 * calendar/timeclock.el: Minor cleanups.
12220 (timeclock-ask-before-exiting, timeclock-use-display-time):
12222 (timeclock-modeline-display): Define as alias before the
12224 (timeclock-mode-line-display): Use define-minor-mode.
12225 (timeclock-day-list-template): Make it a function, add an argument.
12226 (timeclock-day-list-required, timeclock-day-list-length)
12227 (timeclock-day-list-debt, timeclock-day-list-span)
12228 (timeclock-day-list-break): Adjust calls accordingly.
12230 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
12232 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12233 Use read--expression so that completion works again.
12235 2013-08-21 Sam Steingold <sds@gnu.org>
12237 Add rudimentary inferior shell interaction
12238 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12239 (sh-set-shell): Reset it.
12240 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12241 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12243 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
12245 * align.el: Use lexical-binding.
12246 (align-region): Simplify accordingly.
12248 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
12250 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12252 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12253 `non-essential' up.
12255 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
12258 * net/tramp-adb.el:
12259 * net/tramp-cmds.el:
12260 * net/tramp-ftp.el:
12261 * net/tramp-gvfs.el:
12263 * net/tramp-sh.el: Don't wrap external variable declarations by
12264 `eval-when-compile'.
12266 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12268 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12269 now that Emacs supports ImageMagick animations.
12271 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
12273 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12274 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12276 2013-08-16 Martin Rudalics <rudalics@gmx.at>
12278 * window.el (mouse-autoselect-window-select): Do autoselect when
12279 mouse pointer is on margin.
12281 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
12283 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
12285 2013-08-16 Glenn Morris <rgm@gnu.org>
12287 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12288 Handle "Remote Directory" response of some clients. (Bug#15058)
12290 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12291 Tweak warning. (Bug#14926)
12293 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12294 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12296 * image-mode.el (image-mode-map): Add menu items to reverse,
12297 increase, decrease, reset animation speed.
12298 (image--set-speed, image-increase-speed, image-decrease-speed)
12299 (image-reverse-speed, image-reset-speed): New functions.
12300 (image-mode-map): Add bindings for speed commands.
12302 * image.el (image-animate-get-speed, image-animate-set-speed):
12304 (image-animate-timeout): Respect image :speed property.
12306 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12308 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12309 previous line (bug#15101).
12310 (debugger-eval-expression, debugger-record-expression):
12311 Use read--expression (bug#15102).
12313 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12315 Remove byte compiler warnings, visible when compiling with
12316 `byte-compile-force-lexical-warnings' set to t.
12318 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12319 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12320 (tramp-handle-unhandled-file-name-directory)
12321 (tramp-handle-file-notify-add-watch, tramp-action-login)
12322 (tramp-action-succeed, tramp-action-permission-denied)
12323 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12324 arguments with "_".
12326 * net/tramp-adb.el (tramp-adb-parse-device-names)
12327 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12328 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12329 (tramp-adb-handle-file-truename): Remove unused arguments.
12331 * net/tramp-cache.el (tramp-flush-directory-property)
12332 (tramp-flush-connection-property, tramp-list-connections)
12333 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12335 * net/tramp-compat.el (tramp-compat-make-temp-file):
12336 Rename FILENAME to F.
12338 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12339 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12340 (tramp-zeroconf-parse-workstation-device-names)
12341 (tramp-zeroconf-parse-webdav-device-names)
12342 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12344 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12345 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12347 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12349 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12350 (tramp-sh-handle-insert-file-contents-literally)
12351 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12353 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12354 Remove unused variables.
12356 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12357 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12358 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12360 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12361 Make them a defconst.
12362 (tramp-uuencode-region): Remove unused variable.
12364 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12366 * frameset.el (frameset--prop-setter): New function.
12367 (frameset-prop): Add gv-setter declaration.
12368 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12369 parameter was already set in FILTERED. Doc fix.
12370 (frameset--record-minibuffer-relationships): Allow saving a
12371 minibufferless frame without its corresponding minibuffer frame.
12372 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12373 frame, if the frame id matches.
12374 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12375 frames before orphaned ones.
12376 (frameset-restore): Warn about orphaned windows, instead of error out.
12378 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12380 * window.el (window-make-atom): Don't overwrite parameter
12382 (display-buffer-in-atom-window): Handle special case where we
12383 split an already atomic window.
12384 (window--major-non-side-window, display-buffer-in-side-window)
12385 (window--side-check): Ignore minibuffer window when walking
12387 (window-deletable-p): Return 'frame only if no other frame uses
12388 our minibuffer window.
12389 (record-window-buffer): Run buffer-list-update-hook.
12390 (split-window): Make sure window--check-frame won't destroy an
12391 existing atomic window in case the new window gets nested
12393 (display-buffer-at-bottom): Ignore minibuffer window when
12394 walking window tree. Don't split a side window.
12395 (pop-to-buffer): Don't set-buffer here, the select-window call
12397 (mouse-autoselect-window-select): Autoselect only if we are in the
12398 text portion of the window.
12400 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12402 * net/shr.el (shr-parse-image-data): New function to grab both the
12403 data itself and the Content-Type.
12404 (shr-put-image): Use it.
12406 * net/eww.el (eww-display-image): Ditto.
12408 * image.el (image-content-type-suffixes): New variable.
12410 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12412 * progmodes/python.el (python-imenu--build-tree)
12413 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12415 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12417 * simple.el (backward-word): Mention the optional argument.
12419 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12421 * frameset.el (frameset--make): Rename constructor from make-frameset.
12422 (frameset-p, frameset-valid-p): Don't autoload.
12423 (frameset-valid-p): Use normal accessors.
12425 2013-08-13 Glenn Morris <rgm@gnu.org>
12427 * progmodes/compile.el (compile-command): Tweak example in doc.
12428 * obsolete/scribe.el (scribe-mode):
12429 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12431 * mail/feedmail.el (feedmail-confirm-outgoing)
12432 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12434 * cus-start.el (truncate-partial-width-windows): Fix type.
12436 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12438 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12440 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12442 * emacs-lisp/timer.el (timer--time-setter): New function.
12443 (timer--time): Use it as gv-setter.
12445 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12446 setter is not a symbol.
12448 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12450 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12451 if sending fails. This makes debugging easier.
12453 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12455 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12456 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12457 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12459 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12461 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12463 2013-08-12 Glenn Morris <rgm@gnu.org>
12465 * format.el (format-annotate-function):
12466 Handle read-only text properties in the source. (Bug#14887)
12468 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12470 * net/eww.el (eww-display-html): Ignore coding system errors.
12471 One web site uses "utf-8lias" as the coding system.
12473 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12475 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12477 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12479 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12480 (tutorial--detailed-help): Remove unused local variables.
12481 (tutorial--save-tutorial-to): Use ignore-errors.
12482 (help-with-tutorial): Use looking-at-p.
12484 * view.el (view-buffer-other-window, view-buffer-other-frame):
12485 Mark unused arguments.
12487 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12488 (woman-select-symbol-fonts, woman, woman-find-file)
12489 (woman-insert-file-contents, woman-non-underline-faces):
12490 Use string-match-p.
12491 (woman1-unquote): Move declaration.
12493 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12494 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
12495 argument. Remove unused local variable.
12496 (xml-parse-elem-type): Use string-match-p.
12497 (xml-substitute-numeric-entities): Use ignore-errors.
12499 * calculator.el (calculator): Mark unused argument.
12500 (calculator-paste, calculator-quit, calculator-integer-p):
12502 (calculator-string-to-number, calculator-decimal, calculator-exp)
12503 (calculator-op-or-exp): Use string-match-p.
12505 * dired.el (dired-buffer-more-recently-used-p): Declare.
12506 (dired-insert-set-properties, dired-insert-old-subdirs):
12509 * dired-aux.el (dired-compress): Use ignore-errors.
12510 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12511 (dired-do-async-shell-command, dired-do-shell-command)
12512 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12513 (dired-insert-subdir-validate): Use string-match-p.
12514 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12515 (dired-add-entry): Use string-match-p, looking-at-p.
12516 (dired-insert-subdir-newpos): Remove unused local variable.
12518 * filenotify.el (file-notify-callback): Remove unused local variable.
12520 * filesets.el (filesets-error): Mark unused argument.
12521 (filesets-which-command-p, filesets-filter-dir-names)
12522 (filesets-directory-files, filesets-get-external-viewer)
12523 (filesets-ingroup-get-data): Use string-match-p.
12525 * find-file.el (ff-other-file-name, ff-other-file-name)
12526 (ff-find-the-other-file, ff-cc-hh-converter):
12527 Remove unused local variables.
12528 (ff-get-file-name): Use string-match-p.
12529 (ff-all-dirs-under): Use ignore-errors.
12531 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12532 (follow-select-if-visible): Remove unused local variable.
12534 * forms.el (read-file-filter): Move declaration.
12535 (forms--make-format, forms--make-parser, forms-insert-record):
12536 Quote function with #'.
12537 (forms--update): Use string-match-p. Quote function with #'.
12539 * help-mode.el (help-dir-local-var-def): Mark unused argument.
12540 (help-make-xrefs): Use looking-at-p.
12541 (help-xref-on-pp): Use looking-at-p, ignore-errors.
12543 * ibuffer.el (ibuffer-ext-visible-p): Declare.
12544 (ibuffer-confirm-operation-on): Use string-match-p.
12546 * msb.el (msb-item-handler, msb-dired-item-handler):
12547 Mark unused arguments.
12549 * ses.el (ses-decode-cell-symbol)
12550 (ses-kill-override): Remove unused local variable.
12551 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12552 (ses-load): Use ignore-errors, looking-at-p.
12553 (ses-jump-safe): Use ignore-errors.
12554 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12556 * tabify.el (untabify, tabify): Mark unused arguments.
12558 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12559 Mark unused argument.
12560 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12561 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12563 * emacs-lisp/timer.el (timer--time): Define setter with
12564 gv-define-setter to avoid deprecation warning.
12566 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12567 (*record-cmpl-statistics-p*): Remove (was commented out).
12568 (cmpl-statistics-block): Remove (body was commented out).
12569 All callers changed.
12570 (add-completions-from-buffer, load-completions-from-file):
12571 Remove unused variables.
12573 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12575 * filecache.el (file-cache-delete-file-list):
12576 Print message only when told so.
12577 (file-cache-files-matching): Use #' in mapconcat argument.
12579 * ffap.el (ffap-url-at-point): Fix reference to variable
12580 thing-at-point-default-mail-uri-scheme.
12582 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12584 * subr.el (define-error): New function.
12585 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12586 error-file-not-found and define with define-error.
12587 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12588 and define with define-error.
12589 * userlock.el (file-locked, file-supersession):
12590 * simple.el (mark-inactive):
12591 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12592 * progmodes/ada-mode.el (ada-mode-errors):
12593 * play/life.el (life-extinct):
12594 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12595 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12596 * nxml/rng-util.el (rng-error):
12597 * nxml/rng-uri.el (rng-uri-error):
12598 * nxml/rng-match.el (rng-compile-error):
12599 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12600 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12601 * nxml/nxml-rap.el (nxml-scan-error):
12602 * nxml/nxml-outln.el (nxml-outline-error):
12603 * net/soap-client.el (soap-error):
12604 * net/gnutls.el (gnutls-error):
12605 * net/ange-ftp.el (ftp-error):
12606 * mpc.el (mpc-proc-error):
12607 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12608 (json-number-format, json-string-escape, json-string-format)
12609 (json-key-format, json-object-format):
12610 * jka-compr.el (compression-error):
12611 * international/quail.el (quail-error):
12612 * international/kkc.el (kkc-error):
12613 * emacs-lisp/ert.el (ert-test-failed):
12614 * calc/calc.el (calc-error, inexact-result, math-overflow)
12616 * bookmark.el (bookmark-error-no-filename):
12617 * epg.el (epg-error): Define with define-error.
12619 * time.el (display-time-event-handler)
12620 (display-time-next-load-average): Don't call sit-for since it seems
12621 unnecessary (bug#15045).
12623 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12624 Use #' instead of ' to quote functions.
12625 (checkdoc-output-mode): Use setq-local.
12626 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12627 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12628 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12629 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12630 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12631 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12632 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12633 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12635 * ido.el (ido-completion-help): Fix up compiler warning.
12637 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12639 * frameset.el (frameset-p): Add autoload cookie.
12640 (frameset--jump-to-register): New function, based on code moved from
12642 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12644 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12645 (frameset-restore, frameset-save, frameset-session-filter-alist):
12646 Remove declarations.
12647 (register-alist): Doc fix.
12648 (frameset-to-register): Move to frameset.el.
12649 (jump-to-register, describe-register-1): Remove frameset-specific code.
12651 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12653 * allout-widgets.el (allout-widgets-pre-command-business)
12654 (allout-widgets-post-command-business)
12655 (allout-widgets-after-change-handler)
12656 (allout-decorate-item-and-context, allout-set-boundary-marker)
12657 (allout-body-modification-handler)
12658 (allout-graphics-modification-handler): Mark ignored arguments.
12659 (allout-widgets-post-command-business)
12660 (allout-widgets-exposure-change-processor)
12661 (allout-widgets-exposure-undo-processor)
12662 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12663 (allout-parse-item-at-point, allout-decorate-item-guides)
12664 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12665 * allout.el (epa-passphrase-callback-function): Declare.
12666 (allout-overlay-insert-in-front-handler)
12667 (allout-overlay-interior-modification-handler)
12668 (allout-isearch-end-handler, allout-chart-siblings)
12669 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12670 (allout-yank-processing, allout-process-exposed)
12671 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12672 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12673 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12674 (lisp-indent-defform): Mark ignored arguments.
12675 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
12676 (calculate-lisp-indent): Remove unused variables.
12677 * international/characters.el (indian-2-column, arabic-2-column)
12678 (tibetan): Mark ignored arguments.
12679 (use-cjk-char-width-table): Mark ignored arguments.
12680 Remove unused variables.
12681 * international/fontset.el (build-default-fontset-data)
12682 (x-compose-font-name, create-fontset-from-fontset-spec):
12683 Mark ignored arguments.
12684 (fontset-plain-name): Remove unused variables.
12685 * international/mule.el (charset-id, charset-bytes, generic-char-p)
12686 (keyboard-coding-system): Mark ignored arguments.
12687 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
12688 * help.el (resize-temp-buffer-window):
12689 * window.el (display-buffer-in-major-side-window)
12690 (display-buffer-in-side-window, display-buffer-in-previous-window):
12691 Remove unused variables.
12692 * isearch.el (isearch-forward-symbol):
12693 * version.el (emacs-bzr-version-bzr):
12694 * international/mule-cmds.el (current-language-environment):
12695 * term/common-win.el (x-handle-iconic, x-handle-geometry)
12696 (x-handle-display):
12697 * term/pc-win.el (x-list-fonts, x-display-planes)
12698 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12699 (x-server-version, x-display-screens, x-display-mm-height)
12700 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12701 (x-selection-owner-p, x-own-selection-internal)
12702 (x-disown-selection-internal, x-get-selection-internal)
12703 (msdos-initialize-window-system):
12704 * term/tty-colors.el (tty-color-alist, tty-color-clear):
12705 * term/x-win.el (x-handle-no-bitmap-icon):
12706 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12707 (vc-default-find-file-hook, vc-default-extra-menu):
12708 Mark ignored arguments.
12710 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12712 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12713 break-condition in the context of the debugged code (bug#12685).
12715 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
12718 Do not use an overlay to highlight the last prompt. (Bug#14744)
12719 (comint-mode): Make comint-last-prompt buffer local.
12720 (comint-last-prompt): New variable.
12721 (comint-last-prompt-overlay): Remove. Superseded by
12722 comint-last-prompt.
12723 (comint-snapshot-last-prompt, comint-output-filter):
12724 Use comint-last-prompt.
12726 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12728 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
12729 (frameset-save): Check validity of the resulting frameset.
12731 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
12733 * ido.el (ido-record-command): Add doc string.
12735 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12737 * frameset.el (frameset): Do not disable creation of the default
12738 frameset-p predicate. Doc fix.
12739 (frameset-valid-p): New function, copied from the old predicate-p.
12740 Add additional checks.
12741 (frameset-restore): Check with frameset-valid-p.
12742 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12743 (frameset-name, frameset-description, frameset-properties)
12744 (frameset-states): Add docstring.
12745 (frameset-session-filter-alist, frameset-persistent-filter-alist)
12746 (frameset-filter-alist): Doc fixes.
12748 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12750 * frameset.el (frameset-p, frameset-prop): Doc fixes.
12752 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12754 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12755 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12756 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12757 (byte-compile-normal-call): Remove obsolescence check.
12759 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12761 * frameset.el (frameset-restore): Doc fix.
12763 * register.el (frameset-frame-id, frameset-frame-with-id)
12764 (frameset-p, frameset-restore, frameset-save): Declare.
12765 (register-alist): Document framesets.
12766 (frameset-session-filter-alist): Declare.
12767 (frameset-to-register): New function.
12768 (jump-to-register): Implement jumping to framesets. Doc fix.
12769 (describe-register-1): Describe framesets.
12771 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12773 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
12775 * desktop.el (desktop-save-frameset): Use new frameset-save args.
12776 Use lexical-binding.
12778 * frameset.el (frameset): Use type vector, not list (incompatible
12779 change). Do not declare a new constructor, use the default one.
12780 Upgrade suggested properties `app', `name' and `desc' to slots `app',
12781 `name' and `description', respectively, and add read-only slot
12782 `timestamp'. Doc fixes.
12783 (frameset-copy, frameset-persistent-filter-alist)
12784 (frameset-filter-alist, frameset-switch-to-gui-p)
12785 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12786 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12787 (frameset-filter-iconified, frameset-keep-original-display-p):
12789 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12790 Rename from frameset-filter-(save|restore)-param. All callers changed.
12792 (frameset-p): Adapt to change to vector and be more thorough.
12793 Change arg name to OBJECT. Doc fix.
12794 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
12795 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12796 All callers changed.
12797 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12798 All callers changed.
12799 (frameset--record-minibuffer-relationships): Rename from
12800 frameset--process-minibuffer-frames. All callers changed.
12801 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12802 Use new default constructor (again). Doc fix.
12803 (frameset--find-frame-if): Rename from `frameset--find-frame'.
12804 All callers changed.
12805 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12806 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12808 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12809 PARAMETERS and WINDOW-STATE, respectively.
12810 (frameset-restore): Add new keyword argument PREDICATE.
12811 Reset frameset--target-display to nil. Doc fix.
12813 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12815 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12816 (bat-mode): Use it.
12817 (bat-mode-syntax-table): Mark \n as end-of-comment.
12818 (bat-font-lock-keywords): Remove comment rule.
12820 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
12821 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
12823 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12824 (byte-compile-callargs-warn): Use `push'.
12825 (byte-compile-arglist-warn): Ignore higher-order "calls".
12826 (byte-compile-file-form-autoload): Use `pcase'.
12827 (byte-compile-function-form): If quoting a symbol, check that it exists.
12829 2013-08-07 Eli Zaretskii <eliz@gnu.org>
12831 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12832 and add a few popular commands found in batch files.
12833 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12834 (dos-mode): Doc fixes.
12836 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12838 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12839 (dos-mode): Use setq-local. Add space after "rem".
12840 (dos-mode-syntax-table): Don't use "w" for symbol chars.
12841 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12843 2013-08-07 Arni Magnusson <arnima@hafro.is>
12845 * progmodes/dos.el: New file.
12846 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12849 2013-08-06 Glenn Morris <rgm@gnu.org>
12851 * calendar/calendar.el: Add new faces, and day-header-array.
12852 (calendar-weekday-header, calendar-weekend-header)
12853 (calendar-month-header): New faces.
12854 (calendar-day-header-construct): New function.
12855 (calendar-day-header-width): Also :set calendar-day-header-array.
12856 (calendar-american-month-header, calendar-european-month-header)
12857 (calendar-iso-month-header): Use calendar- faces.
12858 (calendar-generate-month):
12859 Use calendar-day-header-array for day headers; apply faces to them.
12860 (calendar-mode): Check calendar-font-lock-keywords non-nil.
12861 (calendar-abbrev-construct): Add optional maxlen argument.
12862 (calendar-day-name-array): Doc fix.
12863 (calendar-day-name-array, calendar-abbrev-length)
12864 (calendar-day-abbrev-array):
12865 Also :set calendar-day-header-array, and maybe redraw.
12866 (calendar-day-header-array): New option. (Bug#15007)
12867 (calendar-font-lock-keywords): Set to nil and make obsolete.
12868 (calendar-day-name): Add option to use header array.
12870 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872 * net/shr.el (shr-render-td): Remove debugging.
12873 (shr-render-td): Make width computation consistent by defaulting
12874 all zero-width columns to 10 characters. This may not be optimal,
12875 but it's at least consistent.
12876 (shr-make-table-1): Redo last change to fix the real problem in
12879 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12881 * files.el (cache-long-line-scans):
12882 Make obsolete alias to `cache-long-scans'.
12884 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12886 * frameset.el (frameset, frameset-filter-alist)
12887 (frameset-filter-params, frameset-save, frameset--reuse-frame)
12888 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12889 (frameset-compute-pos): Rename from frameset--compute-pos,
12891 (frameset-move-onscreen): Use frameset-compute-pos.
12892 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12894 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12895 Fix typos in docstrings.
12897 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12899 * frame.el (get-other-frame): Tiny cleanup.
12901 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12903 * vc/vc.el (vc-default-ignore-completion-table):
12904 Silence byte-compiler warning.
12906 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12907 slot, which can indeed be nil.
12908 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12909 Move entry for `left' from persistent to live filter alist.
12910 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12912 (frameset-filter-params): When restoring a frame, copy items added to
12913 `filtered', to avoid unwittingly modifying the original parameters.
12914 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
12915 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12917 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12918 to use looking-at-p instead of looking-at. (Bug#15028)
12920 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12922 Revert introduction of isearch-filter-predicates (bug#14714).
12923 Rely on add-function instead.
12924 * isearch.el (isearch-filter-predicates): Rename it back to
12925 isearch-filter-predicate.
12926 (isearch-message-prefix): Use advice-function-mapc and advice
12927 properties to get the isearch-message-prefix.
12928 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12929 instead of run-hook-with-args-until-failure.
12930 (isearch-filter-visible): Not obsolete any more.
12931 * loadup.el: Preload nadvice.
12932 * replace.el (perform-replace): Revert to funcall
12933 instead of run-hook-with-args-until-failure.
12934 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12935 * dired-aux.el (dired-isearch-filenames-mode): Rename from
12936 dired-isearch-filenames-toggle; make it into a proper minor mode.
12937 Use add/remove-function.
12938 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12939 Call the minor-mode rather than add/remove-hook.
12940 (dired-isearch-filter-filenames):
12941 Remove isearch-message-prefix property.
12942 * info.el (Info--search-loop): New function, extracted from Info-search.
12943 Funcall isearch-filter-predicate instead of
12944 run-hook-with-args-until-failure isearch-filter-predicates.
12945 (Info-search): Use it.
12946 (Info-mode): Use isearch-filter-predicate instead of
12947 isearch-filter-predicates.
12949 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
12951 Do not call to `selected-window' where it is assumed by default.
12952 Affected functions are `window-minibuffer-p', `window-dedicated-p',
12953 `window-hscroll', `window-width', `window-height', `window-buffer',
12954 `window-frame', `window-start', `window-point', `next-window'
12955 and `window-display-table'.
12956 * abbrev.el (abbrev--default-expand):
12957 * bs.el (bs--show-with-configuration):
12958 * buff-menu.el (Buffer-menu-mouse-select):
12959 * calc/calc.el (calc):
12960 * calendar/calendar.el (calendar-generate-window):
12961 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12962 (diary-make-entry):
12963 * comint.el (send-invisible, comint-dynamic-complete-filename)
12964 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12965 * completion.el (complete):
12966 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12967 * disp-table.el (describe-current-display-table):
12968 * doc-view.el (doc-view-insert-image):
12969 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12970 * ehelp.el (with-electric-help):
12971 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12972 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12973 * emacs-lisp/helper.el (Helper-help-scroller):
12974 * emulation/cua-base.el (cua--post-command-handler-1):
12975 * eshell/esh-mode.el (eshell-output-filter):
12976 * ffap.el (ffap-gnus-wrapper):
12977 * help-macro.el (make-help-screen):
12978 * hilit-chg.el (highlight-compare-buffers):
12979 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12980 * hl-line.el (global-hl-line-highlight):
12981 * icomplete.el (icomplete-simple-completing-p):
12982 * isearch.el (isearch-done):
12983 * jit-lock.el (jit-lock-stealth-fontify):
12984 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12985 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12986 * mpc.el (mpc-tagbrowser, mpc):
12987 * net/rcirc.el (rcirc-any-buffer):
12988 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12989 * play/landmark.el (landmark-max-width, landmark-max-height):
12990 * play/zone.el (zone):
12991 * progmodes/compile.el (compilation-goto-locus):
12992 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12993 * progmodes/etags.el (find-tag-other-window):
12994 * progmodes/fortran.el (fortran-column-ruler):
12995 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12996 * progmodes/verilog-mode.el (verilog-point-text):
12997 * reposition.el (reposition-window):
12998 * rot13.el (toggle-rot13-mode):
12999 * server.el (server-switch-buffer):
13000 * shell.el (shell-dynamic-complete-command)
13001 (shell-dynamic-complete-environment-variable):
13002 * simple.el (insert-buffer, set-selective-display)
13003 (delete-completion-window):
13004 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
13005 (speedbar-recenter):
13006 * startup.el (fancy-splash-head):
13007 * textmodes/ispell.el (ispell-command-loop):
13008 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
13009 * tutorial.el (help-with-tutorial):
13010 * vc/add-log.el (add-change-log-entry):
13011 * vc/compare-w.el (compare-windows):
13012 * vc/ediff-help.el (ediff-indent-help-message):
13013 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
13014 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
13015 (ediff-setup-control-frame):
13016 * vc/emerge.el (emerge-position-region):
13017 * vc/pcvs-util.el (cvs-bury-buffer):
13018 * window.el (walk-windows, mouse-autoselect-window-select):
13019 * winner.el (winner-set-conf, winner-undo): Related users changed.
13021 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13023 * frameset.el (frameset--set-id): Doc fix.
13024 (frameset-frame-id, frameset-frame-id-equal-p)
13025 (frameset-locate-frame-id): New functions.
13026 (frameset--process-minibuffer-frames, frameset--reuse-frame)
13027 (frameset-restore): Use them.
13029 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13031 Do not call to `selected-frame' where it is assumed by default.
13032 Affected functions are `raise-frame', `redraw-frame',
13033 `frame-first-window', `frame-terminal' and `delete-frame'.
13034 * calendar/appt.el (appt-disp-window):
13035 * epg.el (epg-wait-for-completion):
13036 * follow.el (follow-delete-other-windows-and-split)
13037 (follow-avoid-tail-recenter):
13038 * international/mule.el (set-terminal-coding-system):
13039 * mail/rmail.el (rmail-mail-return):
13040 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13041 * progmodes/f90.el (f90-add-imenu-menu):
13042 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
13043 * server.el (server-switch-buffer):
13044 * simple.el (delete-completion-window):
13046 * term/xterm.el (terminal-init-xterm-modify-other-keys)
13047 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
13048 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
13049 * vc/ediff.el (ediff-documentation): Related users changed.
13050 * frame.el (selected-terminal): Remove the leftover.
13052 2013-08-05 Glenn Morris <rgm@gnu.org>
13054 * calendar/calendar.el (calendar-generate-month):
13055 Fix for calendar-column-width != 1 + calendar-day-digit-width.
13056 (calendar-generate-month, calendar-font-lock-keywords):
13057 Fix for calendar-day-header-width > length of any day name.
13059 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13061 * desktop.el (desktop-clear): Use new name of sort predicate.
13063 * frameset.el (frameset): Add docstring. Move :version property to its
13064 own `version' slot.
13065 (frameset-copy): Rename from copy-frameset.
13066 (frameset-p): Check more thoroughly.
13067 (frameset-prop): Do not check for :version, which is no longer a prop.
13068 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13069 Use new :never value instead of t.
13070 (frameset-filter-alist): Expand and clarify docstring.
13071 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
13072 (frameset-filter-minibuffer, frameset-filter-save-param)
13073 (frameset-filter-restore-param, frameset-filter-iconified):
13074 Add pointer to docstring of frameset-filter-alist.
13075 (frameset-filter-params): Rename filter values to be more meaningful:
13076 :never instead of t, and reverse the meanings of :save and :restore.
13077 (frameset--process-minibuffer-frames): Clarify error message.
13078 (frameset-save): Avoid unnecessary and confusing call to framep.
13079 Use new BOA constructor for framesets.
13080 (frameset--reuse-list): Doc fix.
13081 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
13082 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
13083 (frameset-minibufferless-first-p): Doc fix.
13084 Rename from frameset-sort-frames-for-deletion.
13085 (frameset-restore): Doc fixes. Use new function names.
13086 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13088 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13090 * desktop.el (desktop-restore-forces-onscreen)
13091 (desktop-restore-reuses-frames): Document :keyword constant values.
13092 (desktop-filter-parameters-alist): Remove, now identical to
13093 frameset-filter-alist.
13094 (desktop--filter-tty*): Remove, moved to frameset.el.
13095 (desktop-save-frameset, desktop-restore-frameset):
13096 Do not pass :filters argument.
13098 * frameset.el (frameset-live-filter-alist)
13099 (frameset-persistent-filter-alist): New variables.
13100 (frameset-filter-alist): Use them. Add autoload cookie.
13101 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
13102 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
13103 `frameset--id' (it's supposed to be internal to frameset.el).
13104 (frameset--process-minibuffer-frames): Ditto. Doc fix.
13105 (frameset--initial-params): New function.
13106 (frameset--get-frame): Use it. Doc fix.
13107 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
13108 Accept :all, not 'all.
13109 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
13110 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
13111 with fbound symbols. Fix frame id matching, and remove matching ids if
13112 the frame being restored is deleted. Obey :delete.
13114 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13116 * subr.el (macrop): New function.
13117 (text-clone--maintaining): New var.
13118 (text-clone--maintain): Rename from text-clone-maintain. Use it
13119 instead of inhibit-modification-hooks.
13121 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
13122 a proxy, so as handle autoloads and redefinitions of the target.
13123 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
13125 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13126 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
13127 (pcase--mutually-exclusive-p): New function.
13128 (pcase--split-consp): Use it.
13129 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
13130 mutually exclusive with the current predicate.
13132 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
13133 (edebug-macrop): Remove. Use `macrop' instead.
13134 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
13136 * eshell/esh-cmd.el (eshell-macrop):
13137 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
13139 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13141 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13142 (advice-mapc): New function, using it.
13143 (advice-function-member-p): New function.
13144 (advice--normalize): Store the cdr in advice--saved-rewrite since
13145 that's the part that will be changed.
13146 (advice--symbol-function): New function.
13147 (advice-remove): Handle removal before the function is defined.
13148 Adjust to new advice--saved-rewrite.
13149 (advice-member-p): Use advice-function-member-p and
13150 advice--symbol-function.
13152 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13154 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13155 (frameset-filter-minibuffer): Doc fix.
13156 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
13157 (frameset--set-id, frameset--process-minibuffer-frames)
13158 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13159 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13161 * desktop.el (desktop-clear): Only delete frames when called
13162 interactively and desktop-restore-frames is non-nil. Doc fix.
13163 (desktop-read): Set desktop-saved-frameset to nil.
13165 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13167 * vc/vc.el (vc-ignore): Rewrite.
13168 (vc-default-ignore-completion-table, vc--read-lines)
13169 (vc--add-line, vc--remove-regexp): New functions.
13171 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13172 (vc-svn-ignore-completion-table): New function.
13174 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13175 (vc-hg-ignore-completion-table)
13176 (vc-hg-find-ignore-file): New functions.
13178 * vc/vc-git.el (vc-git-ignore): Rewrite.
13179 (vc-git-ignore-completion-table)
13180 (vc-git-find-ignore-file): New functions.
13182 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13184 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13185 (vc-bzr-ignore-completion-table)
13186 (vc-bzr-find-ignore-file): New functions.
13188 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
13190 * frameset.el (frameset-prop): New function and setter.
13191 (frameset-save): Do not modify frame list passed by the caller.
13193 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13195 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13197 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13200 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13202 * custom.el (custom-initialize-default, custom-initialize-set)
13203 (custom-initialize-reset, custom-initialize-changed): Affect the
13204 toplevel-default-value (bug#6275, bug#14586).
13205 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13208 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13210 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13211 Add cl-def* expressions.
13213 * frameset.el (frameset-filter-params): Fix order of arguments.
13215 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13217 Move code related to saving frames to frameset.el.
13218 * desktop.el: Require frameset.
13219 (desktop-restore-frames): Doc fix.
13220 (desktop-restore-reuses-frames): Rename from
13221 desktop-restoring-reuses-frames.
13222 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13223 (desktop-clear): Clear frames too.
13224 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13225 (desktop--filter-tty*, desktop-save, desktop-read):
13226 Use frameset functions.
13227 (desktop-before-saving-frames-functions, desktop--filter-*-color)
13228 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13229 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13230 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13231 (desktop--process-minibuffer-frames, desktop-save-frames)
13232 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13233 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13234 (desktop--sort-states, desktop-restoring-frames-p)
13235 (desktop-restore-frames): Remove. Most code moved to frameset.el.
13236 (desktop-restoring-frameset-p, desktop-restore-frameset)
13237 (desktop--check-dont-save, desktop-save-frameset): New functions.
13238 (desktop--app-id): New constant.
13239 (desktop-first-buffer, desktop-buffer-ok-count)
13240 (desktop-buffer-fail-count): Move before first use.
13241 * frameset.el: New file.
13243 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13245 * files.el: Use lexical-binding.
13246 (dir-locals-read-from-file): Remove unused `err' variable.
13247 (hack-dir-local-variables--warned-coding): New var.
13248 (hack-dir-local-variables): Use it to avoid repeated warnings.
13249 (make-backup-file-name--default-function): New function.
13250 (make-backup-file-name-function): Use it as default.
13251 (buffer-stale--default-function): New function.
13252 (buffer-stale-function): Use it as default.
13253 (revert-buffer-insert-file-contents--default-function): New function.
13254 (revert-buffer-insert-file-contents-function): Use it as default.
13255 (insert-directory): Avoid add-to-list.
13257 * autorevert.el (auto-revert-handler): Simplify.
13258 Use buffer-stale--default-function.
13260 2013-08-01 Tassilo Horn <tsdh@gnu.org>
13262 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13264 * whitespace.el (whitespace-ensure-local-variables): New function.
13265 (whitespace-cleanup-region): Call it.
13266 (whitespace-turn-on): Call it.
13268 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
13270 Complete file name handlers.
13272 * net/tramp.el (tramp-handle-set-visited-file-modtime)
13273 (tramp-handle-verify-visited-file-modtime)
13274 (tramp-handle-file-notify-rm-watch): New functions.
13275 (tramp-call-process): Do not bind `default-directory'.
13277 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13278 Order alphabetically.
13279 <access-file, add-name-to-file, dired-call-process>:
13280 <dired-compress-file, file-acl, file-notify-rm-watch>:
13281 <file-ownership-preserved-p, file-selinux-context>:
13282 <make-directory-internal, make-symbolic-link, set-file-acl>:
13283 <set-file-selinux-context, set-visited-file-modtime>:
13284 <verify-visited-file-modtime>: Add handler.
13285 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13288 <file-notify-add-watch, file-notify-rm-watch>:
13289 <set-file-times, set-visited-file-modtime>:
13290 <verify-visited-file-modtime>: Add handler.
13291 (with-tramp-gvfs-error-message)
13292 (tramp-gvfs-handle-set-visited-file-modtime)
13293 (tramp-gvfs-fuse-file-name): Remove.
13294 (tramp-gvfs-handle-file-notify-add-watch)
13295 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13296 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13298 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13299 Order alphabetically.
13300 <file-notify-rm-watch>: Use default Tramp handler.
13301 <executable-find>: Remove private handler.
13302 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13303 `default-directory'.
13304 (tramp-sh-handle-executable-find)
13305 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13306 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13307 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13308 Do not use `format' in `tramp-message'.
13310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13311 <file-notify-rm-watch, set-visited-file-modtime>:
13312 <verify-visited-file-modtime>: Add handler.
13313 (tramp-smb-call-winexe): Do not bind `default-directory'.
13315 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13317 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13319 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13321 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13323 (log-view-diff-changeset): Same.
13324 (log-view-diff-common): Call backend command `previous-revision'
13325 to find out the previous revision, in both cases. Swap the
13326 variables `to' and `fr', so that `fr' usually refers to the
13327 earlier revision (Bug#14989).
13329 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13331 * ibuf-ext.el (ibuffer-filter-by-filename):
13332 Make it work with dired buffers too.
13334 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13336 * emacs-lisp/re-builder.el (reb-color-display-p):
13337 * files.el (save-buffers-kill-terminal):
13338 * net/browse-url.el (browse-url):
13339 * server.el (server-save-buffers-kill-terminal):
13340 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13341 Prefer nil to selected-frame for the first arg of frame-parameter.
13343 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13345 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13347 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13349 * minibuffer.el (completion--twq-all): Try and preserve each
13350 completion's case choice (bug#14907).
13352 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13354 * net/network-stream.el (open-network-stream): Mention the new
13355 :nogreeting parameter.
13356 (network-stream-open-starttls): Use the :nogreeting parameter
13359 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13361 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13362 more natural than popping.
13364 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13365 (shr-urlify): Highlight under mouse.
13367 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13369 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13371 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13373 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13376 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13377 point-min==1. Fix search string. Fix parentheses missing.
13379 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13380 assume point-min==1. Fix search string. Fix parentheses missing.
13382 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13384 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13387 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13389 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13390 initial frame is minibuffer-less. (Bug#14841)
13392 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13394 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13398 (tramp-maybe-open-connection): Use it.
13400 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13402 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13403 minimal set of parameters passed when creating a frame, because
13404 the minibuffer status of a frame cannot be changed later.
13406 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13408 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13409 replace-regexp-in-string and inadvertent omissions in previous change.
13410 (todo-filter-items): Ensure only file names are comma-separated in
13411 name of filtered items buffer.
13413 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13415 * desktop.el: Optionally force offscreen frames back onscreen.
13416 (desktop-restoring-reuses-frames): New option.
13417 (desktop--compute-pos, desktop--move-onscreen): New functions.
13418 (desktop--make-frame): Use desktop--move-onscreen.
13420 2013-07-27 Alan Mackenzie <acm@muc.de>
13422 Fontify a Java generic method as a function.
13423 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13426 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13428 * calendar/todo-mode.el: Add command to rename todo files.
13429 (todo-rename-file): New command.
13430 (todo-key-bindings-t): Add key binding for it. Change the
13431 bindings of todo-filter-regexp-items(-multifile) to use `x'
13432 instead of `r', since the latter is better suited to the new
13435 2013-07-27 Alan Mackenzie <acm@muc.de>
13437 Make Java try-with-resources statement parse properly.
13438 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13439 (c-block-stmt-1-2-key): New language constants/variables.
13440 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13441 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13442 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13443 with c-block-stmt-1-2-key.
13445 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13447 * desktop.el (desktop--make-frame): Apply most frame parameters after
13448 creating the frame to force (partially or totally) offscreen frames to
13449 be restored as such.
13451 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13453 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13456 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13458 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13459 `base' arg of backtrace-frame.
13461 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13463 * simple.el (list-processes): Doc fix.
13465 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13467 * desktop.el (desktop--select-frame):
13468 Try harder to reuse existing frames.
13470 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13472 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13473 (edebug-eval): Use backtrace-eval.
13474 (edebug--display, edebug--recursive-edit): Don't let-bind the
13475 edebug-outer-* vars that keep track of variables we locally let-bind.
13476 (edebug-outside-excursion): Don't restore outside values of locally
13478 (edebug--display): Use user-error.
13479 (cl-lexical-debug, cl-debug-env): Remove.
13481 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13483 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13484 are restored to be sure that they are visible before deleting any
13487 2013-07-26 Matthias Meulien <orontee@gmail.com>
13489 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13490 vc-print-root-log. (Bug#14948)
13492 2013-07-26 Richard Stallman <rms@gnu.org>
13494 Add aliases for encrypting mail.
13495 * epa.el (epa-mail-aliases): New option.
13496 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13497 Bind inhibit-read-only so read-only text doesn't ruin everything.
13498 (epa-mail-default-recipients): New subroutine broken out.
13499 Handle epa-mail-aliases.
13501 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13503 Add support for lexical variables to the debugger's `e' command.
13504 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13505 vars, except for debugger-outer-match-data.
13506 (debugger-frame-number): Move check for "on a function call" from
13507 callers into it. Add `skip-base' argument.
13508 (debugger-frame, debugger-frame-clear): Simplify accordingly.
13509 (debugger-env-macro): Only reset the state stored in non-variables,
13510 i.e. current-buffer and match-data.
13511 (debugger-eval-expression): Rewrite using backtrace-eval.
13512 * subr.el (internal--called-interactively-p--get-frame): Remove.
13513 (called-interactively-p):
13514 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13515 `base' arg of backtrace-frame instead.
13517 2013-07-26 Glenn Morris <rgm@gnu.org>
13519 * align.el (align-regexp): Doc fix. (Bug#14857)
13520 (align-region): Explicit error if subexpression missing/does not match.
13522 * simple.el (global-visual-line-mode):
13523 Do not duplicate the mode lighter. (Bug#14858)
13525 2013-07-25 Martin Rudalics <rudalics@gmx.at>
13527 * window.el (display-buffer): In display-buffer bind
13528 split-window-keep-point to t, bug#14829.
13530 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13532 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13533 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13534 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13535 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13536 Change accordingly.
13537 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13538 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13540 2013-07-25 Glenn Morris <rgm@gnu.org>
13542 * dired-x.el (dired-mark-extension): Convert comment to doc string.
13544 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13546 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13547 parameter to modify-frame-parameters if the value has not changed;
13548 this is a workaround for bug#14949.
13549 (desktop--make-frame): On cl-delete-if call, check parameter name,
13550 not full parameter.
13552 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13554 * vc/vc.el (vc-ignore): New function.
13556 * vc/vc-svn.el (vc-svn-ignore): New function.
13558 * vc/vc-hg.el (vc-hg-ignore): New function.
13560 * vc/vc-git.el (vc-git-ignore): New function.
13562 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13563 (vc-dir-ignore): New function.
13565 * vc/vc-cvs.el (vc-cvs-ignore): New function.
13566 (cvs-append-to-ignore): Move here from pcvs.el.
13568 * vc/vc-bzr.el (vc-bzr-ignore): New function.
13570 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13572 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
13574 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13575 (desktop-restore-frames): Warn when deleting an existing frame failed.
13577 2013-07-24 Glenn Morris <rgm@gnu.org>
13579 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13581 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13583 * filenotify.el (file-notify-supported-p):
13584 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13587 * autorevert.el (auto-revert-use-notify)
13588 (auto-revert-notify-add-watch):
13589 * net/tramp.el (tramp-file-name-for-operation):
13590 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13591 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13592 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13593 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13594 Remove `file-notify-supported-p' entry.
13596 2013-07-24 Glenn Morris <rgm@gnu.org>
13598 * printing.el: Replace all uses of deleted ps-windows-system,
13599 ps-lp-system, ps-flatten-list with lpr- versions.
13601 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13603 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13604 checked with memq (bug#14935).
13606 * files.el (revert-buffer-function): Use a non-nil default.
13607 (revert-buffer-preserve-modes): Declare var to
13608 provide access to the `preserve-modes' argument.
13609 (revert-buffer): Let-bind it.
13610 (revert-buffer--default): New function, extracted from revert-buffer.
13612 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13614 * lpr.el: Signal print errors more prominently.
13615 (print-region-function): Don't default to nil.
13616 (lpr-print-region): New function, extracted from print-region-1.
13617 Check lpr's return value and signal an error in case of problem.
13618 (print-region-1): Use it.
13619 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13621 (ps-printer-name): Default to nil.
13622 (ps-printer-name-option): Default to lpr-printer-switch.
13623 (ps-print-region-function): Don't default to nil.
13624 (ps-postscript-code-directory): Simplify default.
13625 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13626 (ps-string-list, ps-eval-switch, ps-flatten-list)
13627 (ps-flatten-list-1): Remove.
13628 (ps-multibyte-buffer): Avoid setq.
13629 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13630 (print-region-function, ps-print-region-function): Don't set them here.
13632 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13634 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13635 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13636 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13637 (ido-decorations): Doc fix.
13639 * ansi-color.el: Fix old URL.
13641 2013-07-23 Michael R. Mauger <michael@mauger.com>
13643 * progmodes/sql.el: Version 3.3
13644 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13645 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13646 (sql-interactive-remove-continuation-prompt): Rewrite, use
13647 functions above. Fix continuation prompt and complete output line
13649 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13650 redirected output buffer.
13651 (sql-mode): Restore deleted code (Bug#13591).
13653 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13655 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13657 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13659 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13661 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13663 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13665 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13667 * desktop.el (desktop-clear): Simplify; remove useless checks
13668 against invalid buffer names.
13669 (desktop-list*): Use cl-list*.
13670 (desktop-buffer-info, desktop-create-buffer): Simplify.
13672 2013-07-23 Leo Liu <sdl.web@gmail.com>
13674 * bookmark.el (bookmark-make-record): Restore NAME as a default
13677 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * emacs-lisp/autoload.el (autoload--setup-output): New function,
13680 extracted from autoload--insert-text.
13681 (autoload--insert-text): Remove.
13682 (autoload--print-cookie-text): New function, extracted from
13683 autoload--insert-cookie-text.
13684 (autoload--insert-cookie-text): Remove.
13685 (autoload-generate-file-autoloads): Adjust calls accordingly.
13687 * winner.el (winner-hook-installed-p): Remove.
13688 (winner-mode): Simplify accordingly.
13690 * subr.el (add-to-list): Fix compiler-macro when `append' is
13691 not constant. Don't use `cl-member' for the base case.
13693 * progmodes/subword.el: Fix boundary case (bug#13758).
13694 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
13696 (subword-backward-regexp): Make it a constant.
13697 (subword-forward-internal): Don't treat a trailing capital as the
13698 beginning of a word.
13700 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
13702 * emacs-lisp/package.el (package-menu-mode): Don't modify the
13703 global value of tabulated-list-revert-hook (bug#14930).
13705 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
13707 * desktop.el: Require 'cl-lib.
13708 (desktop-before-saving-frames-functions): New hook.
13709 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13710 for frames being saved. Rename from desktop--save-minibuffer-frames.
13711 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13712 Do not save frames with non-nil `desktop-dont-save' parameter.
13713 Filter out deleted frames.
13714 (desktop--find-frame): Use cl-find-if.
13715 (desktop--select-frame): Use cl-(first|second|third) to access values
13717 (desktop--make-frame): Use cl-delete-if.
13718 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13719 (desktop-restore-frames): Use cl-(first|second|third) to access values
13720 of desktop-mini. Look for visible frame at the end, not while
13723 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13724 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13725 Use string-match-p, looking-at-p (bug#14927).
13727 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
13729 * desktop.el (desktop-saved-frame-states):
13730 Rename from desktop--saved-states; all users changed.
13731 (desktop-save-frames): Rename from desktop--save-frames.
13732 Do not save state to desktop file.
13733 (desktop-save): Save desktop-saved-frame-states to desktop file
13735 (desktop-restoring-frames-p): New function.
13736 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
13737 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
13738 buffer-lists when restoring frames. Suggested by Martin Rudalics.
13740 * desktop.el: Correctly restore iconified frames.
13741 (desktop--filter-iconified-position): New function.
13742 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13744 2013-07-20 Glenn Morris <rgm@gnu.org>
13746 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13747 Let `message' do the formatting.
13748 (def-gdb-preempt-display-buffer): Add explicit format.
13750 * image-dired.el (image-dired-track-original-file):
13751 Use with-current-buffer.
13752 (image-dired-track-thumbnail): Use with-current-buffer.
13753 Avoid changing point of wrong window.
13755 * image-dired.el (image-dired-track-original-file):
13756 Avoid changing point of wrong window. (Bug#14909)
13758 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
13760 * progmodes/gdb-mi.el (gdb-done-or-error):
13761 Guard against "%" in gdb output. (Bug#14127)
13763 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
13765 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13768 * international/mule.el (coding-system-iso-2022-flags): Fix last
13771 2013-07-20 Kenichi Handa <handa@gnu.org>
13773 * international/mule.el (coding-system-iso-2022-flags):
13774 Add `8-bit-level-4'. (Bug#8522)
13776 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13778 * net/shr.el (shr-mouse-browse-url): New command and keystroke
13781 * net/eww.el (eww-process-text-input): Allow inputting when the
13782 point is at the start of the line, as the properties aren't
13785 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13788 2013-07-19 Richard Stallman <rms@gnu.org>
13790 * epa.el (epa-popup-info-window): Doc fix.
13792 * subr.el (split-string): New arg TRIM.
13794 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
13796 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13797 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13799 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
13801 * filenotify.el (file-notify--library): Rename from
13802 `file-notify-support'. Do not autoload. Adapt all uses.
13803 (file-notify-supported-p): New defun.
13805 * autorevert.el (auto-revert-use-notify):
13806 Use `file-notify-supported-p' instead of `file-notify-support'.
13808 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13810 * net/tramp.el (tramp-file-name-for-operation):
13811 Add `file-notify-supported-p'.
13813 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13815 (tramp-sh-file-name-handler-alist): Add it as handler for
13816 `file-notify-supported-p '.
13818 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13819 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13820 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13821 Add `ignore' as handler for `file-notify-*' functions.
13823 2013-07-17 Eli Zaretskii <eliz@gnu.org>
13825 * simple.el (line-move-partial, line-move): Don't start vscroll or
13826 scroll-up if the current line is not taller than the window.
13829 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
13831 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13832 highlight question marks in the method names as strings.
13833 (ruby-block-beg-keywords): Inline.
13834 (ruby-font-lock-keyword-beg-re): Extract from
13835 `ruby-font-lock-keywords'.
13837 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
13839 * frame.el (blink-cursor-blinks): New defcustom.
13840 (blink-cursor-blinks-done): New defvar.
13841 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13842 (blink-cursor-timer-function): Check if number of blinks has been
13844 (blink-cursor-suspend, blink-cursor-check): New defuns.
13846 2013-07-15 Glenn Morris <rgm@gnu.org>
13848 * edmacro.el (edmacro-format-keys): Fix previous change.
13850 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
13852 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13853 The hack didn't work outside English locales anyway.
13855 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
13857 * simple.el (define-alternatives): Rename from alternatives-define,
13858 per RMS' suggestion.
13860 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
13862 * desktop.el (desktop-restore-frames): Change default to t.
13863 (desktop-restore-in-current-display): Now offer more options.
13864 (desktop-restoring-reuses-frames): New customization option.
13865 (desktop--saved-states): Doc fix.
13866 (desktop-filter-parameters-alist): New variable, renamed and expanded
13867 from desktop--excluded-frame-parameters.
13868 (desktop--target-display): New variable.
13869 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13870 (desktop--filter-tty*, desktop--filter-*-color)
13871 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13872 (desktop--filter-save-desktop-parm)
13873 (desktop-restore-in-original-display-p): New functions.
13874 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13875 (desktop--save-minibuffer-frames): New function, inspired by a similar
13876 function from Martin Rudalics.
13877 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13878 (desktop--restore-in-this-display-p): Remove.
13879 (desktop--find-frame): Rename from desktop--find-frame-in-display
13880 and add predicate argument.
13881 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13882 (desktop--reuse-list): New variable.
13883 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13885 (desktop--restore-frames): Add support for "minibuffer-special" frames.
13887 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
13889 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13891 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
13893 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13894 Highlight conversion methods on Kernel.
13896 2013-07-13 Alan Mackenzie <acm@muc.de>
13898 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13899 and comment it out. This out-commenting enables certain C++
13900 declarations to be parsed correctly.
13902 2013-07-13 Eli Zaretskii <eliz@gnu.org>
13904 * international/mule.el (define-coding-system): Doc fix.
13906 * simple.el (default-font-height): Don't call font-info if the
13907 frame's default font didn't change since the frame was created.
13910 2013-07-13 Leo Liu <sdl.web@gmail.com>
13912 * ido.el (ido-read-file-name): Guard against non-symbol value.
13914 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13916 * progmodes/python.el (python-imenu--build-tree): Fix corner case
13919 2013-07-13 Leo Liu <sdl.web@gmail.com>
13921 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13922 ido-set-matches call. (Bug#6852)
13924 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
13926 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13927 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13929 (ruby-font-lock-keywords): Distinguish calls to functions with
13930 module-like names from module references. Highlight character
13933 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
13935 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13936 (gdb-send): Handle continued commands. (Bug#14847)
13938 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13940 * desktop.el (desktop--v2s): Remove unused local variable.
13941 (desktop-save-buffer): Make defvar-local; adjust docstring.
13942 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13943 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13945 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
13947 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13949 2013-07-12 Eli Zaretskii <eliz@gnu.org>
13951 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13954 2013-07-12 Glenn Morris <rgm@gnu.org>
13956 * doc-view.el: Require cl-lib at runtime too.
13957 (doc-view-remove-if): Remove.
13958 (doc-view-search-next-match, doc-view-search-previous-match):
13961 * edmacro.el: Require cl-lib at runtime too.
13962 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13963 (edmacro-mismatch, edmacro-subseq): Remove.
13965 * shadowfile.el: Require cl-lib.
13966 (shadow-remove-if): Remove.
13967 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13970 * wid-edit.el: Require cl-lib.
13971 (widget-choose): Use cl-remove-if.
13972 (widget-remove-if): Remove.
13974 * progmodes/ebrowse.el: Require cl-lib at runtime too.
13975 (ebrowse-delete-if-not): Remove.
13976 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13977 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13978 Use cl-delete-if-not.
13980 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
13982 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13983 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13985 2013-07-12 Leo Liu <sdl.web@gmail.com>
13987 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
13989 2013-07-11 Glenn Morris <rgm@gnu.org>
13991 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13992 (edebug-gensym-index, edebug-gensym):
13993 Remove reimplementation of cl-gensym.
13994 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13996 * thumbs.el: Require cl-lib at run-time too.
13997 (thumbs-gensym-counter, thumbs-gensym):
13998 Remove reimplementation of cl-gensym.
13999 (thumbs-temp-file): Use cl-gensym.
14001 * emacs-lisp/ert.el: Require cl-lib at runtime too.
14002 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
14003 (ert--intersection, ert--set-difference, ert--set-difference-eq)
14004 (ert--union, ert--gensym-counter, ert--gensym-counter)
14005 (ert--coerce-to-vector, ert--remove*, ert--string-position)
14006 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
14007 (ert-make-test-unbound, ert--expand-should-1)
14008 (ert--expand-should, ert--should-error-handle-error)
14009 (should-error, ert--explain-equal-rec)
14010 (ert--plist-difference-explanation, ert-select-tests)
14011 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
14012 Use cl-lib functions rather than reimplementations.
14014 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
14016 * net/tramp.el (tramp-methods): Extend docstring.
14017 (tramp-connection-timeout): New defcustom.
14018 (tramp-error-with-buffer): Reset timestamp only when appropriate.
14019 (with-tramp-progress-reporter): Simplify.
14020 (tramp-process-actions): Improve messages.
14022 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14023 * net/tramp-sh.el (tramp-maybe-open-connection):
14024 Use `tramp-connection-timeout'.
14025 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
14028 2013-07-11 Leo Liu <sdl.web@gmail.com>
14030 * ido.el (ido-read-file-name): Conform to the requirements of
14031 read-file-name. (Bug#11861)
14032 (ido-read-directory-name): Conform to the requirements of
14033 read-directory-name.
14035 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
14037 * subr.el (delay-warning): New function.
14039 2013-07-10 Eli Zaretskii <eliz@gnu.org>
14041 * simple.el (default-line-height): New function.
14042 (line-move-partial, line-move): Use it instead of computing the
14043 line height inline.
14044 (line-move-partial): Always compute ROWH. If the last line is
14045 partially-visible, but its text is completely visible, allow
14046 cursor to enter such a partially-visible line.
14048 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
14050 Improve error messages. (Bug#14808)
14052 * net/tramp.el (tramp-current-connection): New defvar, moved from
14054 (tramp-message-show-progress-reporter-message): Remove, not
14056 (tramp-error-with-buffer): Show message in minibuffer.
14057 Discard input before waiting. Reset connection timestamp.
14058 (with-tramp-progress-reporter): Improve messages.
14059 (tramp-process-actions): Use progress reporter. Delete process in
14060 case of error. Improve messages.
14062 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
14063 Call `tramp-error-with-buffer' with vector and buffer.
14064 (tramp-current-connection): Remove.
14065 (tramp-maybe-open-connection): The car of
14066 `tramp-current-connection' are the first 3 slots of the vector.
14068 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
14070 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
14071 inside continued strings.
14073 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
14075 Timestamp fixes for undo (Bug#14824).
14076 * files.el (clear-visited-file-modtime): Move here from fileio.c.
14078 2013-07-10 Leo Liu <sdl.web@gmail.com>
14080 * files.el (require-final-newline): Allow safe local value.
14083 2013-07-09 Leo Liu <sdl.web@gmail.com>
14085 * ido.el (ido-read-directory-name): Handle fallback.
14086 (ido-read-file-name): Update DIR to ido-current-directory.
14088 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
14090 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14092 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
14093 "autoload". Remove "warn lower camel case" section, previously
14094 commented out. Highlight negation char. Do not highlight the
14095 target in singleton method definitions.
14097 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14099 * faces.el (tty-setup-hook): Declare the hook.
14101 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
14102 and detect when a guard/pred depends on local vars (bug#14773).
14103 (pcase--u1): Adjust caller.
14105 2013-07-08 Eli Zaretskii <eliz@gnu.org>
14107 * simple.el (line-move-partial, line-move): Account for
14109 (line-move-partial): Avoid setting vscroll when the last
14110 partially-visible line in window is of default height.
14112 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14114 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
14117 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
14119 * subr.el (read-quoted-char): Remove unused local variable `char'.
14121 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
14123 * vc/ediff.el (ediff-version): Version update.
14124 (ediff-files-command, ediff3-files-command, ediff-merge-command)
14125 (ediff-merge-with-ancestor-command, ediff-directories-command)
14126 (ediff-directories3-command, ediff-merge-directories-command)
14127 (ediff-merge-directories-with-ancestor-command): New functions.
14128 All are command-line interfaces to ediff: to facilitate calling
14129 Emacs with the appropriate ediff functions invoked.
14131 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
14133 (viper-save-kill-buffer): Check if buffer is modified.
14135 * emulation/viper.el (viper-version): Version update.
14136 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14138 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
14140 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14141 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14142 (viper-intercept-ESC-key): Simplify.
14143 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14145 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14146 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14147 (viper-setup-ESC-to-escape): New functions.
14148 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14149 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
14151 2013-07-07 Eli Zaretskii <eliz@gnu.org>
14153 * simple.el (default-font-height, window-screen-lines):
14155 (line-move, line-move-partial): Use them instead of
14156 frame-char-height and window-text-height. This makes scrolling
14157 text smoother when the buffer's default face uses a font that is
14158 different from the frame's default font.
14160 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
14162 * files.el (write-file): Do not display confirm dialog for NS,
14163 it does its own dialog, which can't be canceled (Bug#14578).
14165 2013-07-06 Eli Zaretskii <eliz@gnu.org>
14167 * simple.el (line-move-partial): Adjust the row returned by
14168 posn-at-point for the current window-vscroll. (Bug#14567)
14170 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
14172 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14173 (tramp-sh-file-inotifywait-process-filter): Handle file names with
14176 2013-07-06 Martin Rudalics <rudalics@gmx.at>
14178 * window.el (window-state-put-stale-windows): New variable.
14179 (window--state-put-2): Save list of windows without matching buffer.
14180 (window-state-put): Remove "bufferless" windows if possible.
14182 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14184 * simple.el (alternatives-define): Remove leftover :group keyword.
14187 2013-07-06 Leo Liu <sdl.web@gmail.com>
14189 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14190 (ido-enable-virtual-buffers): New variable.
14191 (ido-buffer-internal, ido-toggle-virtual-buffers)
14192 (ido-make-buffer-list): Use it.
14193 (ido-exhibit): Support turning on and off virtual buffers
14196 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14198 * simple.el (alternatives-define): New macro.
14200 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
14202 * subr.el (read-quoted-char): Use read-key.
14203 (sit-for): Let read-event decode tty input (bug#14782).
14205 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
14207 * calendar/todo-mode.el: Add handling of file deletion, both by
14208 mode command and externally. Fix various related bugs.
14209 Clarify Commentary and improve some documentation strings and code.
14210 (todo-delete-file): New command.
14211 (todo-check-file): New function.
14212 (todo-show): Handle external deletion of the file we're trying to
14213 show (bug#14688). Replace called-interactively-p by an optional
14214 prefix argument to avoid problematic interaction with catch form
14215 when byte compiled (bug#14702).
14216 (todo-quit): Handle external deletion of the archive's todo file.
14217 Make sure the buffer that was visiting the archive file is still
14218 live before trying to bury it.
14219 (todo-category-completions): Handle external deletion of any
14220 category completion files.
14221 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14222 of todo files, in case of external deletion.
14223 (todo-add-file): Replace unnecessary setq by let-binding.
14224 (todo-find-archive): Check whether there are any archives.
14225 Replace unnecessary setq by let-binding.
14226 (todo-archive-done-item): Use find-file-noselect to get the
14227 archive buffer whether or not the archive already exists.
14228 Remove superfluous code. Use file size instead of buffer-file-name to
14229 check if the archive is new; if it is, update list of archives.
14230 (todo-default-todo-file): Allow nil to be a valid value for when
14231 there are no todo files.
14232 (todo-reevaluate-default-file-defcustom): Use corrected definition
14233 of todo-default-todo-file.
14234 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14235 (todo-delete-category, todo-show-categories-table)
14236 (todo-category-number): Clarify comment.
14237 (todo-filter-items): Clarify documentation string.
14238 (todo-show-current-file, todo-display-as-todo-file)
14239 (todo-reset-and-enable-done-separator): Tweak documentation string.
14240 (todo-done-separator): Make separator length window-width, since
14241 bug#2749 is now fixed.
14243 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
14245 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14246 Support both "gvfs-monitor-dir" and "inotifywait".
14247 (tramp-sh-file-inotifywait-process-filter): Rename from
14248 `tramp-sh-file-notify-process-filter'.
14249 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14250 (tramp-get-remote-gvfs-monitor-dir): New defuns.
14252 2013-07-05 Leo Liu <sdl.web@gmail.com>
14254 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14256 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14258 * frame.el (display-pixel-height, display-pixel-width)
14259 (display-mm-height, display-mm-width): Mention behavior on
14260 multi-monitor setups in docstrings.
14261 (w32-display-monitor-attributes-list): Declare function.
14262 (display-monitor-attributes-list): Use it.
14264 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
14266 * filenotify.el: New package.
14268 * autorevert.el (top): Require filenotify.el.
14269 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
14271 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14272 (auto-revert-notify-handler): Use `file-notify-*' functions.
14274 * subr.el (file-notify-handle-event): Move function to filenotify.el.
14276 * net/tramp.el (tramp-file-name-for-operation):
14277 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14279 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14280 for `file-notify-add-watch' and `file-notify-rm-watch'.
14281 (tramp-process-sentinel): Improve trace.
14282 (tramp-sh-handle-file-notify-add-watch)
14283 (tramp-sh-file-notify-process-filter)
14284 (tramp-sh-handle-file-notify-rm-watch)
14285 (tramp-get-remote-inotifywait): New defuns.
14287 2013-07-03 Juri Linkov <juri@jurta.org>
14289 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14290 call of `occur-read-primary-args' to interactive spec.
14292 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14293 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14295 2013-07-03 Matthias Meulien <orontee@gmail.com>
14297 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14298 `Buffer-menu-multi-occur'. Add it to the menu.
14299 (Buffer-menu-mode): Document it in docstring.
14300 (Buffer-menu-multi-occur): New command. (Bug#14673)
14302 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14305 keywords and built-ins.
14307 2013-07-03 Glenn Morris <rgm@gnu.org>
14309 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14311 Make info-xref checks case-sensitive by default
14312 * info.el (Info-find-node, Info-find-in-tag-table)
14313 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14314 Add option for exact case matching of nodes.
14315 * info-xref.el (info-xref): New custom group.
14316 (info-xref-case-fold): New option.
14317 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14319 2013-07-03 Leo Liu <sdl.web@gmail.com>
14321 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14323 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14325 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14326 middle of block statement initially, lower the depth. Remove
14327 FIXME comment, not longer valid. Remove middle of block statement
14328 detection, no need to do that anymore since we've been using
14329 `ruby-parse-region' here.
14331 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14333 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14335 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14337 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14339 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14341 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14342 (desktop-restore-in-current-display): New customization option.
14343 (desktop--excluded-frame-parameters): Add `font'.
14344 (desktop--save-frames): Rename from desktop--save-windows.
14345 (desktop--restore-in-this-display-p): New function.
14346 (desktop--make-full-frame): Remove unwanted width/height from
14347 full(width|height) frames.
14348 (desktop--restore-frames): Rename from desktop--restore-windows.
14349 Obey desktop-restore-current-display. Do not delete old frames or
14350 select a new frame unless we were able to restore at least one frame.
14352 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14354 * files.el (find-file-noselect): Simplify conditional expression.
14356 * textmodes/remember.el (remember-append-to-file):
14357 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14359 Add `remember-notes' function to store random notes across Emacs
14361 * textmodes/remember.el (remember-data-file): Add :set callback to
14362 affect notes buffer (if any).
14363 (remember-notes): New command.
14364 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14365 New defcustoms for the `remember-notes' function.
14366 (remember-notes-save-and-bury-buffer): New command.
14367 (remember-notes-mode-map): New variable.
14368 (remember-mode): New minor mode.
14369 (remember-notes--kill-buffer-query): New function.
14370 * startup.el (initial-buffer-choice): Add notes to custom type.
14372 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14374 * bindings.el (right-char, left-char): Don't call sit-for, this is
14375 no longer needed. Use arithmetic comparison only for numerical
14378 * international/mule-cmds.el (select-safe-coding-system):
14379 Handle the case of FROM being a string correctly. (Bug#14755)
14381 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14383 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14384 progression on degenerate tables.
14385 (shr-rescale-image): ImageMagick animated images currently don't work.
14387 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14389 Some fixes and improvements for desktop frame restoration.
14390 It is still experimental and disabled by default.
14391 * desktop.el (desktop--save-windows): Put the selected frame at
14392 the head of the list.
14393 (desktop--make-full-frame): New function.
14394 (desktop--restore-windows): Try to re-select the frame that was
14395 selected upon saving. Do not abort if some frames fail to restore,
14396 just show an error message and continue. Set up maximized frames
14397 so they have default non-maximized dimensions.
14399 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14401 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14402 Don't start heredoc inside a string or comment.
14404 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14406 * bindings.el (visual-order-cursor-movement): New defcustom.
14407 (right-char, left-char): Provide visual-order cursor motion by
14408 calling move-point-visually. Update the doc strings.
14410 2013-06-28 Kenichi Handa <handa@gnu.org>
14412 * international/mule.el (define-coding-system): New coding system
14413 properties :inhibit-null-byte-detection,
14414 :inhibit-iso-escape-detection, and :prefer-utf-8.
14415 (set-buffer-file-coding-system): If :charset-list property of
14416 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14417 appropriate for setting.
14419 * international/mule-cmds.el (select-safe-coding-system):
14420 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14421 multibyte characters, return utf-8 (or one of its siblings).
14423 * international/mule-conf.el (prefer-utf-8): New coding system.
14424 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14427 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14429 * net/shr.el (shr-render-region): New function.
14431 * net/eww.el: Autoload `eww-browse-url'.
14433 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14435 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14436 Adapt to `package-desc-version' being a list.
14437 Use `package--ac-desc-version' to retrieve version from a package
14440 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14442 New experimental feature to save&restore window and frame setup.
14443 * desktop.el (desktop-save-windows): New defcustom.
14444 (desktop--saved-states): New var.
14445 (desktop--excluded-frame-parameters): New defconst.
14446 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14447 (desktop--restore-windows, desktop--save-windows): New functions.
14448 (desktop-save): Call `desktop--save-windows'.
14449 (desktop-read): Call `desktop--restore-windows'.
14451 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14453 * net/shr.el (add-face-text-property): Remove compat definition.
14455 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14457 * info.el (Info-try-follow-nearest-node): Move search for footnote
14458 above search for node name to prevent missing a footnote (bug#14717).
14460 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14462 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14464 2013-06-27 Leo Liu <sdl.web@gmail.com>
14466 * net/eww.el (eww-read-bookmarks): Check file size.
14468 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14470 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14471 advice--pending if newdef is nil or an autoload (bug#13820).
14472 (advice-mapc): New function.
14474 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14476 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14478 (eww-mode-map): Add a menu bar.
14479 (eww-add-bookmark): New command.
14480 (eww-bookmark-mode): New mode and commands.
14481 (eww-add-bookmark): Remove newlines from the title.
14482 (eww-bookmark-browse): Don't bug out if it's the only window.
14484 2013-06-26 Glenn Morris <rgm@gnu.org>
14486 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14487 (hfy-size): Handle ttys. (Bug#14668)
14489 * info-xref.el: Update for Texinfo 5 change in *note format.
14490 (info-xref-node-re, info-xref-note-re): New constants.
14491 (info-xref-check-buffer): Use info-xref-note-re.
14493 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14495 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14497 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14498 nil terminate the loop (bug#14718).
14500 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14502 * net/eww.el: Rework history traversal. When going forward/back,
14503 put these actions into the history, too, so that they can be
14505 (eww-render): Move the history reset to the correct buffer.
14507 2013-06-25 Juri Linkov <juri@jurta.org>
14509 * files-x.el (modify-dir-local-variable): Change the header comment
14510 in the file with directory local variables. (Bug#14692)
14512 * files-x.el (read-file-local-variable-value): Add `default'.
14515 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14517 * net/eww.el (eww-make-unique-file-name): Create a unique file
14518 name before saving to entering `y' accidentally asynchronously.
14520 2013-06-25 Ivan Kanis <ivan@kanis.fr>
14522 * net/eww.el (eww-download): New command and keystroke.
14524 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14526 * net/eww.el (eww-copy-page-url): Change name of command.
14528 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14529 be more consistent with Info and dired.
14531 * net/eww.el (eww-mode-map): Ditto.
14533 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14535 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
14536 packages from archives.
14537 (package-archive-contents): Change format; include obsolete packages.
14538 (package-desc): Use `dir' to mark builtin packages.
14539 (package--from-builtin): Set the `dir' field to `builtin'.
14540 (generated-autoload-file, version-control): Declare.
14541 (package-compute-transaction): Change first arg and return value to be
14542 lists of package-descs. Adjust to new package-archive-contents format.
14543 (package--add-to-archive-contents): Adjust to new
14544 package-archive-contents format.
14545 (package-download-transaction): Arg is now a list of package-descs.
14546 (package-install): If `pkg' is a package name, pass it as
14547 a requirement, so it is subject to the usual (e.g. disabled) checks.
14548 (describe-package): Accept package-desc as well.
14549 (describe-package-1): Describe a specific package-desc. Add links to
14550 other package-descs for the same package name.
14551 (package-menu-describe-package): Pass the actual package-desc.
14552 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14554 (package-desc-status): New function.
14555 (package-menu--refresh): New function, extracted
14556 from package-menu--generate.
14557 (package-menu--generate): Use it.
14558 (package-delete): Update package-alist.
14559 (package-menu-execute): Don't call package-initialize.
14561 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14562 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14563 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14564 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14565 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14566 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14568 2013-06-25 Martin Rudalics <rudalics@gmx.at>
14570 * window.el (window--state-get-1): Workaround for bug#14527.
14571 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14573 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14575 * net/eww.el (eww-back-url): Implement the history by stashing all
14576 the data into a list.
14577 (eww-forward-url): Allow going forward in the history, too.
14579 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14581 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14582 for values and use read--expression for expressions (bug#14710).
14583 (read-file-local-variable): Avoid setq.
14584 (read-file-local-variable-mode): Use minor-mode-list.
14586 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14588 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14591 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14593 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14594 Update imenu-support when dialect changes.
14596 2013-06-25 Leo Liu <sdl.web@gmail.com>
14598 * ido.el (ido-read-internal): Allow forward slash on windows.
14600 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14602 * net/eww.el (eww): Start of strings is \\`, not ^.
14604 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14606 * net/shr.el (shr-browse-url): Fix interactive spec.
14608 * net/eww.el (eww): Add a trailing slash to domain names.
14610 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14612 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14614 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14616 * net/shr.el (shr-browse-url): Use an external browser if given a
14619 * net/eww.el (eww-external-browser): Move to shr.
14621 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14623 * net/eww.el (eww): Work more correctly for file: URLs.
14624 (eww-detect-charset): Allow quoted charsets.
14625 (eww-yank-page-url): New command and keystroke.
14627 2013-06-24 Daiki Ueno <ueno@gnu.org>
14629 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14630 file name of gpg executable.
14631 (epg-context-program): New function.
14632 (epg-context-home-directory): New function.
14633 (epg-context-set-program): New function.
14634 (epg-context-set-home-directory): New function.
14635 (epg--start): Use `epg-context-program' instead of
14637 (epg--list-keys-1): Likewise.
14639 2013-06-24 Leo Liu <sdl.web@gmail.com>
14641 * ido.el (ido-read-internal): Fix bug#14620.
14643 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14645 * faces.el (face-documentation): Simplify.
14646 (read-face-attribute, tty-find-type, x-resolve-font-name):
14647 Use `string-match-p'.
14648 (list-faces-display): Use `string-match-p'. Simplify.
14649 (face-spec-recalc): Check face to avoid face alias loops.
14650 (read-color): Use `string-match-p' and non-capturing parenthesis.
14652 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14654 * net/shr.el (shr-rescale-image): Use the new
14655 :max-width/:max-height functionality.
14657 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14659 * net/eww.el (eww-search-prefix): New variable.
14661 (eww-external-browser): New variable.
14662 (eww-mode-map): New keystroke.
14663 (eww-browse-with-external-browser): New command.
14665 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14667 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14669 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14670 Don't skip aligning the next header field when padding is 0;
14671 otherwise, field width is not respected unless the title is as
14674 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14676 * emacs-lisp/package.el (package-el-version): Remove.
14677 (package-process-define-package): Fix inf-loop.
14678 (package-install): Allow symbols as arguments again.
14680 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14683 add some more keyword-like methods.
14684 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14686 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
14688 * bs.el (bs-buffer-show-mark): Make defvar-local.
14689 (bs-mode): Use setq-local.
14691 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14692 (emacs-lock--try-unlocking): Make defvar-local.
14694 2013-06-22 Glenn Morris <rgm@gnu.org>
14696 * play/cookie1.el (cookie-apropos): Minor simplification.
14698 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14700 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14702 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14703 `regexp-opt', it breaks the build during dumping.
14705 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
14707 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14708 Highlight keyword-like methods on Kernel and Module with
14709 font-lock-builtin-face.
14710 (auto-mode-alist): Consolidate different entries into one regexp
14711 and add more *file-s.
14713 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
14715 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14717 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14718 (diary-entry): Use it in the action of this button type instead of
14721 * calendar/todo-mode.el: New version.
14722 (todo-add-category): Append new category to end of file and give
14723 it the highest number, instead of putting it at the beginning and
14724 giving it 0. Incorporate noninteractive functionality.
14725 (todo-forward-category): Adapt to 1-based category numbering.
14726 Allow skipping over archived categories.
14727 (todo-backward-category): Derive from todo-forward-category.
14728 (todo-backward-item, todo-forward-item): Make noninteractive and
14729 delegate interactive part to new commands. Make sensitive to done items.
14730 (todo-categories): Make value an alist of category names and
14731 vectors of item counts.
14732 (todo-category-beg): Make a defconst.
14733 (todo-category-number): Use 1 instead of 0 as initial value.
14734 (todo-category-select): Make sensitive to overlays, optional item
14735 highlighting and done items.
14736 (todo-delete-item): Make sensitive to overlays and marked and done items.
14737 (todo-edit-item): Make sensitive to overlays and editing of
14738 date/time header optional. Add format checks.
14739 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
14740 no-op if point is not on an item. Advertise using todo-edit-quit.
14741 (todo-edit-mode): Make sensitive to new format, font-locking, and
14742 multiple todo files.
14743 (todo-insert-item, todo-insert-item-here): Derive from
14744 todo-basic-insert-item and extend functionality.
14745 (todo-item-end, todo-item-start): Make sensitive to done items.
14746 (todo-item-string): Don't return text properties. Restore point.
14747 (todo-jump-to-category): Make sensitive to multiple todo files and
14748 todo archives. Use extended category completion.
14749 (todo-lower-item, todo-raise-item): Rename to *-priority and
14750 derive from todo-set-item-priority.
14751 (todo-mode): Derive from special-mode. Make sensitive to new
14752 format, font-locking and multiple todo files. Make read-only.
14753 (todo-mode-map): Don't suppress digit keys, so they can supply
14754 prefix arguments. Add many new key bindings.
14755 (todo-prefix): Insert as an overlay instead of file text.
14756 Change semantics from diary date expression to purely visual mark.
14757 (todo-print): Rename to todo-print-buffer. Make buffer display
14758 features printable. Remove option to restrict number of items
14759 printed. Add option to print to file.
14760 (todo-print-function): Rename to todo-print-buffer-function.
14761 (todo-quit): Extend to handle exiting new todo modes.
14762 (todo-remove-item): Make sensitive to overlays.
14763 (todo-save): Extend to buffers of filtered items.
14764 (todo-show): Make sensitive to done items, multiple todo files and
14765 new todo modes. Offer to convert legacy todo file before creating
14766 first new todo file.
14767 (todo-show-priorities): Rename to todo-top-priorities.
14768 Change semantics of value 0.
14769 (todo-top-priorities): Rename to todo-filter-top-priorities,
14770 derive from todo-filter-items and extend functionality.
14771 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14772 and extend functionality to other types of filtered items.
14773 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14774 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14775 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14776 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14777 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14778 (todo-edit-mode-hook, todo-entry-prefix-function)
14779 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14780 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14781 (todo-initials, todo-insert-threshold, todo-item-string-start)
14782 (todo-line-string, todo-menu, todo-mode-hook)
14783 (todo-more-important-p, todo-previous-answer, todo-previous-line)
14784 (todo-print-priorities, todo-remove-separator)
14785 (todo-save-top-priorities-too, todo-string-count-lines)
14786 (todo-string-multiline-p, todo-time-string-format)
14787 (todo-tmp-buffer-name): Remove.
14788 (todo-add-file, todo-archive-done-item, todo-choose-archive)
14789 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14790 (todo-edit-category-diary-inclusion)
14791 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14792 (todo-edit-file, todo-edit-item-date-day)
14793 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14794 (todo-edit-item-date-month, todo-edit-item-date-to-today)
14795 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14796 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14797 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14798 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14799 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14800 (todo-filter-top-priorities-multifile, todo-find-archive)
14801 (todo-find-filtered-items-file, todo-go-to-source-item)
14802 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14803 (todo-jump-to-archive-category, todo-lower-category)
14804 (todo-mark-category, todo-marked-item-p, todo-merge-category)
14805 (todo-move-category, todo-move-item, todo-next-button)
14806 (todo-next-item, todo-padded-string, todo-powerset)
14807 (todo-previous-button, todo-previous-item)
14808 (todo-print-buffer-to-file, todo-raise-category)
14809 (todo-rename-category, todo-repair-categories-sexp, todo-search)
14810 (todo-set-category-number, todo-set-item-priority)
14811 (todo-set-top-priorities-in-category)
14812 (todo-set-top-priorities-in-file, todo-show-categories-table)
14813 (todo-sort-categories-alphabetically-or-numerically)
14814 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14815 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14816 (todo-toggle-item-header, todo-toggle-item-highlighting)
14817 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14818 (todo-toggle-view-done-items, todo-toggle-view-done-only)
14819 (todo-unarchive-items, todo-unmark-category): New commands.
14820 (todo-absolute-file-name, todo-add-to-buffer-list)
14821 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14822 (todo-basic-insert-item, todo-category-completions)
14823 (todo-category-number, todo-category-string-matcher-1)
14824 (todo-category-string-matcher-2, todo-check-filtered-items-file)
14825 (todo-check-format, todo-clear-matches)
14826 (todo-comment-string-matcher, todo-convert-legacy-date-time)
14827 (todo-current-category, todo-date-string-matcher)
14828 (todo-define-insertion-command, todo-diary-expired-matcher)
14829 (todo-diary-goto-entry, todo-diary-item-p)
14830 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14831 (todo-display-categories, todo-display-sorted, todo-done-item-p)
14832 (todo-done-item-section-p, todo-done-separator)
14833 (todo-done-string-matcher, todo-files, todo-filter-items)
14834 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14835 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14836 (todo-insert-category-line, todo-insert-item-from-calendar)
14837 (todo-insert-sort-button, todo-insert-with-overlays)
14838 (todo-insertion-command-name, todo-insertion-key-bindings)
14839 (todo-label-to-key, todo-longest-category-name-length)
14840 (todo-make-categories-list, todo-mode-external-set)
14841 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14842 (todo-modes-set-3, todo-multiple-filter-files)
14843 (todo-nondiary-marker-matcher, todo-prefix-overlays)
14844 (todo-read-category, todo-read-date, todo-read-dayname)
14845 (todo-read-file-name, todo-read-time)
14846 (todo-reevaluate-category-completions-files-defcustom)
14847 (todo-reevaluate-default-file-defcustom)
14848 (todo-reevaluate-filelist-defcustoms)
14849 (todo-reevaluate-filter-files-defcustom)
14850 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14851 (todo-reset-done-separator, todo-reset-done-separator-string)
14852 (todo-reset-done-string, todo-reset-global-current-todo-file)
14853 (todo-reset-highlight-item, todo-reset-nondiary-marker)
14854 (todo-reset-prefix, todo-set-categories)
14855 (todo-set-date-from-calendar, todo-set-show-current-file)
14856 (todo-set-top-priorities, todo-short-file-name)
14857 (todo-show-current-file, todo-sort, todo-time-string-matcher)
14858 (todo-total-item-counts, todo-update-buffer-list)
14859 (todo-update-categories-display, todo-update-categories-sexp)
14860 (todo-update-count, todo-validate-name, todo-y-or-n-p):
14862 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14864 (todo-categories, todo-display, todo-edit, todo-faces)
14865 (todo-filtered): New defgroups.
14866 (todo-archived-only, todo-button, todo-category-string, todo-date)
14867 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14868 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14869 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14870 (todo-add-item-if-new-category, todo-always-add-time-string)
14871 (todo-categories-align, todo-categories-archived-label)
14872 (todo-categories-category-label, todo-categories-diary-label)
14873 (todo-categories-done-label, todo-categories-number-separator)
14874 (todo-categories-todo-label, todo-categories-totals-label)
14875 (todo-category-completions-files, todo-completion-ignore-case)
14876 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14877 (todo-done-separator-string, todo-done-string)
14878 (todo-files-function, todo-filter-done-items, todo-filter-files)
14879 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14880 (todo-initial-category, todo-initial-file, todo-item-mark)
14881 (todo-legacy-date-time-regexp, todo-mode-line-function)
14882 (todo-nondiary-marker, todo-number-prefix)
14883 (todo-print-buffer-function, todo-show-current-file)
14884 (todo-show-done-only, todo-show-first, todo-show-with-done)
14885 (todo-skip-archived-categories, todo-top-priorities-overrides)
14886 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14887 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14889 (todo-category-done, todo-date-pattern, todo-date-string-start)
14890 (todo-diary-items-buffer, todo-done-string-start)
14891 (todo-filtered-items-buffer, todo-item-start)
14892 (todo-month-abbrev-array, todo-month-name-array)
14893 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14894 (todo-top-priorities-buffer): New defconsts.
14895 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14896 (todo-categories-with-marks, todo-category-string-face)
14897 (todo-comment-face, todo-comment-string, todo-current-todo-file)
14898 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14899 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14900 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14901 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14902 (todo-font-lock-keywords, todo-global-current-todo-file)
14903 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14904 (todo-insertion-commands-args)
14905 (todo-insertion-commands-args-genlist)
14906 (todo-insertion-commands-names, todo-insertion-map)
14907 (todo-key-bindings-t, todo-key-bindings-t+a)
14908 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14909 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14910 (todo-nondiary-face, todo-print-buffer, todo-time-face)
14911 (todo-visited): New variables.
14913 2013-06-21 Glenn Morris <rgm@gnu.org>
14915 * play/cookie1.el (cookie-apropos): Add optional display argument.
14916 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14917 (psychoanalyze-pinhead): Use cookie-doctor.
14919 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14921 * emacs-lisp/package.el (tar-get-file-descriptor)
14922 (tar--extract): Declare.
14924 2013-06-21 Eduard Wiebe <usenet@pusto.de>
14926 Extend flymake's warning predicate to be a function (bug#14217).
14927 * progmodes/flymake.el (flymake-warning-predicate): New.
14928 (flymake-parse-line): Use it.
14929 (flymake-warning-re): Make obsolete alias to
14930 `flymake-warning-predicate'.
14932 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14934 * emacs-lisp/package.el (package-alist): Include obsolete packages.
14935 (package-obsolete-list): Remove.
14936 (package-activate): Remove min-version argument. Add `force' argument.
14937 Adjust to new package-alist format.
14938 (package-mark-obsolete): Remove.
14939 (package-unpack): Force reload of the package's autoloads.
14940 (package-installed-p): Check builtins if the installed package is not
14942 (package-initialize): Don't reset package-obsolete-list.
14943 Don't specify which package version to activate.
14944 (package-process-define-package, describe-package-1)
14945 (package-menu--generate): Adjust to new package-alist format.
14947 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
14949 * allout-widgets.el (allout-widgets-mode-off)
14950 (allout-widgets-mode-on, allout-widgets-pre-command-business)
14951 (allout-widgets-post-command-business)
14952 (allout-widgets-after-copy-or-kill-function)
14953 (allout-widgets-after-undo-function, allout-test-range-overlaps)
14954 (allout-decorate-item-and-context)
14955 (allout-graphics-modification-handler): Fix typos in docstrings.
14956 (allout-get-or-create-parent-widget): Use `looking-at-p'.
14958 * cmuscheme.el (scheme-start-file): Doc fix.
14959 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14960 (scheme-input-filter): Use `string-match-p'.
14962 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14964 * dired-x.el: Use Dired consistently in docstrings.
14966 * dired.el: Use Dired consistently in docstrings.
14967 (dired-readin, dired-mode): Use `setq-local'.
14968 (dired-switches-alist): Make defvar-local.
14969 (dired-buffers-for-dir): Use `zerop'.
14970 (dired-safe-switches-p, dired-switches-escape-p)
14971 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14972 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14973 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14974 (dired-goto-next-nontrivial-file): Use `string-match-p'.
14975 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14976 (dired-toggle-marks, dired-mark-files-containing-regexp)
14977 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14978 (dired-flag-auto-save-files, dired-flag-backup-files):
14979 Use `looking-at-p'.
14980 (dired-mark-files-regexp, dired-build-subdir-alist):
14981 Use `string-match-p', `looking-at-p'.
14983 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14984 (direct-print-region-helper): Use `string-match-p'.
14986 2013-06-21 Leo Liu <sdl.web@gmail.com>
14988 * comint.el (comint-redirect-results-list-from-process):
14991 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14993 * net/eww.el (eww-update-header-line-format): Quote % characters.
14995 2013-06-21 Glenn Morris <rgm@gnu.org>
14997 * play/cookie1.el (cookie): New custom group.
14998 (cookie-file): New option.
14999 (cookie-check-file): New function.
15000 (cookie): Make it interactive. Make start and end messages optional.
15001 Interactively, display the result. Default to cookie-file.
15002 (cookie-insert): Default to cookie-file.
15003 (cookie-snarf): Make start and end messages optional.
15004 Default to cookie-file. Use with-temp-buffer.
15005 (cookie-read): Rename from read-cookie.
15006 Make start and end messages optional. Default to cookie-file.
15007 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
15008 Do not autoload it.
15009 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
15010 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
15012 2013-06-21 Leo Liu <sdl.web@gmail.com>
15014 * progmodes/octave.el (octave-mode): Backward compatibility fix.
15016 2013-06-21 Glenn Morris <rgm@gnu.org>
15018 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
15020 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15021 Daniel Hackney <dan@haxney.org>
15023 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
15024 Consolidate the single-file vs tarball code.
15025 (package-desc-suffix): New function.
15026 (package-desc-full-name): Don't bother inlining it.
15027 (package-load-descriptor): Return the new package-desc.
15028 (package-mark-obsolete): Remove unused arg `package'.
15029 (package-unpack): Make it work for single files as well.
15030 Make it update package-alist.
15031 (package--make-autoloads-and-stuff): Rename from
15032 package--make-autoloads-and-compile. Don't compile any more.
15033 (package--compile): New function.
15034 (package-generate-description-file): New function, extracted from
15035 package-unpack-single.
15036 (package-unpack-single): Remove.
15037 (package--with-work-buffer): Add indentation and debugging info.
15038 (package-download-single): Remove.
15039 (package-install-from-archive): Rename from package-download-tar, make
15040 it take a pkg-desc, and make it work for single files as well.
15041 (package-download-transaction): Simplify.
15042 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
15043 external tar program.
15044 (package-install-from-buffer): Remove `pkg-desc' argument.
15045 Use package-tar-file-info for tar-mode buffers.
15046 (package-install-file): Simplify accordingly.
15047 (package-archive-base): Change to take a pkg-desc.
15048 * tar-mode.el (tar--check-descriptor): New function, extracted from
15049 tar-get-descriptor.
15050 (tar-get-descriptor): Use it.
15051 (tar-get-file-descriptor): New function.
15052 (tar--extract): New function, extracted from tar-extract.
15053 (tar--extract): Use it.
15054 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
15055 case the summary uses non-ascii. Adjust to new calling convention of
15056 package-tar-file-info.
15058 2013-06-21 Leo Liu <sdl.web@gmail.com>
15060 * comint.el (comint-redirect-results-list-from-process):
15061 Fix random delay. (Bug#14681)
15063 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15065 * profiler.el (profiler-format-number): Use log, not log10.
15067 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15069 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
15071 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15073 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
15074 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
15076 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
15077 (AUTOGENEL): ... here.
15078 * emacs-lisp/cl-macs.el (cl--sublis): New function.
15079 (cl--defsubst-expand): Use it.
15081 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
15083 * subr.el (log10): Move here from C code, and declare as obsolete.
15084 All uses of (log10 X) replaced with (log X 10).
15086 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15088 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
15089 Declare with `defvar-local'.
15090 (tabulated-list-use-header-line, tabulated-list-entries)
15091 (tabulated-list-padding, tabulated-list-printer)
15092 (tabulated-list-sort-key): Declare with `defvar-local'.
15093 (tabulated-list-init-header, tabulated-list-print-fake-header):
15096 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
15098 * arc-mode.el (archive-mode): Add `archive-write-file' to
15099 `write-contents-functions' also for remote files. (Bug#14652)
15101 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15103 * cus-edit.el (custom-commands): Fix typos.
15104 (custom-display): Fix tooltip text.
15105 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
15106 Fix typos in docstrings.
15107 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
15108 (custom-unlispify-menu-entry, custom-magic-value-create)
15109 (custom-add-see-also, custom-group-value-create): Use ?\s.
15110 (custom-guess-type, customize-apropos, editable-field)
15111 (custom-face-value-create): Use `string-match-p'.
15112 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
15114 * custom.el (custom-load-symbol): Use `string-match-p'.
15116 * ansi-color.el: Convert to lexical binding.
15117 (ansi-colors): Fix URL.
15118 (ansi-color-context, ansi-color-context-region): Use defvar-local.
15119 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
15120 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
15122 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15124 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
15126 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15128 2013-06-19 Tom Tromey <tromey@redhat.com>
15130 * net/eww.el (eww-top-url): Remove.
15131 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
15132 (eww-render): Set new variables. Don't set eww-top-url.
15133 (eww-handle-link): Handle "prev", "home", and "contents".
15134 Downcase the rel text.
15135 (eww-top-url): Choose best top URL.
15137 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15139 * net/eww.el: Rewrite to implement form elements "by hand" instead of
15140 relying in widget.el. Using widget.el leads to too many
15141 user interface inconsistencies.
15142 (eww-self-insert): Implement entering commands in text fields.
15143 (eww-process-text-input): New function to make text input field editing
15145 (eww-submit): Rewrite to use the new-style form methods.
15146 (eww-select-display): Display the correct selected item.
15147 (eww-change-select): Implement changing the select value.
15148 (eww-toggle-checkbox): Implement radio/checkboxes.
15149 (eww-update-field): Fix compilation error.
15150 (eww-tag-textarea): Implement <textarea>.
15152 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15153 we don't shadow mode-specific bindings.
15155 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15158 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15160 2013-06-19 Glenn Morris <rgm@gnu.org>
15162 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15164 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15166 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15169 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15171 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15173 * net/browse-url.el (browse-url-browser-function):
15174 `eww-browse-url' has the right calling signature, `eww' does not.
15176 2013-06-19 Glenn Morris <rgm@gnu.org>
15178 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15179 Only eval autoloaded macros.
15180 (byte-compile-autoload): Only give the macro warning for macros.
15182 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15183 (ps-underlined-faces): Declare.
15185 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15186 (speedbar-add-supported-extension): Declare.
15188 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15189 Don't include a date stamp in the header of the generated file;
15190 it leads to needless differences between output files.
15192 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15194 * net/secrets.el (secrets-struct-secret-content-type):
15195 Replace check of introspection data by a test call of "CreateItem".
15196 Some servers do not offer introspection.
15198 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
15200 * electric.el (electric-pair-mode): Improve interaction with
15201 electric-layout-mode.
15202 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15203 (electric-pair-syntax): Use text-mode-syntax-table in comments
15205 (electric-pair--insert): New function.
15206 (electric-pair-post-self-insert-function): Use it and
15207 electric--after-char-pos.
15209 2013-06-19 Leo Liu <sdl.web@gmail.com>
15211 * progmodes/octave.el (octave-help): Fix regexp.
15213 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15215 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15216 (shr-table-horizontal-line): Allow nil as a value, and change the
15218 (shr-insert-table-ruler): Respect the nil value.
15220 2013-06-18 Tom Tromey <tromey@barimba>
15222 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15224 (eww-open-file): New defun.
15225 (eww-render): Initialize new variables.
15226 (eww-display-html): Handle "link" and "a".
15227 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15228 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
15229 (eww-back-url): Rename from eww-previous-url.
15230 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15233 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
15235 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15236 Distinguish ternary operator tokens from slash symbol and slash
15239 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15241 Convert symbol prettification into minor mode and global minor mode.
15243 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15244 `prog-prettify-symbols', and make a local defvar instead of defcustom.
15245 (prettify-symbols--keywords): Rename from
15246 `prog-prettify-symbols-alist' and make a local defvar.
15247 (prettify-symbols--compose-symbol): Rename from
15248 `prog--prettify-font-lock-compose-symbol'.
15249 (prettify-symbols--make-keywords): Rename from
15250 `prog-prettify-font-lock-symbols-keywords' and simplify.
15251 (prog-prettify-install): Remove.
15252 (prettify-symbols-mode): New minor mode, based on
15253 `prog-prettify-install'.
15254 (turn-on-prettify-symbols-mode): New function.
15255 (global-prettify-symbols-mode): New globalized minor mode.
15257 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15258 * progmodes/cfengine.el (cfengine3-mode):
15259 * progmodes/perl-mode.el (perl-mode): Don't call
15260 `prog-prettify-install'; set `prettify-symbols-alist' instead.
15262 2013-06-18 Juri Linkov <juri@jurta.org>
15264 * files-x.el (modify-file-local-variable-message): New function.
15265 (modify-file-local-variable)
15266 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15267 and call `modify-file-local-variable-message' when it's non-nil.
15268 (add-file-local-variable, delete-file-local-variable)
15269 (add-file-local-variable-prop-line)
15270 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15271 and use it. (Bug#9820)
15273 2013-06-18 Juri Linkov <juri@jurta.org>
15275 * emulation/vi.el (vi-shell-op):
15276 * emulation/vip.el (vip-execute-com, ex-command):
15277 * emulation/viper-cmd.el (viper-exec-bang):
15278 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15279 the call of `shell-command-on-region'. (Bug#14637)
15281 * simple.el (shell-command-on-region): Doc fix.
15283 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15285 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15288 2013-06-18 Glenn Morris <rgm@gnu.org>
15290 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15292 * newcomment.el (comment-search-forward, comment-search-backward):
15293 Doc fix. (Bug#14376)
15295 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15297 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15298 (buffer-face-mode-invoke): Doc fix.
15300 2013-06-18 Matthias Meulien <orontee@gmail.com>
15302 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15303 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15305 2013-06-18 Glenn Morris <rgm@gnu.org>
15307 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15308 Replace obsolete function generic-make-keywords with its expansion.
15310 * progmodes/python.el (ffap-alist): Declare.
15312 * textmodes/reftex.el (bibtex-mode-map): Declare.
15314 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15317 (package-unpack, package-unpack-single): Return the pkg-dir.
15318 (package-download-transaction): Use it to update package-alist.
15320 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15322 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15325 2013-06-17 Juri Linkov <juri@jurta.org>
15327 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15329 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15331 * emacs-lisp/package.el (package-load-descriptor):
15332 Remove `with-syntax-table' call, `read' doesn't need it.
15333 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15335 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15337 * startup.el (command-line): Expand package name returned by
15338 `package--description-file' (bug#14639).
15340 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15342 * emacs-lisp/package.el (package-load-descriptor): Do not call
15343 `emacs-lisp-mode', just use its syntax table.
15345 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15347 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15348 `font-lock-extra-managed-props' if any prettifying keyword is added.
15349 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15350 (prog-mode): Use `setq-local'.
15352 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15354 * international/characters.el (standard-case-table): Set syntax of ?»
15355 and ?« to punctuation.
15357 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15359 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15360 Save relevant match data before calling `syntax-ppss' (bug#14595).
15362 2013-06-15 Juri Linkov <juri@jurta.org>
15364 * files-x.el (modify-file-local-variable-prop-line): Add local
15365 variables to the end of the existing comment on the first line.
15366 Use `file-auto-mode-skip' to skip interpreter magic line,
15367 and also skip XML declaration.
15369 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15371 * startup.el (package--builtin-versions): New var.
15372 (package-subdirectory-regexp): Remove.
15373 (package--description-file): Hard code its value instead.
15375 * emacs-lisp/package.el: Don't activate packages older than builtin.
15376 (package-obsolete-list): Rename from package-obsolete-alist, and make
15377 it into a simple list of package-desc.
15378 (package-strip-version): Remove.
15379 (package-built-in-p): Use package--builtin-versions.
15380 (package-mark-obsolete): Simplify.
15381 (package-process-define-package): Mark it obsolete if older than the
15383 (package-handle-response): Use line-end-position.
15384 (package-read-archive-contents, package--download-one-archive):
15386 (package--add-to-archive-contents): Skip if older than the builtin or
15388 (package-menu-describe-package): Fix last change.
15389 (package-list-unversioned): New var.
15390 (package-menu--generate): Use it.
15392 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15393 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15394 (autoload-builtin-package-versions): New variable.
15395 (autoload-generate-file-autoloads): Use them.
15396 Remove the list of autoloaded functions/macros from the
15397 (autoload...) comments.
15399 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15401 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15403 * simple.el (line-move-partial): Don't jump to the next screen
15404 line as soon as it becomes visible. Instead, continue enlarging
15405 the vscroll until the portion of a tall screen line that's left on
15406 display is about the height of the frame's default font.
15409 2013-06-15 Glenn Morris <rgm@gnu.org>
15411 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15412 compilation-error-regexp-alist void, or local while let-bound.
15414 * progmodes/make-mode.el (makefile-mode-syntax-table):
15415 Treat "=" as punctuation. (Bug#14614)
15417 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15419 * help-fns.el (describe-variable):
15420 Add extra line for permanent-local variables.
15422 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15424 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15425 Add export, import, library. (Bug#9164)
15426 (library): Set indent function.
15428 2013-06-14 Glenn Morris <rgm@gnu.org>
15430 * term/xterm.el (xterm--query):
15431 Stop after first matching handler. (Bug#14615)
15433 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15435 Add support for dired in saveplace.
15436 * dired.el (dired-initial-position-hook): New variable.
15437 (dired-initial-position): Call hook to place cursor position.
15438 * saveplace.el (save-place-to-alist): Add dired position.
15439 (save-place-dired-hook): New function.
15441 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15443 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15444 through a symbol rather than letrec.
15446 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15447 (package-desc): Add `dir' field.
15448 (package-desc-full-name): New function.
15449 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15450 (package-maybe-load-descriptor): Remove.
15451 (package-load-all-descriptors): Just call package-load-descriptor.
15452 (package--disabled-p): New function.
15453 (package-desc-vers, package-desc-doc): Remove aliases.
15454 (package--dir): Remove function.
15455 (package-activate): Check if a package is disabled.
15456 (package-process-define-package): New function, extracted from
15458 (define-package): Turn into a place holder.
15459 (package-unpack-single, package-tar-file-info):
15460 Use package--description-file.
15461 (package-compute-transaction): Use package--disabled-p.
15462 (package-download-transaction): Don't call
15463 package-maybe-load-descriptor since they're all loaded anyway.
15464 (package-install): Change argument to be a pkg-desc.
15465 (package-delete): Use a single pkg-desc argument.
15466 (describe-package-1): Use package-desc-dir instead of package--dir.
15467 Use package-desc property instead of package-symbol.
15468 (package-install-button-action): Adjust accordingly.
15469 (package--push): Rewrite.
15470 (package-menu--print-info): Adjust accordingly. Change the ID format
15472 (package-menu-describe-package, package-menu-get-status)
15473 (package-menu--find-upgrades, package-menu-mark-upgrades)
15474 (package-menu-execute, package-menu--name-predicate):
15475 Adjust accordingly.
15476 * startup.el (package--description-file): New function.
15477 (command-line): Use it.
15478 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15479 Use package-desc-version.
15481 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15482 (byte-compile-preprocess): Use it.
15483 (byte-compile-file-form-defalias): Try a bit harder to use macros we
15484 can't quite recognize.
15485 (byte-compile-add-to-list): Remove.
15486 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15487 (cconv-closure-convert): Add assertion.
15489 * emacs-lisp/map-ynp.el: Use lexical-binding.
15490 (map-y-or-n-p): Remove unused vars `tail' and `object'.
15491 Factor out some repeated code.
15493 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15495 * subr.el (with-eval-after-load): New macro.
15496 (eval-after-load): Allow form to be a function.
15497 take advantage of lexical-binding.
15498 (do-after-load-evaluation): Use dolist and adjust to new format.
15499 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15501 2013-06-13 Juri Linkov <juri@jurta.org>
15503 * replace.el (perform-replace): Display "symbol " and other search
15504 modes from `isearch-message-prefix' in the *Help* buffer.
15506 * isearch.el (isearch-query-replace): Add " symbol" and other
15507 possible search modes from `isearch-message-prefix' to the prompt.
15508 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15509 when reading a regexp to collect.
15511 2013-06-13 Juri Linkov <juri@jurta.org>
15513 * isearch.el (word-search-regexp): Match whitespace if the search
15514 string begins or ends in whitespace. The LAX arg is applied to
15515 both ends of the search string. Use `regexp-quote' and explicit
15516 \< and \> instead of \b. Use \` and \' instead of ^ and $.
15517 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15518 boundaries are replaced with symbol boundaries, and characters
15519 between symbols match non-word non-symbol syntax. (Bug#14602)
15521 2013-06-13 Juri Linkov <juri@jurta.org>
15523 * isearch.el (isearch-del-char): Don't exceed the length of
15524 `isearch-string' by the prefix arg. (Bug#14563)
15526 2013-06-13 Juri Linkov <juri@jurta.org>
15528 * isearch.el (isearch-yank-word, isearch-yank-line)
15529 (isearch-char-by-name, isearch-quote-char)
15530 (isearch-printing-char, isearch-process-search-char):
15531 Add optional count prefix arg. (Bug#14563)
15533 * international/isearch-x.el
15534 (isearch-process-search-multibyte-characters):
15535 Add optional count prefix arg.
15537 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15539 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15540 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15543 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
15545 * subr.el (set-temporary-overlay-map): Add on-exit argument.
15547 2013-06-13 Glenn Morris <rgm@gnu.org>
15549 * startup.el (tty-handle-args):
15550 Don't just discard "--" and anything after. (Bug#14608)
15552 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15554 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
15556 Implement changes in Secret Service API. Make it backward compatible.
15557 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15558 (secrets-create-item): Use it. Prefix properties with interface.
15560 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
15562 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
15563 (term-emulate-terminal): Respect term-suppress-hard-newline.
15565 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
15567 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15568 Only remove a `thumb-file' overlay. (Bug#14548)
15570 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
15572 * mail/reporter.el (reporter-submit-bug-report):
15573 Handle missing package-name. (Bug#14600)
15575 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15577 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15578 (reftex-citation-prompt, reftex-default-bibliography)
15579 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15580 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15581 (reftex-bib-sort-author, reftex-bib-sort-year)
15582 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15583 (reftex-extract-bib-entries-from-thebibliography)
15584 (reftex-get-bibkey-default, reftex-get-bib-names)
15585 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15586 (reftex-format-bib-entry, reftex-parse-bibitem)
15587 (reftex-format-bibitem, reftex-do-citation)
15588 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15589 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15590 (reftex-insert-bib-matches, reftex-format-citation)
15591 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15592 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15593 existing comments into docstrings.
15595 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15597 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15599 2013-06-12 Andreas Schwab <schwab@suse.de>
15601 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15602 for auto-save files.
15604 2013-06-12 Glenn Morris <rgm@gnu.org>
15606 * ido.el (ido-delete-ignored-files): Remove.
15607 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15608 Go back to calling ido-ignore-item-p directly.
15610 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15612 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15614 * ido.el (ido-delete-ignored-files): New function,
15615 split from ido-make-file-list-1.
15616 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15617 (ido-make-file-list-1): Use ido-delete-ignored-files.
15619 2013-06-12 Leo Liu <sdl.web@gmail.com>
15621 * progmodes/octave.el (inferior-octave-startup)
15622 (inferior-octave-completion-table)
15623 (inferior-octave-track-window-width-change)
15624 (octave-eldoc-function-signatures, octave-help)
15625 (octave-find-definition): Use single quoted strings.
15626 (inferior-octave-startup-args): Change default value.
15627 (inferior-octave-startup): Do not hard code "-i" and
15628 "--no-line-editing".
15629 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15630 (inferior-octave-directory-tracker): Use it.
15631 (octave-goto-function-definition): Robustify.
15632 (octave-help): Support highlighting operators in 'See also'.
15633 (octave-find-definition): Find subfunctions only in Octave mode.
15635 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15637 * help-fns.el (help-fns--compiler-macro): If the handler function is
15638 named, then put a link to it.
15639 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15640 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15641 (cl-typep): Use it.
15642 (cl-eval-when): Simplify debug spec.
15643 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15644 compiler-macro function instead of setting `compiler-macro-file'.
15646 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15648 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15649 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15651 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15652 Daniel Hackney <dan@haxney.org>
15654 First part of Daniel Hackney's patch to package.el.
15655 * emacs-lisp/package.el: Use defstruct.
15656 (package-desc): New, main struct.
15657 (package--bi-desc, package--ac-desc): New structs, used to describe the
15658 format in external files.
15659 (package-desc-vers): Replace with package-desc-version accessor.
15660 (package-desc-doc): Replace with package-desc-summary accessor.
15661 (package-activate-1): Remove `package' arg since the pkg-vec now
15663 (define-package): Use package-desc-from-define.
15664 (package-unpack-single): Change file-name arg to be a symbol.
15665 (package--add-to-archive-contents): Use package-desc-create and new
15666 accessor functions to package--ac-desc.
15667 (package-buffer-info, package-tar-file-info): Return a package-desc.
15668 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15669 arg to be a package-desc.
15670 (package-install-file): Adjust accordingly. Use \' to match EOS.
15671 (package--from-builtin): New function.
15672 (describe-package-1, package-menu--generate): Use it.
15673 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15674 (package-generate-autoloads): Idem and return the name of the file.
15675 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15676 Change pkg-info arg to be a package-desc.
15677 Use package-make-ac-desc.
15678 (package-upload-file): Use \' to match EOS.
15679 * finder.el (finder-compile-keywords): Use package-make-builtin.
15681 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * vc/vc.el (vc-deduce-fileset): Change error message.
15684 (vc-read-backend): New function.
15685 (vc-next-action): Use it.
15687 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15689 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15690 (prolog-font-lock-keywords): Use regexp-opt instead.
15691 Don't manually highlight strings.
15692 (prolog-mode-variables): Simplify comment-start-skip.
15693 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
15695 * emacs-lisp/generic.el (generic--normalise-comments)
15696 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15697 (generic-mode-set-comments): Use them.
15698 (generic-bracket-support): Use setq-local.
15699 (generic-make-keywords-list): Declare obsolete.
15701 2013-06-11 Glenn Morris <rgm@gnu.org>
15703 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15704 Prettify after setting font-lock-defaults. (Bug#14574)
15706 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
15708 * replace.el (query-replace, occur-read-regexp-defaults-function)
15710 * subr.el (declare-function, number-sequence, local-set-key)
15711 (substitute-key-definition, locate-user-emacs-file)
15712 (with-silent-modifications, split-string, eval-after-load):
15713 Fix typos, remove unneeded backslashes and reflow some docstrings.
15715 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15717 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15718 default for Elisp files.
15720 2013-06-11 Glenn Morris <rgm@gnu.org>
15722 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15723 although define-derived-mode was doing this anyway. (Bug#14583)
15725 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
15727 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15728 Fix make-variable-buffer-local call to refer to the correct variable.
15730 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
15732 * eshell/em-term.el (eshell-visual-commands)
15733 (eshell-visual-subcommands, eshell-visual-options):
15734 Add summary line to docstrings. Add cross-references.
15736 2013-06-10 Glenn Morris <rgm@gnu.org>
15738 * epa.el (epa-read-file-name): New function. (Bug#14510)
15739 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
15741 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15743 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15744 output redirection to be ignored with visual commands.
15746 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15748 * eshell/em-term.el (eshell-visual-command-p): New function.
15749 (eshell-term-initialize): Move long lambda to separate function
15750 eshell-visual-command-p.
15751 * eshell/em-dirs.el (eshell-dirs-initialize):
15752 * eshell/em-script.el (eshell-script-initialize):
15753 Add missing #' to lambda.
15755 2013-06-08 Leo Liu <sdl.web@gmail.com>
15757 * progmodes/octave.el (octave-add-log-current-defun): New function.
15758 (octave-mode): Set add-log-current-defun-function.
15759 (octave-goto-function-definition): Do not move point if not found.
15760 (octave-find-definition): Enhance to try subfunctions first.
15762 2013-06-08 Glenn Morris <rgm@gnu.org>
15764 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15765 (byte-compile-backward-char, byte-compile-backward-word):
15766 Improve previous change, to handle non-explicit nil.
15768 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15771 (smie--opener/closer-at-point): New function.
15772 (smie--matching-block-data): Use it. Don't match from right after an
15773 opener or right before a closer. Obey smie-blink-matching-inners.
15774 Don't signal a mismatch for repeated inners like "switch..case..case".
15776 2013-06-07 Leo Liu <sdl.web@gmail.com>
15778 * progmodes/octave.el (octave-mode): Set comment-use-global-state
15780 (octave-function-header-regexp): Fix. (Bug#14570)
15781 (octave-help-mode-finish-hook, octave-help-mode-finish):
15782 Remove. Just use temp-buffer-show-hook.
15784 * newcomment.el (comment-search-backward): Revert last change.
15787 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15789 2013-06-07 Eli Zaretskii <eliz@gnu.org>
15791 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15792 through xargs, to avoid failure due to MS-Windows limitations on
15793 command-line length.
15795 2013-06-06 Glenn Morris <rgm@gnu.org>
15797 * font-lock.el (lisp-font-lock-keywords-2):
15798 Treat user-error like error.
15800 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15801 (byte-compile-backward-char, byte-compile-backward-word):
15802 Handle explicit nil arguments. (Bug#14565)
15804 2013-06-05 Alan Mackenzie <acm@muc.de>
15806 * isearch.el (isearch-allow-prefix): New user option.
15807 (isearch-other-meta-char): Don't exit isearch when a prefix
15808 argument is typed whilst `isearch-allow-prefix' is non-nil.
15811 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15813 * autorevert.el (auto-revert-notify-handler): Use memq.
15814 Hide assertion failure.
15816 * skeleton.el: Use cl-lib.
15817 (skeleton-further-elements): Use defvar-local.
15818 (skeleton-insert): Use cl-progv.
15820 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15822 * progmodes/prog-mode.el (prog-prettify-symbols)
15823 (prog-prettify-install): Update docstrings.
15825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15827 * simple.el: Move all the prog-mode code to prog-mode.el.
15828 * progmodes/prog-mode.el: New file.
15829 * loadup.el: Add prog-mode.el.
15831 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15833 * simple.el (prog-prettify-symbols): Add version.
15834 (prog-prettify-install): Add convenience function to prettify symbols.
15836 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15837 (perl--augmented-font-lock-keywords-1)
15838 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15839 variables and use it.
15841 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15842 (cfengine3-mode): Remove unneeded variable and use it.
15844 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15845 (lisp--augmented-font-lock-keywords-1)
15846 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15847 Remove unneeded variables and use it.
15849 2013-06-05 João Távora <joaotavora@gmail.com>
15851 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15852 to point when opening the connection. (Bug#14380)
15854 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15856 * subr.el (load-history-regexp, load-history-filename-element)
15857 (eval-after-load, after-load-functions, do-after-load-evaluation)
15858 (eval-next-after-load, display-delayed-warnings)
15859 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15860 definition of save-match-data.
15861 (overriding-local-map): Remove accidental obsolescence declaration.
15863 * emacs-lisp/edebug.el (edebug-result): Move before first use.
15865 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15867 Generalize symbol prettify support to prog-mode and implement it
15868 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15869 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15870 (prog--prettify-font-lock-compose-symbol)
15871 (prog-prettify-font-lock-symbols-keywords): New variables and
15872 functions to support symbol prettification.
15873 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15874 (lisp--augmented-font-lock-keywords-1)
15875 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15876 (lisp--prettify-symbols-alist): Implement prettify of lambda.
15877 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15878 (cfengine3--prettify-symbols-alist, cfengine3-mode):
15879 Implement prettify of -> => :: strings.
15880 * progmodes/perl-mode.el (perl-prettify-symbols)
15881 (perl--font-lock-compose-symbol)
15882 (perl--font-lock-symbols-keywords): Move to prog-mode.
15883 (perl--prettify-symbols-alist): Prettify -> => :: strings.
15884 (perl-font-lock-keywords-1)
15885 (perl-font-lock-keywords-2): Remove explicit prettify support.
15886 (perl--augmented-font-lock-keywords)
15887 (perl--augmented-font-lock-keywords-1)
15888 (perl--augmented-font-lock-keywords-2, perl-mode):
15889 Implement prettify support.
15891 2013-06-05 Leo Liu <sdl.web@gmail.com>
15893 Re-implement SMIE matching block highlight using
15894 show-paren-data-function. (Bug#14395)
15895 * emacs-lisp/smie.el (smie-matching-block-highlight)
15896 (smie--highlight-matching-block-overlay)
15897 (smie--highlight-matching-block-lastpos)
15898 (smie-highlight-matching-block)
15899 (smie-highlight-matching-block-mode): Remove.
15900 (smie--matching-block-data-cache): New variable.
15901 (smie--matching-block-data): New function.
15902 (smie-setup): Use smie--matching-block-data for
15903 show-paren-data-function.
15905 * progmodes/octave.el (octave-mode-menu): Fix.
15906 (octave-find-definition): Skip garbage lines.
15908 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15910 Fix compilation error with simultaneous dynamic+lexical scoping.
15911 Add warning when a defvar appears after the first let-binding.
15912 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15913 (byte-compile-close-variables): Initialize it.
15914 (byte-compile--declare-var): New function.
15915 (byte-compile-file-form-defvar)
15916 (byte-compile-file-form-define-abbrev-table)
15917 (byte-compile-file-form-custom-declare-variable): Use it.
15918 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
15919 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15920 (byte-compile-bind): Handle dynamic bindings that shadow
15922 (byte-compile-unbind): Make arg non-optional.
15923 (byte-compile-let): Simplify.
15924 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15925 (cconv--analyse-function, cconv-analyse-form): Populate it.
15926 Protect byte-compile-bound-variables to limit the scope of defvars.
15927 (cconv-analyse-form): Add missing rule for (defvar <foo>).
15928 Remove unneeded rule for `declare'.
15930 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15931 so as to avoid depending on cl-adjoin at run-time.
15932 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15934 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15935 (macroexp--warn-and-return): Use it.
15937 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15939 * subr.el: Convert to lexical binding.
15940 (overriding-local-map): Make obsolete.
15941 (add-to-list): Doc fix. Add compiler macro.
15942 (read-key): Swap values of local maps.
15944 2013-06-05 Leo Liu <sdl.web@gmail.com>
15946 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15948 2013-06-04 Leo Liu <sdl.web@gmail.com>
15950 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15951 (compilation-auto-jump): Suppress the "Mark set" message to give
15952 way to exit message.
15954 2013-06-04 Alan Mackenzie <acm@muc.de>
15956 Remove faulty optimisation from indentation calculation.
15957 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15958 search limit based on 2000 characters back from indent-point.
15960 2013-06-03 Tassilo Horn <tsdh@gnu.org>
15962 * eshell/em-term.el (cl-lib): Require `cl-lib'.
15964 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * emacs-lisp/lisp.el: Use lexical-binding.
15967 (lisp--local-variables-1, lisp--local-variables): New functions.
15968 (lisp--local-variables-completion-table): New var.
15969 (lisp-completion-at-point): Use it complete let-bound vars.
15971 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15972 eagerly (bug#14422).
15974 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
15976 * autorevert.el (auto-revert-notify-enabled)
15977 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15978 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15979 (auto-revert-notify-handler): Handle also gfilenotify.
15981 * subr.el (file-notify-handle-event): New defun. Replacing ...
15982 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15985 2013-06-03 Juri Linkov <juri@jurta.org>
15987 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15988 `M-s h .'. (Bug#14427)
15990 * hi-lock.el (highlight-symbol-at-point): New alias for the new
15991 command `hi-lock-face-symbol-at-point'.
15992 (hi-lock-face-symbol-at-point): New command.
15993 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15994 (hi-lock-menu): Add `highlight-symbol-at-point'.
15995 (hi-lock-mode): Doc fix.
15997 * isearch.el (isearch-forward-symbol-at-point): New command.
15998 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15999 (isearch-highlight-regexp): Add a regexp which matches
16000 words/symbols for word/symbol mode.
16002 * subr.el (find-tag-default-bounds): New function with the body
16003 mostly moved from `find-tag-default'.
16004 (find-tag-default): Move most code to `find-tag-default-bounds',
16005 call it and apply `buffer-substring-no-properties' afterwards.
16007 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16009 * eshell/em-term.el (eshell-term-initialize):
16010 Use `cl-intersection' rather than `intersection'.
16012 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
16014 * vc/log-view.el: Doc fix.
16015 (log-view-mode-map): Copy keymap from `special-mode-map'.
16017 2013-06-02 Eric Ludlam <zappo@gnu.org>
16019 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
16020 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
16021 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
16022 (eieio-unbound, eieio-default-superclass)
16023 (eieio--define-field-accessors, method-static, method-before)
16024 (method-primary, method-after, method-num-lists)
16025 (method-generic-before, method-generic-primary)
16026 (method-generic-after, method-num-slots)
16027 (eieio-specialized-key-to-generic-key)
16028 (eieio--check-type, class-v, class-p)
16029 (eieio-class-name, define-obsolete-function-alias)
16030 (eieio-class-parents-fast, eieio-class-children-fast)
16031 (same-class-fast-p, class-constructor, generic-p)
16032 (generic-primary-only-p, generic-primary-only-one-p)
16033 (class-option-assoc, class-option, eieio-object-p)
16034 (class-abstract-p, class-method-invocation-order)
16035 (eieio-defclass-autoload-map, eieio-defclass-autoload)
16036 (eieio-class-un-autoload, eieio-defclass)
16037 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
16038 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
16039 (eieio--defgeneric-init-form, eieio-defgeneric-form)
16040 (eieio-defgeneric-reset-generic-form)
16041 (eieio-defgeneric-form-primary-only)
16042 (eieio-defgeneric-reset-generic-form-primary-only)
16043 (eieio-defgeneric-form-primary-only-one)
16044 (eieio-defgeneric-reset-generic-form-primary-only-one)
16045 (eieio-unbind-method-implementations)
16046 (eieio--defmethod, eieio--typep)
16047 (eieio-perform-slot-validation, eieio-validate-slot-value)
16048 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
16049 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
16050 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
16051 (eieio-slot-name-index, eieio-class-slot-name-index)
16052 (eieio-set-defaults, eieio-initarg-to-attribute)
16053 (eieio-attribute-to-initarg, eieio-c3-candidate)
16054 (eieio-c3-merge-lists, eieio-class-precedence-c3)
16055 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
16056 (eieio-class-precedence-list, eieio-generic-call-methodname)
16057 (eieio-generic-call-arglst, eieio-generic-call-key)
16058 (eieio-generic-call-next-method-list)
16059 (eieio-pre-method-execution-functions, eieio-generic-call)
16060 (eieio-generic-call-primary-only, eieiomt-method-list)
16061 (eieiomt-optimizing-obarray, eieiomt-install)
16062 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
16063 (eieio-generic-form, eieio-defmethod, make-obsolete)
16064 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
16065 (defclass): Remove `eval-and-compile' from macro.
16066 (call-next-method, shared-initialize): Instead of using
16067 `scoped-class' variable, use new eieio--scoped-class, and
16068 eieio--with-scoped-class.
16069 (initialize-instance): Rename local variable 'scoped-class' to
16070 'this-class' to remove ambiguitity from old global.
16072 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
16074 (eieio--scoped-class-stack): New variable.
16075 (eieio--scoped-class): New fcn.
16076 (eieio--with-scoped-class): New scoping macro.
16077 (eieio-defclass): Use pushnew instead of add-to-list.
16078 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
16079 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
16080 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
16081 `scoped-class' variable, use new eieio--scoped-class, and
16082 eieio--with-scoped-class.
16084 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
16086 2013-06-02 Tassilo Horn <tsdh@gnu.org>
16088 * eshell/esh-ext.el (eshell-external-command): Pass args to
16089 `eshell-find-interpreter'.
16090 (eshell-find-interpreter): Add new second parameter ARGS.
16092 * eshell/em-script.el (eshell-script-initialize): Add second arg
16093 to the function added as MATCH to `eshell-interpreter-alist'.
16095 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
16096 the function added as MATCH to `eshell-interpreter-alist'.
16098 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
16099 (eshell-visual-options): New defcustom.
16100 (eshell-escape-control-x): Adapt docstring.
16101 (eshell-term-initialize): Test `eshell-visual-subcommands' and
16102 `eshell-visual-options' in addition to `eshell-visual-commands'.
16103 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
16105 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
16107 * progmodes/python.el (python-indent-block-enders): Add break,
16108 continue and raise keywords.
16110 2013-06-01 Glenn Morris <rgm@gnu.org>
16112 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
16114 Plain (f)boundp silences compilation warnings since Emacs 22.1.
16115 * progmodes/cc-cmds.el (delete-forward-p):
16116 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
16117 * progmodes/cc-engine.el (buffer-syntactic-context):
16118 * progmodes/cc-fonts.el (face-property-instance):
16119 * progmodes/cc-mode.el (set-keymap-parents):
16120 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
16121 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
16122 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
16123 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
16124 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
16126 * progmodes/cc-vars.el (other): Emacs has this widget since
16127 at least 21.1, so don't (re)define it.
16129 * eshell/em-cmpl.el (eshell-cmpl-initialize):
16130 Replace the obsolete alias pcomplete-arg-quote-list.
16132 2013-06-01 Leo Liu <sdl.web@gmail.com>
16134 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
16135 punctuation syntax.
16136 (inferior-octave-minimal-columns)
16137 (inferior-octave-last-column-width): New variables.
16138 (inferior-octave-track-window-width-change): New function.
16139 (inferior-octave-mode): Adjust column width so that Octave output,
16140 for example from 'ls', can fit into the window nicely.
16142 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16144 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16145 Highlight expansions inside regexp literals.
16147 2013-05-31 Glenn Morris <rgm@gnu.org>
16149 * obsolete/sym-comp.el (symbol-complete):
16150 Replace obsolete completion-annotate-function.
16152 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16154 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16156 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16157 New function, checks if point is inside a literal that allows
16158 expression expansion.
16159 (ruby-syntax-propertize-expansion): Use it.
16160 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16163 2013-05-30 Juri Linkov <juri@jurta.org>
16165 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16167 (isearch-invisible): New variable.
16168 (isearch-forward): Doc fix.
16169 (isearch-mode): Set `isearch-invisible'
16170 to the value of `search-invisible'.
16171 (isearch-toggle-case-fold): Doc fix.
16172 (isearch-toggle-invisible): New command.
16173 (isearch-query-replace): Let-bind `search-invisible'
16174 to the value of `isearch-invisible'.
16175 (isearch-search): Use `isearch-invisible' instead of
16176 `search-invisible'. Let-bind `search-invisible'
16177 to the value of `isearch-invisible'. (Bug#11378)
16179 2013-05-30 Juri Linkov <juri@jurta.org>
16181 * replace.el (perform-replace): Avoid `isearch-range-invisible'
16182 call when `query-flag' is nil and `search-invisible' is non-nil.
16185 2013-05-30 Glenn Morris <rgm@gnu.org>
16187 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16189 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16190 (cc-require): Suppress spurious "noruntime" warnings.
16191 (cc-require-when-compile): Use fboundp, for sake of compiler.
16193 * progmodes/cc-mode.el: Move load of cc-vars before that of
16194 cc-langs (which in turn loads cc-vars), to quieten compiler.
16196 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16198 * paren.el: Simplify the code.
16199 (show-paren-mode): Always start the timer.
16200 (show-paren--idle-timer): Rename from show-paren-idle-timer.
16201 (show-paren--overlay, show-paren--overlay-1): Rename from
16202 show-paren-overlay and show-paren-overlay-1, and initialize to an
16203 overlay rather than to nil.
16204 (show-paren-function): Misc cleanup and simplifications.
16206 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16208 * paren.el (show-paren-data-function): New hook.
16209 (show-paren--default): New function, extracted from show-paren-function.
16210 (show-paren-function): Use show-paren-data-function.
16212 2013-05-30 Glenn Morris <rgm@gnu.org>
16214 * ielm.el (ielm-map, ielm-complete-symbol):
16215 Use completion-at-point rather than obsolete functions.
16216 (inferior-emacs-lisp-mode): Doc fix.
16217 Set completion-at-point-functions, rather than
16218 comint-dynamic-complete-functions.
16220 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16221 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16222 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16224 * image.el (image-animated-p): Tweak definition.
16226 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16227 (rlogin-process-connection-type): Tweak default. Add set-after.
16228 (rlogin-host): Doc fix.
16229 (rlogin): Tweak prompt.
16230 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16232 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16233 * progmodes/tcl.el (inferior-tcl-mode-map):
16234 Use completion-at-point rather than obsolete alias.
16236 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16238 * minibuffer.el (read-file-name-completion-ignore-case):
16239 Move before completion--in-region, for eager macro expansion.
16241 2013-05-29 Juri Linkov <juri@jurta.org>
16243 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16244 for total count of matching lines. Add `global-matches' for total
16245 count of matches. Rename `matches' to `lines' for count of
16246 matching lines. Add `matches' for count of matches.
16247 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
16248 to `prev-line' for line number of prev match endpt.
16249 Increment `matches' for every match. Print the number of
16250 matching lines in the header.
16251 (occur-context-lines): Rename `lines' to `curr-line'.
16252 Rename `prev-lines' to `prev-line'. (Bug#14017)
16254 2013-05-29 Juri Linkov <juri@jurta.org>
16256 * replace.el (perform-replace): Add `skip-read-only-count',
16257 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16258 Increment them for corresponding conditions and report the number
16259 of skipped occurrences in the final message. (Bug#11746)
16260 (query-replace, query-replace-regexp, query-replace-regexp-eval)
16261 (replace-string, replace-regexp): Doc fix.
16263 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
16265 * emacs-lisp/trace.el (trace--read-args): Provide a default.
16267 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16268 prog-mode-map (bug#14504).
16270 2013-05-29 Leo Liu <sdl.web@gmail.com>
16272 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16273 (octave-help): Small simplification.
16275 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16276 off the highlight first.
16278 2013-05-29 Glenn Morris <rgm@gnu.org>
16280 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16281 Handle idlwave-last-system-routine-info-cons-cell being nil.
16283 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16284 (idlwave-write-paths): Simplify via with-temp-buffer.
16286 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16287 * emulation/cua-rect.el: Also load cua-base at run time.
16289 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16290 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16291 (cperl-imenu-on-info): Require imenu.
16293 2013-05-28 Alan Mackenzie <acm@muc.de>
16295 Handle "capitalised keywords" correctly.
16296 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16298 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16300 * eshell/em-unix.el: Add -r option to cp.
16302 2013-05-28 Glenn Morris <rgm@gnu.org>
16304 * vc/vc-arch.el (vc-exec-after): Declare.
16305 (vc-switches): Autoload.
16306 * vc/vc-bzr.el: No need to require vc when compiling.
16307 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16308 (vc-resynch-buffer, vc-dir-refresh): Declare.
16309 (vc-setup-buffer, vc-switches): Autoload.
16310 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16311 (vc-resynch-buffer): Declare.
16312 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16313 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16314 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16315 (grep-read-regexp, grep-read-files, grep-expand-template)
16316 (vc-dir-refresh): Declare.
16317 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16318 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16319 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16320 * vc/vc-mtn.el (vc-exec-after): Declare.
16321 (vc-switches): Autoload.
16322 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16323 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16324 (vc-file-tree-walk): Declare.
16325 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16326 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16327 (vc-tag-precondition, vc-rename-master): Autoload.
16328 * vc/vc-svn.el (vc-exec-after): Declare.
16329 (vc-switches, vc-setup-buffer): Autoload.
16330 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16332 (vc-resynch-buffer): Declare.
16334 * obsolete/fast-lock.el (byte-compile-warnings):
16335 Don't warn about obsolete features in this obsolete file.
16337 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16338 Move definition before use.
16340 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16341 (dun-unix-verbs): Remove dun-zippy.
16342 (dun-zippy): Remove function.
16344 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16346 2013-05-27 Juri Linkov <juri@jurta.org>
16348 * replace.el (replace-search): New function with code moved out
16349 from `perform-replace'.
16350 (replace-highlight, replace-dehighlight): Move function definitions
16351 up closer to `replace-search'. (Bug#11746)
16353 2013-05-27 Juri Linkov <juri@jurta.org>
16355 * replace.el (perform-replace): Ignore invisible matches.
16356 In addition to checking `query-replace-skip-read-only', also
16357 filter out matches by calling `run-hook-with-args-until-failure'
16358 on `isearch-filter-predicates', and also check `search-invisible'
16359 for t or call `isearch-range-invisible'.
16360 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16362 2013-05-27 Juri Linkov <juri@jurta.org>
16364 * isearch.el (isearch-filter-predicates): Rename from
16365 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16366 (isearch-message-prefix): Display text from the property
16367 `isearch-message-prefix' of the currently active filters.
16368 (isearch-search): Don't compare `isearch-filter-predicate' with
16369 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16370 on `isearch-filter-predicates'. Also check `search-invisible' for t
16371 or call `isearch-range-invisible'.
16372 (isearch-filter-visible): Make obsolete.
16373 (isearch-lazy-highlight-search):
16374 Call `run-hook-with-args-until-failure' on
16375 `isearch-filter-predicates' and use `isearch-range-invisible'.
16377 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16378 `isearch-filter-predicates' instead of `funcall'ing
16379 `isearch-filter-predicate'.
16380 (Info-mode): Set `Info-isearch-filter' to
16381 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16383 * dired-aux.el (dired-isearch-filter-predicate-orig):
16385 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16386 (dired-isearch-filenames-end): Add and remove
16387 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16388 instead of changing the value of `isearch-filter-predicate'.
16389 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16390 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16391 Put property `isearch-message-prefix' to "filename " on
16392 `dired-isearch-filter-filenames'.
16394 * wdired.el (wdired-change-to-wdired-mode):
16395 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16396 locally instead of changing `isearch-filter-predicate'.
16397 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16399 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16401 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16402 return the commit hash (Bug#14459). Also set the
16403 `vc-git-detached' property.
16404 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16405 (vc-git-mode-line-string): Use the same help-echo format whether
16406 in detached mode or not, because we know the actual revision now.
16407 When in detached mode, shorten the revision to 7 chars.
16409 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16411 * emacs-lisp/easy-mmode.el (define-minor-mode):
16412 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16413 mode hook and provide a docstring.
16415 2013-05-27 Alan Mackenzie <acm@muc.de>
16417 Remove spurious syntax-table text properties inserted by C-y.
16418 * progmodes/cc-mode.el (c-after-change): Also clear hard
16419 syntax-table property with value nil.
16421 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16423 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16424 when reading the events; the buffer layout shall not be changed.
16426 2013-05-27 Leo Liu <sdl.web@gmail.com>
16428 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16430 (inferior-octave-directory-tracker): Automatically re-sync
16432 (octave-help): Improve handling of 'See also'.
16434 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16436 * doc-view.el: Minor naming convention tweaks.
16437 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16439 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16440 even if there's no `display' property yet (bug#14435).
16442 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16444 * subr.el (unmsys--file-name): Rename from reveal-filename.
16446 * Makefile.in (custom-deps, finder-data, autoloads)
16447 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16448 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16449 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16451 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16453 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16454 error-completion on the first 2 args of condition-case (bug#14446).
16457 2013-05-25 Leo Liu <sdl.web@gmail.com>
16459 * comint.el (comint-previous-matching-input): Do not flood the
16460 *Messages* buffer with trivial messages.
16462 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16464 * progmodes/flymake.el (flymake-nop): Don't return a string.
16465 (flymake-set-at): Fix typo.
16467 * simple.el (read--expression): New function, extracted from
16468 eval-expression. Set completion-at-point-functions (bug#14465).
16469 (eval-expression, eval-minibuffer): Use it.
16471 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16473 * progmodes/flymake.el (flymake-save-buffer-in-file)
16474 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16475 (flymake-selected-frame, flymake-log, flymake-ins-after)
16476 (flymake-set-at, flymake-get-buildfile-from-cache)
16477 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16478 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16479 Refine the doc string.
16480 (flymake-get-file-name-mode-and-masks): Reformat.
16481 (flymake-get-real-file-name-function): Fix a minor bug.
16483 2013-05-24 Juri Linkov <juri@jurta.org>
16485 * progmodes/grep.el (grep-mode-font-lock-keywords):
16486 Support =linenumber= format used by git-grep for lines with
16487 function names. (Bug#13549)
16489 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16491 * progmodes/octave.el (octave-smie-rules): Return nil rather than
16492 0 after a semi-colon; it works better for smie-auto-fill.
16493 (octave--indent-new-comment-line): New function.
16494 (octave-indent-new-comment-line): Use it (indirectly).
16495 (octave-mode): Don't disable smie-auto-fill. Use add-function to
16496 modify comment-line-break-function.
16498 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16499 (smie-setup): Use add-function to set it.
16501 2013-05-24 Sam Steingold <sds@gnu.org>
16503 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16504 argument (before the `interactive' argument).
16506 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16508 * image-mode.el (image-mode-winprops): Add winprops to
16509 image-mode-winprops-alist before running
16510 image-mode-new-window-functions.
16511 * doc-view.el (doc-view-new-window-function): Don't delay
16512 doc-view-goto-page via timers (bug#14435).
16514 2013-05-24 Tassilo Horn <tsdh@gnu.org>
16516 * doc-view.el: Integrate with desktop.el. (Bug#14435)
16517 (doc-view-desktop-save-buffer): New function.
16518 (doc-view-restore-desktop-buffer): New function.
16519 (desktop-buffer-mode-handlers):
16520 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16522 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16523 `desktop-save-buffer' function.
16525 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
16527 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16528 (tramp-gvfs-file-name-handler): Raise a user error when
16529 `tramp-gvfs-enabled' is nil.
16530 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16531 Do not raise a user error when loading package. (Bug#14447)
16533 * net/xesam.el: Move to obsolete/.
16535 2013-05-24 Glenn Morris <rgm@gnu.org>
16537 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16539 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16541 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16542 (Info-find-node, Man-getpage-in-background): Declare.
16544 * mail/unrmail.el (unrmail):
16545 Replace obsolete detect-coding-with-priority.
16547 * net/socks.el (socks-split-string): Use this rather than split-string.
16548 (socks-nslookup-host): Update for above change.
16549 (dynamic-choice, s5-dynamic-choice-match)
16550 (s5-dynamic-choice-match-inline, s5-widget-value-create):
16551 Comment out unused code.
16553 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16554 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16555 (gud-tooltip-echo-area): Make obsolete.
16556 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16558 * progmodes/js.el (js--optimize-arglist): Declare.
16560 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16562 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16563 (ediff-window-C): Declare.
16565 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16566 Tweak requires to silence compiler.
16568 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16569 (he-search-string, he-tried-table, he-expand-list)
16570 (he-init-string, he-string-member, he-substitute-string)
16571 (he-reset-string): Declare.
16573 * obsolete/options.el (list-options): Use custom-variable-p,
16574 rather than obsolete alias.
16576 2013-05-23 Sam Steingold <sds@gnu.org>
16578 * simple.el (shell-command-on-region): Pass the `replace' argument
16579 down to `call-process-region' to comply with the doc as reported on
16580 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16582 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16584 * emacs-lisp/smie.el (smie-indent-forward-token)
16585 (smie-indent-backward-token): Handle string tokens (bug#14381).
16587 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16589 * ielm.el (ielm-menu): New menu.
16590 (inferior-emacs-lisp-mode): Set comment-start.
16592 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16594 * textmodes/reftex.el (reftex-ref-style-toggle):
16595 Fix deactivate action.
16597 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16598 Add cleveref macros.
16600 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16601 Accept options for bibliography commands.
16602 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16603 Add addbibresource. Basic Biblatex support.
16605 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16607 * net/tramp-gvfs.el (top):
16608 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16609 when loading package. (Bug#14447)
16611 2013-05-23 Glenn Morris <rgm@gnu.org>
16613 * progmodes/js.el: No need to load comint when compiling.
16614 (ring-insert, comint-send-string, comint-send-input)
16615 (comint-last-input-end, ido-chop): Declare.
16617 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16618 * vc/ediff-mult.el: Adjust requires.
16619 (ediff-directories-internal, ediff-directory-revisions-internal)
16620 (ediff-patch-file-internal): Declare.
16621 * vc/ediff-ptch.el: Adjust requires.
16622 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16623 (ediff-find-file): Autoload.
16624 * vc/ediff-util.el: No need to load ediff when compiling.
16625 (ediff-regions-internal): Declare.
16626 * vc/ediff-wind.el: Adjust requires.
16627 (ediff-compute-toolbar-width): Define when compiling.
16628 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16629 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16630 (dired-get-filename, dired-get-marked-files)
16631 (ediff-last-dir-patch, ediff-patch-default-directory)
16632 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16633 (ediff-patch-buffer-internal): Declare.
16635 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16636 (ispell-process, ispell-buffer-local-words, lm-summary)
16637 (lm-section-start, lm-section-end): Declare.
16638 (checkdoc-ispell-init): Simplify.
16640 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16641 (he-string-member, he-reset-string, he-substitute-string): Declare.
16643 * eshell/em-ls.el: Adjust requires.
16644 (eshell-glob-regexp): Declare.
16645 * eshell/em-tramp.el: Adjust requires.
16646 (eshell-parse-command): Autoload.
16647 * eshell/em-xtra.el: Adjust requires.
16648 (eshell-parse-command): Autoload.
16649 * eshell/esh-ext.el: Adjust requires.
16650 (eshell-parse-command, eshell-close-handles): Autoload.
16651 * eshell/esh-io.el: Adjust requires.
16652 (eshell-output-filter): Autoload.
16653 * eshell/esh-util.el: No need to load tramp when compiling.
16654 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16656 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16657 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16658 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16659 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16660 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16661 * eshell/esh-opt.el, eshell/esh-proc.el:
16662 * eshell/esh-var.el: Adjust requires.
16663 * eshell/eshell.el: Do not require esh-util twice.
16664 (eshell-add-input-to-history): Declare.
16665 (eshell-command): Check history module is active before using it.
16667 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16669 2013-05-22 Leo Liu <sdl.web@gmail.com>
16671 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16673 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16675 * autorevert.el (auto-revert-notify-add-watch)
16676 (auto-revert-notify-handler): Add `attrib' for the inotify case,
16677 it indicates changes in file modification time.
16679 2013-05-22 Glenn Morris <rgm@gnu.org>
16681 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16682 Always delete the autoloaded function from the noruntime and
16683 unresolved functions lists.
16685 * allout.el: No need to load epa, epg, overlay when compiling.
16686 (epg-context-set-passphrase-callback, epg-list-keys)
16687 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16688 (epg-key-user-id-list): Declare.
16690 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16691 (viper-set-parsing-style-toggling-macro)
16692 (viper-set-emacs-state-searchstyle-macros):
16693 Use called-interactively-p on Emacs.
16694 (viper-looking-back): Make it an obsolete alias. Update callers.
16695 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16696 Use looking-back rather than viper-looking-back.
16697 (viper-tmp-insert-at-eob, viper-enlarge-region)
16698 (viper-read-string-with-history, viper-register-to-point)
16699 (viper-append-to-register, viper-change-state-to-vi)
16700 (viper-backward-char-carefully, viper-forward-char-carefully)
16701 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16702 (viper-change-state-to-emacs): Declare.
16703 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16704 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16705 * emulation/viper-mous.el: Do not load viper-cmd.
16706 (viper-backward-char-carefully, viper-forward-char-carefully)
16707 (viper-forward-word, viper-adjust-window): Declare.
16709 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16711 * progmodes/idlw-help.el (idlwave-help-fontify):
16712 Use called-interactively-p.
16714 * term/w32console.el (w32-get-console-codepage)
16715 (w32-get-console-output-codepage): Declare.
16717 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16718 Remove unnecessary declarations.
16719 (dframe-message): Doc fix.
16721 * info.el (dframe-select-attached-frame, dframe-current-frame):
16724 * speedbar.el (speedbar-message): Make it an obsolete alias.
16725 Update all callers.
16726 (speedbar-with-attached-buffer)
16727 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16728 (speedbar-with-writable): Use backquote.
16729 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16730 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16731 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16732 rather than speedbar- aliases.
16733 * mail/rmail.el: Load dframe rather than speedbar when compiling.
16734 (speedbar-make-specialized-keymap, speedbar-insert-button)
16735 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16736 (speedbar-do-function-pointer): Declare.
16737 (rmail-speedbar-button, rmail-speedbar-find-file)
16738 (rmail-speedbar-move-message):
16739 Use dframe-with-attached-buffer rather than speedbar- alias.
16740 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16741 (dframe-message, speedbar-make-specialized-keymap)
16742 (speedbar-add-expansion-list, speedbar-mode-functions-list)
16743 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16744 (speedbar-insert-button, dframe-select-attached-frame)
16745 (dframe-maybee-jump-to-attached-frame)
16746 (speedbar-change-initial-expansion-list)
16747 (speedbar-previously-used-expansion-list-name): Declare.
16748 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16749 Use dframe-message, dframe-with-attached-buffer rather than
16751 (gud-sentinel): Silence compiler.
16752 * progmodes/vhdl-mode.el (speedbar-refresh)
16753 (speedbar-do-function-pointer, speedbar-add-supported-extension)
16754 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16755 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16756 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16757 (speedbar-file-lists, speedbar-make-tag-line)
16758 (speedbar-line-directory, speedbar-goto-this-file)
16759 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16760 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16761 (speedbar-make-button, speedbar-reset-scanners)
16762 (speedbar-files-item-info, speedbar-line-text)
16763 (speedbar-find-file-in-frame, speedbar-set-timer)
16764 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16765 (speedbar-with-writable): Do not (re)define it.
16766 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16767 rather than speedbar- alias.
16769 2013-05-21 Leo Liu <sdl.web@gmail.com>
16771 * progmodes/octave.el (octave-mode-menu): Update and re-organize
16773 (octave-mode): Tweak fill-nobreak-predicate.
16774 (inferior-octave-startup): Check process to avoid infinite loop.
16775 (inferior-octave): Pop to buffer first to show abornmal process
16778 2013-05-21 Glenn Morris <rgm@gnu.org>
16780 * printing.el (pr-menu-bar): Define when compiling.
16782 2013-05-21 Leo Liu <sdl.web@gmail.com>
16784 * progmodes/octave.el (octave-auto-fill): Remove.
16785 (octave-indent-new-comment-line): Improve.
16786 (octave-mode): Use auto fill mode through
16787 comment-line-break-function and fill-nobreak-predicate.
16788 (octave-goto-function-definition): Support DEFUN_DLD.
16789 (octave-beginning-of-defun): Small tweak.
16790 (octave-help): Show parent directory.
16792 2013-05-21 Glenn Morris <rgm@gnu.org>
16794 * files.el (dired-unmark):
16795 * progmodes/gud.el (gdb-input): Update declarations.
16797 * calculator.el (electric, ehelp): No need to load when compiling.
16798 (Electric-command-loop, electric-describe-mode): Declare.
16800 * doc-view.el (doc-view-current-converter-processes): Move before use.
16802 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16803 Move MODE-set-explicitly definition before use.
16805 * international/mule-diag.el (mule-diag):
16806 Don't use obsolete window-system-version.
16808 * mail/feedmail.el (smtpmail): No need to load when compiling.
16809 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16811 * mail/mail-utils.el (rfc822): No need to load when compiling.
16812 (rfc822-addresses): Autoload it.
16813 (mail-strip-quoted-names): Trivial simplification.
16815 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16816 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16818 * net/snmp-mode.el (tempo): Don't duplicate requires.
16820 * progmodes/prolog.el (info): No need to load when compiling.
16821 (comint): Require before shell requires it.
16822 (Info-goto-node): Autoload it.
16823 (Info-follow-nearest-node): Declare.
16824 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16826 * textmodes/artist.el (picture-mode-exit): Declare.
16828 * textmodes/reftex-parse.el (reftex-parse-from-file):
16829 Trivial rewrite so the compiler can parse it better.
16831 2013-05-20 Leo Liu <sdl.web@gmail.com>
16833 * progmodes/octave.el (octave-help-mode-map)
16834 (octave-help-mode-finish-hook): New variables.
16835 (octave-help-mode, octave-help-mode-finish): New functions.
16836 (octave-help): Use octave-help-mode.
16838 2013-05-20 Glenn Morris <rgm@gnu.org>
16840 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
16842 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
16844 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16845 start at point, so that expansion starting right after opening
16846 slash in a regexp is recognized.
16847 (ruby-syntax-before-regexp-re): New defvar, extracted from
16848 ruby-syntax-propertize-function. Since the value of this regexp
16849 is looked up at runtime now, we should be able to turn
16850 `ruby-syntax-methods-before-regexp' into a defcustom later.
16851 (ruby-syntax-propertize-function): Split regexp matching into two
16852 parts, for opening and closing slashes. That allows us to skip
16853 over string interpolations and support multiline regexps.
16854 Don't call `ruby-syntax-propertize-expansions', instead use another rule
16855 for them, which calls `ruby-syntax-propertize-expansion'.
16856 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16857 call to `ruby-syntax-propertize-function'.
16858 (ruby-syntax-propertize-expansion): Extracted from
16859 `ruby-syntax-propertize-expansions'. Handles one expansion.
16860 (ruby-syntax-propertize-percent-literal): Leave point right after
16861 the percent symbol, so that the expression expansion rule can
16862 propertize the contents.
16863 (ruby-syntax-propertize-heredoc): Leave point at bol following the
16865 (ruby-syntax-propertize-expansions): Remove.
16867 2013-05-18 Juri Linkov <juri@jurta.org>
16869 * man.el (Man-default-man-entry): Remove `-' from the end
16870 of the default value. (Bug#14400)
16872 2013-05-18 Glenn Morris <rgm@gnu.org>
16874 * comint.el (comint-password-prompt-regexp):
16875 Allow "password for XXX" where XXX contains colons (eg https://...).
16877 2013-05-18 Leo Liu <sdl.web@gmail.com>
16879 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16880 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
16881 (octave-source-directories): Don't check process.
16882 (octave-source-directories, octave-find-definition): Doc fix.
16884 2013-05-18 Glenn Morris <rgm@gnu.org>
16886 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16887 Remove backspace/delete bindings. (Bug#14392)
16889 * cus-dep.el (custom-make-dependencies): Sort the output.
16890 (custom-versions-load-alist): Convert comment to doc.
16892 2013-05-17 Leo Liu <sdl.web@gmail.com>
16894 * newcomment.el (comment-search-backward): Stricter in finding
16895 comment start. (Bug#14303)
16897 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16898 (octave-comment-start-skip): Properly anchored.
16900 2013-05-17 Leo Liu <sdl.web@gmail.com>
16902 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16903 Clean up when turned off. (Bug#14395)
16904 (smie--highlight-matching-block-overlay): No longer buffer-local.
16905 (smie-highlight-matching-block): Adjust.
16907 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
16909 Doc string fix for "nanoseconds" (Bug#14406).
16910 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16911 Fix doc string typo that had "nanoseconds" instead of "microseconds".
16913 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
16915 * calc/calc-units.el (math-extract-units): Preserve powers
16918 2013-05-17 Leo Liu <sdl.web@gmail.com>
16920 * subr.el (delete-consecutive-dups): New function.
16921 * ido.el (ido-set-matches-1): Use it.
16922 * progmodes/octave.el (inferior-octave-completion-table): Use it.
16923 * ido.el (ido-remove-consecutive-dups): Remove.
16925 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16927 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16928 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16929 regexp-opt's `words'.
16931 2013-05-16 Leo Liu <sdl.web@gmail.com>
16933 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16934 (smie--highlight-matching-block-overlay)
16935 (smie--highlight-matching-block-lastpos)
16936 (smie--highlight-matching-block-timer): New variables.
16937 (smie-highlight-matching-block): New function.
16938 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
16939 (smie-setup): Conditionally enable smie-blink-matching-open.
16941 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
16943 Sync with upstream verilog-mode r840.
16944 * progmodes/verilog-mode.el (verilog-mode-version)
16945 (verilog-mode-release-date): Update.
16946 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16947 (verilog-sig-tieoff): Fix string error on
16948 AUTORESET with colon define, bug594. Reported by Andrew Hou.
16949 (verilog-read-decls): Fix parameters confusing
16950 AUTOINST interfaces, bug565. Reported by Leith Johnson.
16952 2013-05-16 Eli Zaretskii <eliz@gnu.org>
16954 * subr.el (reveal-filename): New function.
16956 * loadup.el: Compute Emacs executable versions on MS-Windows,
16957 where executables have the .exe extension. Add a hard link
16958 emacs-XX.YY.ZZ.exe on MS-Windows.
16960 * Makefile.in (XARGS_LIMIT): New variable.
16961 (custom-deps, finder-data, autoloads)
16962 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16963 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16964 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16965 (compile-main): Limit xargs according to $(XARGS_LIMIT).
16967 2013-05-16 Leo Liu <sdl.web@gmail.com>
16969 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16970 (octave-mode-menu, octave-mode-map): Remove its uses.
16972 2013-05-16 Reto Zimmermann <reto@gnu.org>
16974 Sync with upstream vhdl mode v3.34.2.
16975 * progmodes/vhdl-mode.el: Use `push' throughout.
16976 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16977 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16978 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
16979 (vhdl-actual-generic-name): New option to derive actual generic name.
16980 (vhdl-port-paste-signals): Replace formal by actual generics.
16981 (vhdl-beautify): New name for old group vhdl-align. Update users.
16982 (vhdl-beautify-options): New option.
16983 (vhdl-last-input-event): New compat alias. Use throughout.
16984 (vhdl-goto-line): Replace user level function `goto-line'.
16985 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16986 vhdl-fix-statement-buffer.
16987 (vhdl-create-mode-menu): Add some entries.
16988 (vhdl-align-region-groups): Respect vhdl-beautify-options.
16989 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16990 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16991 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16992 to force statements on one line.
16993 (vhdl-remove-trailing-spaces-region):
16994 New, split from vhdl-remove-trailing-spaces.
16995 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16996 Respect vhdl-beautify-options.
16997 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16998 (vhdl-update-sensitivity-list): Not add with index if exists without.
16999 Not include array index with signal. Ignore keywords in comments.
17000 (vhdl-get-visible-signals): Regexp tweaks.
17001 (vhdl-template-component-inst): Handle empty library.
17002 (vhdl-template-type): Add template for 'enum' type.
17003 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
17004 Use vhdl-replace-string.
17005 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
17006 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
17007 (vhdl-speedbar-initialize): Update for above name change.
17008 (vhdl-compose-wire-components): Fix in handling of constants.
17009 (vhdl-error-regexp-emacs-alist): New variable.
17010 (vhdl-error-regexp-add-emacs): New function;
17011 adds support for new compile.el (Emacs 22+)
17012 (vhdl-generate-makefile-1): Change target order for single lib. units.
17013 Allow use of absolute file names.
17015 2013-05-16 Leo Liu <sdl.web@gmail.com>
17017 * simple.el (prog-indent-sexp): Indent enclosing defun.
17019 2013-05-15 Glenn Morris <rgm@gnu.org>
17021 * cus-start.el (show-trailing-whitespace): Move to editing basics.
17022 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
17023 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
17024 (whitespace-highlight): Move to whitespace group.
17026 * comint.el (comint-source):
17027 * pcmpl-linux.el (pcmpl-linux):
17028 * shell.el (shell-faces):
17029 * eshell/esh-opt.el (eshell-opt):
17030 * international/ccl.el (ccl): Remove empty custom groups.
17032 * completion.el (dynamic-completion-mode):
17033 * jit-lock.el (jit-lock-debug-mode):
17034 * minibuffer.el (completion-in-region-mode):
17035 * type-break.el (type-break-mode-line-message-mode)
17036 (type-break-query-mode):
17037 * emulation/tpu-edt.el (tpu-edt-mode):
17038 * progmodes/subword.el (global-subword-mode, global-superword-mode):
17039 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17040 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
17042 * term/xterm.el (xterm): Change parent group to terminals.
17044 * master.el (master): Remove empty custom group.
17045 (master-mode): Remove unused :group argument.
17046 * textmodes/refill.el (refill): Remove empty custom group.
17047 (refill-mode): Remove unused :group argument.
17049 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
17051 * cus-dep.el: Provide a feature.
17052 (custom-make-dependencies): Ignore dotfiles (dir-locals).
17053 Don't mistakenly ignore files whose basenames match a basename
17054 from preloaded-file-list (eg cedet/ede/simple.el).
17055 Add a fallback method for getting :group.
17057 2013-05-15 Juri Linkov <juri@jurta.org>
17059 * isearch.el (isearch-char-by-name): Rename from
17060 `isearch-insert-char-by-name'. Doc fix.
17061 (isearch-forward): Mention `isearch-char-by-name' in
17062 the docstring. (Bug#13348)
17064 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
17065 `exit-minibuffer' instead of
17066 `isearch-nonincremental-exit-minibuffer'.
17067 (isearch-edit-string): Remove mention of
17068 `isearch-nonincremental-exit-minibuffer' from docstring.
17069 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
17070 (isearch-forward-exit-minibuffer)
17071 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
17073 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17075 * loadup.el: Just use unversioned DOC.
17077 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17078 literals as extending to EOB.
17079 (nxml-last-fontify-end): Remove unused variable.
17080 (nxml-after-change1): Use with-silent-modifications.
17081 (nxml-extend-after-change-region): Simplify.
17082 (nxml-extend-after-change-region1): Remove function.
17083 (nxml-after-change1): Don't adjust for dependent regions.
17084 (nxml-fontify-matcher): Simplify.
17085 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
17086 (xmltok-add-dependent): Remove function.
17087 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
17088 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
17089 (xmltok-scan-prolog-after-processing-instruction-open): Treat
17090 unclosed <[[, <?, comment, and other literals as extending to EOB.
17091 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
17092 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
17094 (rng-do-some-validation-1): Don't mark dependent regions.
17095 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
17096 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
17097 (nxml-clear-dependent-regions): Remove functions.
17098 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
17099 (nxml-ensure-scan-up-to-date):
17100 Don't clear&mark dependent regions.
17102 2013-05-15 Leo Liu <sdl.web@gmail.com>
17104 * progmodes/octave.el (octave-goto-function-definition):
17105 Improve and fix callers.
17107 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17109 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
17110 the setter (bug#14387).
17112 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
17113 surrounding group (bug#14402).
17115 2013-05-14 Juri Linkov <juri@jurta.org>
17117 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
17120 2013-05-14 Glenn Morris <rgm@gnu.org>
17122 * progmodes/f90.el (f90-imenu-generic-expression):
17123 Fix typo in 2013-05-08 change. (Bug#14402)
17125 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17127 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
17128 Remove signals for which replies are never received.
17130 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17132 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
17133 (gdb-handler-alist, gdb-handler-number): Remove variables.
17134 (gdb-handler-list): New variable.
17135 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
17136 (gdb-pending-handler-p, gdb-handle-reply)
17137 (gdb-remove-all-pending-triggers): New functions.
17138 (gdb-discard-unordered-replies): New defcustom.
17139 (gdb-handler): New defstruct.
17140 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17141 instead of gdb-pending-triggers. Update docstring.
17142 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
17143 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17144 (gdb-var-update-handler, def-gdb-auto-update-trigger)
17145 (def-gdb-auto-update-handler, gdb-get-changed-registers)
17146 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17147 (gdb-frame-handler): Pending triggers are now automatically managed.
17148 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17150 (gdb-input): Automatically handles pending triggers. Update docstring.
17151 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17152 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17154 (gdb-done-or-error): Now use gdb-handle-reply.
17156 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17158 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17161 2013-05-14 Glenn Morris <rgm@gnu.org>
17163 * subr.el (user-emacs-directory-warning): New option.
17164 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
17166 2013-05-14 Leo Liu <sdl.web@gmail.com>
17168 * progmodes/octave.el (octave-font-lock-keywords): Fix error
17170 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17171 (octave-font-lock-texinfo-comment): Fix invalid search bound
17172 error: wrong side of point.
17174 2013-05-14 Glenn Morris <rgm@gnu.org>
17176 * progmodes/flymake.el (flymake-xml-program): New option.
17177 (flymake-xml-init): Use it.
17179 * term/xterm.el: Provide a feature.
17181 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
17183 2013-05-13 Glenn Morris <rgm@gnu.org>
17185 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17186 Add compat aliases as a hack workaround. (Bug#14384)
17188 2013-05-13 Leo Liu <sdl.web@gmail.com>
17190 * progmodes/octave.el (octave-indent-comment): Fix indentation for
17192 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17194 (octave-comment-start-skip): Include %!.
17195 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17197 2013-05-12 Leo Liu <sdl.web@gmail.com>
17199 * progmodes/octave.el (inferior-octave-startup): Store the value
17200 of __octave_srcdir__ for octave-source-directories.
17201 (inferior-octave-check-process): New function refactored out of
17202 inferior-octave-send-list-and-digest.
17203 (octave-source-directories)
17204 (octave-find-definition-filename-function): New variables.
17205 (octave-source-directories)
17206 (octave-find-definition-default-filename): New functions.
17207 (octave-find-definition): Improve to find functions implemented in C++.
17209 2013-05-12 Glenn Morris <rgm@gnu.org>
17211 * calendar/diary-lib.el (diary-outlook-format-1):
17212 Don't include dayname in the output. (Bug#14349)
17214 2013-05-11 Glenn Morris <rgm@gnu.org>
17216 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17218 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17219 Treat cc-provide like provide.
17221 2013-05-11 Kevin Ryde <user42@zip.com.au>
17223 * cus-dep.el (custom-make-dependencies):
17224 Use generated-autoload-load-name for the sake of files such
17225 such cedet/semantic/bovine/c.el, where the base file name
17226 is not in load-path. (Bug#5277)
17228 2013-05-11 Glenn Morris <rgm@gnu.org>
17230 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17233 2013-05-11 Leo Liu <sdl.web@gmail.com>
17235 * progmodes/octave.el (octave-indent-comment): Improve.
17236 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17237 (octave-eldoc-function-signatures, octave-eldoc-function):
17239 (octave-mode, inferior-octave-mode): Add eldoc support.
17241 2013-05-11 Richard Stallman <rms@gnu.org>
17243 * epa.el (epa-decrypt-file): Take output file name as argument
17244 and read it using `interactive'.
17246 2013-05-11 Leo Liu <sdl.web@gmail.com>
17248 * progmodes/octave.el (octave-beginning-of-line)
17249 (octave-end-of-line): Check before using up-list because it jumps
17250 out of more syntactic contructs since moving to smie.
17251 (octave-indent-comment): New function.
17252 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
17253 (octave-begin-keywords, octave-end-keywords)
17254 (octave-reserved-words, octave-smie-bnf-table)
17255 (octave-smie-rules): Add new keywords from Octave 3.6.4.
17257 2013-05-11 Glenn Morris <rgm@gnu.org>
17259 * faces.el (internal-face-x-get-resource):
17260 * frame.el (ns-display-monitor-attributes-list):
17261 * calc/calc-aent.el (math-to-radians-2):
17262 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17265 * calc/calc-menu.el: Make it loadable in isolation.
17267 * net/eudcb-bbdb.el: Make it loadable without bbdb.
17268 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17269 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17270 (eudc-bbdb-query-internal): Require 'bbdb.
17272 * lpr.el (lpr-headers-switches):
17273 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17275 * progmodes/sql.el (sql-login-params): Fix and improve :type.
17277 * emulation/edt-mapper.el: In batch mode, error rather than hang.
17279 * term.el (term-set-escape-char): Make it idempotent.
17281 2013-05-10 Leo Liu <sdl.web@gmail.com>
17283 * progmodes/octave.el (inferior-octave-completion-table):
17284 No longer a function and all uses changed. Use cache to speed up
17285 completion due to bug#11906.
17286 (octave-beginning-of-defun): Re-write to be more general.
17288 2013-05-10 Glenn Morris <rgm@gnu.org>
17290 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17292 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17294 * comint.el (comint-redirect-send-command-to-process): Use :around
17295 rather than :override for comint-redirect-filter.
17296 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17297 Call it instead of comint-redirect-original-filter-function (which
17298 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17300 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17302 * frame.el (display-monitor-attributes-list): Add NS case.
17303 (ns-display-monitor-attributes-list): Declare.
17305 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17307 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17309 2013-05-09 Glenn Morris <rgm@gnu.org>
17311 * international/fontset.el (vertical-centering-font-regexp):
17312 Set standard-value.
17314 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17316 * bookmark.el (bookmark-search-delay):
17317 * cus-start.el (vertical-centering-font-regexp):
17318 * ps-mule.el (ps-mule-font-info-database-default):
17319 * ps-print.el (ps-default-fg, ps-default-bg):
17320 * type-break.el (type-break-good-break-interval):
17321 * whitespace.el (whitespace-indentation-regexp)
17322 (whitespace-space-after-tab-regexp):
17323 * emacs-lisp/testcover.el (testcover-1value-functions)
17324 (testcover-noreturn-functions, testcover-progn-functions)
17325 (testcover-prog1-functions):
17326 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17327 * eshell/em-glob.el (eshell-glob-translate-alist):
17328 * play/tetris.el (tetris-tty-colors):
17329 * progmodes/cpp.el (cpp-face-default-list):
17330 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17331 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17332 (idlwave-help-browser-generic-args):
17333 * progmodes/make-mode.el (makefile-special-targets-list):
17334 * progmodes/python.el (python-shell-virtualenv-path):
17335 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17336 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17337 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17338 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17339 * textmodes/reftex-vars.el (reftex-format-label-function):
17340 * textmodes/remember.el (remember-diary-file): Fix custom types.
17342 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17345 2013-05-09 Leo Liu <sdl.web@gmail.com>
17347 * progmodes/octave.el (inferior-octave-completion-at-point):
17348 Restore file completion. (Bug#14300)
17349 (inferior-octave-startup): Fix incorrect highlighting for the
17352 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * progmodes/ruby-mode.el: First cut at SMIE support.
17355 (ruby-use-smie): New var.
17356 (ruby-smie-grammar): New constant.
17357 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17358 (ruby-smie--forward-token, ruby-smie--backward-token)
17359 (ruby-smie-rules): New functions.
17360 (ruby-mode-variables): Setup SMIE if applicable.
17362 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17364 * simple.el (line-move-visual): Signal beginning/end of buffer
17365 only if vertical-motion moved less than it was requested. Avoids
17366 silly incorrect error messages when there are display strings with
17367 multiple newlines at EOL.
17369 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17371 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17372 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17373 (prolog-char-quote-workaround):
17374 * progmodes/cperl-mode.el (cperl-under-as-char):
17375 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17377 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17379 (vhdl-mode-syntax-table-init): Remove.
17381 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17384 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17386 (ld-script-font-lock-keywords):
17387 Change regexps to use things like \_< and \_>.
17389 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17390 Change all regexps to use things like \_< and \_>.
17392 * progmodes/autoconf.el (autoconf-definition-regexp)
17393 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17394 Handle a _ with symbol syntax.
17395 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17397 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17398 Consolidate declaration.
17399 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17401 (ada-create-syntax-table): Remove.
17402 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17403 already has the right syntax nowadays.
17404 (ada-goto-next-word): Don't change the syntax of "_".
17406 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17409 2013-05-08 Sam Steingold <sds@gnu.org>
17411 * thingatpt.el (thing-at-point): Accept optional second argument
17412 NO-PROPERTIES to strip the text properties from the return value.
17413 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17414 to `thing-at-point' instead of stripping the properties ourselves.
17415 Also, when `thing-at-point' fails to find a url, prepend "http://"
17416 to the filename at point on the assumption that the user is
17417 pointing at something like gnu.org/gnu.
17419 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17421 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17422 * faces.el (crm-separator):
17423 Silence byte-compiler.
17425 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17426 (tool-bar-map): Remove unneeded defvars.
17428 2013-05-08 Leo Liu <sdl.web@gmail.com>
17430 Re-work a fix for bug#10994 based on Le Wang's patch.
17431 * ido.el (ido-remove-consecutive-dups): New helper.
17432 (ido-completing-read): Use it.
17433 (ido-chop): Revert fix for bug#10994.
17435 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17437 * cus-edit.el (custom-save-variables):
17438 Pretty-print long values. (Bug#14187)
17440 2013-05-08 Glenn Morris <rgm@gnu.org>
17442 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17443 (m4-mode-syntax-table): Init in the defvar.
17444 (m4-mode-abbrev-table): Let define-derived-mode define it.
17446 2013-05-08 Tom Tromey <tromey@redhat.com>
17448 * progmodes/m4-mode.el (m4-mode-syntax-table):
17449 Do not treat "_" as word constituent. (Bug#14167)
17451 2013-05-07 Glenn Morris <rgm@gnu.org>
17453 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17454 Remove explicit eshell-isearch-cancel-map.
17456 * progmodes/f90.el (f90-smart-end-names): New option.
17457 (f90-smart-end): Doc fix.
17458 (f90-end-block-optional-name): New constant.
17459 (f90-block-match): Respect f90-smart-end-names.
17461 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17463 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17464 about implicit semi-colons (bug#14218).
17466 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17468 * frame.el (display-monitor-attributes-list)
17469 (frame-monitor-attributes): New functions.
17471 2013-05-06 Leo Liu <sdl.web@gmail.com>
17473 * progmodes/octave.el (octave-syntax-propertize-function): Change
17474 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17475 (octave-font-lock-keywords): Use octave-operator-regexp.
17476 (octave-completion-at-point): Rename from
17477 octave-completion-at-point-function.
17478 (inferior-octave-directory-tracker): Robustify.
17479 (octave-text-functions): Remove and fix its uses. No such things
17482 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17484 * emacs-lisp/trace.el (trace--display-buffer): New function.
17485 (trace-make-advice): Use it.
17487 2013-05-06 Juri Linkov <juri@jurta.org>
17489 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
17490 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17492 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17493 in the help string. (Bug#12985)
17495 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
17497 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
17499 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17501 * progmodes/perl-mode.el: Add support for here documents.
17502 (perl-syntax-propertize-function): Match here-doc markers.
17503 (perl-syntax-propertize-special-constructs): Find their end.
17504 (perl-imenu-generic-expression): Use [:alnum:].
17506 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17507 (advice--add-function): Refresh the advice if already present
17510 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
17512 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
17514 2013-05-06 Glenn Morris <rgm@gnu.org>
17516 * w32-fns.el (w32-charset-info-alist): Declare.
17518 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17519 of its defcustom properties.
17520 (eshell-cmpl-initialize): No need to load pcomplete.
17522 * generic-x.el: No need to require comint when compiling.
17524 * net/eudc-export.el: Make it loadable without bbdb.
17525 (top-level): Use require rather than load-library.
17526 (eudc-create-bbdb-record, eudc-bbdbify-phone)
17527 (eudc-batch-export-records-to-bbdb)
17528 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17531 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17533 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17534 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17535 some tweaks, instead.
17537 2013-05-05 Leo Liu <sdl.web@gmail.com>
17539 * progmodes/octave.el (octave-font-lock-keywords)
17540 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17541 (inferior-octave-send-list-and-digest): Improve error message.
17542 (octave-mode, inferior-octave-mode): Use setq-local.
17543 (octave-help): Set info-lookup-mode.
17545 2013-05-05 Richard Stallman <rms@gnu.org>
17547 * vc/compare-w.el (compare-windows-whitespace):
17548 Treat no-break space as whitespace.
17550 * mail/rmailsum.el (rmail-summary-rmail-update):
17551 Detect empty summary and don't change selected message.
17552 (rmail-summary-goto-msg): Likewise.
17554 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17555 Doc fixes, rename args.
17557 2013-05-05 Alan Mackenzie <acm@muc.de>
17559 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17561 2013-05-05 Juri Linkov <juri@jurta.org>
17563 * info.el (Info-read-subfile): Use (point-min) instead of (point)
17564 to not add the length of the summary segment to the return value.
17567 2013-05-05 Leo Liu <sdl.web@gmail.com>
17569 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17570 (inferior-octave-output-filter): Remove.
17571 (octave-send-region, inferior-octave-startup): Fix callers.
17572 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17573 (octave-binary-file-extensions): New user variable.
17574 (octave-find-definition): Confirm if opening binary files.
17575 (octave-help-file): Use octave-find-definition to get the binary
17577 (octave-help): Adjust for octave-help-file change.
17579 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17581 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17582 Merge the two entries that handle function definitions.
17583 (pascal--syntax-propertize): New const.
17584 (pascal-mode): Use it. Use setq-local.
17586 2013-05-04 Glenn Morris <rgm@gnu.org>
17588 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17589 (diary-from-outlook): Respect diary-from-outlook-function.
17591 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17593 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17594 Move the declaration from C.
17595 (read-minibuffer, eval-minibuffer): Move from C.
17596 (completion-setup-function): Avoid minibuffer-completion-contents.
17598 2013-05-03 Leo Liu <sdl.web@gmail.com>
17600 * progmodes/octave.el (octave-font-lock-keywords): Do not
17601 dehighlight 'end' in comments or strings.
17602 (octave-completing-read, octave-goto-function-definition):
17604 (octave-help-buffer): New user variable.
17605 (octave-help-file, octave-help-function): New button types.
17606 (octave-help): New command and bind it to C-h ;.
17607 (octave-find-definition): New command and bind it to M-.
17608 (user-error): Alias to error if not defined.
17610 2013-05-02 Leo Liu <sdl.web@gmail.com>
17612 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17614 (octave-font-lock-keywords): Include [ and {.
17616 2013-05-02 Leo Liu <sdl.web@gmail.com>
17618 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17619 (inferior-octave): Remove calling comint-mode and return the buffer.
17620 (inferior-octave-startup): Cosmetic changes.
17622 2013-05-02 Leo Liu <sdl.web@gmail.com>
17624 * progmodes/octave.el (octave-syntax-propertize-function):
17625 Include the case when ' is at line beginning. (Bug#14336)
17627 2013-05-02 Glenn Morris <rgm@gnu.org>
17629 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17630 * desktop.el (vc-dir-mode): Just autoload it here.
17632 2013-05-02 Alan Mackenzie <acm@muc.de>
17634 Eliminate variable c-standard-font-lock-fontify-region-function.
17635 * progmodes/cc-mode.el
17636 (c-standard-font-lock-fontify-region-function): Remove.
17637 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17639 2013-05-01 Leo Liu <sdl.web@gmail.com>
17641 * progmodes/octave.el: Compatible with older emacs-24 releases.
17642 (inferior-octave-has-built-in-variables): Remove. Built-in
17643 variables were removed from Octave in 2007.
17644 (inferior-octave-startup): Fix uses.
17645 (comint-line-beginning-position): Remove compatibility code for
17648 2013-05-01 Juri Linkov <juri@jurta.org>
17650 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17652 2013-05-01 Juri Linkov <juri@jurta.org>
17654 * comint.el (comint-previous-matching-input): Don't print message
17655 "History item: %d" when `isearch-mode' is active.
17656 (comint-history-isearch-message): Print message "History item: %d"
17657 when `comint-input-ring-index' is not empty and this function is
17658 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17660 2013-05-01 Leo Liu <sdl.web@gmail.com>
17662 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17663 definitions. Use completion-at-point to insert keywords.
17664 (octave-abbrev-start): Remove.
17665 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17667 2013-04-30 Leo Liu <sdl.web@gmail.com>
17669 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17672 2013-04-30 Alan Mackenzie <acm@muc.de>
17674 Handle arbitrarily long C++ member initialisation lists.
17675 * progmodes/cc-engine.el (c-back-over-member-initializers):
17677 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17678 (most) member init lists.
17680 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17682 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17685 2013-04-30 Leo Liu <sdl.web@gmail.com>
17687 * progmodes/octave.el (octave-variables): Remove. No builtin
17688 variables any more. All converted to functions.
17689 (octave-font-lock-keywords, octave-completion-at-point-function):
17691 (octave-font-lock-texinfo-comment): New user variable.
17692 (octave-texinfo-font-lock-keywords): New variable for texinfo
17694 (octave-function-comment-block): New face.
17695 (octave-font-lock-texinfo-comment): New function.
17696 (octave-mode): Font lock texinfo comment block.
17698 2013-04-29 Leo Liu <sdl.web@gmail.com>
17700 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17701 indexing expression.
17702 (octave-continuation-string): Do not use \.
17703 (inferior-octave-complete-impossible): Remove.
17704 (inferior-octave-completion-table)
17705 (inferior-octave-completion-at-point): Remove its uses.
17706 (inferior-octave-startup): completion_matches was introduced to
17707 Octave in 1996 so safe to assume it.
17708 (octave-function-file-comment): Improve to follow how Octave does it.
17709 (octave-update-function-file-comment): Tweak.
17711 2013-04-29 Leo Liu <sdl.web@gmail.com>
17713 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17714 (inferior-octave-startup): Remove inferior-octave-startup-hook.
17715 (octave-function-file-comment): Fix typo.
17716 (octave-sync-function-file-names): Use read-char-choice.
17718 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
17720 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17721 to t for the less important warnings.
17723 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
17725 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
17727 2013-04-27 Glenn Morris <rgm@gnu.org>
17729 * vc/log-view.el (log-view-current-entry):
17730 Treat "---" separator lines as part of the following rev. (Bug#14169)
17732 2013-04-27 Juri Linkov <juri@jurta.org>
17734 * subr.el (read-number): Doc fix about using it by interactive
17735 code letter `n'. (Bug#14254)
17737 2013-04-27 Juri Linkov <juri@jurta.org>
17739 * desktop.el (desktop-auto-save-timeout): New option.
17740 (desktop-file-checksum): New variable.
17741 (desktop-save): Add optional arg `auto-save' and don't auto-save
17742 if nothing changed.
17743 (desktop-auto-save-timer): New variable.
17744 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17745 (after-init-hook): Call `desktop-auto-save-set-timer'.
17746 Suggested by Reuben Thomas <rrt@sc3d.org> in
17747 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17749 2013-04-27 Leo Liu <sdl.web@gmail.com>
17751 * progmodes/octave.el (octave-function-file-p)
17752 (octave-skip-comment-forward, octave-function-file-comment)
17753 (octave-update-function-file-comment): New functions.
17754 (octave-mode-map): Bind C-c ; to
17755 octave-update-function-file-comment.
17756 (octave-mode-menu): Add octave-update-function-file-comment.
17757 (octave-mode, inferior-octave-mode): Fix doc-string.
17758 (octave-insert-defun): Conform to Octave's coding convention.
17761 * files.el (basic-save-buffer): Don't let errors in
17762 before-save-hook prevent saving buffer.
17764 2013-04-20 Roland Winkler <winkler@gnu.org>
17766 * faces.el (read-face-name): Use completing-read if arg multiple
17769 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
17771 * ls-lisp.el (ls-lisp-insert-directory): If no files are
17772 displayed, move point to after the totals line.
17773 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17776 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
17778 * emacs-lisp/package.el (package-autoload-ensure-default-file):
17779 Add current dir to the load-path.
17780 (package-generate-autoloads): Don't rely on
17781 autoload-ensure-default-file.
17783 2013-04-26 Reuben Thomas <rrt@sc3d.org>
17785 * textmodes/remember.el (remember-store-in-files): Document that
17786 the file name format is passed to `format-time-string'.
17788 2013-04-26 Leo Liu <sdl.web@gmail.com>
17790 * progmodes/octave.el (octave-sync-function-file-names): New function.
17791 (octave-mode): Use it in before-save-hook.
17793 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
17795 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17798 * progmodes/octave.el (octave-smie-forward-token): Properly skip
17799 \n and comment, even if it's not an implicit ; (bug#14218).
17801 2013-04-26 Glenn Morris <rgm@gnu.org>
17803 * subr.el (read-number): Once more use `read' rather than
17804 `string-to-number', to trap non-numeric input. (Bug#14254)
17806 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
17808 * emacs-lisp/syntax.el (syntax-propertize-multiline):
17809 Use `syntax-multiline' text property consistently instead of
17810 `font-lock-multiline'. (Bug#14237)
17812 2013-04-26 Glenn Morris <rgm@gnu.org>
17814 * emacs-lisp/shadow.el (list-load-path-shadows):
17815 No longer necessary to check for duplicate simple.el, since
17816 2012-07-07 change to init_lread to not include installation lisp
17817 directories in load-path when running uninstalled. (Bug#14270)
17819 2013-04-26 Leo Liu <sdl.web@gmail.com>
17821 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17822 (octave-mode, inferior-octave-mode): Use setq-local.
17823 (octave-not-in-string-or-comment-p): Rename to
17824 octave-in-string-or-comment-p.
17825 (octave-in-comment-p, octave-in-string-p)
17826 (octave-in-string-or-comment-p): Replace defsubst with defun.
17828 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
17830 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17832 2013-04-25 Bastien Guerry <bzg@gnu.org>
17834 * textmodes/remember.el (remember-data-directory)
17835 (remember-directory-file-name-format): Fix custom types.
17837 2013-04-25 Leo Liu <sdl.web@gmail.com>
17839 * progmodes/octave.el (octave-completion-at-point-function):
17840 Make use of inferior octave process.
17841 (octave-initialize-completions): Remove.
17842 (inferior-octave-completion-table): New function.
17843 (inferior-octave-completion-at-point): Use it.
17844 (octave-completion-alist): Remove.
17846 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17848 * progmodes/opascal.el: Use font-lock and syntax-propertize.
17849 (opascal-mode-syntax-table): New var.
17850 (opascal-literal-kind, opascal-is-literal-end)
17851 (opascal-literal-token-at): Rewrite.
17852 (opascal--literal-start-re, opascal-font-lock-keywords)
17853 (opascal--syntax-propertize): New constants.
17854 (opascal-font-lock-defaults): Adjust.
17855 (opascal-mode): Use them. Set comment-<foo> variables as well.
17856 (delphi-comment-face, opascal-comment-face, delphi-string-face)
17857 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17858 (delphi-other-face, opascal-other-face): Remove face variables.
17859 (opascal-save-state): Remove macro.
17860 (opascal-fontifying-progress-step): Remove constant.
17861 (opascal--ignore-changes): Remove var.
17862 (opascal-set-token-property, opascal-parse-next-literal)
17863 (opascal-is-stable-literal, opascal-complete-literal)
17864 (opascal-is-literal-start, opascal-face-of)
17865 (opascal-parse-region, opascal-parse-region-until-stable)
17866 (opascal-fontify-region, opascal-after-change)
17867 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17868 (opascal-debug-parse-region, opascal-debug-parse-window)
17869 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17870 (opascal-debug-fontify-buffer): Remove.
17871 (opascal-debug-mode-map): Adjust accordingly.
17873 2013-04-25 Leo Liu <sdl.web@gmail.com>
17875 Merge octave-mod.el and octave-inf.el into octave.el with some
17877 * progmodes/octave.el: New file renamed from octave-mod.el.
17878 * progmodes/octave-inf.el: Merged into octave.el.
17879 * progmodes/octave-mod.el: Renamed to octave.el.
17881 2013-04-25 Tassilo Horn <tsdh@gnu.org>
17883 * textmodes/reftex-vars.el
17884 (reftex-label-ignored-macros-and-environments): New defcustom.
17886 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17888 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17890 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17891 (smie-indent-keyword): Improve the check to ensure that the next
17892 comment is really on the same line.
17893 (smie-indent-comment): Don't align with a subsequent closer (or eob).
17895 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17896 semi-colons if the line is not otherwise empty (bug#14218).
17898 2013-04-25 Glenn Morris <rgm@gnu.org>
17900 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17902 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
17904 * progmodes/opascal.el (opascal-set-token-property): Rename from
17905 opascal-set-text-properties and only set `token' (bug#14134).
17906 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17907 (opascal-literal-text-properties): Remove.
17908 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17911 2013-04-24 Reuben Thomas <rrt@sc3d.org>
17913 * textmodes/remember.el (remember-handler-functions): Add an
17914 option for a new handler `remember-store-in-files'.
17915 (remember-data-directory, remember-directory-file-name-format):
17917 (remember-store-in-files): New function to store remember notes
17918 as separate files within a directory.
17920 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
17922 * progmodes/compile.el (compilation-next-error-function):
17923 Pass "formats" to compilation-find-file (bug#11777).
17925 2013-04-24 Glenn Morris <rgm@gnu.org>
17927 * vc/vc-bzr.el (vc-bzr-print-log):
17928 * vc/vc-hg.el (vc-hg-print-log):
17929 * vc/vc-svn.el (vc-svn-print-log):
17930 Fix START-REVISION with LIMIT != 1. (Bug#14168)
17932 * vc/vc-bzr.el (vc-bzr-print-log):
17933 * vc/vc-cvs.el (vc-cvs-print-log):
17934 * vc/vc-git.el (vc-git-print-log):
17935 * vc/vc-hg.el (vc-hg-print-log):
17936 * vc/vc-mtn.el (vc-mtn-print-log):
17937 * vc/vc-rcs.el (vc-rcs-print-log):
17938 * vc/vc-sccs.el (vc-sccs-print-log):
17939 * vc/vc-svn.el (vc-svn-print-log):
17940 * vc/vc.el (vc-print-log-internal): Doc fixes.
17942 2013-04-23 Glenn Morris <rgm@gnu.org>
17944 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17945 Remove venerable code attempting to avoid substitute-command-keys.
17947 2013-04-23 Tassilo Horn <tsdh@gnu.org>
17949 * textmodes/reftex-vars.el (reftex-label-regexps):
17950 Call `reftex-compile-variables' after changes to this variable.
17952 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
17954 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17955 Use lexical-binding.
17956 (jit-lock-force-redisplay): Use markers, check buffer's continued
17957 existence and beware narrowed buffers.
17958 (jit-lock-fontify-now): Adjust call accordingly.
17960 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
17962 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17963 to avoid misleading the user.
17965 2013-04-22 Leo Liu <sdl.web@gmail.com>
17967 * info-look.el: Prefer latex2e.info. (Bug#14240)
17969 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
17971 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
17973 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17974 * net/tramp.el (tramp-call-process): ... here.
17975 (tramp-set-completion-function, tramp-parse-putty):
17976 * net/tramp-adb.el (tramp-adb-execute-adb-command):
17977 * net/tramp-gvfs.el (tramp-gvfs-send-command):
17978 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17979 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17980 (tramp-call-local-coding-command): Use `tramp-call-process'
17981 instead of `tramp-compat-call-process'.
17983 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17984 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17985 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17986 (tramp-find-inline-compress): Improve traces.
17987 (tramp-maybe-send-script): Check for Perl binary.
17988 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17990 2013-04-22 Daiki Ueno <ueno@gnu.org>
17992 * epg.el (epg-context-pinentry-mode): New function.
17993 (epg-context-set-pinentry-mode): New function.
17994 (epg--start): Pass --pinentry-mode option to gpg command.
17996 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
17998 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17999 `comint-dynamic-complete' is obsolete since 24.1, replaced by
18000 `completion-at-point'. (Bug#13774)
18002 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
18003 default key binding for `describe-distribution' has been moved to
18004 `C-h C-o'. (Bug#13970)
18006 2013-04-21 Glenn Morris <rgm@gnu.org>
18008 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
18010 (vc-print-log): Clarify interactive prompt.
18012 2013-04-20 Glenn Morris <rgm@gnu.org>
18014 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18015 No longer include timestamp etc information.
18017 2013-04-20 Roland Winkler <winkler@gnu.org>
18019 * faces.el (read-face-name): Bug fix, return just one face if arg
18020 multiple is nil. (Bug#14209)
18022 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18024 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
18025 (remove-function): Autoload.
18027 * comint.el (comint-redirect-original-filter-function): Remove.
18028 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
18029 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
18030 (vc-cvs-annotate-command):
18031 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
18032 * progmodes/prolog.el (prolog-consult-compile):
18033 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
18034 Use add/remove-function instead.
18035 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
18036 (gud-tooltip-process-output, gud-tooltip-tips):
18037 Use add/remove-function instead.
18038 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
18039 (scheme-interaction-mode, exit-scheme-interaction-mode):
18040 Use add/remove-function instead.
18042 * vc/vc-dispatcher.el: Use lexical-binding.
18043 (vc--process-sentinel): Rename from vc-process-sentinel.
18044 Change last arg to be the code to run. Don't use vc-previous-sentinel
18045 and vc-sentinel-commands any more.
18046 (vc-exec-after): Allow code to be a function. Use add/remove-function.
18047 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
18049 2013-04-19 Masatake YAMATO <yamato@redhat.com>
18051 * progmodes/sh-script.el (sh-imenu-generic-expression):
18052 Handle function names with a single character. (Bug#14111)
18054 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
18056 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
18057 for subroutines defined in an eval (bug#14182).
18059 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18061 * bookmark.el (bookmark-completing-read): Improve handling of empty
18062 string (bug#14176).
18064 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18066 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
18068 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
18070 New faster Imenu implementation (bug#14058).
18071 * progmodes/python.el (python-imenu-prev-index-position)
18072 (python-imenu-format-item-label-function)
18073 (python-imenu-format-parent-item-label-function)
18074 (python-imenu-format-parent-item-jump-label-function):
18076 (python-imenu-format-item-label)
18077 (python-imenu-format-parent-item-label)
18078 (python-imenu-format-parent-item-jump-label)
18079 (python-imenu--put-parent, python-imenu--build-tree)
18080 (python-imenu-create-index, python-imenu-create-flat-index)
18081 (python-util-popn): New functions.
18082 (python-mode): Set imenu-create-index-function to
18083 python-imenu-create-index.
18085 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18087 * winner.el (winner-active-region): Use region-active-p, activate-mark
18088 and deactivate-mark (bug#14225).
18090 * simple.el (deactivate-mark): Don't inline it.
18092 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
18094 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
18096 2013-04-18 Tassilo Horn <tsdh@gnu.org>
18098 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
18099 file extensions from the archive-mode entry in order to prefer
18100 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
18102 2013-04-18 Leo Liu <sdl.web@gmail.com>
18104 * bindings.el (help-event-list): Add ?\?.
18106 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18108 * subr.el (with-wrapper-hook): Declare obsolete.
18109 * simple.el (filter-buffer-substring-function): New hook.
18110 (filter-buffer-substring): Use it.
18111 (filter-buffer-substring-functions): Mark obsolete.
18112 * minibuffer.el (completion-in-region-function): New hook.
18113 (completion-in-region): Use it.
18114 (completion-in-region-functions): Mark obsolete.
18115 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
18116 * abbrev.el (abbrev-expand-function): New hook.
18117 (expand-abbrev): Use it.
18118 (abbrev-expand-functions): Mark obsolete.
18119 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
18120 and :filter-return.
18122 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18124 * progmodes/python.el (python-nav--syntactically): Fix cornercases
18125 and do not care about match data.
18127 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18129 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
18130 completion tables when completing error conditions and
18131 `declare' arguments.
18132 (lisp-complete-symbol, field-complete): Mark as obsolete.
18133 (check-parens): Unmatched parens are user errors.
18134 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
18136 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
18138 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18139 command changed buffer (ie. `flyspell-pre-buffer' is not current
18140 buffer), which prevents making decisions based on invalid value of
18141 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
18142 cause an error when `flyspell-pre-point' was nil after switching
18144 (flyspell-post-command-hook): No longer needs to change buffers when
18145 checking pre-word. While at it remove unnecessary progn.
18147 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
18149 * textmodes/ispell.el (ispell-add-per-file-word-list):
18150 Fix `flyspell-correct-word-before-point' error when accepting
18151 words and `coment-padding' is an integer by using
18152 `comment-normalize-vars' (Bug #14214).
18154 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18156 New defun movement commands.
18157 * progmodes/python.el (python-nav--syntactically)
18158 (python-nav--forward-defun, python-nav-backward-defun)
18159 (python-nav-forward-defun): New functions.
18161 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18163 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18164 (python-syntax-context): Use named compiler-macro for backwards
18165 compatibility with Emacs 24.x.
18167 2013-04-17 Leo Liu <sdl.web@gmail.com>
18169 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18170 octave-hide-process-buffer.
18172 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18174 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18177 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
18179 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18180 Fix adjustment of offset when receiving incomplete responses from GDB
18183 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18185 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18186 python-mode-abbrev-table.
18187 (python-skeleton-define): Adjust accordingly.
18188 (python-mode-abbrev-table): New table that inherits from it so that
18189 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18191 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18192 (abbrev-symbol): Use it.
18193 (abbrev--before-point): Use it since we already handle inheritance.
18195 2013-04-16 Leo Liu <sdl.web@gmail.com>
18197 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18198 binding to info-lookup-symbol.
18200 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
18202 * minibuffer.el (completion--twq-all):
18203 * term/ns-win.el (ns-initialize-window-system):
18204 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18206 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18208 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18211 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18213 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
18215 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18216 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18218 (ruby-end-of-defun): Remove the unused arg, change the docstring
18219 to reflect that this function is only used as the value of
18220 `end-of-defun-function'.
18221 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18222 to reflect an earlier change that beginning/end-of-defun functions
18223 jump between methods in a class definition, as well as top-level
18226 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18228 * minibuffer.el (minibuffer-complete): Don't just scroll
18229 a *Completions* that's been iconified.
18230 (minibuffer-force-complete): Make sure repetitions do cycle when going
18231 through completion-in-region -> minibuffer-complete.
18233 2013-04-15 Alan Mackenzie <acm@muc.de>
18235 Correct the placement of c-cpp-delimiters when there're #s not at
18238 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18239 place a submatch around the #.
18240 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18241 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
18244 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18246 * emacs-lisp/nadvice.el: Properly test names when adding advice.
18247 (advice--member-p): New arg `name'.
18248 (advice--add-function, advice-member-p): Use it (bug#14202).
18250 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
18252 Reformulate java imenu-generic-expression.
18253 The old expression contained ill formed regexps.
18255 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18256 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18257 (cc-imenu-java-method-arg-regexp): New defconsts.
18258 (cc-imenu-java-build-type-args-regex): New defun.
18259 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18260 handling of spaces in the regexp.
18262 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18264 * textmodes/ispell.el (ispell-command-loop): Remove
18265 flyspell highlight of a word when ispell accepts it (bug #14178).
18267 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
18269 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18270 uses code from the previous `ange-ftp-run-real-handler'.
18271 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18272 only in case that function exist. This is needed for proper
18273 unloading of Tramp.
18275 2013-04-15 Tassilo Horn <tsdh@gnu.org>
18277 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18279 * textmodes/reftex.el (reftex-compile-variables): Use it.
18281 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18283 * files.el (normal-mode): Only use default major-mode if no other mode
18286 * emacs-lisp/trace.el (trace-values): New function.
18288 * files.el: Allow : in local variables (bug#14089).
18289 (hack-local-variable-regexp): New var.
18290 (hack-local-variables-prop-line, hack-local-variables): Use it.
18292 2013-04-13 Roland Winkler <winkler@gnu.org>
18294 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18295 data before it gets modified by bibtex-beginning-of-entry.
18297 2013-04-13 Roland Winkler <winkler@gnu.org>
18299 * textmodes/bibtex.el (bibtex-url): Doc fix.
18301 2013-04-13 Roland Winkler <winkler@gnu.org>
18303 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18304 does not visit a BibTeX file, exclude it from the list of buffers
18305 returned by bibtex-initialize.
18307 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18309 * window.el (split-window): Remove interactive form, since as a
18310 command this function is a special case of split-window-below.
18311 Correct doc string.
18313 2013-04-12 Roland Winkler <winkler@gnu.org>
18315 * faces.el (read-face-name): Do not override value of arg default.
18316 Allow single faces and strings as default values. Remove those
18317 elements from return value that are not faces.
18318 (describe-face): Simplify.
18319 (face-at-point): New optional args thing and multiple so that this
18320 function can provide the same functionality previously provided by
18322 (make-face-bold, make-face-unbold, make-face-italic)
18323 (make-face-unitalic, make-face-bold-italic, invert-face)
18324 (modify-face, read-face-and-attribute): Use face-at-point.
18326 * cus-edit.el (customize-face, customize-face-other-window)
18327 * cus-theme.el (custom-theme-add-face)
18328 * face-remap.el (buffer-face-set)
18329 * facemenu.el (facemenu-set-face): Use face-at-point.
18331 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18333 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18335 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18337 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18338 off leading { and trailing } from field values.
18340 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18342 * emacs-lisp/timer.el (timer--check): New function.
18343 (timer--time, timer-set-function, timer-event-handler): Use it.
18344 (timer-set-idle-time): Simplify.
18345 (timer--activate): CSE.
18346 (timer-event-handler): Give more info in error message.
18347 (internal-timer-start-idle): New function, moved from C.
18349 * mpc.el (mpc-proc): Add `restart' argument.
18350 (mpc-proc-cmd): Use it.
18351 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18352 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18355 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18357 * progmodes/sh-script.el: Implement `sh-mode' own
18358 `add-log-current-defun-function' (bug#14112).
18359 (sh-current-defun-name): New function.
18360 (sh-mode): Use the function.
18362 2013-04-09 Bastien Guerry <bzg@gnu.org>
18364 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18366 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18368 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18370 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18373 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18375 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18378 2013-04-07 Leo Liu <sdl.web@gmail.com>
18380 * pcmpl-x.el: New file.
18382 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18384 Do not set x-display-name until X connection is established.
18385 This is needed to prevent from weird situation described at
18386 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18387 * frame.el (make-frame): Set x-display-name after call to
18388 window system initialization function, not before.
18389 * term/x-win.el (x-initialize-window-system): Add optional
18390 display argument and use it.
18391 * term/w32-win.el (w32-initialize-window-system):
18392 * term/ns-win.el (ns-initialize-window-system):
18393 * term/pc-win.el (msdos-initialize-window-system):
18394 Add compatible optional display argument.
18396 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18398 * files.el (normal-backup-enable-predicate): On MS-Windows and
18399 MS-DOS compare truenames of temporary-file-directory and of the
18400 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18401 don't fail comparison by compare-strings. Also, compare file
18402 names case-insensitively on MS-Windows and MS-DOS.
18404 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18406 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18407 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18409 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18411 * whitespace.el (whitespace-color-on, whitespace-color-off):
18412 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18414 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18416 * ispell.el (ispell-set-spellchecker-params):
18417 Really set `ispell-args' for all equivs.
18419 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18421 * ido.el (ido-completions): Use extra elements of ido-decorations
18423 (ido-decorations): Update docstring.
18425 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18427 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18428 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18429 nil during initialization, in order not to miss changes since the
18430 file was opened. (Bug#14140)
18432 2013-04-05 Leo Liu <sdl.web@gmail.com>
18434 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18436 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18438 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18440 2013-04-04 Glenn Morris <rgm@gnu.org>
18442 * electric.el (electric-pair-inhibit-predicate): Add :version.
18444 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18446 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18447 when a package is required several times (bug#14082).
18449 2013-04-04 Roland Winkler <winkler@gnu.org>
18451 * faces.el (read-face-name): Behave as promised by the docstring.
18452 Assume that arg default is a list of faces.
18453 (describe-face): Call read-face-name with list of default faces.
18455 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18457 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18458 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18459 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18461 (bookmark-exit-hook-internal): Save even if list is empty.
18463 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18465 * emacs-lisp/package.el (package-pinned-packages): New var.
18466 (package--add-to-archive-contents): Obey it (bug#14118).
18468 2013-04-03 Alan Mackenzie <acm@muc.de>
18470 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18471 Also adapt to the new values of element 7 of a parse state.
18473 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18474 parameter `not-in-delimiter'. Handle being inside comment opener.
18475 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18476 character in case we're typing a '*' after a '/'.
18477 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18478 instead by passing the parameter to c-state-pp-to-literal.
18480 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18481 for elt. 7 of a parse state.
18483 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
18485 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18486 * international/latin1-disp.el, international/mule-util.el:
18487 * language/cyril-util.el, language/european.el, language/ind-util.el:
18488 * language/lao-util.el, language/thai.el, language/tibet-util.el:
18489 * language/tibetan.el, language/viet-util.el:
18490 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18492 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18494 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18495 (electric-pair-post-self-insert-function): Use it.
18496 (electric-pair-default-inhibit): New function, extracted from
18497 electric-pair-post-self-insert-function.
18499 2013-03-31 Roland Winkler <winkler@gnu.org>
18501 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18503 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18505 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18507 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
18509 Un-indent after "pass" and "return" statements (Bug#13888)
18510 * progmodes/python.el (python-indent-block-enders): New var.
18511 (python-indent-calculate-indentation): Use it.
18513 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
18515 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18516 defun. Defining it as defalias could introduce too eager
18517 byte-compiler optimization. (Bug#14030)
18519 2013-03-30 Chong Yidong <cyd@gnu.org>
18521 * iswitchb.el (iswitchb-read-buffer): Fix typo.
18523 2013-03-30 Leo Liu <sdl.web@gmail.com>
18525 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18526 (kmacro-execute-from-register): Pass the keyboard macro to
18527 kmacro-call-macro or repeating won't work correctly.
18529 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
18531 * progmodes/subword.el: Back to using `forward-symbol'.
18533 * subr.el (forward-whitespace, forward-symbol)
18534 (forward-same-syntax): Move from thingatpt.el.
18536 2013-03-29 Leo Liu <sdl.web@gmail.com>
18538 * kmacro.el (kmacro-to-register): New command.
18539 (kmacro-execute-from-register): New function.
18540 (kmacro-keymap): Bind to 'x'. (Bug#14071)
18542 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
18544 * mpc.el: Use defvar-local and setq-local.
18545 (mpc--proc-connect): Connection failures are not bugs.
18546 (mpc-mode-map): `follow-link' only applies to the buffer's content.
18547 (mpc-volume-map): Bind to the up-events.
18549 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
18551 * progmodes/subword.el (superword-mode): Use `forward-sexp'
18552 instead of `forward-symbol'.
18554 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
18556 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18557 (edebug--recursive-edit): Use it.
18558 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18559 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18561 2013-03-28 Leo Liu <sdl.web@gmail.com>
18563 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
18565 2013-03-27 Eli Zaretskii <eliz@gnu.org>
18567 * facemenu.el (list-colors-callback): New defvar.
18568 (list-colors-redisplay): New function.
18569 (list-colors-display): Install list-colors-redisplay as the
18570 revert-buffer-function. (Bug#14063)
18572 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
18574 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18575 and suffixes don't overlap (bug#14061).
18577 * case-table.el: Use lexical-binding.
18578 (case-table-get-table): New function.
18579 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18581 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18583 * progmodes/subword.el: Add `superword-mode' to do word motion
18584 over symbol_words (parallels and leverages `subword-mode' which
18585 does word motion inside MixedCaseWords).
18587 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18589 * eshell/em-unix.el: Move su and sudo to...
18590 * eshell/em-tramp.el: ...Eshell tramp module.
18592 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18594 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18595 Change return value to be a sexp. Delay `get-buffer' to after
18596 restoring the desktop (bug#13951).
18598 2013-03-26 Leo Liu <sdl.web@gmail.com>
18600 * register.el: Move semantic tag handling back to
18601 cedet/semantic/senator.el. (Bug#14052)
18603 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18605 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18606 into the prompt either (bug#13963).
18608 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18610 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18611 part of "(error-foo)".
18613 2013-03-24 Juri Linkov <juri@jurta.org>
18615 * replace.el (list-matching-lines-prefix-face): New defcustom.
18616 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18617 `occur-engine' if `face-differs-from-default-p' returns t.
18618 (occur-engine): Add `,' inside backquote construct to evaluate
18619 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18620 Pass `prefix-face' to the functions `occur-context-lines' and
18621 `occur-engine-add-prefix'.
18622 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18623 `prefix-face' and propertize the prefix with `prefix-face'.
18626 2013-03-24 Leo Liu <sdl.web@gmail.com>
18628 * nxml/rng-valid.el (rng-validate-while-idle)
18629 (rng-validate-quick-while-idle): Guard against deleted buffer.
18632 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18633 is the last entry in kill-buffer-hook.
18635 * files.el (kill-buffer-hook): Doc fix.
18637 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18639 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18640 Make it safe-local.
18642 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18644 2013-03-23 Leo Liu <sdl.web@gmail.com>
18646 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18649 * nxml/rng-valid.el (rng-validate-mode)
18650 (rng-after-change-function, rng-do-some-validation):
18651 * nxml/rng-maint.el (rng-validate-buffer):
18652 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18653 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18654 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18655 (nxml-extend-after-change-region): Use with-silent-modifications.
18657 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18660 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18661 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18662 timer-idle-list. (Bug#13999)
18664 2013-03-23 Juri Linkov <juri@jurta.org>
18666 * info.el (info-index-match): New face.
18667 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18668 main pattern and add text properties with the new face to matches
18669 in index entries relative to the beginning of the index entry.
18672 2013-03-21 Eric Ludlam <zappo@gnu.org>
18674 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18675 Inhibit read only while inserting objects.
18677 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
18679 * progmodes/cfengine.el: Update docs to mention
18680 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
18681 symbol motion. Remove "_" from the word syntax.
18683 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
18685 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18686 syntax for both `cfengine2-mode' and `cfengine3-mode'.
18688 2013-03-20 Juri Linkov <juri@jurta.org>
18690 * info.el (Info-next-reference-or-link)
18691 (Info-prev-reference-or-link): New functions.
18692 (Info-next-reference, Info-prev-reference): Use them.
18693 (Info-try-follow-nearest-node): Handle footnote navigation.
18694 (Info-fontify-node): Fontify footnotes. (Bug#13989)
18696 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
18698 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18699 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18701 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
18703 Suppress unnecessary non-ASCII chatter during build process.
18704 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18705 (batch-skkdic-convert): Suppress most of the chatter.
18706 It's not needed so much now that machines are faster,
18707 and its non-ASCII component was confusing; see Dmitry Gutov in
18708 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18710 2013-03-20 Leo Liu <sdl.web@gmail.com>
18712 * ido.el (ido-chop): Fix bug#10994.
18714 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18716 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18718 (whitespace-color-on, whitespace-color-off):
18719 Use `font-lock-fontify-buffer' (Bug#13817).
18721 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
18723 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18724 remapping in mode-line.
18725 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18727 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18729 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18730 value for `whitespace-line' face (Bug#13875).
18731 (whitespace-font-lock-keywords): Change description.
18732 (whitespace-color-on): Don't save `font-lock-keywords' value, save
18733 the constructed keywords instead.
18734 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18736 2013-03-19 Leo Liu <sdl.web@gmail.com>
18738 * progmodes/compile.el (compilation-display-error): New command.
18739 (compilation-mode-map, compilation-minor-mode-map): Bind it to
18742 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18744 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18746 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
18748 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18750 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
18752 * net/tramp-compat.el (tramp-compat-user-error): New defun.
18754 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18755 * net/tramp-gvfs.el (top):
18756 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18757 (tramp-handle-shell-command): Use it.
18758 (tramp-dissect-file-name): Raise an error when hostname is a
18759 method name, and neither method nor user is specified.
18761 * net/trampver.el: Update release number.
18763 2013-03-18 Leo Liu <sdl.web@gmail.com>
18765 Make sure eldoc can be turned off properly.
18766 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18768 (eldoc-display-message-p): Revert last change.
18769 (eldoc-display-message-no-interference-p)
18770 (eldoc-print-current-symbol-info): Tweak.
18772 2013-03-18 Tassilo Horn <tsdh@gnu.org>
18774 * doc-view.el (doc-view-new-window-function): Check the new window
18775 overlay's display property instead the char property of the
18776 buffer's first char. Use `with-selected-window' instead of
18777 `save-window-excursion' with `select-window'.
18778 (doc-view-document->bitmap): Check the current doc-view overlay's
18779 display property instead the char property of the buffer's first char.
18781 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18783 Automate the build of ja-dic.el (Bug#13984).
18784 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18785 from the input, rather than assume that it's been done for us by the
18786 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
18787 the current date into a ja-dic.el comment, as that complicates
18788 regression testing.
18790 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18792 * whitespace.el: Fix double evaluation.
18793 (whitespace-space, whitespace-hspace, whitespace-tab)
18794 (whitespace-newline, whitespace-trailing, whitespace-line)
18795 (whitespace-space-before-tab, whitespace-indentation)
18796 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18798 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18799 (whitespace-color-on): Use a single font-lock-add-keywords call.
18800 Fix double-evaluation of face variables.
18802 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
18804 * net/tramp-adb.el (tramp-adb-parse-device-names):
18805 Use `start-process' instead of `call-process'. Otherwise, the
18806 function might be blocked under MS Windows. (Bug#13299)
18808 2013-03-17 Leo Liu <sdl.web@gmail.com>
18810 Extend eldoc to display info in the mode-line. (Bug#13978)
18811 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18812 (eldoc-mode-line-string): New variable.
18813 (eldoc-minibuffer-message): New function.
18814 (eldoc-message-function): New variable.
18815 (eldoc-message): Use it.
18816 (eldoc-display-message-p)
18817 (eldoc-display-message-no-interference-p):
18818 Support eldoc-post-insert-mode.
18820 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18821 (eval-expression): Run it.
18823 2013-03-17 Roland Winkler <winkler@gnu.org>
18825 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18826 strings in the list of return values.
18828 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18830 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18831 radix before checking for HMS forms.
18833 2013-03-16 Leo Liu <sdl.web@gmail.com>
18835 * progmodes/scheme.el: Add indentation and font-locking for λ.
18838 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
18840 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18841 token before point (bug#13942).
18843 2013-03-16 Leo Liu <sdl.web@gmail.com>
18845 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
18847 2013-03-16 Eli Zaretskii <eliz@gnu.org>
18849 * startup.el (command-line-normalize-file-name): Fix handling of
18850 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
18851 <xfq.free@gmail.com> in
18852 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18854 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
18856 Sync with Tramp 2.2.7.
18858 * net/trampver.el: Update release number.
18860 2013-03-14 Tassilo Horn <tsdh@gnu.org>
18862 * doc-view.el: Fix bug#13887.
18863 (doc-view-insert-image): Don't modify overlay associated to
18864 non-live windows, and implement horizontal centering of image in
18865 case it's smaller than the window.
18866 (doc-view-new-window-function): Force redisplay of new windows on
18869 2013-03-13 Karl Fogel <kfogel@red-bean.com>
18871 * saveplace.el (save-place-alist-to-file): Don't sort
18872 `save-place-alist', just pretty-print it (bug#13882).
18874 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
18876 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18877 Check whether `default-file-name-coding-system' is bound.
18878 It isn't in XEmacs.
18880 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
18882 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18883 backquotes for `obsolete' (bug#13929).
18885 * international/mule.el (find-auto-coding): Include file name in
18886 obsolescence warning (bug#13922).
18888 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
18890 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18891 for CFEngine 3-specific indentation.
18892 (cfengine3-indent-line): Use it. Fix up category regex.
18893 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18895 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18897 * type-break.el (type-break-file-name):
18898 * textmodes/remember.el (remember-data-file):
18899 * strokes.el (strokes-file):
18900 * shadowfile.el (shadow-initialize):
18901 * saveplace.el (save-place-file):
18902 * ps-bdf.el (bdf-cache-file):
18903 * progmodes/idlwave.el (idlwave-config-directory):
18904 * net/quickurl.el (quickurl-url-file):
18905 * international/kkc.el (kkc-init-file-name):
18906 * ido.el (ido-save-directory-list-file):
18907 * emulation/viper.el (viper-custom-file-name):
18908 * emulation/vip.el (vip-startup-file):
18909 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18910 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18912 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
18914 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18915 * language/thai-word.el: Switch to UTF-8.
18917 See ChangeLog.16 for earlier changes.
18919 ;; Local Variables:
18923 Copyright (C) 2011-2014 Free Software Foundation, Inc.
18925 This file is part of GNU Emacs.
18927 GNU Emacs is free software: you can redistribute it and/or modify
18928 it under the terms of the GNU General Public License as published by
18929 the Free Software Foundation, either version 3 of the License, or
18930 (at your option) any later version.
18932 GNU Emacs is distributed in the hope that it will be useful,
18933 but WITHOUT ANY WARRANTY; without even the implied warranty of
18934 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18935 GNU General Public License for more details.
18937 You should have received a copy of the GNU General Public License
18938 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.