1 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
3 * ses.el (ses-calculate-cell): bind row and col dynamically to
4 their values with 'cl-progv'.
5 (ses-dorange): bind row, col, maxrow and maxcol dynamically to
6 their values with 'cl-progv', also use non-interned symbols for
7 row, minrow, maxrow, mincol and maxcol.
8 (maxrow maxcol): New defvar, to make the compiler happy.
10 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
12 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
15 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17 * ses.el (ses--letref): Quote value before it gets re-evaluated.
19 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
21 Font-lock `cl-flet*', too.
22 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
23 Add "flet*" to intermediate var `cl-lib-kw'.
25 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
27 * epg-config.el (epg-gpg-program): Use the plain program names rather
28 than their absolute file name.
30 * subr.el (track-mouse): New macro.
31 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
32 Remove track-mouse case.
33 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
35 2014-09-27 Leo Liu <sdl.web@gmail.com>
37 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
39 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
41 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
43 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
44 Handle the case where `match' is :pcase--succeed or :pcase--fail
47 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
48 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
49 (eldoc-schedule-timer): Obey it.
50 (eldoc-documentation-function): Default to nil.
51 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
52 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
53 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
54 (eldoc-last-data-store, eldoc-docstring-first-line)
55 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
56 (eldoc-beginning-of-sexp, eldoc-current-symbol)
57 (eldoc-function-argstring): Move to elisp-mode.el.
58 (eldoc-symbol-function): Remove, unused.
59 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
60 (elisp-completion-at-point): Rename from lisp-completion-at-point.
61 (elisp--preceding-sexp): Rename from preceding-sexp.
62 * loadup.el: Load new file progmodes/elisp-mode.
63 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
64 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
65 (lisp--local-variables-completion-table, lisp--expect-function-p)
66 (lisp--form-quoted-p, lisp--company-doc-buffer)
67 (lisp--company-doc-string, lisp--company-location)
68 (lisp-completion-at-point): Move to elisp-mode.el.
69 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
70 extracted from emacs-lisp-mode-syntax-table.
71 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
73 (lisp-imenu-generic-expression): Add comments to document what comes
74 from which Lisp dialect.
75 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
76 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
77 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
78 (emacs-lisp-byte-code-comment)
79 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
80 (lisp-interaction-mode-map, lisp-interaction-mode)
81 (eval-print-last-sexp, last-sexp-setup-props)
82 (last-sexp-toggle-display, prin1-char, preceding-sexp)
83 (eval-last-sexp-1, eval-last-sexp-print-value)
84 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
85 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
87 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
89 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
90 Do not match file names that end in '/', as they cannot be 'grep'
91 hits nowadays. This prevents confusion when 'grep -r' reports a
92 match in a file whose basename is ':12345:'. Conversely, do not
93 require exactly the same sequence of spaces and tabs after both
94 colons, and allow spaces or tabs before the second colon, as per
95 the POSIX spec for 'grep' output.
97 2014-09-26 Leo Liu <sdl.web@gmail.com>
99 Add cl-parse-integer based on parse-integer (Bug#18557)
100 * calendar/parse-time.el (parse-time-digits): Remove.
101 (digit-char-p, parse-integer) Moved to cl-lib.el.
102 (parse-time-tokenize, parse-time-rules, parse-time-string):
103 Use cl-parse-integer.
105 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
107 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
108 (cl-digit-char-p): New function.
110 2014-09-25 Juri Linkov <juri@jurta.org>
112 * vc/add-log.el (change-log-next-buffer): Don't create an empty
113 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
114 Return the current buffer if no files match the default pattern
115 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
117 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
119 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
120 the global vc-handled-backends (bug#18535).
122 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
124 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
125 Suggested by <lompik@voila.fr>.
127 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
129 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
130 Rename from `newsticker--treeview-do-get-node'.
131 (newsticker--treeview-get-node-by-id):
132 Rename from `newsticker--treeview-get-node'.
133 (newsticker--treeview-buffer-init)
134 (newsticker--treeview-buffer-init): Disable buffer undo.
135 (newsticker--treeview-unfold-node): Adapt to modified
136 `newsticker--group-find-parent-group'.
137 (newsticker--group-do-find-group):
138 Rename from `newsticker--group-do-find-group-for-feed'.
139 Now works for both, groups and feeds.
140 (newsticker--group-find-parent-group):
141 Rename from `newsticker--group-find-group-for-feed'.
142 Now works for both, groups and feeds.
143 (newsticker--group-do-get-parent-group)
144 (newsticker--group-get-parent-group): Remove.
145 (newsticker-group-add-group): Change interactive prompts.
146 (newsticker-group-add-group): Finally jump to added group.
147 (newsticker-group-delete-group): Finally jump to current feed.
148 (newsticker--group-do-rename-group, newsticker-group-rename-group)
149 (newsticker--get-group-names, newsticker--group-names): New.
150 (newsticker-group-move-feed): Finally jump to moved feed.
151 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
152 (newsticker-group-shift-group-down)
153 (newsticker-group-shift-group-up, newsticker--group-shift): New.
154 (newsticker-treeview-mode-map): New keybindings for new shift commands.
156 * net/newst-backend.el (newsticker--item-list)
157 (newsticker--item-position, newsticker--prev-message)
158 (newsticker--scrollable-text): Move to newst-ticker.el.
160 * net/newst-ticker.el (newsticker--item-list)
161 (newsticker--item-position, newsticker--prev-message)
162 (newsticker--scrollable-text): Move from newst-backend.el.
164 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
166 * window.el (fit-window-to-buffer): When counting buffer width,
167 count the whole visible buffer. Correctly convert the body-height
168 to pixel size for window-text-pixel-size (Bug#18498).
170 2014-09-22 Sam Steingold <sds@gnu.org>
172 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
173 (sql-execute): Use `special-mode'.
175 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
177 Add pcase-defmacro, as well as `quote' and `app' patterns.
178 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
179 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
180 (pcase--funcall, pcase--eval): New functions.
181 (pcase--u1): Use them for guard, pred, let, and app.
182 (\`): Use the new feature to generate better code for vector patterns.
183 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
184 (pcase--upat): Remove.
185 (pcase--macroexpand): Don't hardcode handling of `.
186 (pcase--split-consp, pcase--split-vector): Remove.
187 (pcase--split-equal): Disregard ` since it's expanded away.
188 (pcase--split-member): Optimize for quote rather than for `.
189 (pcase--split-pred): Optimize for quote rather than for `.
190 (pcase--u1): Remove handling of ` (and of `or' and `and').
191 Quote non-selfquoting values when passing them to `eq'.
192 Drop `app's let-binding if the variable is not used.
194 (`): Define as a pattern macro.
195 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
196 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
197 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
199 (pcase--split-match): Don't hoist or/and here any more.
200 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
201 (pcase--flip): New helper macro.
202 (pcase--u1): Optimize the memq case directly.
203 Don't handle neither self-quoting nor and/or patterns any more.
204 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
205 (pcase--macroexpand): New function.
206 (pcase--expand): Use it.
207 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
208 New optimization functions.
209 (pcase--u1): Add support for `quote' and `app'.
210 (pcase): Document them in the docstring.
212 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
214 Use lexical-bindin in Ibuffer.
215 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
216 (ibuffer-compile-format): Simplify.
217 (ibuffer-clear-summary-columns): Simplify.
218 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
219 elem of dotimes when we don't refer to the iteration var from it.
220 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
221 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
222 Silence byte-compiler.
224 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
226 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
227 expression for a list.
229 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
230 for functions with no arguments.
232 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
233 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
235 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
237 * simple.el (clone-indirect-buffer): Mention the return value
240 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
241 Text mode in docstring (bug#18464).
243 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
245 * progmodes/perl-mode.el (perl-syntax-propertize-function):
246 Accept underscores in identifiers after "sub" (bug#18502).
248 2014-09-21 Tassilo Horn <tsdh@gnu.org>
250 * textmodes/reftex-sel.el (reftex-select-label-mode)
251 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
252 from special-mode (instead of fundamental-mode) and propertize
253 with font-lock-face instead of just face. (Bug#18496)
255 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
257 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
259 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
260 `table-etc' when `end' is non-nil.
261 (lisp-completion-at-point): Move `end' back if it's after quote.
262 If in comment or string, only complete when after backquote.
264 (lisp-completion-at-point): Don't use
265 `lisp--local-variables-completion-table' in the
266 `lisp--form-quoted-p' case.
268 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
270 * emacs-lisp/lisp.el (lisp--expect-function-p)
271 (lisp--form-quoted-p): New functions.
272 (lisp-completion-at-point): Use them to see if we're completing a
273 variable reference, a function name, or just any symbol.
274 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
276 2014-09-18 Ivan Kanis <ivan@kanis.fr>
278 * net/shr.el, net/eww.el: Don't override `shr-width', but
279 introduce a new variable `shr-internal-width'. This allows users
280 to specify a width themselves.
282 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
284 * image-mode.el (image-toggle-display-image): If we have a
285 `fit-width' or a `fit-height', don't limit the size of the image
286 to the window size, because that doesn't preserve the aspect ratio.
287 * image-mode.el: Move defvars earlier to avoid a byte-compilation
290 2014-09-17 Reuben Thomas <rrt@sc3d.org>
292 * progmodes/js.el: Add interpreter-mode-alist support for various
293 JavaScript interpreters.
295 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
297 Don't assume 'grep' supports GREP_OPTIONS.
298 The GREP_OPTIONS environment variable is planned to be marked
299 obsolescent in GNU grep, due to problems in its use, so stop
301 * progmodes/grep.el (grep-highlight-matches): Document this.
302 (grep-process-setup): Do not set GREP_OPTIONS.
303 (grep-compute-defaults): Use an explicit --color option if supported.
305 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
307 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
308 Don't add outdated key-shortcut cache (bug#18482).
310 2014-09-15 Glenn Morris <rgm@gnu.org>
312 * image.el (image-multi-frame-p): Fix thinko - do not force
313 a delay if none was specified. (Bug#18334)
315 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
317 * window.el (fit-window-to-buffer): Doc fix.
319 2014-09-15 Ivan Shmakov <ivan@siamics.net>
321 * desktop.el (desktop-create-buffer): Check that buffers are still live
322 before burying them (bug#18373).
324 2014-09-15 Glenn Morris <rgm@gnu.org>
326 * calendar/diary-lib.el (diary-list-entries):
327 Restore 24.3 display behavior. (Bug#18381)
329 2014-09-15 Eli Zaretskii <eliz@gnu.org>
331 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
332 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
333 discrepancy between window-pixel-edges and mouse events, and
334 avoids moving mode line up when the mouse click is on the modeline
335 and no drag is attempted.
337 2014-09-14 Daniel Colascione <dancol@dancol.org>
339 * register.el (insert-register): Change default interactive
342 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
344 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
345 Suppress debug messages.
347 * net/tramp.el (tramp-file-name-handler):
348 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
351 2014-09-13 Christopher Schmidt <ch@ristopher.com>
353 * calendar/calendar.el (calendar-update-mode-line):
354 Do not overwrite mode-line-format if calendar-mode-line-format is
357 2014-09-13 Leo Liu <sdl.web@gmail.com>
359 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
360 (pcase--expand): Use it.
361 (pcase-exhaustive): New macro. (Bug#16567)
363 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
364 Add pcase-exhaustive.
366 2014-09-13 Eli Zaretskii <eliz@gnu.org>
368 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
369 using the specified transfer-encoding, if any, or 'undecided'.
370 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
371 broken at the window margin.
373 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
375 Support rendering of HTML parts in Rmail (bug#4258).
376 * mail/rmailmm.el (rmail-mime-process): Handle text/html
377 separately from other text/ types. Suppress tagline for
379 (rmail-mime-parse): Don't change visibility of tagline here.
380 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
381 Handle text/html specially.
382 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
383 (rmail-mime-insert-html, rmail-mime-render-html-shr)
384 (rmail-mime-render-html-lynx): New functions.
385 (rmail-mime-fix-inserted-faces): New function.
386 (rmail-mime-process-multipart): Find the best part to show
387 following rmail-mime-prefer-html if set.
388 (rmail-mime-searching): New variable.
389 (rmail-search-mime-message): Bind rmail-mime-searching to
390 suppress rendering while searching.
392 2014-09-12 Sam Steingold <sds@gnu.org>
394 * progmodes/sql.el (sql-product-alist): Add vertica.
395 (sql-vertica-program, sql-vertica-options)
396 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
397 New functions and variables to support Vertica.
398 Inspired by code by Roman Scherer <roman@burningswell.com>.
400 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
402 * ses.el (ses-file-format-extend-parameter-list): Rename from
403 ses-file-format-extend-paramter-list, to correct a misspelling.
406 2014-09-10 Alan Mackenzie <acm@muc.de>
408 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
409 gets loaded at run-time).
410 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
411 c-lang-const to c-make-no-parens-syntax-table and correct the
413 (c-no-parens-syntax-table): Correct the logic of the
416 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
418 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
420 * progmodes/cc-mode.el (c-basic-common-init):
421 Set open-paren-in-column-0-is-defun-start.
422 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
423 Remove declarations, unused.
424 (run-mode-hooks): Remove declaration.
425 (font-lock-defaults): Use plain `defvar' to declare.
426 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
427 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
428 (c-make-mode-syntax-table): Don't micro-optimize.
429 (c-keywords, c-keyword-member-alist): Simplify.
430 (c-kwds-lang-consts): Don't eval at compile-time.
431 (c-primary-expr-regexp): Comment out unused vars.
432 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
433 (c-font-byte-compile): New var.
434 (c--compile): New function. Use it instead of `byte-compile'.
435 (c-cpp-matchers): Quote the value returned by
436 `c-make-syntactic-matcher' in case it's not self-evaluating.
437 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
438 parentheses instead (in case MATCHER happens to be a list).
439 (c-font-lock-enum-tail): Remove unused var `start'.
440 (c-font-lock-objc-methods): Silence byte-compiler warnings.
441 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
442 test into an argument.
443 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
444 (c-get-char-property): Don't use `eval' just to unquote a constant.
445 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
447 (c-put-char-property-fun): Don't call `byte-compile' by hand.
448 (c-clear-char-property, c-clear-char-properties): Check that `property'
449 is a quoted constant.
450 (c-emacs-features): Remove `infodock', `syntax-properties', and
451 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
452 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
453 changing buffer, so we don't have to setq them again afterwards.
454 (c-lang-const): Remove redundant symbolp assertions.
455 (c-find-assignment-for-mode): Use `or'.
456 * Makefile.in (compile-one-process): Remove cc-mode dependency.
458 2014-09-09 Sam Steingold <sds@gnu.org>
460 * progmodes/sql.el (sql-default-directory): Fix type annotation.
462 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
464 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
465 Change doc comments into docstrings.
466 * Makefile.in: Remove cc-awk dependency.
468 2014-09-08 Sam Steingold <sds@gnu.org>
470 * progmodes/sql.el (sql-send-line-and-next): New command,
472 (sql-show-sqli-buffer): Display the buffer instead of its name and
473 bind the command to C-c C-z.
474 (sql-default-directory): New user option.
475 (sql-product-interactive): Bind `default-directory' to it to
476 enable remote connections using Tramp.
477 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
478 suitable buffer is available.
480 2014-09-08 Glenn Morris <rgm@gnu.org>
482 * calendar/calendar.el (calendar-basic-setup):
483 Fix calendar-view-holidays-initially-flag and fancy display.
484 * calendar/diary-lib.el (diary-live-p): Doc fix.
486 * calendar/calendar.el (calendar-basic-setup):
487 Avoid clobbering calendar with diary. (Bug#18381)
489 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
491 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
493 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
495 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
498 2014-09-08 Eli Zaretskii <eliz@gnu.org>
500 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
502 2014-09-06 Leo Liu <sdl.web@gmail.com>
504 * emacs-lisp/pcase.el (pcase): Doc fix.
505 (pcase--split-vector): New function.
506 (pcase--q1): Support vector qpattern. (Bug#18327)
508 2014-09-05 Sam Steingold <sds@gnu.org>
510 * textmodes/tex-mode.el (tex-print-file-extension): New user
512 (tex-print): Use it instead of the hard-coded string.
514 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
516 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
517 Expand `default-directory'.
519 2014-09-05 Martin Rudalics <rudalics@gmx.at>
521 * scroll-bar.el (horizontal-scroll-bars-available-p):
523 (horizontal-scroll-bar-mode): Rewrite using
524 horizontal-scroll-bars-available-p.
525 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
526 horizontal-scroll-bars-available-p.
528 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
530 * subr.el (call-process-shell-command, process-file-shell-command):
531 Make the `args' obsolete (bug#18409).
532 (start-process-shell-command, start-file-process-shell-command):
535 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
537 * calc/calc-forms.el (math-normalize-hms): Do a better check for
538 "negative" hms forms.
540 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
542 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
543 returns nil (bug#18391).
545 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
547 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
548 terminating paren (bug#18352).
549 (eldoc-last-data-store): Return cached data.
550 (eldoc-get-var-docstring): Avoid setq.
551 (eldoc-get-fnsym-args-string): Clarify data flow.
553 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
555 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
556 case where we're currently providing part of the &rest arg after some
557 &key args, as in define-ibuffer-op (bug#18048).
559 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
561 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
562 buffer-local setting of which-func-mode.
563 (which-func-mode): Use defvar-local.
564 (which-function-mode): Don't reset which-func-mode in each buffer since
565 it might have been set by someone else.
566 (which-func-update-ediff-windows): Check which-function-mode.
568 2014-09-03 Martin Rudalics <rudalics@gmx.at>
570 * frame.el (frame-initialize): Remove horizontal-scroll-bars
571 from frame-initial-frame-alist.
572 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
573 (horizontal-scroll-bar-mode-explicit)
574 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
575 (toggle-horizontal-scroll-bar): Remove.
576 (horizontal-scroll-bar-mode): Remove defcustom.
577 (horizontal-scroll-bar-mode): Fix doc-string.
578 (scroll-bar-toolkit-scroll)
579 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
581 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
583 * emacs-lisp/package.el (package-generate-description-file):
584 Properly quote the arguments (bug#18332). Change second arg.
585 (package--alist-to-plist-args): Rename from package--alist-to-plist and
587 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
588 the *-pkg.el file. Adjust to new calling convention of
589 package-generate-description-file.
591 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
592 (gud-gdb-completions): Remove obsolete workaround.
594 2014-09-03 Eli Zaretskii <eliz@gnu.org>
596 * subr.el (posn-col-row): Revert the change from commit
597 2010-11-13T21:07:58Z!eliz@gnu.org, which
598 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
599 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
600 introduced an off-by-one error in the reported row when there is a
601 header line. (Bug#18384)
603 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
605 * progmodes/python.el (python-indent-post-self-insert-function):
606 Avoid electric colon at beginning-of-defun. (Bug#18228)
608 2014-09-03 Glenn Morris <rgm@gnu.org>
610 * tutorial.el (tutorial--display-changes):
611 Fix 2014-08-01 change. (Bug#18382)
613 2014-09-03 Ken Brown <kbrown@cornell.edu>
615 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
616 the Cygwin-w32 build. (Bug#18347)
618 2014-09-03 Glenn Morris <rgm@gnu.org>
620 * tar-mode.el (tar--extract, tar-extract):
621 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
623 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
625 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
626 handle multiline elements (bug#18380).
628 2014-09-01 Eli Zaretskii <eliz@gnu.org>
630 * ls-lisp.el (ls-lisp-use-string-collate)
631 (ls-lisp-UCA-like-collation): New defcustoms.
632 (ls-lisp-string-lessp): Use them to control sorting by file
634 (ls-lisp-version-lessp): New function.
635 (ls-lisp-handle-switches): Use it to implement the -v switch of
637 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
639 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
641 * ibuffer.el: Replace mode-specific quit function with
642 `quit-window' via `special-mode'.
643 (ibuffer-mode-map): Use keybindings from special-mode-map instead
645 (ibuffer): Don't store previous windows configuration.
646 Let `quit-window' handle restoring.
647 (ibuffer-quit): Remove function. Use `quit-window' instead.
648 (ibuffer-restore-window-config-on-quit): Remove variable.
649 (ibuffer-prev-window-config): Remove variable.
651 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
653 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
654 name instead of variable name in hook docstring. (Bug#18349)
656 2014-08-29 Martin Rudalics <rudalics@gmx.at>
658 * window.el (display-buffer-at-bottom): Prefer bottom-left
659 window to other bottom windows. Reuse a bottom window if it
660 shows the buffer already. Suggested by Juri Linkov
661 <juri@jurta.org> in discussion of (Bug#18181).
663 2014-08-29 Leo Liu <sdl.web@gmail.com>
665 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
666 append to minibuffer-setup-hook. (Bug#18341)
668 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
670 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
672 (lookup-syntax-properties): Silence byte-compiler.
673 (c-lang-defconst): Quote the code with `lambda' rather than with
675 (c-lang-const): Avoid unneeded setq.
676 (c-lang-constants-under-evaluation): Add docstring.
677 (c-lang--novalue): New constant.
678 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
679 (c-get-lang-constant): Same here.
680 Get the mode's value using `funcall' now that the code is quoted
683 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
685 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
688 2014-08-28 Martin Rudalics <rudalics@gmx.at>
690 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
691 interpretation of `portion-whole'.
693 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
695 * net/tramp-adb.el: Spell author name correctly.
697 2014-08-28 João Távora <joaotavora@gmail.com>
699 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
700 use url-expand-file-name. (Bug#18310)
702 2014-08-28 Glenn Morris <rgm@gnu.org>
704 * emulation/cua-rect.el (cua--highlight-rectangle):
705 Avoid error at point-min. (Bug#18309)
707 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
709 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
710 executable-find (bug#18244).
712 * simple.el (self-insert-uses-region-functions): Defvar.
714 2014-08-28 Glenn Morris <rgm@gnu.org>
716 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
718 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
720 * startup.el (normal-top-level): Now use internal--top-level-message.
722 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
724 * startup.el (normal-top-level): Use top-level-message.
726 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
728 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
729 URLs containing spaces and the like.
731 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
733 * subr.el (remq): Fix docstring (Bug#18253).
735 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
737 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
739 2014-08-24 Alan Mackenzie <acm@muc.de>
741 Handle C++11's "auto" and "decltype" constructions.
742 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
743 and return 'decltype.
744 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
745 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
747 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
749 (c-font-lock-c++-new): Handle "decltype" constructions.
750 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
751 New c-lang-defconsts/defvars.
752 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
753 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
754 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
755 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
757 Make ">>" act as double template ender in C++ Mode.
758 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
759 off from c->-op-cont-re.
760 (c->-op-cont-tokens): Change to use the above.
761 (c->-op-without->-cont-regexp): New lang-const.
762 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
763 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
766 2014-08-23 Alan Mackenzie <acm@muc.de>
768 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
769 loop, bug #18306. The bug was introduced on 2014-08-02.
771 2014-08-21 Eli Zaretskii <eliz@gnu.org>
773 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
774 Don't recognize a Top node if there are other sectioning commands
775 earlier in the Texinfo file. This fixes a bug in
776 texinfo-make-menu and avoids inflooping in
777 texinfo-all-menus-update when they are invoked on texinfo.texi.
779 2014-08-21 Martin Rudalics <rudalics@gmx.at>
781 * window.el (window--side-window-p): New function.
782 (split-window, window-splittable-p): Use window--side-window-p to
783 determine whether WINDOW can be split (Bug#18304).
784 * calendar/calendar.el (calendar-basic-setup): Fix one call of
785 `window-splittable-p' and add another (Bug#18304).
787 2014-08-20 Sam Steingold <sds@gnu.org>
789 * progmodes/python.el (python-new-pythonpath): Extract from
790 `python-shell-calculate-process-environment'.
792 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
794 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
795 for &key args (bug#18048).
797 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
799 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
800 (eldoc-function-argstring-format): Remove.
801 (eldoc-function-argstring): Always return upcase args.
802 Use help-make-usage. Don't add parens.
803 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
804 it's too late to do it right (bug#18048).
806 2014-08-18 Eli Zaretskii <eliz@gnu.org>
808 * scroll-bar.el (scroll-bar-horizontal-drag-1)
809 (scroll-bar-toolkit-horizontal-scroll): When determining the
810 paragraph direction, use the buffer of the window designated in
813 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
815 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
816 context of unified diff.
818 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
820 Add dependencies to fix loaddefs race during parallel builds.
821 Without this, for example, 'make -j bootstrap' can fail and report
822 "Opening input file: no such file or directory,
823 .../lisp/calendar/diary-loaddefs.el ... recipe for target
824 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
825 got confused because diary-loaddefs.el was being built in parallel.
826 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
827 Depend on $(CAL_DIR)/cal-loaddefs.el.
828 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
830 2014-08-16 Martin Rudalics <rudalics@gmx.at>
832 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
833 portion-whole for scrolling right-to-left text.
835 2014-08-15 Leo Liu <sdl.web@gmail.com>
837 * speedbar.el (speedbar-generic-list-tag-p): Allow special
840 2014-08-15 Glenn Morris <rgm@gnu.org>
842 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
844 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
846 * progmodes/compile.el (compilation-error-regexp-alist-alist):
849 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
851 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
852 add Guile debugger support for GUD.
854 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
856 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
857 (mouse-sel--ignore): New function.
858 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
859 (mouse-sel-original-interprogram-cut-function)
860 (mouse-sel-original-interprogram-paste-function): Remove.
862 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
864 * vc/vc-git.el (vc-git-resolve-when-done): New function.
865 Call "git add" when there are no longer conflict markers.
867 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
869 * vc/vc-git.el (vc-git-find-file-hook): New function.
870 Adds support for calling smerge (and resolve) on a conflicted file.
871 (vc-git-conflicted-files): New function.
872 Useful in itself and a step towards better smerge support.
874 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
876 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
877 to the first part if they're the same as the selection.
879 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
881 * image-mode.el (image-transform-reset): New command and menu item.
882 (image-mode-map): Rearrange the menu items to put presumably more
883 obscure items at the end.
885 2014-08-12 Juri Linkov <juri@jurta.org>
887 * vc/vc-annotate.el (vc-annotate-background-mode):
888 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
890 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
892 * files.el (out-of-memory-warning-percentage): Turn it off by default.
894 2014-08-11 Sam Steingold <sds@gnu.org>
896 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
897 the presence of known validators (tidy, (o)nsgmls).
899 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
901 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
903 * net/newst-treeview.el (newsticker-treeview-date-format): New.
904 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
906 2014-08-11 Glenn Morris <rgm@gnu.org>
908 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
909 chose coding system for writing before backing up, since it causes
910 a more serious problem than the one it solves. (Closes Bug#18141,
913 2014-08-11 Martin Rudalics <rudalics@gmx.at>
915 * window.el (window-total-size): Make doc-string more self-contained.
917 * window.el (display-buffer-below-selected): Restore original
918 behavior if buffer is already displayed in the window below the
919 selected one (Bug#18181).
921 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
923 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
926 2014-08-11 Eli Zaretskii <eliz@gnu.org>
928 * info.el (info): Doc fix.
930 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
932 * info.el (Info-mode-map): Override a global down-mouse-2 binding
935 2014-08-11 Eli Zaretskii <eliz@gnu.org>
937 * simple.el (default-line-height): A floating-point value of
938 line-spacing means a fraction of the default frame font's height,
939 not of the font currently used by the 'default' face.
940 Truncate the pixel value, like the display engine does.
941 (window-screen-lines): Use window-inside-pixel-edges for
942 determining the window height in pixels. (Bug#18195)
944 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
946 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
948 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
950 Enumerate evaluated sexp diary entries (Bug#7911).
951 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
952 (icalendar-export-sexp-enumeration-days): New.
953 (icalendar-export-region): Now `icalendar--convert-to-ical'
954 returns a cons cell or a list of cons cells.
955 (icalendar--convert-to-ical): Take care of
956 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
957 (icalendar--convert-ordinary-to-ical)
958 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
959 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
960 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
961 (icalendar--convert-anniversary-to-ical): Return cons cell.
962 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
963 entries. Return (list of) cons cells.
965 2014-08-09 Juri Linkov <juri@jurta.org>
967 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
968 to reevaluate `vc-annotate-color-map'. (Bug#18189)
970 2014-08-09 Alan Mackenzie <acm@muc.de>
972 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
973 for top-level that can cause unacceptable slow-down in scrolling.
974 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
975 Antipov from 2013-10-14 in emacs-devel.
977 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
979 * ibuffer.el (ibuffer-mode-map): Use toggle button for
980 `ibuffer-auto-mode' menu entry.
981 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
983 2014-08-08 Matthias Meulien <orontee@gmail.com>
985 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
988 2014-08-07 Martin Rudalics <rudalics@gmx.at>
990 * window.el (window--min-size-1): Explicitly set WINDOW arg in
991 calls of window-min-pixel-height and window-min-pixel-width.
993 2014-08-07 Reuben Thomas <rrt@sc3d.org>
995 * progmodes/ada-mode.el:
996 * net/tramp.el (tramp-handle-file-symlink-p):
997 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
998 about VMS, which we no longer support.
999 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
1000 and fix a FIXME, using convert-standard-filename in place of
1001 removed ada-convert-file-name.
1003 2014-08-07 Eli Zaretskii <eliz@gnu.org>
1005 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
1007 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1009 Refer to MS-DOS using the same name everywhere.
1010 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
1011 ``msdog'' become ``MS-DOS''.
1013 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
1015 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1016 Use cached "remote-copy-args" value, if available. (Bug#18199)
1018 2014-08-07 Leo Liu <sdl.web@gmail.com>
1020 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
1021 Revert change on 2014-03-22.
1023 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
1025 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
1026 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
1030 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1032 * image-mode.el (image-toggle-display-image): Always rescale images
1033 to not be bigger than the current window.
1035 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
1037 * net/eww.el (eww-bookmarks-directory): New variable.
1038 (eww-write-bookmarks): Use it.
1039 (eww-read-bookmarks): Ditto.
1041 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1043 * net/shr.el (shr-copy-url): Also copy the image URL.
1045 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
1047 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
1048 also for Tramp working buffers.
1050 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1052 * progmodes/python.el: Fix completions inside (i)pdb.
1053 (python-shell-completion-pdb-string-code): Make obsolete.
1054 (python-shell-completion-get-completions):
1055 Use python-shell-completion-string-code resending setup code
1056 continuously for (i)pdb.
1058 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
1060 * rect.el (rectangle--default-line-number-format): Rename
1061 from misspelled rectange--default-line-number-format (Bug#18045).
1064 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
1066 Don't mishandle year-9999 dates (Bug#18176).
1067 * calendar/parse-time.el (parse-time-rules):
1068 Allow years up to most-positive-fixnum.
1069 * calendar/time-date.el (date-to-time):
1070 Pass "Specified time is not representable" errors through.
1072 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1074 * progmodes/python.el: Completion code cleanups.
1075 (python-shell-completion-get-completions): Detect and send import
1076 statements directly to completion function.
1077 (python-shell-completion-at-point): Simplify prompt calculation
1078 and import vs input completion logic.
1080 2014-08-02 Alan Mackenzie <acm@muc.de>
1082 Fix confusion in C++ file caused by comma in "= {1,2},".
1084 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
1085 for a statement boundary marked by "}", check there's no "="
1087 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
1088 non-nil `comma-delim' argument.
1089 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
1090 initializer expression more accurately.
1092 Correct loop termination condition in c-syntactic-skip-backward.
1093 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
1094 the situation where, after moving back out of a literal,
1095 skip-chars-backward doesn't move further, yet checks have still to
1098 2014-08-01 Eli Zaretskii <eliz@gnu.org>
1100 * tutorial.el (tutorial--display-changes): Accept punctuation
1101 characters before the key binding. (Bug#18146)
1103 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
1105 * progmodes/python.el: Shell output capture enhancements.
1106 (python-shell-accept-process-output): New function.
1107 (inferior-python-mode)
1108 (python-shell-send-setup-code): Use it.
1110 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
1112 * calendar/icalendar.el (icalendar--decode-isodatetime):
1113 Use actual current-time-zone when converting to local time. (Bug#15408)
1115 2014-07-29 Martin Rudalics <rudalics@gmx.at>
1117 * window.el (window--state-put-2): Handle horizontal scroll
1120 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1122 * menu-bar.el (menu-bar-update-buffers): Update item list format
1123 in `buffers-menu' to confirm with changes to `get_keyelt'
1124 (r117463). (Bug#18016)
1126 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1128 * progmodes/python.el (inferior-python-mode): Make input prompts
1131 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
1133 * net/tramp-sh.el (tramp-get-remote-python): Also search for
1134 executables named "python2" or "python3".
1135 (tramp-get-remote-uid-with-python): Use parentheses around
1136 arguments to `print' to make it compatible with Python 3.
1137 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
1139 2014-07-28 Eli Zaretskii <eliz@gnu.org>
1141 * window.el (window--pixel-to-total): Use FRAME's root window, not
1142 that of the selected frame. (Bug#18112, Bug#16674)
1144 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
1146 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1149 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1151 * progmodes/python.el (inferior-python-mode): Doc fix.
1153 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1155 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1156 not a character, ignore it instead of raising an error.
1158 * calendar/todo-mode.el: Fix handling of marked items and make
1159 minor code improvements.
1160 (todo-edit-item): If there are marked items, ensure user can only
1161 invoke editing commands that work with marked items.
1162 (todo-edit-item--text): When there are marked items, make it a
1163 noop if invoked with point not on an item; otherwise, ensure it
1164 applies only to item at point.
1165 (todo-item-undone): If there are marked not-done items, return
1166 point to its original position before signaling user error.
1167 (todo--user-error-if-marked-done-item): New function.
1168 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1169 (todo-item-done): Use it.
1171 2014-07-28 Glenn Morris <rgm@gnu.org>
1173 * files.el (toggle-read-only): Re-add basic doc-string.
1174 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1176 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1177 Replace missing `switch-to-prolog' with `run-prolog'.
1178 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1180 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1182 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1183 of file-wide setting when changing category-wide setting.
1185 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1187 * doc-view.el (doc-view-open-text): Don't require that the
1188 document is saved in a file (e.g., email attachment).
1190 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1192 Parse completion input in a iPython friendly way. (Bug#18084)
1193 * progmodes/python.el
1194 (python-shell-completion-at-point): Rename from
1195 python-shell-completion-complete-at-point.
1196 (inferior-python-mode): Use it.
1197 (python-completion-at-point): Rename from
1198 python-completion-complete-at-point. Parse input up to first
1199 backward occurrence of whitespace, open-paren, close-paren or
1201 (python-mode): Use it.
1203 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1205 Prevent Python process shell buffer to pop twice.
1206 * progmodes/python.el (python-shell-switch-to-shell): Do not call
1209 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1211 * progmodes/python.el
1212 (python-shell-with-shell-buffer): New macro.
1213 (python-shell-font-lock-get-or-create-buffer)
1214 (python-shell-font-lock-kill-buffer)
1215 (python-shell-font-lock-with-font-lock-buffer)
1216 (python-shell-font-lock-cleanup-buffer)
1217 (python-shell-font-lock-toggle): Use it.
1218 (python-shell-font-lock-turn-on)
1219 (python-shell-font-lock-turn-off): Use it. Make command.
1221 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1223 Grab all Python process output before inferior-python-mode hooks.
1224 * progmodes/python.el (inferior-python-mode):
1225 Call accept-process-output and sit-for to ensure all output for process
1226 has been received before running hooks.
1227 (python-shell-internal-get-or-create-process):
1228 Cleanup accept-process-output and sit-for calls.
1230 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1232 More robust shell startup and code setup.
1233 * progmodes/python.el (python-shell-make-comint):
1234 Remove accept-process-output call.
1235 (python-shell-get-buffer): Return current buffer if major-mode is
1236 inferior-python-mode.
1237 (python-shell-get-or-create-process): Use it.
1238 (python-shell-send-setup-code): Send all setup code in one string,
1239 output success message and accept-process-output.
1241 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1243 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1244 Add rudimentary support for bidirectional text.
1246 2014-07-27 Martin Rudalics <rudalics@gmx.at>
1248 * frame.el (frame-notice-user-settings): Rewrite using
1249 frame-initial-frame-tool-bar-height.
1250 * menu-bar.el (menu-bar-horizontal-scroll-bar)
1251 (menu-bar-no-horizontal-scroll-bar): New functions.
1252 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1254 * scroll-bar.el (scroll-bar-lines)
1255 (set-horizontal-scroll-bar-mode)
1256 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1257 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1258 (scroll-bar-toolkit-horizontal-scroll): New functions.
1259 (horizontal-scroll-bar-mode)
1260 (previous-horizontal-scroll-bar-mode)
1261 (horizontal-scroll-bar-mode-explicit): New variables.
1262 (horizontal-scroll-bar-mode): New option.
1263 (toggle-horizontal-scroll-bar): Do something.
1264 (top-level): Bind horizontal-scroll-bar mouse-1.
1265 * startup.el (tool-bar-originally-present): Remove variable.
1266 (command-line): Don't set tool-bar-originally-present.
1267 * window.el (window-min-height): Update doc-string.
1268 (window--dump-frame): Dump horizontal scroll bar values.
1269 (window--min-size-1): Handle minibuffer window separately.
1270 Count in margins and horizontal scroll bar. Return safe value
1271 iff IGNORE equals 'safe.
1272 (frame-windows-min-size): New function (used by frame resizing
1274 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1276 (window--sanitize-window-sizes): New function.
1277 (window-split-min-size): Remove.
1278 (split-window): Count divider-width. Don't use
1279 `window-split-min-size' any more. Reword error messages.
1280 Sanitize windows sizes after splitting.
1282 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
1284 Use `defvar-local' more.
1285 * progmodes/hideshow.el
1286 (hs-c-start-regexp, hs-block-start-regexp)
1287 (hs-block-start-mdata-select, hs-block-end-regexp)
1288 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1289 remove corresponding `make-variable-buffer-local' top-level calls.
1291 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1293 Cleanup error signals. (Bug#18067)
1294 * progmodes/python.el
1295 (python-indent-shift-left): Use user-error instead.
1296 (python-shell-prompt-detect): Use lwarn with python group.
1297 (python-completion-complete-at-point)
1298 (python-eldoc--get-doc-at-point): Don't signal error.
1300 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1302 Support for packages in Python shell. (Bug#13570)
1303 * progmodes/python.el (python-shell--package-depth): New var.
1304 (python-shell-package-enable): New command.
1305 (python-util-list-directories, python-util-list-files)
1306 (python-util-list-packages): New functions.
1308 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1310 Faster comint output. (Bug#16875)
1311 * progmodes/python.el:
1312 (python-comint-output-filter-function): Make obsolete.
1313 (python-comint-postoutput-scroll-to-bottom): New function.
1314 (inferior-python-mode): Set comint-output-filter-functions to a
1317 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1319 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1320 Safeguard current point and undo history.
1322 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1324 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
1325 * progmodes/python.el:
1326 (python-shell-prompt-input-regexps): Add iPython block prompt.
1327 (python-shell-output-syntax-table): Delete var.
1328 (python-shell-font-lock-with-font-lock-buffer): New macro.
1329 (python-shell-font-lock-get-or-create-buffer)
1330 (python-shell-font-lock-kill-buffer)
1331 (python-shell-font-lock-cleanup-buffer)
1332 (python-shell-font-lock-post-command-hook)
1333 (python-shell-font-lock-turn-off): New functions.
1334 (python-shell-font-lock-turn-on): New function.
1335 (inferior-python-mode): Use it.
1336 (python-shell-font-lock-toggle): New command.
1337 (python-shell-font-lock-enable): Rename from
1338 python-shell-enable-font-lock.
1339 (run-python-internal): Use it.
1340 (python-shell-font-lock-comint-output-filter-function): New function.
1341 (python-shell-comint-end-of-output-p): New function.
1342 (python-shell-output-filter): Use it.
1343 (python-util-comint-last-prompt): New function.
1344 (python-util-text-properties-replace-name): New function.
1346 2014-07-25 Glenn Morris <rgm@gnu.org>
1348 * vc/ediff-init.el (ediff-toggle-read-only-function):
1349 * vc/ediff-util.el (ediff-toggle-read-only):
1350 Replace obsolete toggle-read-only with read-only-mode.
1352 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
1354 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1355 with `save-match-data'. (Bug#18095)
1357 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
1359 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1360 order to ensure that row and col are lexically bound inside the
1363 2014-07-21 Glenn Morris <rgm@gnu.org>
1365 * progmodes/hideif.el (hide-ifdef-mode-submap):
1366 Also substitute read-only-mode.
1367 * bindings.el (mode-line-toggle-read-only):
1368 * bs.el (bs-toggle-readonly):
1369 * buff-menu.el (Buffer-menu-toggle-read-only):
1370 * dired.el (dired-toggle-read-only):
1371 * files.el (view-read-only, find-file-read-only)
1372 (find-file-read-only-other-window)
1373 (find-file-read-only-other-frame):
1374 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1375 Doc fixes re toggle-read-only.
1377 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1379 * progmodes/python.el: Add comment about pipe buffering and
1380 solutions for missing/delayed output in inferior Python shells.
1383 * progmodes/python.el (python-mode): Don't set
1384 mode-require-final-newline. (Bug#17990)
1386 Make python.el work with IPython automatically. (Bug#15510)
1387 * progmodes/python.el:
1388 (python-shell-completion-setup-code): New value supporting iPython.
1389 (python-shell-completion-string-code): New value supporting iPython.
1390 (python-shell-completion-get-completions): Use them.
1391 (python-shell-completion-module-string-code): Make obsolete.
1392 (python-shell-prompt-input-regexps)
1393 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1394 (python-shell-output-filter): Fix comment typo.
1396 Fix Python shell prompts detection for remote hosts.
1397 * progmodes/python.el (python-shell-prompt-detect):
1398 Replace call-process with process-file and make it more robust.
1400 Autodetect Python shell prompts. (Bug#17370)
1401 * progmodes/python.el:
1402 (python-shell-interpreter-interactive-arg)
1403 (python-shell-prompt-detect-enabled)
1404 (python-shell-prompt-detect-failure-warning)
1405 (python-shell-prompt-input-regexps)
1406 (python-shell-prompt-output-regexps): New vars.
1407 (python-shell-prompt-calculated-input-regexp)
1408 (python-shell-prompt-calculated-output-regexp): New vars.
1409 (python-shell-get-process-name)
1410 (python-shell-internal-get-process-name)
1411 (python-shell-output-filter)
1412 (python-shell-completion-get-completions): Use them.
1413 (python-shell-prompt-detect)
1414 (python-shell-prompt-validate-regexps): New functions.
1415 (python-shell-prompt-set-calculated-regexps): New function.
1416 (inferior-python-mode): Use it. Also honor overriden
1417 python-shell-interpreter and python-shell-interpreter-args.
1418 (python-shell-make-comint): Honor overriden
1419 python-shell-interpreter and python-shell-interpreter-args.
1420 (python-shell-get-or-create-process): Make it testable by allowing
1421 to call run-python non-interactively.
1422 (python-util-valid-regexp-p): New function.
1423 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1424 (python-shell-prompt-output-regexp)
1425 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1427 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1429 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1431 (smie-config--guess): Use it.
1433 * emacs-lisp/edebug.el: Use nadvice.
1434 (edebug-original-read): Remove.
1435 (edebug--read): Rename from edebug-read and add `orig' arg.
1436 (edebug-uninstall-read-eval-functions)
1437 (edebug-install-read-eval-functions): Use nadvice.
1438 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1439 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1440 (edebug-read-string, edebug-read-function): Use just `read'.
1441 (edebug-original-debug-on-entry): Remove.
1442 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1444 (debug-on-entry): Override with nadvice.
1446 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1447 it also makes sense to bind it to a non-mouse event.
1449 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1451 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1456 * rect.el (rectangle--string-preview): Don't assume there
1457 a non-nil default (bug#17984).
1459 2014-07-16 Glenn Morris <rgm@gnu.org>
1461 * desktop.el (after-init-hook): Disable startup frame restoration
1462 in non-graphical situations. (Bug#17693)
1464 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1465 if it was "empty", or used for a different set of files. (Bug#17884)
1467 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1469 * bindings.el (mode-line-remote): If default-directory is not a
1470 string, don't call file-remote-p on it; instead state in the
1471 help-echo that it is nil. (Bug#17986)
1473 2014-07-14 Daniel Colascione <dancol@dancol.org>
1475 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1476 to `macroexpand-all'
1478 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1479 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1481 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1483 Fix bug: C-x v v discarded existing log message (Bug#17884).
1484 * vc/vc-dispatcher.el (vc-log-edit):
1485 Don't clobber an already-existing log message.
1487 2014-07-12 Glenn Morris <rgm@gnu.org>
1489 * vc/log-edit.el (log-edit-changelog-entries):
1490 Check for a visited-but-never-saved ChangeLog.
1492 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1495 a non-existing file (bug#17970).
1497 * faces.el (face-name): Undo last change.
1498 (x-resolve-font-name): Don't call face-name (bug#17956).
1500 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1502 Fix dedenters and electric colon handling. (Bug#15163)
1503 * progmodes/python.el
1504 (python-rx-constituents): Add dedenter and block-ender.
1505 (python-indent-dedenters, python-indent-block-enders): Delete.
1506 (python-indent-context): Return new case for dedenter-statement.
1507 (python-indent-calculate-indentation): Handle new case.
1508 (python-indent-calculate-levels): Fix levels calculation for
1509 dedenter statements.
1510 (python-indent-post-self-insert-function): Fix colon handling.
1511 (python-info-dedenter-opening-block-message): New function.
1512 (python-indent-line): Use it.
1513 (python-info-closing-block)
1514 (python-info-closing-block-message): Remove.
1515 (python-info-dedenter-opening-block-position)
1516 (python-info-dedenter-opening-block-positions)
1517 (python-info-dedenter-statement-p): New functions.
1519 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1521 * files.el (out-of-memory-warning-percentage): New defcustom.
1522 (warn-maybe-out-of-memory): Use it.
1524 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1526 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1527 when calling `read-string'. (Bug#17839)
1529 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1531 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1534 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1536 * files.el (warn-maybe-out-of-memory): New function.
1537 (find-file-noselect): Use it.
1539 2014-07-09 Sam Steingold <sds@gnu.org>
1541 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1542 `constant' like `bless', `return' &c
1544 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1549 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1552 the middle of a line (bug#17896).
1554 2014-07-09 Juri Linkov <juri@jurta.org>
1556 * startup.el (command-line): Append displaying the warning about
1557 the errors in the init file to the end of `after-init-hook'.
1560 * faces.el (face-name): Return input arg `face' as-is
1561 when it's not a symbol.
1562 (x-resolve-font-name): Don't check if the face is a symbol.
1565 * facemenu.el (list-colors-print): In help-echo format use %.2f
1566 instead of %d because now HSV values are floating-point components
1567 between 0.0 and 1.0.
1569 2014-07-09 Glenn Morris <rgm@gnu.org>
1571 * emulation/cua-rect.el (cua--activate-rectangle):
1572 Avoid setting cua--rectangle to nil. (Bug#17877)
1574 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1576 * calendar/todo-mode.el: Fix wrong-type-argument error when
1577 marking multiple consecutive items.
1578 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1579 end of the todo and done items sections. Note in doc string that
1580 items marked by passing a numeric prefix argument can include the
1581 last todo and first done items.
1582 (todo-mark-category): Don't try to mark the empty line between the
1583 todo and done items sections.
1585 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1588 proper Lisp quoting (bug#17934).
1590 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1591 require-final-newline since prog-mode already took care of it (bug#17947).
1593 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1595 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1596 refer to the Todo mode Info manual. Update the comment on
1598 (todo-find-filtered-items-file): Add todo-prefix overlays.
1599 (todo-filter-items): Reorder a let-bound variable to avoid a
1600 wrong-type-argument error on canceling the file choice dialog.
1602 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * progmodes/octave.el (inferior-octave-mode):
1605 Set comint-input-ring-size to a number (bug#17912).
1607 2014-07-09 Juri Linkov <juri@jurta.org>
1609 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1610 and `isearch-mode' associated with nil. (Bug#17849)
1612 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1614 * linum.el (linum--face-height): New function (bug#17813).
1615 (linum-update-window): Use it to adjust margin to linum's width.
1617 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1618 * eshell/em-smart.el (eshell-smart-scroll-window):
1619 Use with-selected-window.
1621 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1622 Remove also pointless window&mark manipulation.
1624 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1625 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1626 (perl-continuation-line-p): Don't skip over anything else than labels.
1627 Return the previous char.
1628 (perl-calculate-indent): Use syntax-ppss instead of parse-start
1629 and update callers accordingly. For continuation lines, check the
1630 the case of array hashes.
1631 (perl-backward-to-noncomment): Make it non-interactive.
1632 (perl-backward-to-start-of-continued-exp): Rewrite.
1634 2014-07-08 Sam Steingold <sds@gnu.org>
1636 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1639 2014-07-08 Juri Linkov <juri@jurta.org>
1641 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1642 (vc-annotate-color-map): Use less saturated colors (20%) for
1644 (vc-annotate-very-old-color): Add default value for background-mode.
1645 (vc-annotate-background): Set default value to nil since now text on
1646 the default backgrounds should be legible in light and dark modes.
1647 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
1650 2014-07-08 Juri Linkov <juri@jurta.org>
1652 * simple.el (transpose-chars): Don't move point into read-only area.
1655 2014-07-08 Juri Linkov <juri@jurta.org>
1657 * window.el (with-displayed-buffer-window): New macro.
1658 (with-temp-buffer-window, with-current-buffer-window):
1659 Use `macroexp-let2' to evaluate and bind variables
1660 in the same order as macro arguments.
1661 (display-buffer--action-function-custom-type):
1662 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1664 * minibuffer.el (minibuffer-completion-help): Replace
1665 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1666 with actions that display *Completions* at-bottom when called
1667 from the minibuffer, or below-selected in a normal buffer.
1668 Associate `window-height' with `fit-window-to-buffer'.
1669 Let-bind `pop-up-windows' to nil.
1671 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1672 instead of `with-current-buffer-window'. (Bug#17809)
1674 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1676 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1677 (hide-ifdef-env-backup): New variable.
1678 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1679 New customizable variables.
1680 (hif-clear-all-ifdef-defined): New defun.
1681 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1682 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1683 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1684 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1685 Fix bug to hide the correct #elif region(s).
1686 (hif-range-elif): New defun.
1687 (hif-recurse-level): New var.
1688 (hif-evaluate-region, hif-evaluate-macro): New defun.
1689 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1691 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1694 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1696 * net/dbus.el (dbus-peer-handler): New defun.
1697 (dbus-register-service): Register it. (Bug#17858)
1698 (dbus-managed-objects-handler): Fix docstring.
1700 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
1702 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1703 (narrow-to-defun): New arg include-comments, defaulting to it
1706 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1708 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1709 different calling convention to rectangle--unhighlight-for-redisplay.
1711 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1713 * net/tramp.el (tramp-call-process): Handle error strings.
1715 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1717 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1718 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1720 * net/trampver.el: Update release number.
1722 2014-07-03 Juri Linkov <juri@jurta.org>
1724 * desktop.el (desktop-save): Rename arg `auto-save' to
1725 `only-if-changed'. Doc fix. (Bug#17873)
1727 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1730 Use insert-for-yank (bug#17271).
1732 2014-07-03 Leo Liu <sdl.web@gmail.com>
1734 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1735 Support lexical-binding.
1737 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * vc/log-edit.el (log-edit-goto-eoh): New function.
1740 (log-edit--match-first-line): Use it (bug#17861).
1742 2014-07-03 Glenn Morris <rgm@gnu.org>
1744 * vc/log-edit.el (log-edit-hook): Add missing :version.
1746 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1748 * progmodes/python.el (python-indent-post-self-insert-function):
1749 Enhancements to electric indentation behavior inside
1752 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1754 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1755 buffer-invisibility-spec (bug#17867).
1757 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1759 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1762 2014-07-03 Glenn Morris <rgm@gnu.org>
1764 * cus-edit.el (help):
1765 * finder.el (finder-known-keywords):
1766 * help.el (help-for-help-internal):
1767 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1768 (ediff-redraw-registry-buffer):
1769 * vc/ediff-ptch.el (ediff-patch-file-internal):
1770 Doc fixes re "online" help. (Bug#17803)
1772 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1773 (idlwave-mode): Doc URL update.
1775 2014-07-01 Juri Linkov <juri@jurta.org>
1777 * man.el: Display man pages immediately and use process-filter
1778 to format them asynchronously.
1779 (Man-width): Doc fix.
1781 (Man-start-calling): Use `with-selected-window' to get
1782 `frame-width' and `window-width'.
1783 (Man-getpage-in-background): Call `Man-notify-when-ready'
1784 immediately after creating a new buffer. Call `Man-mode' and set
1785 `mode-line-process' in the created buffer. Set process-filter to
1786 `Man-bgproc-filter' in start-process branch. In call-process branch
1787 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1788 Use `Man-start-calling' inside `with-current-buffer'.
1789 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
1790 (Man-cleanup-manpage): Don't print messages.
1791 (Man-bgproc-filter): New function.
1792 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1793 user moved it during asynchronous formatting. Move calls of
1794 `Man-fontify-manpage' and `Man-cleanup-manpage' to
1795 `Man-bgproc-filter'. Move the call of `Man-mode' to
1796 `Man-getpage-in-background'. Use `quit-restore-window'
1797 instead of `kill-buffer'. Use `message' instead of `error'
1798 because errors are caught by process sentinel.
1799 (Man-mode): Move calls of `Man-build-page-list',
1800 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1801 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
1803 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1804 for the message about the man page cleaned up.
1806 2014-07-01 Mario Lang <mlang@delysid.org>
1808 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1809 cosutomization option `gnutls-verify-error'.
1811 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1814 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1816 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1817 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1818 is suspended (bug#17857).
1820 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
1822 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1823 Prefer utf-8 coding. (Bug#17859)
1825 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1827 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1830 2014-06-30 Glenn Morris <rgm@gnu.org>
1832 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1833 (autoload-ensure-default-file): Maybe make existing output writable.
1834 * Makefile.in (AUTOGEN_VCS): Remove.
1835 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1837 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1839 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1841 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1843 New if-let, when-let, thread-first and thread-last macros.
1845 * emacs-lisp/subr-x.el
1846 (internal--listify, internal--check-binding)
1847 (internal--build-binding-value-form, internal--build-binding)
1848 (internal--build-bindings): New functions.
1849 (internal--thread-argument, thread-first, thread-last)
1850 (if-let, when-let): New macros.
1852 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
1854 * net/rcirc.el (rcirc-buffer-process): Restore previous
1855 behaviour. (Bug#17772)
1857 2014-06-29 Alan Mackenzie <acm@muc.de>
1859 Don't call c-parse-state when c++-template-syntax-table is active.
1860 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1861 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1862 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1864 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1866 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1867 account for file-wide setting of todo-top-priorities-overrides.
1868 Make code a bit cleaner.
1870 2014-06-28 Glenn Morris <rgm@gnu.org>
1872 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1874 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1876 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1877 category-wide setting of todo-top-priorities-overrides, check for
1878 a file-wide setting and fontify accordingly.
1880 2014-06-28 Glenn Morris <rgm@gnu.org>
1882 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1884 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1886 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
1888 2014-06-28 K. Handa <handa@gnu.org>
1892 * composite.el: Setup composition-function-table for dotted circle.
1893 (compose-gstring-for-dotted-circle): New function.
1895 * international/characters.el: Add category "^" to all
1896 non-spacing characters.
1898 2014-06-28 Glenn Morris <rgm@gnu.org>
1900 * Makefile.in (doit): Remove force rule.
1901 (custom-deps, finder-data, autoloads, update-subdirs)
1902 (compile-one-process): PHONY targets do not need force rules.
1904 * Makefile.in (compile-main, compile, compile-always):
1905 No need to explicitly pass variables to ourself in recursive calls.
1907 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1909 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1911 2014-06-26 Glenn Morris <rgm@gnu.org>
1913 * Makefile.in (update-authors): Update for moved authors.el.
1915 2014-06-26 Leo Liu <sdl.web@gmail.com>
1917 * skeleton.el (skeleton-end-hook): Default to nil and move the
1918 work to skeleton-insert. (Bug#17850)
1920 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
1922 * calc/calc-alg.el (math-beforep):
1923 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1924 Simplify because string-lessp can accept symbols as args.
1926 2014-06-26 Daiki Ueno <ueno@gnu.org>
1928 * emacs-lisp/package.el (package--check-signature):
1929 If package-check-signature is allow-unsigned, don't signal error when
1930 we can't verify signature because of missing public key
1933 2014-06-26 Glenn Morris <rgm@gnu.org>
1935 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1936 Remove outdated declaration.
1938 * emacs-lisp/authors.el (authors-valid-file-names)
1939 (authors-renamed-files-alist): Additions.
1941 2014-06-26 Leo Liu <sdl.web@gmail.com>
1943 * textmodes/picture.el (picture-set-tab-stops):
1944 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1945 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1947 * progmodes/asm-mode.el (asm-calculate-indentation):
1948 Use indent-next-tab-stop.
1950 * indent.el (indent-accumulate-tab-stops): New function.
1952 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1954 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1955 (package-desc-status): Obey it.
1957 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1959 * calendar/todo-mode.el: Fix two bugs.
1960 (todo-insert-item--basic): If user cancels item insertion to
1961 another category before setting priority, show original category
1962 whether it is in the same or a different file.
1963 (todo-set-item-priority): After selecting category, instead of
1964 moving point to top, which extends an active region, restore it.
1966 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * help-fns.el (describe-function-1): Check file-name is a string before
1969 calling help-fns--autoloaded-p (bug#17564).
1971 2014-06-26 Juri Linkov <juri@jurta.org>
1973 * desktop.el (desktop-auto-save-enable)
1974 (desktop-auto-save-disable): New functions.
1975 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1976 (desktop-read): Disable the autosave before loading the desktop,
1977 and enable afterwards. (Bug#17351)
1979 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1981 Fix some indentation problem with \; and pipes (bug#17842).
1982 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1983 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1985 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1986 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1987 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1989 2014-06-26 Glenn Morris <rgm@gnu.org>
1991 * emacs-lisp/find-func.el (find-function-C-source-directory):
1992 Use file-accessible-directory-p.
1994 * ps-samp.el: Make it slightly less awful.
1995 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1996 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1997 Only set local values.
1998 (ps-article-subject, ps-article-author): Use standard functions
1999 like mail-fetch-field.
2000 (ps-info-file, ps-info-node): Use match-string.
2001 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
2002 (ps-samp-ps-setup): ... new function.
2004 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
2005 Optimize away code unneeded on any modern Emacs.
2007 * emacs-lisp/authors.el: Move to ../admin.
2009 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
2011 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
2013 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
2014 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
2015 performance enhancements.
2016 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
2018 (hif-factor, hif-string-concatenation, intern-safe): Support string
2019 concatenation and argumented macro expansion.
2020 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
2021 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
2022 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
2023 (hif-canonicalize-tokens, hif-place-macro-invocation)
2024 (hif-parse-macro-arglist): Mostly new functions for supporting
2025 argumented macro expansion.
2026 (hif-string-concatenation, hif-stringify, hif-token-concat)
2027 (hif-token-stringification, hif-token-concatenation):
2028 Stringification and concatenation.
2029 (hif-find-next-relevant): Fix comments.
2030 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
2031 some cases involving #elif.
2032 (hif-find-define, hif-add-new-defines): New functions for automatically
2033 scanning of defined symbols.
2034 (hide-ifdef-guts): Fix for defined symbol auto scanning.
2035 (hide-ifdef-undef): Fix behavior to match CPP.
2037 2014-06-25 Glenn Morris <rgm@gnu.org>
2039 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
2040 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
2041 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
2042 files. They are not relevant to the original issue (bug#1004),
2043 and cause unnecessary recompilation (bug#2151).
2045 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * play/landmark.el: Use lexical-binding and avoid `intangible'.
2048 (landmark--last-pos): New var.
2049 (landmark--intangible-chars): New const.
2050 (landmark--intangible): New function.
2051 (landmark-mode, landmark-move): Use it.
2052 (landmark-mode): Remove properties.
2053 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
2054 (landmark-cross-qtuple):
2055 Don't worry about `intangible' any more.
2056 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
2057 (landmark-init-display): Don't set `intangible' and `point-entered'.
2058 (square): Remove. Inline it instead.
2059 (landmark--distance): Rename from `distance'.
2060 (landmark-calc-distance-of-robot-from): Rename from
2061 calc-distance-of-robot-from.
2062 (landmark-calc-smell-internal): Rename from calc-smell-internal.
2064 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
2066 * files.el (dir-locals-find-file, file-relative-name):
2067 * info.el (Info-complete-menu-item):
2068 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
2069 to compare-strings to avoid out-of-range errors.
2070 * subr.el (string-prefix-p): Adjust to match strict range
2071 checking in compare-strings.
2073 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
2075 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
2076 for comment lines non-greedy and stopping at newlines to fix stack
2077 overflows with large files.
2079 2014-06-24 Eli Barzilay <eli@barzilay.org>
2081 * calculator.el (calculator-last-input): Drop 'ascii-character property
2084 2014-06-24 Leo Liu <sdl.web@gmail.com>
2086 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
2087 tab-stop-list to nil. (Bug#16381)
2089 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
2090 (indent-rigidly-left-to-tab-stop)
2091 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
2092 (move-to-tab-stop): Change callers.
2094 2014-06-24 Eli Zaretskii <eliz@gnu.org>
2096 * skeleton.el (skeleton-insert): Yet another fix of the doc string
2097 wrt behavior of \n as the first/last element of a skeleton.
2099 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
2101 * net/tramp-adb.el (tramp-adb-handle-process-file):
2102 * net/tramp-sh.el (tramp-sh-handle-process-file):
2103 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
2104 the output buffer when DISPLAY is non-nil. (Bug#17815)
2106 2014-06-24 Glenn Morris <rgm@gnu.org>
2108 * play/landmark.el (landmark-move-down, landmark-move-up):
2109 Fix 2007-10-20 change - preserve horizontal position.
2111 2014-06-23 Sam Steingold <sds@gnu.org>
2113 * simple.el (kill-append): Remove undo boundary depending on ...
2114 (kill-append-merge-undo): New user option.
2116 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * simple.el (handle-shift-selection, exchange-point-and-mark)
2119 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
2120 (transient-mark-mode): Use&set the global value.
2121 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
2122 * emulation/edt.el (edt-emulation-off): Save&restore the global
2123 transient-mark-mode setting.
2124 * obsolete/pc-select.el (pc-selection-mode): Use the
2125 transient-mark-mode function.
2127 2014-06-23 Eli Zaretskii <eliz@gnu.org>
2129 * international/fontset.el (script-representative-chars):
2130 Add representative characters for scripts added in Unicode 7.0.
2131 (otf-script-alist): Synchronize with the latest registry of OTF
2134 * international/characters.el (char-script-table): Update for
2135 scripts added and codepoint ranges changed in Unicode 7.0.
2137 2014-06-23 Eli Barzilay <eli@barzilay.org>
2139 * calculator.el (calculator-standard-displayer): Fix bug in use of
2140 `calculator-groupize-number'.
2141 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
2142 `eval' code, so it works in v24.3.1 too.
2143 (calculator-last-input): Comment to clarify purpose.
2145 2014-06-22 Mario Lang <mlang@delysid.org>
2147 * textmodes/rst.el (rst-comment-region): From from -> from.
2149 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
2151 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2153 * electric.el (electric-layout-post-self-insert-function):
2154 * emacs-lisp/ert.el (ert--insert-infos):
2155 * obsolete/vi.el (vi-set-mark):
2156 * term.el (term-handle-scroll):
2157 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
2158 * wid-edit.el (widget-editable-list-value-create):
2159 Prefer point-marker to copy-marker of point.
2161 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2163 Fix completion retrieval parsing (bug#17209).
2164 * progmodes/python.el (python-mode):
2165 (python-util-strip-string): New function.
2166 (python-shell-completion-get-completions): Use it.
2168 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2170 * skeleton.el (skeleton-insert): Fix last change.
2172 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2174 Enhancements for outline integration (bug#17796).
2175 * progmodes/python.el (python-mode): Properly set
2176 outline-heading-end-regexp so that comments after colons for
2177 defuns are supported.
2179 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2181 * skeleton.el (skeleton-insert): Doc fix.
2183 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2185 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
2186 (smie-config-guess): Use smie-config-local so the rules are obeyed
2189 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
2190 since it's already done inside the loop (bug#17819).
2192 2014-06-21 Martin Rudalics <rudalics@gmx.at>
2194 * mouse.el (mouse-drag-line): Re-remove code initially removed
2195 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
2198 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
2201 align with the surrounding parent (bug#17721).
2203 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2205 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
2207 (texinfo-insert-block, texinfo-insert-@end)
2208 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
2209 local setting of skeleton-end-newline by adding an explicit \n to
2210 the skeletons where appropriate. (Bug#17801)
2212 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
2215 (smie-indent--hanging-p): Use it.
2216 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
2218 2014-06-21 Leo Liu <sdl.web@gmail.com>
2220 * simple.el (read-quoted-char): Don't let help chars pop up help
2223 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2228 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2229 Drop unknown events instead of burping.
2231 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2233 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2234 and later. (Bug#17790)
2236 2014-06-21 Juri Linkov <juri@jurta.org>
2238 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2239 to `soft'. (Bug#17554)
2241 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2246 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
2248 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2249 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
2251 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
2253 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2254 `unread-command-events'.
2256 2014-06-19 William Xu <william.xwl@gmail.com>
2258 * progmodes/hideif.el (hif-string-to-number): Don't return float for
2259 hex integer constants (bug#17807).
2261 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2263 * international/mule-util.el (truncate-string-ellipsis): New var.
2264 (truncate-string-to-width): Use it.
2266 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
2268 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2269 (lisp-string-in-doc-position-p): New function, extracted from
2270 lisp-font-lock-syntactic-face-function.
2271 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2273 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
2275 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2277 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2280 (bubbles--game-over): Don't add `intangible' properties since they
2283 2014-06-18 Juri Linkov <juri@jurta.org>
2285 * vc/ediff-init.el (ediff-current-diff-Ancestor)
2286 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2287 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2288 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2289 Add `min-colors 88' version with removed black/white foregrounds.
2292 2014-06-18 Juri Linkov <juri@jurta.org>
2294 * vc/diff-mode.el (diff-changed): Empty face definition to use
2295 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
2296 (diff-context): Use darker color on light background and
2297 lighter color on dark background.
2299 2014-06-18 Juri Linkov <juri@jurta.org>
2301 * vc/diff-mode.el (diff-refine-changed): Rename from
2302 `diff-refine-change' for consistency with `diff-changed'.
2303 (diff-refine-change): Add obsolete face alias. (Bug#10181)
2305 * vc/smerge-mode.el (smerge-refined-changed): Rename from
2306 `smerge-refined-change'.
2307 (smerge-refined-change): Add obsolete face alias.
2309 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2311 * rect.el (rectangle-preview): New custom.
2312 (rectangle): New group.
2313 (rectangle--pos-cols): Add `window' argument.
2314 (rectangle--string-preview-state, rectangle--string-preview-window):
2316 (rectangle--string-flush-preview, rectangle--string-erase-preview)
2317 (rectangle--space-to, rectangle--string-preview): New functions.
2318 (string-rectangle): Use them.
2319 (rectangle--inhibit-region-highlight): New var.
2320 (rectangle--highlight-for-redisplay): Obey it. Make sure
2321 `apply-on-region' uses the point-crutches of the right window.
2322 Use :align-to rather than multiple spaces.
2324 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
2326 * ruler-mode.el (ruler-mode-window-col)
2327 (ruler-mode-mouse-set-left-margin)
2328 (ruler-mode-mouse-set-right-margin): Fix calculation of column
2329 from mouse position (Bug#17768).
2331 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
2333 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2334 without varname or rhs causes crash.
2335 (dun-ftp): Fix bug where blank ftp password is allowed, making it
2336 impossible to win endgame.
2337 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2339 (dun-help): Bump version number; update contact info.
2341 2014-06-15 Eli Barzilay <eli@barzilay.org>
2343 * calculator.el (calculator-prompt, calculator-remove-zeros)
2344 (calculator-mode-hook, calculator-operators, calculator-stack)
2345 (calculator-mode): Tweak docstring.
2346 (calculator-user-operators): Tweak docstring, fix a bug in the last
2348 (calculator-displayer): `std' case has an optional boolean.
2349 (calculator-displayers): Use the new boolean to group in decimal mode.
2350 (calculator-mode-map, calculator, calculator-message)
2351 (calculator-op-arity, calculator-add-operators)
2352 (calculator-string-to-number, calculator-displayer-prev)
2353 (calculator-displayer-next, calculator-remove-zeros)
2354 (calculator-eng-display, calculator-number-to-string)
2355 (calculator-update-display, calculator-last-input)
2356 (calculator-clear-fragile, calculator-digit, calculator-decimal)
2357 (calculator-exp, calculator-saved-move, calculator-clear)
2358 (calculator-copy, calculator-put-value, calculator-help)
2359 (calculator-expt, calculator-truncate): Minor code improvements.
2360 (calculator-need-3-lines): New function pulling out code from
2362 (calculator-get-display): Rename from `calculator-get-prompt', and
2364 (calculator-push-curnum): Rename from `calculator-curnum-value', and
2365 extended for all uses of it. All callers changed.
2366 (calculator-groupize-number): New utility for splitting a number into
2368 (calculator-standard-displayer): Improve code, new optional argument to
2369 use comma-split groups, make second argument optional too to use with
2370 'left/'right inputs. All callers changed.
2371 (calculator-reduce-stack-once): New utility, doing the meat of what
2372 `calculator-reduce-stack' used to do, much improved (mostly using
2373 `pcase' for conciseness and clarity).
2374 (calculator-reduce-stack): Now doing just the reduction loop using
2375 `calculator-reduce-stack-once'.
2376 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2377 (calculator-last-input): Improve code, remove some old cruft.
2378 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2379 (calculator-integer-p): Remove.
2380 (calculator-fact): Improve code, make it work on non-integer values
2381 too (using truncated numbers).
2383 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2385 Sync with Tramp 2.2.10.
2387 * net/tramp.el (tramp-methods): Tweak docstring.
2388 (tramp-handle-file-accessible-directory-p): Check for
2389 `file-readable-p' instead of `file-executable-p'.
2390 (tramp-check-cached-permissions):
2391 Use `tramp-compat-file-attributes'.
2392 (tramp-call-process): Add new argument VEC. Adapt callees in all
2395 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2396 (tramp-adb-maybe-open-connection): Don't set
2397 `tramp-current-*' variables.
2399 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2400 file properties of temporary buffers.
2402 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2404 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2405 (tramp-gvfs-handle-delete-file): Flush file
2406 properties, not directory properties.
2407 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2408 reading "unix::mode".
2409 (tramp-gvfs-handle-file-name-all-completions):
2410 Use "-h" option for "gvfs-ls".
2411 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2412 (tramp-gvfs-send-command): Simplify traces.
2414 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2415 (vc-git-program, vc-hg-program): Declare.
2416 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2417 (tramp-methods) <nc>: Add new method.
2418 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2419 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2421 (tramp-default-user-alist): Add "nc".
2422 (top): Remove completion function for "sftp". Add completion
2423 functions for "nc" and "psftp".
2424 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2425 Implement support for "nc" method.
2426 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2427 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2429 (tramp-sh-handle-write-region): Tweak error message.
2430 (tramp-sh-handle-vc-registered): Remove backends when the remote
2431 binary does not exist.
2432 (tramp-find-inline-encoding): Do not raise an error.
2433 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2434 the "nc" case. Quote result also locally.
2436 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2437 (tramp-smb-handle-set-file-acl): Use `start-process'.
2438 (tramp-smb-handle-insert-directory): Use progress reporter.
2439 (tramp-smb-handle-rename-file): Flush also file properties of
2442 * net/trampver.el: Update release number.
2444 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2446 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2448 (ses-localvars): Remove ses--local-printer-list, unused.
2449 (ses--metaprogramming): New macro. Use it to defvar variables.
2450 (ses-set-localvars): Simplify.
2451 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2452 property-list into an alist.
2453 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2454 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2455 Remove; use defstruct accessors/setters instead.
2456 (ses-cell-formula-aset, ses-cell-printer-aset)
2457 (ses-cell-references-aset): Remove, use setf instead.
2458 (ses--alist-get): New function.
2459 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2460 Use an alist instead of a plist and don't do move-to-front since the
2461 list is always short.
2462 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2463 (ses-cell-property-set-fun, ses-cell-property-set)
2464 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2465 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2466 (ses--letref): New macro.
2467 (ses-cell-property-pop): Rewrite.
2468 (ses--cell): Rename from ses-cell and make it into a function.
2469 Make `formula' fallback on `value' if nil.
2470 (ses--local-printer): Rename from ses-local-printer and make it into
2472 (ses-set-cell): Turn it into a macro so finding the accessor from the
2473 field name is done at compile time.
2474 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2475 `ref' before adding `sym' to :ses-repair-reference.
2476 (ses-calculate-cell): Use ses--letref rather than
2477 ses-cell-property-get-handle.
2478 (ses-write-cells): Use a single prin1-to-string.
2479 (ses-setter-with-undo): New function.
2480 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2481 (ses-unset-with-undo): Remove.
2482 (ses-load): Prefer apply' over `eval'.
2483 (ses-read-printer, ses-set-column-width): Use standard "(default
2486 2014-06-15 Glenn Morris <rgm@gnu.org>
2488 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2490 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2491 Replace delete-duplicates and mapcan by cl- versions throughout.
2492 And cl-macroexpand-all by macroexpand-all.
2493 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2495 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2497 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2499 2014-06-15 Juri Linkov <juri@jurta.org>
2501 * bindings.el: Put `ascii-character' property on keypad keys
2502 mapped to characters. (Bug#17759)
2504 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2507 bumping forward into a closing paren (bug#17761).
2509 * term/xterm.el (xterm--version-handler): Work around for OSX
2510 Terminal.app (bug#17607).
2512 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2514 * play/dunnet.el (dun-describe-room, dun-mode):
2515 If a lamp is in the room, you won't be eaten by a grue.
2517 2014-06-13 Glenn Morris <rgm@gnu.org>
2519 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2520 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2521 (compile-always): GNU make automatically passes
2522 command-line arguments to sub-makes.
2524 * calendar/calendar.el (calendar-generate-window):
2525 Remove pointless call to font-lock-fontify-buffer.
2527 2014-06-13 Matthias Meulien <orontee@gmail.com>
2529 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2532 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2534 * simple.el (set-mark-command): Simplify a bit.
2536 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2538 * help.el (help--key-binding-keymap): New function.
2539 (help--binding-locus): New function.
2540 (describe-key): Mention the keymap in which the binding was
2543 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * hippie-exp.el (he--all-buffers): New function.
2546 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2547 (try-expand-dabbrev-all-buffers): Use it.
2549 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2551 * hippie-exp.el (try-expand-line-all-buffers)
2552 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2553 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2554 original buffer, in case they're buffer-local.
2556 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2558 * ses.el (ses-initial-global-parameters-re): New defconst, a
2559 specific regexp is needed now that ses.el can handle both
2560 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2562 (ses-localvars): Add local variables needed for local printer handling.
2563 (ses-set-localvars): Handle hashmap initialisation.
2564 (ses-paramlines-plist): Add param-line for number of local printers.
2565 (ses-paramfmt-plist): New defconst, needed for code factorization
2566 between functions `ses-set-parameter' and
2567 `ses-file-format-extend-paramter-list'
2568 (ses-make-local-printer-info): New defsubst.
2569 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2570 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2571 (ses-cell-printer-aset): New defmacro.
2572 (ses-local-printer-compile): New defun.
2573 (ses-local-printer): New defmacro.
2574 (ses-printer-validate, ses-call-printer): Add support for local
2576 (ses-file-format-extend-paramter-list): New defun.
2577 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2579 (ses-load): Add support for local printer functions.
2580 (ses-read-printer): Update docstring and add support for local printer
2582 (ses-refresh-local-printer, ses-define-local-printer): New defun.
2583 (ses-safe-printer): Add support for local printer functions.
2585 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
2587 * ffap.el (ffap-lax-url): New var (bug#17723).
2588 (ffap-url-at-point): Use it.
2589 (ffap-file-at-point): Avoid returning just "/".
2591 2014-06-12 Matthias Meulien <orontee@gmail.com>
2593 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2594 (python-mode-map): Bind it.
2596 * progmodes/python.el (class skeleton): Don't erase last char of class
2599 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
2601 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2603 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
2605 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2608 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * international/mule-cmds.el: Use lexical-binding.
2611 (ucs-names): Simplify.
2613 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
2615 * progmodes/python.el (run-python): Use read-shell-command.
2617 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * rect.el: Make it possible to move bounds past EOL or into TABs.
2620 (operate-on-rectangle): Use apply-on-rectangle.
2621 (rectangle--mark-crutches): New var.
2622 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2623 (rectangle--crutches, rectangle--reset-crutches): New functions.
2624 (apply-on-rectangle): Obey crutches. Avoid setq.
2625 Fix missing final iteration if end is at EOB&BOL.
2626 (rectangle-mark-mode-map): Add remap bindings for
2627 exchange-point-and-mark and char/line movements.
2628 (rectangle--*-char): New function.
2629 (rectangle-exchange-point-and-mark, rectangle-right-char)
2630 (rectangle-left-char, rectangle-forward-char)
2631 (rectangle-backward-char, rectangle-next-line)
2632 (rectangle-previous-line): New commands.
2633 (rectangle--place-cursor): New function.
2634 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
2636 2014-06-08 Glenn Morris <rgm@gnu.org>
2638 * startup.el (initial-buffer-choice): Doc fix.
2639 Reset :version (adding an option does not merit a :version bump).
2641 * bookmark.el (bookmark-load):
2642 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2644 2014-06-08 Juri Linkov <juri@jurta.org>
2646 * desktop.el: Activate auto-saving on window configuration changes.
2647 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2648 `desktop-auto-save-set-timer' to/from
2649 `window-configuration-change-hook'.
2650 (desktop-auto-save-set-timer): Change REPEAT arg of
2651 `run-with-idle-timer' from t to nil.
2652 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2654 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
2656 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2657 vc-hg-command (bug#17570).
2659 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2664 2014-06-08 Glenn Morris <rgm@gnu.org>
2666 * startup.el (window-setup-hook): Doc fix.
2668 * emacs-lisp/package.el (package-check-signature)
2669 (package-unsigned-archives): Doc fixes.
2671 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2673 * window.el (display-buffer-use-some-window): Don't make window
2674 used smaller than it was before (Bug#17671).
2676 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2678 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2679 'redisplay' instead of '(sit-for 0)'.
2681 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2683 * net/tramp.el (tramp-ssh-controlmaster-options):
2684 Improve search regexp. (Bug#17653)
2686 2014-06-08 Glenn Morris <rgm@gnu.org>
2688 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2690 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2692 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2694 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2696 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2699 * vc/vc-hg.el (vc-hg-log-graph): New var.
2700 (vc-hg-print-log): Use it.
2701 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2702 graph output (bug#17515).
2704 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2706 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2707 even happened elsewhere.
2709 2014-06-06 Mario Lang <mlang@delysid.org>
2711 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2712 `recenter' if `current-buffer' is equal to `window-buffer'.
2714 2014-06-05 Leo Liu <sdl.web@gmail.com>
2716 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2718 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2720 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2721 New function which calls a callback on portions of the buffer that are
2722 outside of ignored environments.
2723 (tildify-build-regexp): Remove function since it is now
2724 incorporated in `tildify-foreach-region-outside-env' where it is
2725 optimised and simplified by the use of `mapconcat'.
2726 (tildify-tildify): Return number of substitutions made so that…
2727 (tildify-count): …can be removed.
2728 (tildify-find-env): Accept a new PAIRS argument which was
2729 previously looked up in `tildify-ignored-environments-alist' each
2730 time the function was called. With this change, the lookup is
2731 performed only once in `tildify-foreach-region-outside-env'.
2732 (tildify-region): Greatly simplify the function since now most of
2733 the work is done by `tildify-foreach-region-outside-env'.
2734 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2735 and instead using or.
2737 * textmodes/tildify.el (tildify-ignored-environments-alist):
2738 Optimise environments regexes
2740 Each time beginning of an environment to ignore is found,
2741 `tildify-find-env' needs to identify regexp for the ending
2742 of the environment. This is done by trying all the opening
2743 regexes on matched text in a loop, so to speed that up, this
2744 loop should have fewer things to match, which can be done by
2745 using alternatives in the opening regexes.
2747 Coincidentally, this should make matching of the opening
2748 regexp faster as well thanks to the use of `regexp-opt' and
2749 having common prefix pulled from many regexes.
2751 * textmodes/tildify.el (tildify-string-alist)
2752 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2753 of supported modes since `xml-mode' is no longer a thing but just
2754 an alias to the former. Also include comments and insides of tags
2755 in `tildify-ignored-environments-alist' for XML modes. Finally,
2756 since XML does not define “ ”[1], use a numeric reference for
2757 a no-break space (namely “ ”)
2759 [1] XML specification defines only a handful of predefined entities.
2760 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2761 and includes only <, >, &, ' and " (meaning <,
2762 >, &, ' and " respectively). This is in contrast to HTML and even
2763 XHTML which defined a whole bunch of entities including “ ”.
2765 * textmodes/tildify.el (tildify-pattern-alist)
2766 (tildify-string-alist, tildify-ignored-environments-alist):
2767 Improve defcustom's types by adding more tags explaining what each
2768 value means and replace “sexp” used in
2769 `tildify-ignored-environments-alist' with a full type declaration.
2771 * textmodes/tildify.el (tildify-find-env): Fix matched group
2772 indexes in end-regex building
2774 When looking for a start of an ignore-environment, the regex is built
2775 by concatenating regexes of all the environments configured in
2776 `tildify-ignored-environments-alist'. So for example, the following
2777 list could be used to match TeX's \verb and \verb* commands:
2779 (("\\\\verb\\(.\\)" . (1))
2780 ("\\\\verb\\*\\(.\\)" . (1)))
2782 This would result in the following regex being used to find the start
2783 of any of the variants of the \verb command:
2785 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2787 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2788 won't match anything, and thus (match-string 1) will be nil, which
2789 will cause building of the end-matching regex to fail.
2791 Fix this by using capture groups from the time when the opening
2792 regexes are matched individually.
2794 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2795 in `tildify-find-env'
2797 The `tildify-ignored-environments-alist' allows the end-regex to
2798 be provided not as a static string but mix of strings and indexes
2799 of groups matched the begin-regex. For example, the “\verb!…!”
2800 TeX-command (where “!” is an arbitrary character) is handled
2803 ("\\\\verb\\*?\\(.\\)" . (1))
2805 In the same way, the following should be supported as well:
2807 ("open-\\(.\\)" . ("end-" 1))
2809 However the tildify-find-env function fails at
2812 (if (stringp (setq aux (car expression)))
2813 expression ; BUG: expression is a list
2814 (regexp-quote (match-string aux))))
2816 where the string part is handled incorrectly.
2818 The most trivial fix would be to replace `expression' in the
2819 true-part of the if-statement with `aux', but instead, this commit
2820 optimises `tildify-find-env' by changing it to use `mapconcat'
2821 rather than open-coded while-loop.
2823 2014-06-05 Mario Lang <mlang@delysid.org>
2825 * woman.el (woman-mapcan): Remove.
2826 (woman-parse-colon-path): Use cl-mapcan instead.
2828 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2830 * register.el: Add link to Emacs manual in Commentary.
2832 2014-06-02 Sam Steingold <sds@gnu.org>
2834 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2835 (popup-menu): ...here.
2836 (menu-bar-open): Use it to avoid an error when `lookup-key'
2839 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
2841 * net/tramp.el (tramp-call-process): Add traces.
2842 (tramp-handle-unhandled-file-name-directory): Return "/".
2844 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
2846 Sync with upstream verilog-mode revision 3cd8144.
2847 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2848 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2849 (verilog-type-font-keywords): Add nor.
2850 (verilog-batch-execute-func): Force reading of Local Variables.
2851 Fix printing "no changes to be saved" with verilog-batch.
2852 (verilog-auto-arg-ports): Doc fix.
2853 Add verilog-auto-arg-format to support newlines in AUTOARG.
2854 (verilog-auto-arg): Doc fix.
2856 2014-06-02 Glenn Morris <rgm@gnu.org>
2858 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2859 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2860 * emulation/ws-mode.el: Move to obsolete/.
2861 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2863 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2865 * simple.el (keyboard-quit): Force update of mode lines, to remove
2866 the "Def" indicator, if we were defining a macro. (Bug#17615)
2868 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * minibuffer.el (minibuffer-force-complete-and-exit):
2871 Obey minibuffer-default (bug#17545).
2873 * progmodes/js.el (js-indent-line): Don't mix columns and chars
2876 * subr.el (set-transient-map): Don't wait for some "nested"
2877 transient-map to finish if we're only supposed to be active for
2878 the next command (bug#17642).
2880 2014-06-02 Leo Liu <sdl.web@gmail.com>
2882 * emacs-lisp/gv.el (window-buffer, window-display-table)
2883 (window-dedicated-p, window-hscroll, window-point, window-start):
2884 Fix gv-expander. (Bug#17630)
2886 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2888 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2891 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2892 for the single comma, since ", " is *very* common in normal French text
2895 2014-06-02 Glenn Morris <rgm@gnu.org>
2897 * emacs-lisp/package.el (package-check-signature)
2898 (package-unsigned-archives): Fix :version.
2900 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2902 * subr.el (sit-for): Don't run input-methods (bug#15614).
2904 2014-06-02 Glenn Morris <rgm@gnu.org>
2906 * cus-start.el: Fix some :version numbers.
2908 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * simple.el (deactivate-mark): Set mark-active to nil even if
2911 deactivation is done via setting transient-mark-mode to nil,
2912 since one is buffer-local and the other is global.
2914 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2915 there can't be more than 2 arguments (bug#17584).
2917 2014-06-02 Glenn Morris <rgm@gnu.org>
2919 * simple.el (filter-buffer-substring-functions)
2920 (filter-buffer-substring-function, buffer-substring-filters)
2921 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2923 * minibuffer.el (completion-in-region-functions, completion-in-region)
2924 (completion--in-region): Doc fixes.
2926 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2927 (expand-abbrev, abbrev--default-expand): Doc fixes.
2929 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
2931 Include sources used to create macuvs.h.
2932 * international/README: Refer to the Unicode Terms of Use rather
2933 than copying it bodily here, as that simplifies maintenance.
2935 2014-06-01 Glenn Morris <rgm@gnu.org>
2937 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
2939 2014-05-31 Glenn Morris <rgm@gnu.org>
2941 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
2943 2014-05-30 Glenn Morris <rgm@gnu.org>
2945 * loadup.el: Treat `command-line-args' more flexibly.
2947 2014-05-30 Alan Mackenzie <acm@muc.de>
2949 Guard (looking-at "\\s!") from XEmacs.
2950 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2952 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
2954 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2955 The argument COUNT is now optional, to be more backward-compatible.
2956 Doc fix. (Bug#17560)
2958 2014-05-29 Reuben Thomas <rrt@sc3d.org>
2960 * whitespace.el (whitespace-report-region):
2961 Simplify documentation.
2962 (whitespace-report-region): Allow report-if-bogus to take the
2963 value `never', for non-interactive use.
2964 (whitespace-report): Refer to whitespace-report-region's
2967 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * whitespace.el: Use font-lock-flush. Minimize refontifications.
2970 Side benefit: it works without jit-lock.
2971 (whitespace-point--used): New buffer-local var.
2972 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
2973 (whitespace-color-off): Use font-lock-flush.
2974 (whitespace-point--used, whitespace-point--flush-used): New functions.
2975 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2976 (whitespace-empty-at-eob-regexp): Use them.
2977 (whitespace-post-command-hook): Rewrite.
2979 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2980 (font-lock-fontify-buffer): Mark interactive-only.
2981 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2983 (font-lock-specified-p): Remove redundant boundp check.
2984 (font-lock-flush-function, font-lock-ensure-function): New vars.
2985 (font-lock-turn-on-thing-lock): Set them.
2986 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2987 (font-lock-after-change-function): Make `old-len' optional.
2988 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2989 Call font-lock-flush, just in case.
2990 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2992 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2993 (vera-mode-map, vera-mode-menu): Remove bindings to it.
2994 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2995 and with-syntax-table.
2996 * textmodes/conf-mode.el (conf-quote-normal):
2997 * progmodes/sh-script.el (sh-set-shell):
2998 * progmodes/prog-mode.el (prettify-symbols-mode):
2999 * progmodes/f90.el (f90-font-lock-n):
3000 * progmodes/cwarn.el (cwarn-mode):
3001 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
3002 * progmodes/compile.el (compilation-setup, compilation--unsetup):
3003 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
3004 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
3005 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
3006 font-lock-fontify-buffer-function and
3007 font-lock-unfontify-buffer-function.
3008 (rmail-unfontify-buffer-function, rmail-fontify-message):
3009 Use with-silent-modifications.
3010 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
3011 and font-lock-ensure.
3012 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
3014 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
3016 * emacs-lisp/package.el (package-generate-autoloads):
3017 Inhibit backup files.
3019 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
3024 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
3026 * textmodes/tildify.el (tildify-buffer, tildify-region):
3027 Add dont-ask option.
3029 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3031 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
3032 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
3034 * subr.el (internal--funcall-interactively): New.
3035 (internal--call-interactively): Remove.
3036 (called-interactively-p): Detect funcall-interactively instead of
3038 * simple.el (repeat-complex-command): Use funcall-interactively.
3039 (repeat-complex-command--called-interactively-skip): Remove.
3041 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * register.el (register-read-with-preview): Don't burp on
3044 frame switches (e.g. due to the frame we just popped).
3046 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
3047 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
3049 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
3051 * cus-face.el (custom-face-attributes): Add :distant-foreground.
3053 2014-05-26 Martin Rudalics <rudalics@gmx.at>
3055 * window.el (window--dump-frame): Remove interactive specification.
3057 2014-05-26 Glenn Morris <rgm@gnu.org>
3059 * hippie-exp.el (he-line-search-regexp):
3060 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
3062 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3064 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
3065 to avoid errors when trying to create or visit a file foo.todo
3066 located outside to todo-directory, and to allow having such files
3067 without them being tied to Todo mode (bug#17482).
3068 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
3069 (todo-archive-done-item, todo-find-filtered-items-file)
3070 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
3071 (todo-category-completions, todo-read-category): When visiting a
3072 Todo file, make sure we're in the right mode and the buffer local
3074 (todo-make-categories-list, todo-reset-nondiary-marker)
3075 (todo-reset-done-string, todo-reset-comment-string):
3076 After processing all Todo files, kill the buffers of those files that
3077 weren't being visited before the processing.
3078 (todo-display-as-todo-file, todo-add-to-buffer-list)
3079 (todo-visit-files-commands): Comment out.
3080 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
3081 (auto-mode-alist): Remove add-to-list calls making Todo file
3082 extensions unrestrictedly tied to Todo modes.
3084 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
3087 (advice-function-member-p): Tell it to check both names and functions
3089 (advice--add-function): Adjust call accordingly.
3091 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3093 * calendar/todo-mode.el: Miscellaneous bug fixes.
3094 (todo-delete-file): When deleting an archive but not its todo
3095 file, make sure to update the todo file's category sexp.
3096 (todo-move-category): Keep the moved category's name unless the
3097 file moved to already has a category with that name. If the
3098 numerically last category of the source file was moved, make the
3099 first category current to avoid selecting a nonexisting category.
3100 (todo-merge-category): Fix implementation to make merging to a
3101 category in another file work as documented. Eliminate now
3102 insufficient and unnecessary renaming of archive category, correct
3103 document string accordingly, and clarify it. If the numerically
3104 last category of the source file was merged, make the first
3105 category current to avoid selecting a nonexisting category.
3106 (todo-archive-done-item): When there are marked items and point
3107 happens to be on an unmarked item, ignore the latter. Don't leave
3108 point below last item after archiving marked items.
3109 (todo-unarchive-items): Fix logic to ensure unarchiving an item
3110 from an archive with only one category deletes the archive only
3111 when the category is empty after unarchiving. Make sure the todo
3112 file's category sexp is updated.
3113 (todo-read-file-name): Allow an existing file name even when it is
3114 not required (todo-move-category needs this to work as documented).
3115 (todo-add-file): Call todo-validate-name to reject the name of an
3116 existing todo file (needed due to fix in todo-read-file-name).
3117 (todo-reset-nondiary-marker): Also reset in filtered items files.
3118 (todo-reset-done-string, todo-reset-comment-string): Also reset in
3119 regexp filtered items files.
3120 (todo-reset-highlight-item): Also reset in filtered items files.
3121 Fix incorrect variable reference in document string.
3123 2014-05-26 Glenn Morris <rgm@gnu.org>
3125 * window.el (window--dump-frame): Avoid error in --without-x builds.
3127 2014-05-26 Glenn Morris <rgm@gnu.org>
3129 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
3131 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3133 * frame.el (set-frame-font): Doc fix.
3135 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
3137 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
3139 * emacs-lisp/package.el (package--download-one-archive):
3140 Use `write-region' instead of `save-buffer' to avoid running various
3142 (describe-package-1): Same. Insert newline at the end of the
3143 buffer if appropriate.
3145 2014-05-26 Juri Linkov <juri@jurta.org>
3147 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
3148 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
3149 Add more modifiers: meta, control, shift, hyper, super, alt.
3152 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
3153 to allow changing its value with `set-variable'.
3155 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3157 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
3159 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
3161 (scheme-mode-variables): Set syntax-propertize-function instead of
3162 font-lock-syntactic-face-function.
3163 (scheme-font-lock-syntactic-face-function): Delete.
3165 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
3167 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
3170 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3172 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
3173 for a temporary file name.
3175 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3177 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
3179 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3181 * net/dbus.el (dbus-init-bus, dbus-call-method)
3182 (dbus-call-method-asynchronously, dbus-send-signal)
3183 (dbus-method-return-internal, dbus-method-error-internal):
3184 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
3186 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3188 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
3189 methods which do not have a doc string. (Bug#17490)
3191 2014-05-25 Tassilo Horn <tsdh@gnu.org>
3193 * textmodes/reftex-ref.el (reftex-format-special): Make it work
3194 also for AMS Math's \eqref macro.
3196 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3198 Arrange to never byte-compile the generated -pkg.el file.
3200 * emacs-lisp/package.el (package-generate-description-file):
3201 Output first-line comment to set buffer-local var `no-byte-compile'.
3202 Suggested by Dmitry Gutov:
3203 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
3205 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3207 Fix bug: Properly quote args to generated -pkg.el `define-package'.
3209 * emacs-lisp/package.el (package-generate-description-file):
3210 Inline `package--alist-to-plist'; rewrite to selectively
3211 quote alist values that are not self-quoting.
3212 (package--alist-to-plist): Delete func.
3214 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
3216 * term/xterm.el (xterm-function-map): Add mapping for shifted
3219 2014-05-24 Daniel Colascione <dancol@dancol.org>
3221 * progmodes/subword.el (subword-find-word-boundary): Move point to
3222 correct spot before search. (Bug#17580)
3224 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3227 2014-05-24 Leo Liu <sdl.web@gmail.com>
3229 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
3231 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * minibuffer.el (completion--sreverse): Remove.
3234 (completion--common-suffix): Use `reverse' instead.
3235 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3237 2014-05-22 Glenn Morris <rgm@gnu.org>
3239 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3241 2014-05-21 Daniel Colascione <dancol@dancol.org>
3243 * files.el (interpreter-mode-alist): Add mksh.
3245 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3247 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3248 mksh. Improve custom spec; allow regular expressions.
3249 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3250 (sh-after-hack-local-variables): New function.
3251 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3252 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3254 (sh-canonicalize-shell): Rewrite to support regexes.
3256 2014-05-21 Leo Liu <sdl.web@gmail.com>
3258 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3260 2014-05-19 Leo Liu <sdl.web@gmail.com>
3262 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3264 2014-05-18 Glenn Morris <rgm@gnu.org>
3267 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3269 2014-05-14 Sam Steingold <sds@gnu.org>
3271 * progmodes/python.el (python-shell-get-or-create-process):
3272 Do not bind `current-prefix-arg' so that C-c C-z does not talk
3273 back unless requested.
3275 2014-05-14 Glenn Morris <rgm@gnu.org>
3277 * subr.el (with-file-modes): New macro.
3278 * printing.el (pr-save-file-modes): Make obsolete.
3279 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3280 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3281 Add with-file-modes.
3282 * doc-view.el (doc-view-make-safe-dir):
3283 * epg.el (epg--start):
3284 * files.el (locate-user-emacs-file, make-temp-file)
3285 (backup-buffer-copy, move-file-to-trash):
3286 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3287 * eshell/esh-util.el (eshell-with-private-file-modes)
3288 (eshell-make-private-directory):
3289 * net/browse-url.el (browse-url-mosaic):
3290 * obsolete/mailpost.el (post-mail-send-it):
3291 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3292 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3293 Use with-file-modes.
3295 * vc/emerge.el (emerge-make-temp-file): Simplify.
3297 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
3298 Stefan Monnier <monnier@iro.umontreal.ca>
3300 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3303 2014-05-14 Glenn Morris <rgm@gnu.org>
3305 * vc/emerge.el (emerge-temp-file-prefix):
3306 Make pointless option obsolete.
3307 (emerge-temp-file-mode): Make non-functional option obsolete.
3309 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
3311 * net/browse-url.el (browse-url):
3312 Use `unhandled-file-name-directory' when setting `default-directory',
3313 in order to circumvent stalled remote connections. (Bug#17425)
3315 2014-05-14 Glenn Morris <rgm@gnu.org>
3317 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3318 Optimize on Emacs, which has the relevant functions for ages.
3320 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * simple.el (undo-make-selective-list): Obey undo-no-redo.
3324 2014-05-12 Sam Steingold <sds@gnu.org>
3326 * calendar/time-date.el (seconds-to-string): New function to
3327 pretty print time delay in seconds.
3329 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * mpc.el (mpc-format): Trim Date to the year.
3332 (mpc-songs-hashcons): Shorten the Date field.
3334 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3335 into autoloading just because of a silly indirection.
3337 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
3339 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
3341 2014-05-12 Glenn Morris <rgm@gnu.org>
3343 * emacs-lisp/find-gc.el: Move to ../admin.
3345 * printing.el (pr-version):
3346 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3348 * net/browse-url.el (browse-url-mosaic):
3349 Create /tmp/Mosaic.PID as a private file.
3351 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3354 (advice--member-p): If name is given, only compare the name.
3355 (advice--remove-function): Don't stop at the first match.
3356 (advice--normalize-place): New function.
3357 (add-function, remove-function): Use it.
3358 (advice--add-function): Pass the name, if any, to
3359 advice--remove-function.
3361 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3363 * electric.el (electric-indent-post-self-insert-function): Don't use
3364 `pos' after modifying the buffer (bug#17449).
3366 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
3368 * calendar/todo-mode.el (todo-insert-item-from-calendar):
3369 Correct argument list to conform to todo-insert-item--basic.
3371 2014-05-12 Glenn Morris <rgm@gnu.org>
3373 * files.el (cd-absolute): Test if directory is accessible
3374 rather than executable. (Bug#17330)
3376 * progmodes/compile.el (recompile):
3377 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3379 * net/browse-url.el (browse-url-mosaic):
3380 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3381 This is CVE-2014-3423.
3383 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3385 * mouse.el: Use the normal toplevel loop while dragging.
3386 (mouse-set-point): Handle multi-clicks.
3387 (mouse-set-region): Handle multi-clicks for drags.
3388 (mouse-drag-region): Update call accordingly.
3389 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3390 Use the normal event loop instead of a local while/read-event loop.
3391 (global-map): Remove redundant bindings for double/triple-mouse-1.
3392 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3393 Generate synthetic down events when the protocol only sends up events.
3394 (xterm-mouse-last): Remove.
3395 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3396 terminal parameter instead.
3397 (xterm-mouse--set-click-count): New function.
3398 (xterm-mouse-event): Detect/generate double/triple clicks.
3399 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3401 * info.el (Info-quoted): New face.
3402 (Info-mode-font-lock-keywords): New var.
3403 (Info-mode): Use it.
3405 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3406 are a hindrance for C-x C-e.
3408 2014-05-11 Leo Liu <sdl.web@gmail.com>
3410 * net/rcirc.el (rcirc-sentinel): Fix last change.
3412 2014-05-08 Sam Steingold <sds@gnu.org>
3414 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3415 (rcirc-sentinel): Auto-reconnect to the server if
3416 `rcirc-reconnect-delay' is non-0 (but not more often than its
3417 value in case the host is off-line).
3419 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3421 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3423 2014-05-09 Glenn Morris <rgm@gnu.org>
3425 * files.el (file-expand-wildcards):
3426 * man.el (Man-support-local-filenames):
3427 * printing.el (pr-i-directory, pr-interface-directory):
3428 * progmodes/grep.el (lgrep, rgrep):
3429 * textmodes/ispell.el (ispell-call-process)
3430 (ispell-call-process-region, ispell-start-process)
3431 (ispell-init-process): Use file-accessible-directory-p.
3433 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3435 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3436 (xterm-mouse--read-event-sequence-1000): Return nil if something
3438 (xterm-mouse-event): Propagate it.
3439 (xterm-mouse-translate-1): Handle it.
3441 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3443 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3444 four slots of the parameter list are filled, make sure to pass it
3445 to the argument list of todo-insert-item--basic.
3447 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3449 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3450 Add optional `seen' argument to detect and break infinite loops.
3452 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3454 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3455 (trace-unsafe, trace-use-tree): Make parentheses style be
3456 according to Emacs style.
3458 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3460 * net/tramp-sh.el (tramp-remote-process-environment):
3461 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3463 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3464 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3465 extra "PSx=..." commands.
3466 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3469 (tramp-uudecode): Replace the hard-coded temporary file name by a
3471 (tramp-remote-coding-commands): Enhance docstring.
3472 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3474 This is CVE-2014-3424.
3476 2014-05-08 Glenn Morris <rgm@gnu.org>
3478 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3479 (find-gc-source-files): Update some names.
3480 (trace-call-tree): Simplify and update.
3481 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3482 This is CVE-2014-3422.
3484 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3486 * minibuffer.el (completion--try-word-completion): Revert fix for
3487 Bug#15980 (bug#17375).
3489 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3490 Always store button numbers in the same way in xterm-mouse-last;
3491 Don't burp is xterm-mouse-last is not set as expected.
3492 Never return negative indices.
3494 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3496 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3497 Backtrack one char if the global/char-literal var matcher hits
3498 inside a string. The next char could be the beginning of an
3499 expression expansion.
3501 2014-05-08 Glenn Morris <rgm@gnu.org>
3503 * help-fns.el (describe-function-1): Test for an autoload before a
3504 macro, since `macrop' works on autoloads. (Bug#17410)
3506 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3510 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3511 Make sure the new point we return is within the new string (bug#17239).
3513 2014-05-05 Daniel Colascione <dancol@dancol.org>
3515 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3516 Port `gnu' pattern to rx.
3518 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3520 Remove unneeded prompt when closing a buffer with active
3521 emacsclient ("Buffer ... still has clients"), #16548.
3522 * server.el (server-start): Remove the only call to:
3523 (server-kill-buffer-query-function): Remove.
3525 2014-05-04 Leo Liu <sdl.web@gmail.com>
3527 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3528 Defvar to pacify compiler.
3530 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3532 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3534 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3537 Use nil rather than `default' for the "default" appearance (bug#17388).
3538 * vc/ediff-util.el (ediff-inferior-compare-regions)
3539 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3540 a misleading `default' value when it's really a boolean.
3541 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3542 overlay is not visible.
3544 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3546 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3547 (todo-menu): Uncomment and update.
3549 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3551 * calendar/todo-mode.el: Reimplement item editing to have the same
3552 basic user interface as item insertion, and make small UI and
3553 larger internal improvements to the latter.
3554 (todo-insert-item): Add reference to the Todo mode user manual to
3555 the documentation string.
3556 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3557 adjust all callers. Change signature to combine diary and
3558 nonmarking arguments. Incorporate functionality of deleted item
3559 copying command and add error checking. Remove detailed
3560 descriptions of the arguments from the documentation string, since
3561 this is treated in the Todo mode user manual.
3562 (todo-copy-item, todo-edit-multiline-item)
3563 (todo-edit-done-item-comment, todo-edit-item-header)
3564 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3565 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3566 (todo-edit-item-date-year, todo-edit-item-date-month)
3567 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3569 (todo-edit-item): Reimplement as wrapper command for
3570 todo-edit-item--next-key and make it distinguish done and not done
3572 (todo-edit-item--text): New function, replacing old command
3573 todo-edit-item and incorporating deleted commands
3574 todo-edit-multiline-item and todo-edit-done-item-comment.
3575 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3576 Use only numeric value of prefix argument. Remove detailed
3577 descriptions of the arguments from the documentation string, since
3578 this is treated in the Todo mode user manual.
3579 (todo-edit-item--diary-inclusion): New function, replacing old
3580 command todo-edit-item-diary-inclusion and incorporating and fixing
3581 functionality of deleted command todo-edit-item-diary-nonmarking,
3582 making sure to remove todo-nondiary-marker when adding
3583 diary-nonmarking-symbol.
3584 (todo-edit-category-diary-inclusion): Make sure to delete
3585 diary-nonmarking-symbol when adding todo-nondiary-marker.
3586 (todo-edit-category-diary-nonmarking): Fix indentation.
3587 (todo-insert-item--parameters): Group diary and nonmarking
3588 parameters together.
3589 (todo-insert-item--apply-args): Adjust to signature of
3590 todo-insert-item--basic and incorporate copy parameter.
3591 Make small code improvements.
3592 (todo-insert-item--next-param): Improve prompt and adjust it to
3593 new parameter grouping. Remove obsolete code.
3594 (todo-edit-item--param-key-alist)
3595 (todo-edit-item--date-param-key-alist)
3596 (todo-edit-done-item--param-key-alist): New defconsts.
3597 (todo-edit-item--prompt): New variable.
3598 (todo-edit-item--next-key): New function.
3599 (todo-key-bindings-t): Bind "e" to todo-edit-item.
3600 Remove bindings of deleted commands.
3602 2014-05-04 Leo Liu <sdl.web@gmail.com>
3604 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3606 2014-05-04 Glenn Morris <rgm@gnu.org>
3608 * allout-widgets.el (allout-widgets-tally)
3609 (allout-decorate-item-guides):
3610 * menu-bar.el (menu-bar-positive-p):
3611 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3612 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3613 * progmodes/js.el (js--inside-param-list-p)
3614 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3615 * progmodes/prolog.el (region-exists-p):
3616 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3617 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3618 Doc fixes (replace `iff').
3620 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3622 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3624 2014-05-04 Leo Liu <sdl.web@gmail.com>
3626 Support Chinese diary entries in calendar and diary. (Bug#17393)
3627 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3628 (calendar-chinese-from-absolute-for-diary)
3629 (calendar-chinese-to-absolute-for-diary)
3630 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3631 (diary-chinese-list-entries): New functions to list and mark
3632 Chinese diary entries in the calendar window.
3633 (diary-chinese-anniversary)
3634 (diary-chinese-insert-anniversary-entry)
3635 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3636 (diary-chinese-insert-yearly-entry): New commands to insert
3637 Chinese diary entries.
3639 * calendar/diary-lib.el (diary-font-lock-keywords):
3640 Support font-locking Chinese dates.
3642 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3643 inserting Chinese diary entries.
3645 * calendar/calendar.el (diary-chinese-entry-symbol):
3646 New customizable variable.
3647 (calendar-mode-map): Add bindings for inserting Chinese diary
3650 2014-05-03 Juri Linkov <juri@jurta.org>
3652 * dired.el (dired-check-switches, dired-switches-recursive-p):
3653 New functions. (Bug#17218)
3654 (dired-switches-escape-p, dired-move-to-end-of-filename):
3655 Use `dired-check-switches'.
3656 (dired-insert-old-subdirs, dired-build-subdir-alist)
3657 (dired-sort-R-check): Use `dired-switches-recursive-p'.
3659 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
3661 * simple.el (undo-make-selective-list): New algorithm fixes
3662 incorrectness of position adjustments when undoing in region.
3664 (undo-elt-crosses-region): Make obsolete.
3665 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3666 New functions to adjust positions using undo-deltas.
3668 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3670 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3671 the last consecutive closing paren (bug#17345).
3673 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3675 * dired.el (dired-mode): make terminology for eXpunge command
3676 consistent. (Bug#17276)
3678 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3680 * dired.el (dired-initial-position-hook, dired-initial-position):
3683 2014-04-30 Glenn Morris <rgm@gnu.org>
3685 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3687 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3689 * faces.el (face-spec-recalc): Apply X resources only after the
3690 defface spec has been applied. Thus, X resources are no longer
3691 overriden by the defface spec which also fixes issues on win32 where
3692 the toolbar coloring was wrong because it is set through X resources
3693 and was (wrongfully) overriden. (Bug#16694)
3695 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3697 * textmodes/rst.el (electric-pair-pairs): Declare.
3698 (rst-mode): Set it (bug#17131).
3700 2014-04-30 Juri Linkov <juri@jurta.org>
3702 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3703 and `print-level' to nil. (Bug#17351)
3705 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3707 * battery.el (battery-update): Handle the case where battery
3708 status is "N/A" (bug#17319).
3710 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3713 to syntax-propertize.
3714 (ps-mode-auto-indent): Mark as obsolete.
3715 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3716 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3717 word regexp operators.
3718 (ps-mode-map): Move initialization into declaration. Remove binding
3719 for TAB, RET, >, ], and }.
3720 (ps-mode-syntax-table): Move initialization into declaration.
3721 Don't give word syntax to non-word chars.
3722 (ps-run-mode-map): Move initialization into declaration.
3723 (ps-mode-menu-main): Remove auto-indent entry.
3724 (ps-mode-smie-rules): New function.
3725 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3726 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3727 (ps-mode--string-syntax-table): New const.
3728 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3730 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3731 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3733 2014-04-27 Daniel Colascione <dancol@dancol.org>
3735 * term/xterm.el (xterm-paste): Use large finite timeout when
3736 reading event to avoid putting keys in this-command-keys.
3738 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3741 (perl-syntax-propertize-function): Use it. Extend handling of
3742 here-docs to the unquoted case.
3744 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3746 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3747 Use equal-including-properties to compare help-echo strings (bug#17331).
3749 2014-04-25 Leo Liu <sdl.web@gmail.com>
3751 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3752 Fix syntax for @. (Bug#17325)
3754 2014-04-25 Daniel Colascione <dancol@dancol.org>
3756 * emacs-lisp/cl.el (gv): Require gv early to break eager
3757 macro-expansion cycles.
3759 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3761 * simple.el (region-active-p): Check there's a mark (bug#17324).
3763 * simple.el (completion-list-mode-map): Use choose-completion for the
3764 mouse binding as well (bug#17302).
3765 (completion-list-mode, completion-setup-function): Adjust docstring and
3766 echo area message accordingly.
3767 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3768 calling convention of choose-completion.
3769 * comint.el (comint-dynamic-list-completions):
3770 * term.el (term-dynamic-list-completions): Accept choose-completion.
3772 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3773 &, |, +, - and * can't be a division (bug#17317).
3775 * term/xterm.el (xterm--version-handler): Don't use modern xterm
3776 features on gnome-terminal (bug#16988).
3778 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
3780 Improve Scheme font-locking for (define ((foo ...) ...) ...).
3782 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3783 the declared object, ignore zero or more parens, not zero or one.
3785 2014-04-24 Leo Liu <sdl.web@gmail.com>
3787 * progmodes/xscheme.el (xscheme-expressions-ring)
3788 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3789 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3790 (xscheme-allow-output-p, xscheme-prompt)
3791 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3793 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3794 Comment out unused functions.
3796 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * info.el: Use lexical-binding and cl-lib.
3799 Use defvar-local and setq-local instead of make-local-variable.
3800 (Info-apropos-matches): Avoid add-to-list.
3801 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3803 2014-04-24 Daniel Colascione <dancol@dancol.org>
3805 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3807 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3811 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
3813 * dired.el (dired-insert-set-properties): Do not consider
3814 subdirectory headings and empty lines to be information that
3815 `dired-hide-details-mode' should hide. (Bug#17228)
3817 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3819 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3820 Remove test messages.
3821 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3824 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3826 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3827 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3829 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3831 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3834 Set "IFS=" when using read builtin, in order to preserve spaces in
3835 the file name. Add test messages for hunting a bug on hydra.
3836 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
3838 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3840 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3841 Don't prettify a word within a symbol.
3843 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3845 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3848 2014-04-22 Daniel Colascione <dancol@dancol.org>
3850 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3851 use defun to define `function-put'.
3853 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3856 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3857 (lisp-mode-variables): Set font-lock-extra-managed-props.
3859 * emacs-lisp/byte-run.el (function-put): New function.
3860 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
3861 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3862 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3865 2014-04-22 Daniel Colascione <dancol@dancol.org>
3867 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3868 Add `full-p' parameter; when nil, call `macroexpand' instead of
3871 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3874 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3875 Use lambda function values, not quoted lambdas.
3876 (byte-compile-recurse-toplevel): Remove extraneous &optional.
3878 * emacs-lisp/cl-macs.el
3879 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3880 (cl-struct-slot-value): Conditionally use aref or nth so that the
3881 compiler produces optimal code.
3883 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3886 (inline): Don't inline cl--set-elt.
3887 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3888 Define as inlinable instead.
3889 (cl-struct-set-slot-value): Remove.
3891 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3892 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3895 2014-04-21 Daniel Colascione <dancol@dancol.org>
3897 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3898 last two parameters after all.
3899 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3900 (cl--compiler-macro-assoc,cl-struct-slot-value)
3901 (cl-struct-set-slot-value): Stop using them.
3903 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
3905 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3906 entry in image-mode-winprops-alist.
3908 2014-04-21 Daniel Colascione <dancol@dancol.org>
3910 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3911 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3912 (byte-compile-toplevel-file-form): Use it.
3914 * emacs-lisp/cl-macs.el:
3915 (cl--loop-let): Properly destructure `while' clauses.
3917 2014-04-20 Daniel Colascione <dancol@dancol.org>
3919 * vc/vc.el (vc-root-dir): New public autoloaded function for
3920 generically finding the current VC root.
3921 * vc/vc-hooks.el (vc-not-supported): New error.
3922 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3924 2014-04-20 Daniel Colascione <dancol@dancol.org>
3926 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3928 (cl--const-expr-val): cl--const-expr-val should macroexpand its
3929 argument in case we're inside a symbol-macrolet.
3930 (cl--do-arglist, cl--compiler-macro-typep)
3931 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3932 environment to `cl--const-expr-val'.
3933 (cl-struct-sequence-type,cl-struct-slot-info)
3934 (cl-struct-slot-offset, cl-struct-slot-value)
3935 (cl-struct-set-slot-value): New functions.
3937 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3939 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3940 assignments such as "case=hello" (bug#17297).
3942 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
3944 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3946 (tramp-file-name-handler, tramp-completion-file-name-handler):
3947 Revert patch from 2014-04-10, it isn't necessary anymore.
3948 (tramp-autoload-file-name-handler)
3949 (tramp-register-autoload-file-name-handlers): New defuns.
3950 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3951 (tramp-register-file-name-handlers): Remove also
3952 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3953 Do not autoload its invocation, but eval it after loading of 'tramp.
3955 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3957 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3959 2014-04-17 Daniel Colascione <dancol@dancol.org>
3961 Add support for bracketed paste mode; add infrastructure for
3962 managing terminal mode enabling and disabling automatically.
3965 (xterm-mouse-mode): Simplify.
3966 (xterm-mouse-tracking-enable-sequence)
3967 (xterm-mouse-tracking-disable-sequence): New constants.
3968 (turn-on-xterm-mouse-tracking-on-terminal)
3969 (turn-off-xterm-mouse-tracking-on-terminal):
3970 Use tty-mode-set-strings and tty-mode-reset-strings terminal
3971 parameters instead of random hooks.
3972 (turn-on-xterm-mouse-tracking)
3973 (turn-off-xterm-mouse-tracking): Delete.
3975 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3976 (xterm-paste-ending-sequence): New constant.
3977 (xterm-paste): New command used for bracketed paste support.
3979 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3980 (terminal-init-xterm-bracketed-paste-mode): New function.
3981 (terminal-init-xterm): Call it.
3982 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3983 and tty-mode-reset-strings instead of random hooks.
3984 (xterm-turn-on-modify-other-keys)
3985 (xterm-turn-off-modify-other-keys)
3986 (xterm-remove-modify-other-keys): Delete obsolete functions.
3988 * term/screen.el: Rewrite to just use the xterm code.
3989 Add copyright notice. Mention tmux.
3991 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
3993 * image-mode.el (image-mode-window-put): Also update the property of
3994 the "default window".
3995 * doc-view.el (doc-view-new-window-function): If no window
3996 exists, move to the last known page.
3998 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4000 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
4001 here-documents (bug#17262).
4003 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4005 * term/pc-win.el (x-list-fonts, x-get-selection-value):
4006 Provide doc strings, as required by snarf-documentation.
4008 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
4011 arg of overlays-at. Use `invisible-p'.
4013 * obsolete/lucid.el (extent-at):
4014 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
4016 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
4018 2014-04-16 João Távora <joaotavora@gmail.com>
4020 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
4023 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4025 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4026 Use mapc to loop over a vector. (Bug#17257).
4028 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
4030 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
4031 patch, there are new problems with file names containing spaces.
4032 Get rid of backticks. (Bug#17238)
4034 2014-04-16 João Távora <joaotavora@gmail.com>
4036 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
4039 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4041 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
4042 (blink-cursor-mode): Mention customization variables and the
4043 effect of 'blink-cursor-blinks'.
4045 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
4047 * simple.el (undo): Prevent insertion of identity mapping into
4048 undo-equiv-table so as undo-only does not inf loop in the presence
4049 of consecutive nils in undo list.
4051 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
4053 * faces.el (make-face): Deprecate optional argument as it is no
4054 longer needed/used since the conditional X resources handling
4055 has been pushed down to make-face-x-resource-internal itself.
4056 (make-empty-face): Don't pass optional argument to make-face.
4058 2014-04-16 Karl Fogel <kfogel@red-bean.com>
4060 * savehist.el (savehist-save): Remove workaround for a read-passwd
4061 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
4062 noticing that the shim was still present.
4064 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
4068 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
4070 * faces.el (face-set-after-frame-default): Remove unused local variable.
4072 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * progmodes/grep.el: Use lexical-binding.
4075 (grep-expand-template): Pass explicit lexical env to `eval'.
4076 (zrgrep): Let-bind grep-find-template explicitly.
4078 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
4079 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
4081 2014-04-12 Eli Zaretskii <eliz@gnu.org>
4083 * international/characters.el <standard-case-table>: Add entries
4084 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
4085 Set category of Coptic characters be 'g' (Greek).
4087 2014-04-12 Leo Liu <sdl.web@gmail.com>
4089 * progmodes/octave.el (completion-table-with-cache):
4090 Define if not available.
4091 (octave-goto-function-definition, octave-sync-function-file-names)
4092 (octave-find-definition-default-filename):
4093 Backquote upattern for compatibility.
4095 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
4097 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
4098 name twice due to backticks. (Bug#17238)
4100 2014-04-12 Glenn Morris <rgm@gnu.org>
4102 * term/w32-win.el (x-win-suspend-error):
4103 * term/x-win.el (x-win-suspend-error): Sync docs.
4105 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
4107 * faces.el (make-face): Remove deprecated optional argument.
4108 The conditional application of X resources is handled directly by
4109 make-face-x-resource-internal since Emacs 24.4.
4110 (make-empty-face): Don't pass optional argument to make-face.
4112 2014-04-11 Glenn Morris <rgm@gnu.org>
4114 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
4116 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4118 Ediff's overlay priorities cause more trouble than they solve.
4119 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
4120 (ediff-highest-priority): Remove function (bug#17234).
4121 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
4122 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
4123 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
4126 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
4128 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
4129 entry; use symbol boundaries to avoid mis-matches.
4131 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
4133 * net/tramp.el (tramp-file-name-handler)
4134 (tramp-completion-file-name-handler): Avoid recursive loading.
4136 * net/tramp-sh.el (tramp-make-copy-program-file-name):
4137 Quote result also locally.
4139 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
4142 Remove left-over code.
4144 * newcomment.el (comment-indent-new-line): Sink code where it's used.
4145 Reuse the previous comment's indentation unconditionally if it's on its
4148 2014-04-09 Daniel Colascione <dancol@dancol.org>
4150 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
4151 `no-syntax-crossing' arguments. Forward to `up-list'.
4152 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
4153 Implement logic for escaping from strings. Use narrowing to deal
4156 2014-04-09 Leo Liu <sdl.web@gmail.com>
4158 * net/rcirc.el (rcirc-connection-info): New variable.
4159 (rcirc-connect): Use it to store connection info.
4160 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
4162 (rcirc-cmd-reconnect): New command. (Bug#17045)
4163 (rcirc-mode, set-rcirc-encode-coding-system)
4164 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
4166 2014-04-09 Daniel Colascione <dancol@dancol.org>
4168 * emacs-lisp/cl-indent.el: Add comment claiming
4169 facility is also good for elisp.
4170 (lisp-indent-find-method): New function.
4171 (common-lisp-indent-function): Recognize cl-loop.
4172 (common-lisp-indent-function-1): Recognize cl constructs; use
4173 `lisp-indent-find-method' instead of `get' directly.
4174 (if): Use else-body style for elisp.
4176 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
4178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4179 Module methods. (Bug#17216)
4181 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4183 * help.el (describe-bindings): Fix buffer handling (bug#17210).
4184 (describe-bindings-internal): Mark obsolete.
4186 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
4189 buffer-file-name, and buffer-file-truename any more.
4191 2014-04-08 Leo Liu <sdl.web@gmail.com>
4193 Use lexical-binding and require cl-lib.
4194 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
4195 (rcirc-handler-generic, rcirc-fill-paragraph)
4196 (rcirc-format-response-string, rcirc-target-buffer)
4197 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
4198 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
4199 (rcirc-ctcp-sender-PING, rcirc-browse-url)
4200 (rcirc-markup-timestamp, rcirc-markup-attributes)
4201 (rcirc-markup-my-nick, rcirc-markup-urls)
4202 (rcirc-markup-bright-nicks, rcirc-markup-fill)
4203 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
4204 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
4205 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
4206 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
4207 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
4208 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
4209 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
4210 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
4211 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
4212 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
4215 2014-04-07 João Távora <joaotavora@gmail.com>
4217 * elec-pair.el (electric-pair--syntax-ppss):
4218 When inside comments parse from comment beginning.
4219 (electric-pair--balance-info): Fix typo in comment.
4220 (electric-pair--in-unterminated-string-p): Delete.
4221 (electric-pair--unbalanced-strings-p): New function.
4222 (electric-pair-string-bound-function): New var.
4223 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4224 according to `electric-pair--in-unterminated-string-p'
4226 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4227 Inhibit quote pairing if point-max is inside an unterminated string.
4228 (electric-pair--looking-at-unterminated-string-p): Delete.
4229 (electric-pair--in-unterminated-string-p): New function.
4231 2014-04-07 Glenn Morris <rgm@gnu.org>
4233 * shell.el (shell-directory-tracker):
4234 Go back to just ignoring failures. (Bug#17159)
4236 2014-04-07 João Távora <joaotavora@gmail.com>
4238 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4239 backspace. (bug#16981)
4240 * elec-pair.el (electric-pair-backward-delete-char): Delete.
4241 (electric-pair-backward-delete-char-untabify): Delete.
4242 (electric-pair-mode-map): Bind backspace to a menu item filtering
4243 a new `electric-pair-delete-pair' command.
4244 (electric-pair-delete-pair): New command.
4246 * progmodes/python.el (python-electric-pair-string-delimiter):
4247 Fix triple-quoting electricity. (Bug#17192)
4249 * elec-pair.el (electric-pair-post-self-insert-function):
4250 Don't skip whitespace when `electric-pair-text-pairs' and
4251 `electric-pair-pairs' were used. syntax to
4252 electric-pair--skip-whitespace. (Bug#17183)
4254 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4256 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4259 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4261 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4262 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4264 2014-04-07 Glenn Morris <rgm@gnu.org>
4266 * help.el (view-lossage): Doc tweak.
4268 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
4270 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4271 only when inhibit-x-resources is nil, and do that earlier in the
4272 function. Doc fix. (Bug#16694)
4273 (face-spec-choose): Accept additional optional argument, whose
4274 value is returned if no matching attributes are found.
4275 (face-spec-recalc): Use the new optional argument when calling
4276 face-spec-choose. (Bug#16378)
4277 (make-face-x-resource-internal): Do nothing when
4278 inhibit-x-resources is non-nil. Don't touch the default face if
4279 reversed video is given--as was done in previous versions of Emacs.
4280 (face-set-after-frame-default): Don't call
4281 make-face-x-resource-internal here. (Bug#16434)
4283 2014-04-07 Tassilo Horn <tsdh@gnu.org>
4285 * doc-view.el (doc-view-bookmark-jump):
4286 Use `bookmark-after-jump-hook' to jump to the right page after the
4287 buffer is shown in a window. (bug#16090)
4289 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4291 * international/characters.el (mirroring): Fix last change:
4292 instead of loading uni-mirrored.el explicitly, do that implicitly
4293 by creating the 'mirroring' uniprop table. This avoids announcing
4294 the loading of uni-mirrored.el.
4296 2014-04-07 Glenn Morris <rgm@gnu.org>
4298 * files.el (buffer-stale--default-function)
4299 (buffer-stale-function, revert-buffer--default):
4300 * autorevert.el (auto-revert-buffers): Doc tweaks.
4302 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4304 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4306 2014-04-07 Glenn Morris <rgm@gnu.org>
4308 * files.el (make-backup-file-name-function)
4309 (make-backup-file-name, make-backup-file-name--default-function)
4310 (make-backup-file-name-1, find-backup-file-name)
4311 (revert-buffer-function, revert-buffer-insert-file-contents-function)
4312 (buffer-stale--default-function, buffer-stale-function)
4313 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4314 (revert-buffer, revert-buffer--default)
4315 (revert-buffer-insert-file-contents--default-function):
4316 Doc fixes related to defaults no longer being nil.
4317 (make-backup-file-name-function): Bump :version.
4318 Restore nil as a valid but deprecated custom type.
4320 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4323 Handle $' used as a variable (bug#17174).
4325 * progmodes/perl-mode.el (perl-indent-new-calculate):
4326 Handle forward-sexp failure (bug#16985).
4327 (perl-syntax-propertize-function): Add "foreach" and "for" statement
4328 modifiers introducing expressions (bug#17116).
4330 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4334 2014-04-05 Leo Liu <sdl.web@gmail.com>
4336 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4337 Add define-compilation-mode.
4339 2014-04-04 João Távora <joaotavora@gmail.com>
4341 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4342 parse from comment beginning.
4343 (electric-pair--balance-info): Fix typo in comment.
4344 (electric-pair--in-unterminated-string-p): Delete.
4345 (electric-pair--unbalanced-strings-p): New function.
4346 (electric-pair-string-bound-function): New var.
4347 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4348 according to `electric-pair--in-unterminated-string-p'.
4350 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4353 Move declaration before first use.
4354 (reftex-move-to-next-arg): Silence compiler warning.
4356 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
4358 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4359 Use `window-total-width' instead of `window-width'.
4361 2014-04-03 Daniel Colascione <dancol@dancol.org>
4363 * subr.el (set-transient-map): Remove rms's workaround entirely;
4364 use new `suspicious-object' subr to mark our lambda for closer
4367 2014-04-02 Richard Stallman <rms@gnu.org>
4369 * subr.el (set-transient-map): Comment out previous change.
4371 2014-04-02 Glenn Morris <rgm@gnu.org>
4373 * menu-bar.el (menu-bar-file-menu):
4374 * vc/ediff.el (ediff-current-file):
4375 Update for revert-buffer-function no longer being nil by default.
4377 * simple.el (command-execute): Respect nil disabled-command-function.
4379 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4381 * simple.el (command-execute): Do not execute the command when it
4382 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4384 2014-04-02 Juri Linkov <juri@jurta.org>
4386 * dired-aux.el (dired-compress-file): Don't use string-match-p
4387 because its match data is used afterwards.
4389 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4394 2014-04-02 João Távora <joaotavora@gmail.com>
4396 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4397 Inhibit quote pairing if point-max is inside an unterminated string.
4398 (electric-pair--looking-at-unterminated-string-p):
4400 (electric-pair--in-unterminated-string-p): New function.
4402 2014-04-01 Daniel Colascione <dancol@dancol.org>
4404 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4405 when trying to complete the prompt.
4407 2014-03-31 Leo Liu <sdl.web@gmail.com>
4409 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4410 Refactor out eldoc-documentation-function-default.
4411 (eldoc-documentation-function-default): New function.
4412 (eldoc-documentation-function): Change value.
4414 2014-03-31 Glenn Morris <rgm@gnu.org>
4416 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4418 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4419 (vhdl-compose-components-package, vhdl-compose-configuration):
4420 Abbreviate default-directory (missing from some previous upstream sync).
4422 2014-03-31 Reto Zimmermann <reto@gnu.org>
4424 Sync with upstream vhdl mode v3.35.2.
4425 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4426 (top-level): No longer require assoc.
4427 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4428 New functions. Use throughout to replace aget etc.
4429 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4430 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4431 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4432 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4433 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4434 except `vhdl-compiler'.
4435 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4438 2014-03-31 Glenn Morris <rgm@gnu.org>
4440 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4441 Revert 2014-03-26 merge goof; go back to using defalias.
4443 2014-03-30 Daniel Colascione <dancol@dancol.org>
4445 * comint.el (comint-send-input):
4446 Deactivate completion-in-region-mode before we send comint input.
4449 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4452 2014-03-29 Glenn Morris <rgm@gnu.org>
4454 * textmodes/reftex.el: Manage most autoloads automatically.
4455 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4456 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4457 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4458 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4459 * textmodes/reftex-toc.el: Set generated-autoload-file,
4460 and add autoload cookies for reftex.el.
4461 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4463 2014-03-28 Glenn Morris <rgm@gnu.org>
4465 * cus-start.el (report-emacs-bug-address): Set custom properties.
4466 * mail/emacsbug.el (report-emacs-bug-address):
4467 Variable is now defined in emacs.c.
4469 * mail/emacsbug.el (report-emacs-bug):
4470 Include system-configuration-features.
4472 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4474 * simple.el (cycle-spacing): Never delete spaces on first run by
4475 default, but do so in a new 'fast mode and if there are already
4476 N spaces (the previous behavior).
4477 Compare N with its value in previous invocation so that changing
4478 prefix argument restarts `cycle-spacing' sequence.
4479 The idea is that with this change, binding M-SPC to
4480 `cycle-spacing' should not introduce any changes in behavior of
4481 the binding so long as users do not type M-SPC twice in a raw with
4482 the same prefix argument or lack thereof.
4484 2014-03-28 Glenn Morris <rgm@gnu.org>
4486 * faces.el (term-file-aliases): New variable.
4487 (tty-run-terminal-initialization): Respect term-file-aliases.
4488 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4489 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4490 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4492 2014-03-27 Glenn Morris <rgm@gnu.org>
4494 * startup.el (inhibit-startup-hooks): Doc tweak.
4495 (normal-top-level): Simplify running of hooks.
4496 For window-setup-hook, respect inhibit-startup-hooks.
4497 (command-line-1): Don't set window-setup-hook to nil.
4499 Allow selective autoloading from obsolete/ directory.
4500 * Makefile.in (obsolete-autoloads): New rule.
4501 (autoloads): Run obsolete-autoloads.
4502 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4503 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4505 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4507 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4508 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4510 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4511 Don't propertize `?' or `!' as symbol constituent when after
4514 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4516 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4517 which is no longer needed and causes trouble in GTK builds (bug#17046).
4519 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4520 Use url-insert-file-contents; package-handle-response no longer exists.
4522 2014-03-26 Daniel Colascione <dancol@dancol.org>
4524 * simple.el (process-menu-mode-map): New variable.
4525 (process-menu-delete-process): New command.
4527 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4529 * emacs-lisp/package.el: Fix bug#16733 (again).
4530 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4531 (url-http-target-url): Remove unused declarations.
4532 (package-handle-response): Remove.
4533 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4534 (package--download-one-archive): Use current-buffer instead of
4535 dynamic binding of `buffer'.
4536 (describe-package-1): Do not decode readme-string.
4538 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4540 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4542 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4543 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4544 `remote-file-name-inhibit-cache' to nil in the second pass.
4545 (tramp-find-executable): Do not call "which" on SunOS.
4546 (tramp-send-command-and-check): Fix docstring.
4547 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4548 check whether source directory has set the sticky bit.
4550 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4552 * simple.el (primitive-undo): Only process marker adjustments
4553 validated against their corresponding (TEXT . POS). Issue warning
4554 for lone marker adjustments in undo history. (Bug#16818)
4555 (undo-make-selective-list): Add marker adjustments to selective
4556 undo list based on whether their corresponding (TEXT . POS) is in
4557 the region. Remove variable adjusted-markers, which was unused
4558 and only non nil during undo-make-selective-list.
4559 (undo-elt-in-region): Return nil when passed a marker adjustment
4560 and explain in function doc.
4562 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4564 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4566 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4568 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4569 Match special global variables without curlies, too.
4570 (ruby-font-lock-keywords): Simplify the matcher for special global
4571 variables. Don't require a non-word character after the variable.
4574 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4576 * simple.el (redisplay-highlight-region-function): Increase priority of
4577 overlay to make sure boundaries are visible (bug#15899).
4579 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4581 * frameset.el (frameset--initial-params): Fix typo in parameter name.
4582 (frameset-restore): Compare display strings with equal.
4584 * frame.el (make-frame): Don't quote display name in error message,
4585 it is already a string.
4587 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4589 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4592 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4594 * emacs-lisp/package.el (package--add-to-archive-contents):
4595 Include already installed and built-in packages in
4596 `package-archive-contents'.
4597 (package-install): Don't include already installed packages in the
4598 options during interactive invocation. (Bug#16762)
4599 (package-show-package-list): If the buffer is already displayed in
4600 another window, switch to that window.
4602 2014-03-26 Reto Zimmermann <reto@gnu.org>
4604 Sync with upstream vhdl mode v3.35.1.
4605 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4606 (vhdl-compiler-alist): Doc fix.
4607 (vhdl-goto-line): Remove.
4608 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4609 (vhdl-mode) <paragraph-start>: Fix value.
4610 (vhdl-fix-statement-region): Not `for' in wait-statement.
4611 (vhdl-beautify-region): Also (un)tabify.
4612 (vhdl-get-visible-signals):
4613 Scan declarative part of generate statements.
4614 (vhdl-template-record): Fix indentation for record type declaration.
4615 (vhdl-expand-abbrev, vhdl-expand-paren):
4616 Revert to using fset again rather than defalias.
4617 (vhdl-scan-directory-contents): Tweak.
4618 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4619 (vhdl-compose-components-package):
4620 Replace vhdl-goto-line with forward-line.
4621 (top-level): Tweak speedbar frame selection.
4622 (vhdl-generate-makefile-1): Support for compilers with no
4623 unit-to-file name mapping (create directory with dummy files).
4625 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
4627 Sync with upstream verilog-mode revision 702457d.
4628 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4629 (create-lockfiles): Declare.
4630 (verilog-read-decls): Fix module header imports, bug709.
4631 Reported by Victor Lau.
4632 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
4633 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4634 interface-only modules, bug721. Reported by Dean Hoyt.
4636 2014-03-26 Glenn Morris <rgm@gnu.org>
4638 * obsolete/gulp.el: Move here from emacs-lisp/.
4640 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4641 Remove fallback aliases, since they are always defined now.
4643 2014-03-24 Daniel Colascione <dancol@dancol.org>
4645 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4646 instead of cl-loop search function.
4648 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4650 * calendar/parse-time.el (parse-time-iso8601-regexp)
4651 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4654 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4656 * net/dns.el (network-interface-list): Define for XEmacs.
4658 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
4660 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4661 the network interfaces changed.
4662 (dns-query): Use it to flush the data.
4664 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4666 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4668 2014-03-23 Daniel Colascione <dancol@dancol.org>
4670 Change subword-mode to use `find-word-boundary-function-table' and
4671 replace `capitalized-words-mode'. Also, convert to lexical binding.
4672 * progmodes/cap-words.el: Delete now-obsolete file.
4673 * progmodes/subword.el: Reimplement using
4674 `find-word-boundary-function-table'.
4675 (subword-mode-map): Hollow out.
4676 (capitalized-words-mode): Define as obsolete alias for
4678 (subword-mode, superword-mode): Tweak documentation to reflect new
4679 implementation; call `subword-setup-buffer'.
4680 (subword-forward, subword-capitalize): Add underscore to indicate
4682 (subword-find-word-boundary-function-table): New constant.
4683 (subword-empty-char-table): New constant.
4684 (subword-setup-buffer): New function.
4685 (subword-find-word-boundary): New function.
4687 2014-03-23 Daniel Colascione <dancol@dancol.org>
4689 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4690 list to look for keyword arguments instead of `memq', fixing
4691 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4692 Please make bootstrap.
4694 2014-03-22 Glenn Morris <rgm@gnu.org>
4696 * dired.el (dired-read-regexp): Make obsolete.
4697 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4698 (dired-flag-files-regexp):
4699 * dired-aux.el (dired-mark-read-regexp):
4700 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4702 * startup.el (fancy-startup-text):
4703 * help.el (describe-gnu-project): Visit online info about GNU project.
4705 * help-fns.el (help-fns--interactive-only): New function.
4706 (help-fns-describe-function-functions): Add the above function.
4707 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4708 (next-line, previous-line): Remove hand-written interactive-only
4709 information from doc strings, it is auto-generated now.
4710 * bookmark.el (bookmark-write):
4711 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4712 (epa-mail-import-keys): Mark interactive-only,
4713 and remove hand-written interactive-only information from doc strings.
4714 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4715 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4716 * files.el (not-modified):
4717 * simple.el (mark-whole-buffer): Mark interactive-only.
4719 * emacs-lisp/byte-run.el (defun-declarations-alist):
4720 Add interactive-only. Doc tweak.
4721 (macro-declarations-alist): Doc tweak.
4722 * subr.el (declare): Doc tweak (add xref to manual).
4723 * comint.el (comint-run):
4724 * files.el (insert-file-literally, insert-file):
4725 * replace.el (replace-string, replace-regexp):
4726 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4727 (delete-forward-char, goto-line, insert-buffer, next-line)
4728 (previous-line): Set interactive-only via declare.
4730 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4732 * emacs-lisp/package.el (package-desc): Use the contents of the
4733 quoted form, not its cdr. (Bug#16873)
4735 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4737 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4738 benefit of doc.c; change parameter profile to match the X function.
4740 2014-03-22 Leo Liu <sdl.web@gmail.com>
4742 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4743 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4745 2014-03-21 Richard Stallman <rms@gnu.org>
4747 * battery.el (battery-linux-sysfs): Search for each field
4748 from the beginning of the buffer.
4750 * subr.el (set-transient-map): Clear out function and value
4751 of the temporary symbol when we're done with it.
4753 * mail/rmailsum.el (rmail-summary-delete-forward):
4754 Optimize case of reaching end and handling count.
4755 (rmail-summary-mark-deleted): Optimize when N is current msg.
4756 Don't create new summary line.
4757 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4758 (rmail-summary-undelete-many): Rewrite for speed.
4759 (rmail-summary-msg-number): New function.
4761 * mail/rmail.el (rmail-delete-message): Update summary.
4762 (rmail-undelete-previous-message): Handle repeat count arg.
4763 (rmail-delete-backward, rmail-delete-forward): Likewise.
4765 2014-03-21 Daniel Colascione <dancol@dancol.org>
4767 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4768 information in bug reports.
4770 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4773 and `tramp-copy-env'.
4775 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4776 (tramp-maybe-open-connection): Handle `tramp-login-env'.
4778 2014-03-21 Glenn Morris <rgm@gnu.org>
4780 * electric.el (electric-indent-post-self-insert-function): Add doc.
4782 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
4784 * emacs-lisp/package.el (package-compute-transaction):
4785 Use `version-list-<=' to compare the requirement version against
4786 the version of package already to be installed. Update the error
4787 message. (Bug#16826)
4789 * progmodes/ruby-mode.el (ruby-smie-rules):
4790 Add indentation rule for ` @ '. (Bug#17050)
4792 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4794 * align.el (align-regexp): Remove superfluous backslash.
4796 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4797 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4798 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4799 Fix docstring typos.
4800 (ffap-next): Use C-u in docstring.
4801 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4802 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4803 Remove superfluous backslashes.
4804 (ffap-string-at-point): Reflow docstring.
4806 * server.el (server-host): Reflow docstring.
4807 (server-unload-function): Fix docstring typo.
4808 (server-eval-at): Remove superfluous backslash.
4810 * skeleton.el (skeleton-insert): Remove superfluous backslash.
4811 (skeleton-insert): Doc fix.
4812 (skeleton-insert): Reflow docstring.
4814 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4815 (tty-color-approximate, tty-color-by-index, tty-color-values)
4816 (tty-color-desc): Remove superfluous backslashes.
4818 2014-03-21 Glenn Morris <rgm@gnu.org>
4820 * cus-start.el (history-length): Bump :version.
4822 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4823 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4824 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4825 Don't set `make-backup-files'.
4827 * info.el (info--prettify-description): New function,
4828 to give info-finder descriptions consistent case, punctuation.
4829 (Info-finder-find-node): Use it. Sort packages.
4830 Refer to "description" rather than "commentary".
4832 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4834 * frameset.el (frameset--print-register): New function.
4835 (frameset-to-register): Use it.
4837 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
4839 * progmodes/hideif.el (hif-string-to-number): New function.
4840 (hif-tokenize): Use it to understand non-decimal floats.
4842 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4844 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4846 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4848 * electric.el (electric-newline-and-maybe-indent): New command.
4849 Bind it globally to C-j.
4850 (electric-indent-mode): Don't mess with the global map any more.
4851 Don't drop the post-self-insert-hook is some buffer is still using it
4854 * bindings.el (global-map): Remove C-j binding.
4856 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4857 the docstring of functions advised before dumping (bug#16993).
4859 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
4861 * ps-print.el (ps-generate-postscript-with-faces):
4862 Explicitly deactivate the mark (bug#16866).
4863 * simple.el (deactivate-mark): Update region highlight.
4865 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
4867 * emacs-lisp/package.el (describe-package-1):
4868 Decode commentary (bug#16733).
4870 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
4872 * custom.el (defcustom): Doc fix: recommend avoiding destructive
4873 modification of the value argument of :set (bug#16755).
4875 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * simple.el (newline-and-indent): Do autofill (bug#17031).
4879 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
4881 * newcomment.el (comment-normalize-vars): Only add escaping check
4882 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
4883 (comment-beginning): Use `narrow-to-region' instead of moving back
4885 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4886 (comment-start-skip): Update the docstring.
4888 2014-03-18 Richard Stallman <rms@gnu.org>
4890 * dired.el (dired-display-file): Force use of other window.
4892 2014-03-18 Daniel Colascione <dancol@dancol.org>
4894 * startup.el (tty-handle-args): Remove debug message from 2007.
4896 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4899 (advice--make-interactive-form): Use it to avoid (auto)loading function.
4900 (advice--make-1, advice-add, advice-remove):
4901 Remove braindead :advice-pending hack.
4903 2014-03-17 Glenn Morris <rgm@gnu.org>
4905 * calendar/calendar.el (calendar-generate-month): Apply weekend
4906 face to the right days; fixes 2013-08-06 change. (Bug#17028)
4908 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
4910 * net/tramp.el (tramp-action-out-of-band): Read pending output.
4911 (tramp-call-process): Trace also DESTINATION.
4913 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4914 Quote file names when they are local. Remove superfluous trace.
4916 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
4918 * newcomment.el (comment-beginning): If `comment-start-skip'
4919 doesn't match, move back one char and try again. (Bug#16971)
4921 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4922 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4923 Set `comment-start-skip' to a simpler value that doesn't try to
4924 check if the semicolon is escaped (this is handled by
4925 `syntax-ppss' now). (Bug#16971)
4927 * progmodes/scheme.el (scheme-mode-variables): Same.
4929 2014-03-16 Martin Rudalics <rudalics@gmx.at>
4931 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4932 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4933 current (Bug#16816, Bug#17007).
4934 (with-current-buffer-window): New macro doing the same as
4935 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4936 * help.el (help-print-return-message): Warn in doc-string to not
4937 use this in `with-help-window'.
4938 (describe-bindings-internal): Call `describe-buffer-bindings'
4939 from within help buffer. See Juanma's scenario in (Bug#16816).
4940 (with-help-window): Update doc-string.
4941 * dired.el (dired-mark-pop-up):
4942 * files.el (save-buffers-kill-emacs):
4943 * register.el (register-preview): Use `with-current-buffer-window'
4944 instead of `with-temp-buffer-window'.
4946 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
4948 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4949 Implement inserting into current buffer, documented in their docstrings.
4950 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4951 (rst-section-tree-point, rst-forward-section, rst-indent)
4952 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4953 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4954 (rst-font-lock-handle-adornment-pre-match-form)
4955 (rst-repeat-last-character): Reflow docstrings.
4956 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4957 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4958 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4959 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4960 Fix docstring typos.
4961 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4962 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4963 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4965 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
4967 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4968 for compatibility with other ports.
4969 (ns-initialize-window-system): Use it. It is set in term/common-win.el
4970 from the -xrm command line argument, but in the Nextstep port its value
4971 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4973 * progmodes/python.el (defconst, python-syntax-count-quotes)
4974 (python-indent-region, python-indent-shift-right)
4975 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4976 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4977 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4978 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4979 (inferior-python-mode, python-shell-make-comint, run-python-internal)
4980 (python-shell-buffer-substring, python-shell-send-buffer)
4981 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4982 (python-completion-complete-at-point, python-fill-docstring-style)
4983 (python-eldoc-function, python-imenu-format-item-label)
4984 (python-imenu-format-parent-item-label)
4985 (python-imenu-format-parent-item-jump-label)
4986 (python-imenu--build-tree, python-imenu-create-index)
4987 (python-imenu-create-flat-index): Fix docstring typos.
4988 (python-indent-context, python-shell-prompt-regexp, run-python):
4989 Remove superfluous backslashes.
4990 (python-indent-line, python-nav-beginning-of-defun)
4991 (python-shell-get-buffer, python-shell-get-process)
4992 (python-info-current-defun, python-info-current-line-comment-p)
4993 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4994 (python-indent-post-self-insert-function, python-shell-send-file)
4995 (python-shell-completion-get-completions)
4996 (python-shell-completion-complete-or-indent)
4997 (python-eldoc--get-doc-at-point): Reflow docstrings.
4999 2014-03-14 Glenn Morris <rgm@gnu.org>
5001 * emacs-lisp/package.el (package-menu-mode-map):
5002 Replace use of obsolete function alias. Tweak menu item text.
5004 * info.el (Info-finder-find-node):
5005 Ignore the `emacs' metapackage. (Bug#10813)
5007 * finder.el (finder-list-matches): Include unversioned packages
5008 in the result of a keyword search.
5010 * finder.el (finder--builtins-descriptions): New constant.
5011 (finder-compile-keywords): Use finder--builtins-descriptions.
5013 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
5015 * simple.el (blink-matching-paren): Describe the new value,
5016 `jump', enabling the old behavior.
5017 (blink-matching-open): Use that value. (Bug#17008)
5019 2014-03-14 Glenn Morris <rgm@gnu.org>
5021 * finder.el (finder-no-scan-regexp): Add leim-list.
5022 (finder-compile-keywords):
5023 Don't skip files with same basename. (Bug#14010)
5024 * Makefile.in (setwins_finder): New, excluding leim.
5025 (finder-data): Use setwins_finder.
5027 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
5028 (help-function-arglist, help-make-usage): Move from here...
5029 * help.el (help-split-fundoc, help-add-fundoc-usage)
5030 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
5031 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
5033 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
5035 * net/socks.el (socks, socks-override-functions)
5036 (socks-find-services-entry):
5037 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
5038 (hif-find-ifdef-block):
5039 * progmodes/modula2.el (m2-indent): Fix docstring typos.
5041 * net/tls.el (tls-program): Reflow docstring.
5043 * progmodes/pascal.el (pascal-mode-abbrev-table)
5044 (pascal-imenu-generic-expression, pascal-auto-endcomments)
5045 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
5046 (pascal-outline-mode): Fix docstring typos.
5047 (pascal-mode): Let define-derived-mode document mode hook.
5048 (pascal-uncomment-area): Reflow.
5049 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
5051 * progmodes/opascal.el (opascal-compound-block-indent)
5052 (opascal-case-label-indent): Fix docstring typos.
5053 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
5055 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
5057 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5058 Fontify multiple adjacent negation chars. (Bug#17004)
5060 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
5062 * emacs-lisp/package.el (package--prepare-dependencies):
5063 Accept requirements without explicit version (bug#14941).
5065 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5067 * register.el (register-separator, copy-to-register): Doc fixes.
5068 (register-preview-default): Remove unnecessary call to concat.
5070 * frameset.el (frameset-restore): When checking for a visible frame,
5071 use the action map instead of calling visible-frame-list.
5073 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
5075 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
5077 2014-03-12 Martin Rudalics <rudalics@gmx.at>
5079 * window.el (fit-frame-to-buffer): Get maximum width from
5080 display's width instead of height.
5082 2014-03-12 Glenn Morris <rgm@gnu.org>
5084 * desktop.el (desktop-restore-frames)
5085 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
5086 (desktop-restore-reuses-frames): Doc tweaks.
5088 * electric.el (electric-indent-mode): Doc fix.
5090 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5092 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
5093 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5094 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
5095 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
5096 (cvs-dired-use-hook): Fix docstring typos.
5097 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
5100 * vc/pcvs-defs.el (cvs-auto-remove-handled)
5101 (cvs-auto-remove-directories, cvs-default-ignore-marks)
5102 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
5103 (cvs-execute-single-dir): Fix docstring typos.
5105 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
5106 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
5108 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
5110 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
5111 Fix docstring typos.
5113 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5115 * frameset.el (frameset--jump-to-register): Add autoload; it could be
5116 called from jump-to-register after unloading the frameset package.
5118 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5120 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
5121 (bug#16975). Deactivate the mark before setting it to nil.
5122 (activate-mark): Do nothing if region is already active.
5124 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5126 * frameset.el (frameset--target-display): Remove definition; declare.
5127 (frameset-save, frameset-restore): Let-bind frameset--target-display.
5129 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5131 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
5132 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5133 when the advice is pending.
5134 (advice-remove): Remove this marker when not needed any more.
5136 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5138 * frameset.el: Separate options for reusing frames and cleaning up.
5139 (frameset--reuse-list): Remove definition; declare.
5140 (frameset--action-map): Declare.
5141 (frameset--find-frame-if): Doc fix.
5142 (frameset--restore-frame): Cache frame action.
5143 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
5144 how to clean up the frame list after restoring. Remove cleaning
5145 options from REUSE-FRAMES. Change all keyword values to symbols.
5146 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
5148 * desktop.el (desktop-restore-forces-onscreen)
5149 (desktop-restore-reuses-frames): Use non-keyword values.
5150 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
5152 2014-03-10 Glenn Morris <rgm@gnu.org>
5154 * files.el (find-file): Doc fix: update info node name.
5156 * emacs-lisp/advice.el (ad-add-advice, defadvice):
5157 Doc fix: remove references to deleted info nodes.
5159 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
5161 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5162 Do not add nil to the environment, when there's no remote `locale'.
5163 (tramp-find-inline-encoding): Check, that the remote host has
5164 installed perl, before sending scripts.
5166 2014-03-10 Leo Liu <sdl.web@gmail.com>
5168 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5169 Clear eldoc-last-message. (Bug#16920)
5171 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5173 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
5176 2014-03-09 Juri Linkov <juri@jurta.org>
5178 * ansi-color.el (ansi-color-names-vector): Copy default colors
5179 from `xterm-standard-colors' that look well on the default white
5180 background (and also on the black background) to avoid illegible
5181 color combinations like yellow-on-white and white-on-white.
5182 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
5184 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
5186 * frameset.el (frameset-restore): When no frame is visible, do not
5187 generate a list of frames, just make visible the selected one.
5189 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
5191 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
5192 it only contains the repository root. (Bug#16897)
5194 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
5196 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
5197 only when `remote-file-name-inhibit-cache' is nil.
5198 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
5200 2014-03-06 Martin Rudalics <rudalics@gmx.at>
5202 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
5204 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
5205 fit-frame-to-buffer variable. Fix doc-string.
5206 (fit-window-to-buffer): Set ONLY argument in call of
5207 fit-frame-to-buffer. Fix doc-string.
5209 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
5211 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
5212 (tramp-action-password): Clear password cache if needed.
5213 (tramp-read-passwd): Do not clear password cache.
5215 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
5216 cache unless it is the first password request.
5218 2014-03-06 Glenn Morris <rgm@gnu.org>
5220 * simple.el (newline): Doc tweak.
5222 * emacs-lisp/shadow.el (load-path-shadows-find):
5223 Ignore dir-locals. (Bug#12357)
5225 2014-03-05 Glenn Morris <rgm@gnu.org>
5227 * files.el (interpreter-mode-alist):
5228 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5230 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5232 * frameset.el (frameset--initial-params): Filter out null entries.
5234 2014-03-05 Martin Rudalics <rudalics@gmx.at>
5236 * window.el (window-min-height, window-min-width):
5237 Rewrite doc-strings.
5238 (window-body-size): Add PIXELWISE argument to make it consistent
5241 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5243 * finder.el (finder-mode-map, finder-mode-syntax-table):
5244 Revert part of 2014-02-28 change.
5246 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
5248 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5249 (eww-setup-buffer): Clear next/prev/etc more reliably.
5250 (eww-textarea-map): [tab] doesn't work on tty.
5251 Reported by Mario Lang.
5253 * net/shr.el (shr-map): Ditto.
5255 2014-03-04 Glenn Morris <rgm@gnu.org>
5257 * minibuffer.el (completion-hilit-commonality):
5258 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5260 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5262 * hilit-chg.el (hilit-chg-unload-function): New function.
5263 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5264 (hilit-chg-map-changes): Prefer cardinal number to digit.
5265 (hilit-chg-display-changes): Reflow docstring.
5266 (highlight-changes-rotate-faces): Remove superfluous backslash.
5268 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
5270 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5271 `tramp-send-command-and-check'.
5273 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5275 * hexl.el (hexl-address-region, hexl-ascii-region)
5276 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5277 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5278 (hexl-forward-word, hexl-previous-line, hexl-next-line):
5279 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5280 (hexl-mode): Doc fix.
5281 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5282 (hexl-mode-ruler): Fix typos in docstrings.
5284 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5285 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5286 Remove superfluous backslashes.
5287 (strokes-last-stroke, strokes-global-map, strokes-mode):
5289 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5290 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5291 (strokes-distance-squared, strokes-global-set-stroke)
5292 (strokes-global-set-stroke-string): Doc fixes.
5293 (strokes-help): Fix typos; reflow docstring.
5295 2014-03-04 Martin Rudalics <rudalics@gmx.at>
5297 * window.el (window-in-direction): Fix doc-string.
5299 2014-03-04 Glenn Morris <rgm@gnu.org>
5301 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5302 Explicit error if no grammar.
5303 (smie-config-save): Doc fix. Fix quote typo.
5305 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
5307 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5308 electric-indent-mode-hook if we obey electric-indent-mode.
5309 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5310 decide whether we obey electric-indent-mode.
5311 (c-change-set-fl-decl-start, c-extend-after-change-region):
5313 (c-electric-indent-mode-hook): Assume we do want to obey
5314 electric-indent-mode.
5316 * electric.el (electric-indent-mode-has-been-called): Remove.
5317 (electric-indent-mode): Fix accordingly.
5319 * files.el (hack-local-variables): Mention file name in warning.
5321 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5323 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
5325 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5326 * simple.el (delete-forward-char): Mark as interactive-only.
5328 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
5330 * icomplete.el (icomplete-completions):
5331 Follow-up to 2014-03-01 change.
5333 * icomplete.el: Miscellaneous doc fixes.
5334 Use Icomplete everywhere instead of icomplete for consistency.
5335 (icomplete-max-delay-chars): Fix typo.
5336 (icomplete-mode): Use \[].
5337 (icomplete-tidy, icomplete-exhibit): Reflow.
5338 (icomplete-minibuffer-setup-hook, icomplete-completions):
5339 Remove superfluous backlashes.
5341 * ido.el: Miscellaneous doc fixes.
5342 Use Ido everywhere instead of ido or `ido' for consistency.
5343 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5344 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5345 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5346 (ido-separator): Extract obsolescence info from docstring and declare
5347 with make-obsolete-variable.
5348 (ido-minibuffer-setup-hook): Simplify example.
5349 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5350 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5351 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5352 (ido-everywhere): Reflow docstring.
5353 (ido-toggle-vc): Doc fix.
5354 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5355 of long list of keybindings.
5357 2014-03-03 Glenn Morris <rgm@gnu.org>
5359 * frame.el (display-pixel-height, display-pixel-width)
5360 (display-mm-dimensions-alist, display-mm-height)
5361 (display-mm-width): Doc tweaks.
5363 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
5365 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5366 case of undo in region.
5368 2014-03-02 Martin Rudalics <rudalics@gmx.at>
5370 * window.el (fit-window-to-buffer): Fix argument in window-size
5371 call when window is horizontally combined.
5373 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5375 * icomplete.el (icomplete-completions): Use string-width.
5376 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5378 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5380 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5381 Highlight regexp options. (Bug#16914)
5383 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5385 * window.el (window--max-delta-1): Round down when calculating
5386 how many lines/columns we can get from a window.
5388 2014-03-01 Glenn Morris <rgm@gnu.org>
5390 * isearch.el (search-invisible): Doc fix.
5392 * minibuffer.el (completion-hilit-commonality):
5393 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5394 * comint.el (comint-dynamic-list-completions): Doc fix.
5395 * comint.el (comint-dynamic-list-completions):
5396 * filecache.el (file-cache-minibuffer-complete):
5397 * tempo.el (tempo-display-completions):
5398 * eshell/em-hist.el (eshell-list-history):
5399 Replace use of obsolete argument of display-completion-list.
5401 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5403 * icomplete.el (icomplete-completions):
5404 Revert back to using "..." when ?… cannot be displayed.
5406 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5408 * finder.el (finder-unload-function): New function.
5410 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5412 * dframe.el (dframe-detach):
5413 * find-dired.el (find-dired, find-name-dired):
5414 * finder.el (finder-mode-map, finder-mode-syntax-table)
5415 (finder-headmark, finder-select, finder-mouse-select):
5416 Fix docstring typos.
5418 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5420 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5421 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5422 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5423 Fix doc-string based on a suggestion by Nicolas Richard
5424 <theonewiththeevillook@yahoo.fr>.
5425 * help.el (with-help-window): Fix doc-string.
5427 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5429 * net/shr.el (shr-image-animate): New option.
5430 (shr-put-image): Respect shr-image-animate.
5432 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5434 * net/tramp-adb.el (tramp-adb-parse-device-names):
5435 Use `accept-process-output'.
5436 (tramp-adb-handle-file-truename): Cache the localname only.
5437 (tramp-adb-handle-make-directory)
5438 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5439 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5440 modes cannot be changed.
5442 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5443 file properties of symlinks.
5445 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5447 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5448 required/optional fields to match development biblatex. (Bug#16781)
5450 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5452 * saveplace.el (toggle-save-place):
5453 Fix argument handling. (Bug#16673)
5455 2014-02-28 Glenn Morris <rgm@gnu.org>
5457 * minibuffer.el (completions-first-difference)
5458 (completions-common-part, completion-hilit-commonality): Doc fixes.
5460 2014-02-28 Karl Berry <karl@gnu.org>
5462 * info.el (Info-mode-map): Add H for describe-mode,
5463 to synchronize with standalone Info.
5465 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5467 * progmodes/sql.el (sql-interactive-mode):
5468 Avoid setting global comint-input-ring-separator. (Bug#16814)
5470 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5472 * net/dbus.el (dbus--init-bus): Declare function.
5473 (dbus-path-local, dbus-interface-local): New defconst.
5474 (dbus-init-bus): Use them.
5475 (dbus-return-values-table): Extend doc.
5476 (dbus-handle-bus-disconnect): Extend error message.
5478 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5480 * subr.el (y-or-n-p): Fix double space issue in message.
5482 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5484 * net/tramp.el (tramp-call-process): Improve trace message.
5485 (tramp-handle-insert-file-contents): Trace error case.
5487 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5488 <insert-directory>: Use `tramp-handle-insert-directory'.
5489 (tramp-adb-handle-insert-directory): Remove function.
5490 (tramp-adb-send-command-and-check): New defun, replacing
5491 `tramp-adb-command-exit-status'. Change all callees.
5492 (tramp-adb-handle-file-attributes)
5493 (tramp-adb-handle-directory-files-and-attributes): Use it.
5494 (tramp-adb-ls-output-name-less-p):
5495 Use `directory-listing-before-filename-regexp'.
5496 (tramp-adb-handle-delete-directory): Flush also file properties of
5497 the truename of directory.
5498 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5499 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5500 (tramp-adb-handle-write-region): Implement APPEND.
5501 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5502 properties correctly.
5503 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5504 variables. Check for connected devices only when needed.
5506 2014-02-27 Glenn Morris <rgm@gnu.org>
5508 * minibuffer.el (completion-table-dynamic)
5509 (completion-table-with-cache): Doc fixes.
5511 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5512 (completing-read-multiple): Doc fixes.
5514 2014-02-27 Daniel Colascione <dancol@dancol.org>
5516 * minibuffer.el (completion--nth-completion): Fix indentation.
5518 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5519 explicit tramp path is empty.
5521 2014-02-27 Glenn Morris <rgm@gnu.org>
5523 * emacs-lisp/crm.el (completing-read-multiple):
5524 Empower help-enable-auto-load.
5526 2014-02-26 Glenn Morris <rgm@gnu.org>
5528 * startup.el (command-line): Don't init the tty in daemon mode.
5530 Avoid calling tty-setup-hook twice, eg if a term file
5531 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5532 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5533 (tty-create-frame-with-faces): Use it.
5534 * startup.el (command-line): Pass run-hook argument
5535 to tty-run-terminal-initialization.
5537 * dired.el (dired-restore-desktop-buffer): Demote errors;
5538 eg in case a glob match fails. (Bug#16884)
5540 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5542 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5543 error from `read-from-string'. (Bug#16850)
5545 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5546 result of `completing-read' in the interactive form. (Bug#16854)
5548 2014-02-25 Glenn Morris <rgm@gnu.org>
5550 * image.el (image-animate, image-animate-timeout):
5551 Stop animating images in dead buffers. (Bug#16878)
5553 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5555 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5557 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5558 * term/sun.el (sun-raw-prefix-hooks):
5559 Use tty-setup-hook instead of term-setup-hook.
5560 (terminal-init-sun): Construct message from bytecomp plist.
5561 * term/wyse50.el (enable-arrow-keys): Doc fix.
5563 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5565 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5566 Fix docstring typos.
5568 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
5570 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5572 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5574 * minibuffer.el (completion--try-word-completion):
5575 Fix error when completing M-x commands (bug#16808).
5577 2014-02-24 Leo Liu <sdl.web@gmail.com>
5579 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5581 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5583 * apropos.el (apropos-print): Avoid formatting error when
5584 apropos-do-all and apropos-compact-layout are both t.
5586 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5588 * apropos.el (apropos-property, apropos-all-words-regexp)
5589 (apropos-true-hit, apropos-variable, apropos-print):
5590 Fix docstring typos, and remove obsolete comment.
5592 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
5594 * net/tramp-sh.el (tramp-sh-handle-file-truename):
5595 Preserve trailing "/". (Bug#16851)
5597 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
5599 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5600 after `=>' (bug#16811).
5601 (ruby-smie-rules): Handle the inconsistent second element of the
5602 list returned by `smie-indent--parent'.
5603 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5606 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5608 * elec-pair.el (electric-pair-text-syntax-table)
5609 (electric-pair-syntax-info, electric-pair--syntax-ppss)
5610 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5611 (electric-pair--looking-at-unterminated-string-p): Doc fix.
5612 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
5614 2014-02-22 Glenn Morris <rgm@gnu.org>
5616 * imenu.el (imenu--generic-function): Doc fix.
5618 * register.el (frame-configuration-to-register): Make obsolete.
5620 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
5622 * desktop.el (desktop-save-buffer-p): Do not fail when
5623 desktop-files-not-to-save is nil. Return t for true result
5626 2014-02-22 Daniel Colascione <dancol@dancol.org>
5628 * net/secrets.el (secrets-create-item, secrets-search-items):
5629 Check that attribute values are strings, avoiding the construction
5630 of invalid dbus messages.
5632 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5634 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5635 defun-declarations-alist.
5637 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
5639 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5642 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5644 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5645 (whitespace-newline, whitespace-trailing, whitespace-line)
5646 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5647 (whitespace-space-after-tab): Fix typo in docstrings.
5649 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
5651 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5653 * electric.el (electric-indent-functions-without-reindent):
5654 Add `yaml-indent-line'.
5656 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5658 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5659 It has done nothing for years; should be removed after the release.
5661 * simple.el (choose-completion): Fix docstring typo.
5662 (read-quoted-char-radix): Remove unneeded * in docstring.
5663 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5664 Don't escape parentheses unnecessarily in docstrings.
5666 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5668 Fix handling of window-min-height/-width (Bug#16738).
5669 * window.el (window--dump-window, window--dump-frame):
5671 (window--min-size-1): Account for window dividers.
5672 When window-resize-pixelwise is nil, delay rounding till after the
5673 sum of the window components has been calculated.
5674 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5675 nil make sure at least one text line and two text columns remain
5677 (window-resize): Signal an error when window-resize-apply fails.
5678 (window--resize-child-windows): Fix calculation of by how many
5679 pixels a window can still be shrunk via window-new-normal.
5680 (adjust-window-trailing-edge): Call window--resizable with
5681 correct TRAIL argument.
5683 (with-temp-buffer-window): Don't evaluate BODY within
5684 with-current-buffer (Bug#16816).
5686 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5688 * net/tramp.el (tramp-check-cached-permissions):
5689 Call `file-attributes' with `suffix' being a symbol but a string.
5691 2014-02-21 Daniel Colascione <dancol@dancol.org>
5693 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5694 (dbus-init-bus): New function: call into dbus-init-bus-1
5695 and installs a handler for the disconnect signal.
5696 (dbus-call-method): Rewrite to look for result in cons.
5697 (dbus-call-method-handler): Store result in cons.
5698 (dbus-check-event): Recognize events with nil sender as valid.
5699 (dbus-handle-bus-disconnect): New function. React to bus
5700 disconnection signal by synthesizing dbus error for each
5701 pending synchronous or asynchronous call.
5702 (dbus-notice-synchronous-call-errors): New function.
5703 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5704 is true, not all the time.
5706 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5708 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5709 Remove obsolescence declarations, these variables do not exist anymore.
5711 * savehist.el (savehist-save-minibuffer-history)
5712 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5713 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5714 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5715 mostly, refer to "Savehist mode" when talking about the mode,
5716 and not the function.
5718 * saveplace.el (save-place): Remove redundant info in docstring.
5719 (save-place-forget-unreadable-files, toggle-save-place)
5720 (save-place-forget-unreadable-files, save-place-dired-hook):
5721 Fix typos and remove unneeded backslashes.
5723 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5725 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5726 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5729 <insert-directory>: Use `tramp-handle-insert-directory'.
5730 (tramp-gvfs-handle-insert-directory): Remove function.
5732 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5733 Call `tramp-handle-insert-directory'.
5735 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5737 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5738 before the start of buffer/region (bug#16799).
5740 2014-02-20 Glenn Morris <rgm@gnu.org>
5742 * isearch.el (search-invisible): Doc fix.
5744 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5746 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5749 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5751 * frameset.el (frameset-restore): Delay removing an old frame's
5752 duplicate id until the new frame has been correctly created.
5754 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5756 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5757 (tramp-check-cached-permissions): Call `file-attributes' if the
5760 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5761 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5763 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5764 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5765 (tramp-gvfs-maybe-open-connection): Set always connection
5766 properties, even if target is mounted already.
5768 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5769 Set tramp-autoload cookie.
5770 (tramp-get-remote-touch): New defun.
5771 (tramp-sh-handle-set-file-times): Use it.
5772 (tramp-sh-handle-directory-files-and-attributes):
5773 Use `tramp-handle-directory-files-and-attributes' if neither stat
5774 nor perl are available on the remote host.
5776 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5777 "/". Write long listing only when "l" belongs to the switches.
5779 * net/trampver.el: Update release number.
5781 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5783 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5785 2014-02-19 Martin Rudalics <rudalics@gmx.at>
5787 * window.el (window-state-put): Allow WINDOW to refer to an
5788 internal window (Bug#16793).
5790 2014-02-19 Glenn Morris <rgm@gnu.org>
5792 * textmodes/remember.el: Move provide statement to end.
5793 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5794 (remember-notes): Doc fixes.
5796 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * delsel.el (delete-char): Restore incorrectly erased property
5801 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
5803 * frameset.el (frameset--restore-frame): When a frame is being reused
5804 and its root window is not alive, delete all the frame's windows before
5805 restoring the window state. This works around the issue in bug#16793.
5807 2014-02-18 Glenn Morris <rgm@gnu.org>
5809 * textmodes/remember.el (remember-data-directory)
5810 (remember-directory-file-name-format, remember-store-in-files)
5811 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5812 (remember-notes-save-and-bury-buffer)
5813 (remember-notes--kill-buffer-query): Doc fixes.
5815 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5817 2014-02-17 Alan Mackenzie <acm@muc.de>
5819 Connect electric-indent-mode up with CC Mode. Bug #15478.
5820 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5821 to electric-indent-{,local-}-mode.
5822 (c-basic-common-init): Set electric-indent-inhibit.
5823 Initialise c-electric-flag from electric-indent-mode.
5824 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5825 New hook functions which propagate electric-indent-mode to CC mode.
5827 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5828 hit, toggle electric-indent-local-mode.
5830 * electric.el (electric-indent-mode-has-been-called):
5833 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
5835 * frameset.el (frameset-cfg-id): New function.
5836 (frameset--reuse-frame, frameset-restore): Use it.
5837 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5839 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
5841 * ido.el (ido-file-internal): Remove unused var `d'.
5842 Use \` for to match BoS. Fit within 80n columns.
5844 2014-02-17 Daniel Colascione <dancol@dancol.org>
5846 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5847 dbus-call-method check for completion using a busy-wait loop with
5850 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
5852 Sync with Tramp 2.2.9.
5854 * net/trampver.el: Update release number.
5856 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
5858 * ido.el (ido-file-internal): Don't add the name of an existing
5859 directory twice. (Bug#16747)
5861 2014-02-16 Glenn Morris <rgm@gnu.org>
5863 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5864 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5866 2014-02-15 Michael R. Mauger <michael@mauger.com>
5868 * progmodes/sql.el: Version 3.4
5869 (sql-oracle-options): New default value ("-L").
5870 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5871 (sql-placeholders-filter): Correct placeholder pattern.
5872 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
5873 (sql-login-delay): New variable.
5874 (sql-product-interactive): Use it.
5876 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
5878 * frameset.el (frameset--jump-to-register): Check that buffer is live
5881 2014-02-15 Glenn Morris <rgm@gnu.org>
5883 * info.el (info-initialize): Revert 2014-01-10 change.
5885 2014-02-14 Glenn Morris <rgm@gnu.org>
5887 * replace.el (map-query-replace-regexp)
5888 (read-regexp-defaults-function, read-regexp): Doc fixes.
5890 * dired.el (dired-read-regexp):
5891 * faces.el (list-faces-display):
5892 * misearch.el (multi-isearch-read-matching-buffers)
5893 (multi-isearch-read-matching-files):
5894 * play/cookie1.el (cookie-apropos):
5895 * progmodes/grep.el (grep-read-regexp): Doc fixes.
5897 * textmodes/remember.el (remember): Use frameset-to-register
5898 rather than frame-configuration-to-register.
5900 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
5902 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5903 incorrect keybinding.
5905 2014-02-13 Daniel Colascione <dancol@dancol.org>
5907 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5908 when adding overlays so that line numbers from compiler match line
5911 2014-02-13 Glenn Morris <rgm@gnu.org>
5913 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
5915 * jit-lock.el (jit-lock-mode): Doc fix.
5917 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
5919 * apropos.el (apropos-read-pattern): When the user passes an empty
5920 string, give a more helpful error message than "Wrong type
5921 argument: stringp, nil".
5923 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
5925 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5927 2014-02-13 Glenn Morris <rgm@gnu.org>
5929 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5931 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5934 shift-select commands.
5936 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
5938 * progmodes/js.el (js-indent-line): Don't widen.
5939 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5941 2014-02-12 Glenn Morris <rgm@gnu.org>
5943 * icomplete.el (icomplete): Add info-link to defgroup.
5944 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5945 (icomplete-minibuffer-map, icomplete-mode)
5946 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5948 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5949 (package-menu-filter): Rename from package-menu-filter-interactive.
5952 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
5954 * frameset.el (frameset--jump-to-register): Select the required
5955 window and buffer before restoring position (bug#16696).
5957 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
5959 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5961 2014-02-10 Glenn Morris <rgm@gnu.org>
5963 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
5965 2014-02-10 Eli Zaretskii <eliz@gnu.org>
5967 * w32-common-fns.el (x-get-selection): Doc fix.
5968 * select.el (x-get-selection): Doc fix. (Bug#15109)
5970 * face-remap.el (face-remap-add-relative)
5971 (face-remap-remove-relative, face-remap-reset-base)
5972 (face-remap-set-base): Call force-mode-line-update to redisplay
5973 the current buffer due to potential change in faces. (Bug#16709)
5975 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
5977 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5978 script more robustly.
5980 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5982 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5984 * simple.el (choose-completion): Doc fix (bug#14160).
5986 * subr.el (event-start): Say what a nil EVENT value means.
5988 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5991 * progmodes/grep.el (find-program): Doc fix (bug#14289).
5993 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5995 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5997 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5998 predicate function (bug#15455).
6000 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
6002 * ielm.el (inferior-emacs-lisp-mode): Instead of
6003 `comment-use-global-state', set `comment-use-syntax'.
6005 2014-02-10 Glenn Morris <rgm@gnu.org>
6007 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
6009 2014-02-09 Alan Mackenzie <acm@muc.de>
6011 Fix c-invalidate-state-cache on narrowed buffers.
6012 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
6013 Widen when setting and clearing the CPP delimiter properties.
6015 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
6017 * help.el (describe-bindings): Doc fix (bug#9888).
6019 * files.el (save-buffer): Use ARG as the parameter name for
6020 consistency (bug#10346).
6021 (save-buffer): Clarify the 0 argument (bug#10346).
6023 * cus-edit.el (customize-apropos): Fix error string.
6024 (custom-buffer-create): Doc fix (bug#11122).
6025 (custom-sort-items): Doc fix (bug#11121).
6027 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
6029 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
6030 (icomplete-simple-completing-p): Mention the previous variable.
6032 * font-lock.el (font-lock-value-in-major-mode): Clarify the
6033 meaning of the parameter (bug#12282).
6035 * files.el (find-file-noselect): Clarify prompt when changing
6036 readedness (bug#13261).
6037 (locate-file): Suffixes aren't returned, so don't say that they
6039 (backup-inhibited): Doc clarification (bug#12525).
6041 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
6042 before we actually start to delete things (bug#16331).
6044 * subr.el (event-start): Doc fix (bug#14228).
6047 2014-02-09 Glenn Morris <rgm@gnu.org>
6049 * emacs-lisp/warnings.el (lwarn):
6050 Empower help-enable-auto-load. (Bug#15940)
6052 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6054 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
6057 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
6059 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6060 Insert output at end of buffer. (Bug#16120)
6062 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6064 * simple.el (choose-completion-string-functions): Document new
6065 calling convention (bug#14153).
6066 (execute-extended-command): Clarify doc string (bug#13373).
6068 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
6070 * find-dired.el (find-name-dired): Doc fix (bug#14290).
6071 (find-grep-dired): Doc fix (bug#14288).
6073 2014-02-08 Juri Linkov <juri@jurta.org>
6075 * isearch.el (isearch-quote-char): Check character validity
6076 like in `quoted-insert' (bug#16677).
6078 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6080 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
6082 * isearch.el (isearch-hide-immediately): Doc clarification
6085 * simple.el (line-move): Document utility function used many
6086 places in the Emacs sources (bug#14843).
6088 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
6089 (dired-prev-marked-file): Doc fix (bug#14855).
6090 (dired-up-directory): Doc fix (bug#14848).
6092 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
6094 * files.el (file-relative-name): Doc fix (bug#15159).
6096 * fringe.el (fringe-styles): Doc fix (bug#15239).
6098 * isearch.el (isearch-filter-predicate): Documentation typo fix
6101 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
6103 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6105 * replace.el (replace-match-maybe-edit): Doc clarification
6108 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
6110 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
6112 2014-02-08 Glenn Morris <rgm@gnu.org>
6114 * help-fns.el (describe-variable):
6115 Check {file,dir}-local-variables-alist, and buffer-file-name,
6116 in the correct buffer.
6118 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
6120 * help-fns.el (describe-variable): Fix the case where
6121 a value is directory-local with no dir-locals file. (Bug#16635)
6123 2014-02-08 Glenn Morris <rgm@gnu.org>
6125 * abbrev.el (edit-abbrevs-mode):
6126 Derive from fundamental-mode. (Bug#16682)
6128 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
6130 * simple.el (quoted-insert): Check character validity (bug#16677).
6132 2014-02-07 Juri Linkov <juri@jurta.org>
6134 * desktop.el (desktop-read): Claim the lock when the owner is not
6135 the current process. (Bug#16157)
6137 2014-02-07 Juri Linkov <juri@jurta.org>
6139 * desktop.el (desktop-buffers-not-to-save): Change default from nil
6140 to "\\` ". (Bug#16651)
6142 2014-02-07 Juri Linkov <juri@jurta.org>
6144 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
6145 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
6146 (desktop-auto-save-cancel-timer): New function with some code from
6147 `desktop-auto-save-set-timer'.
6148 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
6149 Instead of setting `desktop-save-mode' to nil, call
6150 `desktop-save-mode' with arg 0. (Bug#16630)
6152 2014-02-07 Glenn Morris <rgm@gnu.org>
6154 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
6155 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
6156 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
6158 * obsolete/iswitchb.el: Move to obsolete/.
6159 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
6160 since obsolete/ is not scanned for autoloads.
6161 * emacs-lisp/authors.el (authors-valid-file-names):
6164 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
6165 Disable now non-functional find-file-hook.
6167 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
6169 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
6170 instead of ";" in order to avoid additional prompts. Let heredoc
6171 scripts read from tty. (Bug#16582)
6172 (tramp-send-command): No special handling of heredocs, it isn't
6175 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
6177 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
6178 with a space (bug#16664). Limit the symbols considered to the ones
6179 that are bound or fbound (bug#16646).
6181 2014-02-06 Glenn Morris <rgm@gnu.org>
6183 * epa.el (epa-mail-aliases): Doc fix.
6185 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
6187 * emacs-lisp/lisp.el (lisp-completion-at-point):
6188 Use `completion-table-merge' instead of `completion-table-in-turn'
6191 * minibuffer.el (completion-table-merge): New function.
6193 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
6195 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
6196 (tramp-sh-handle-set-file-acl)
6197 (tramp-sh-handle-start-file-process)
6198 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
6199 (tramp-find-executable, tramp-send-command): Use it.
6201 2014-02-05 Glenn Morris <rgm@gnu.org>
6203 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
6205 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6207 * progmodes/python.el (python-shell-send-string)
6208 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
6210 2014-02-04 Anders Lindgren <andlind@gmail.com>
6212 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
6213 the names (bug#16620).
6215 2014-02-03 Martin Rudalics <rudalics@gmx.at>
6217 * faces.el (window-divider): New default value. Rewrite doc-string.
6218 (window-divider-first-pixel, window-divider-last-pixel): New faces.
6220 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
6222 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6223 `protected' and `public' can also be called without arguments.
6225 2014-02-03 Glenn Morris <rgm@gnu.org>
6227 * register.el (window-configuration-to-register)
6228 (frame-configuration-to-register): Unadvertise unused argument.
6229 * frameset.el (frameset-to-register): Remove unused argument.
6231 * frameset.el (frameset-to-register):
6232 * kmacro.el (kmacro-to-register):
6233 * register.el (increment-register):
6234 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6235 (calc-append-to-register, calc-prepend-to-register):
6236 * play/gametree.el (gametree-layout-to-register)
6237 (gametree-apply-register-layout):
6238 * textmodes/picture.el (picture-clear-rectangle-to-register)
6239 (picture-yank-rectangle-from-register):
6240 * vc/emerge.el (emerge-combine-versions-register):
6241 Use register-read-with-preview to read registers.
6243 2014-02-03 João Távora <joaotavora@gmail.com>
6245 * elec-pair.el (electric-pair-backward-delete-char): Don't error
6246 when at beginning of (possibly narrowed) buffer.
6248 2014-02-02 Daniel Colascione <dancol@dancol.org>
6250 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6251 Also try to display local help from just before point.
6253 2014-02-02 Alan Mackenzie <acm@muc.de>
6255 c-parse-state. Don't "append-lower-brace-pair" in certain
6256 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
6257 recognised as a comment.
6259 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6260 as well as normal comment starter.
6261 (c-parse-state-get-strategy): Extra return possibility
6263 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6264 return value list to indicate replacement of a brace-pair cons
6266 (c-parse-state-1): With 'back-and-forward, only call
6267 c-append-lower-brace-pair-to state-cache when cons-separated.
6269 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
6271 * term/ns-win.el (ns-suspend-error): New function.
6272 (ns-initialize-window-system): Add ns-suspend-error to
6273 suspend-hook (Bug#16612).
6275 2014-02-02 Daniel Colascione <dancol@dancol.org>
6277 * progmodes/cc-defs.el (c-find-assignment-for-mode):
6278 Make loading cc-mode silent.
6280 2014-02-02 Daniel Colascione <dancol@dancol.org>
6282 * comint.el (comint-prompt-read-only): Change doc to suggest
6285 2014-02-02 Glenn Morris <rgm@gnu.org>
6287 * register.el (register-read-with-preview, point-to-register)
6288 (window-configuration-to-register, frame-configuration-to-register)
6289 (jump-to-register, number-to-register, view-register, insert-register)
6290 (copy-to-register, append-to-register, prepend-to-register)
6291 (copy-rectangle-to-register): Doc fixes.
6293 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
6295 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6296 * emacs-lisp/find-func.el (find-function-C-source): Idem.
6297 * emacs-lisp/nadvice.el (advice--cd*r): New function.
6298 * help-fns.el (describe-function-1): Use it.
6300 2014-02-02 Glenn Morris <rgm@gnu.org>
6302 * register.el (register-preview-default): New function,
6303 split from register-preview.
6304 (register-preview-function): Rename from register-preview-functions,
6306 (register-preview): Use register-preview-function.
6307 (register-read-with-preview): Error on non-character event. (Bug#16595)
6309 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
6311 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6312 `:' before binary operators (bug#16609). Don't check for `:'
6313 before `[' and `(', or their syntax status. A percent literal
6314 can't end with either.
6315 (ruby-font-lock-keywords): For built-ins that require arguments,
6316 check that they're followed by something that looks like argument
6319 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
6321 * subr.el (butlast): Document what an omitted N means (bug#13437).
6324 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
6326 * net/shr.el (shr-generic): Make into a defsubst to make the stack
6327 depth shallower (bug#16587).
6328 (shr-tag-svg): Respect `shr-inhibit-images'.
6329 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6331 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
6333 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6334 (ruby-smie-grammar): Make "." right-associative. Make its priority
6335 lower than the ternary and all binary operators.
6336 (ruby-smie-rules): Indent "(" relative to the first non-"."
6337 parent, or the first "." parent at indentation.
6338 Use `ruby-align-chained-calls' for indentation of "." tokens.
6341 2014-01-31 Juri Linkov <juri@jurta.org>
6343 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6344 from `make-hash-table'.
6346 * textmodes/ispell.el (ispell-init-process): Change message format
6347 to be consistent with other messages.
6349 2014-01-31 Glenn Morris <rgm@gnu.org>
6351 * delsel.el (delete-selection-mode): Doc fix.
6353 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6354 (trace-function-background): Doc fixes.
6356 * ido.el (ido-use-virtual-buffers): Doc fix.
6357 Reset :version, since the default value has not changed.
6359 * register.el (register-preview-delay, register-read-with-preview):
6362 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6363 do not mess with mail-buffer position (fixes 2009-11-03 change).
6364 * progmodes/cc-mode.el (c-submit-bug-report):
6365 Check auto-fill-mode is bound. (Bug#16592)
6367 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
6369 * startup.el (fancy-splash-image-file): New function,
6370 split from fancy-splash-head.
6371 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6372 so that we are both using the same image. (Bug#16574)
6374 2014-01-30 Glenn Morris <rgm@gnu.org>
6376 * simple.el (eval-expression): Doc fix.
6378 * hexl.el (hexl-mode-hook):
6379 * ielm.el (ielm-mode-hook):
6380 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6381 (lisp-interaction-mode-hook):
6382 * progmodes/cfengine.el (cfengine3-documentation-function):
6383 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6385 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6387 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6388 is a symbol (bug#16584).
6390 2014-01-30 Glenn Morris <rgm@gnu.org>
6392 * help.el (help-for-help-internal): Add "P" to text.
6394 2014-01-29 Glenn Morris <rgm@gnu.org>
6396 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6398 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6400 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6403 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6405 * progmodes/hideif.el: Extend to full CPP expression syntax.
6406 (hif-token-alist): Add missing tokens.
6407 (hif-token-regexp): Add support for float/octal/hex immediates.
6408 (hif-string-literal-regexp): New const.
6409 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6410 (hif-exprlist): New function.
6411 (hif-parse-if-exp): Use it.
6412 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6413 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6414 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6415 (hif-logxor, hif-comma): New functions.
6417 2014-01-28 Glenn Morris <rgm@gnu.org>
6419 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6421 * indent.el (tab-stop-list): Doc fix. Add :version.
6423 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6424 (cvs-append-to-ignore): Add compatibility alias.
6426 2014-01-27 Glenn Morris <rgm@gnu.org>
6428 * dired.el (dired-hide-details-mode): Don't autoload it,
6429 since it cannot be used outside Dired buffers anyway.
6431 * emulation/cua-base.el (cua-mode): Doc fix.
6433 * dired.el (dired-hide-details-hide-symlink-targets)
6434 (dired-hide-details-hide-information-lines)
6435 (dired-hide-details-mode): Doc fixes.
6437 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6438 * strokes.el (strokes-file): Doc fix. Bump :version.
6439 (strokes-help): Doc fix.
6440 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6441 * emulation/viper.el (viper): Doc fix for custom group.
6442 (top-level): Remove oh-so-no-longer-relevant text about vip.
6443 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6445 * ido.el (ido-save-directory-list-file):
6446 * saveplace.el (save-place-file):
6447 * calendar/timeclock.el (timeclock-file):
6448 * net/quickurl.el (quickurl-url-file):
6449 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6450 * progmodes/idlwave.el (idlwave-config-directory):
6451 * textmodes/remember.el (remember-data-file):
6454 2014-01-26 Glenn Morris <rgm@gnu.org>
6456 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6457 Doc fix. Make obsolete.
6458 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6460 * sort.el (delete-duplicate-lines): Doc fix.
6462 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6464 * progmodes/ada-mode.el (ada):
6465 * woman.el (woman): Link to info manual and Commentary section.
6467 * progmodes/flymake.el (flymake):
6468 * nxml/nxml-mode.el (nxml):
6470 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6471 * htmlfontify.el (htmlfontify):
6474 * ido.el (ido): Link to info manual.
6476 2014-01-25 Leo Liu <sdl.web@gmail.com>
6478 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6480 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6482 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6485 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6487 * net/eww.el (eww-download-callback):
6488 Fix reference to eww-download-directory.
6490 * emacs-lisp/bytecomp.el (byte-compile-file):
6491 Remove unused local variable `file-name'.
6493 2014-01-24 Glenn Morris <rgm@gnu.org>
6495 * woman.el (woman-default-faces, woman-monochrome-faces):
6496 Fix obsolescence specification.
6498 * subr.el (with-demoted-errors): Doc fix.
6500 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6502 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6503 (cl--macroexp-fboundp): New function.
6504 (cl--make-type-test): Use it.
6506 2014-01-23 Glenn Morris <rgm@gnu.org>
6508 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6509 * simple.el (eval-expression): Doc fixes.
6511 2014-01-22 Glenn Morris <rgm@gnu.org>
6513 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6515 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6517 * emacs-lisp/package.el: Write files silently.
6518 (package-autoload-ensure-default-file, package--write-file-no-coding)
6519 (package-generate-description-file, package--download-one-archive)
6520 (package-install-from-archive): Tell `write-region' to stay quiet.
6521 (package-menu-mode, package-menu--print-info): Omit the Archive column
6522 if there's only one archive.
6523 (package-all-keywords, package--has-keyword-p): Remove dead code.
6525 2014-01-22 Glenn Morris <rgm@gnu.org>
6527 * version.el (emacs-bzr-version-bzr): Fix typo.
6529 * version.el (emacs-repository-get-version):
6530 Check either .bzr or .git, but not both.
6531 Make the git case actually use the DIR argument, and return nil
6532 rather than the empty string.
6533 Avoid error if .git exists but the git executable is not found.
6535 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6537 Fixes in window size functions around Bug#16430 and Bug#16470.
6538 * window.el (window-total-size, window-size): New argument ROUND.
6539 (window--min-delta-1, window-min-delta, window--max-delta-1):
6540 Be more conservative when calculating the numbers of lines or
6541 columns a window can shrink (Bug#16430).
6542 (fit-window-to-buffer): Simplify code.
6543 * term.el (term-window-width): Call window-body-width again.
6545 2014-01-22 Glenn Morris <rgm@gnu.org>
6547 * image.el (image-format-suffixes): Doc fix.
6549 * international/quail.el (quail-define-package): Doc fix.
6551 * emacs-lisp/authors.el (authors-valid-file-names)
6552 (authors-renamed-files-alist): Additions.
6554 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6555 reverts 2014-01-09 change. (Bug#16422)
6557 * calc/calc-embed.el (thing-at-point-looking-at):
6558 * emacs-lisp/map-ynp.el (x-popup-dialog):
6559 * obsolete/lmenu.el (x-popup-dialog):
6560 * emacs-lisp/package.el (url-recreate-url):
6561 * mail/mailclient.el (clipboard-kill-ring-save):
6562 * subr.el (x-popup-dialog): Update declaration.
6563 * mail/rmail.el (rmail-mime-message-p):
6564 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6566 2014-01-21 Daniel Colascione <dancol@dancol.org>
6568 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6569 Correctly detect when we're inside an arithmetic expansion form
6570 containing nested parenthesis.
6571 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6572 to detect cases where we shouldn't expand "<<" to a heredoc
6575 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
6577 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6578 (eldoc--message-command-p): New function.
6579 (eldoc-display-message-p): Use it.
6580 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6581 message is not automatically erased for us.
6582 (eldoc-print-current-symbol-info): Erase previous message, if any.
6584 2014-01-21 Tassilo Horn <tsdh@gnu.org>
6586 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6587 specify it's an interactive function.
6589 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6590 Fix regex used for scanning for citation keys which failed for
6591 citations with optional arguments.
6593 2014-01-21 Leo Liu <sdl.web@gmail.com>
6595 * simple.el (read--expression): Don't enable eldoc-mode.
6597 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
6599 * simple.el (move-beginning-of-line): Make sure we don't move forward
6602 2014-01-20 Juri Linkov <juri@jurta.org>
6604 * saveplace.el (toggle-save-place, save-place-to-alist)
6605 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6606 'dired-mode) before checking for dired-directory. (Bug#16477)
6608 2014-01-20 Juri Linkov <juri@jurta.org>
6610 * indent.el (indent-line-to): Use backward-to-indentation
6611 instead of back-to-indentation. (Bug#16461)
6613 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
6615 Revert some of the CANNOT_DUMP fix (Bug#16494).
6616 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6617 but fixing this can wait until after the next release.
6618 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6620 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
6622 * eshell/esh-mode.el (eshell-password-prompt-regexp):
6623 Use `password-word-equivalents'.
6624 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6625 to t. (Bug#5664, Bug#13124)
6627 2014-01-19 Alan Mackenzie <acm@muc.de>
6629 Bind open-paren-in-column-0-is-defun-start to nil at some entry
6631 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6632 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6633 * progmodes/cc-mode.el (c-before-change, c-after-change)
6634 (c-font-lock-fontify-region): Bind it here.
6636 2014-01-19 Martin Rudalics <rudalics@gmx.at>
6638 * term.el (term-window-width): Call window-text-width instead of
6639 window-width (Bug#16470).
6641 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
6643 * simple.el (password-word-equivalents): Remove duplicates.
6644 Sort, to make this easier next time.
6645 Downcase. Omit ": " after "jelszó".
6647 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
6649 * term/common-win.el (saved-region-selection): Defvar it.
6650 (x-select-text): Set saved-region-selection (Bug#16382).
6652 2014-01-18 Glenn Morris <rgm@gnu.org>
6654 * emacs-lisp/authors.el (authors-aliases)
6655 (authors-renamed-files-alist): Add some entries.
6657 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
6659 * net/tramp.el (tramp-password-prompt-regexp):
6660 Use `password-word-equivalents' if available.
6661 (tramp-action-password, tramp-process-one-action)
6662 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6664 2014-01-17 Chong Yidong <cyd@gnu.org>
6666 * simple.el (password-word-equivalents): New defcustom.
6667 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6669 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6672 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6674 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6675 (ruby-align-to-stmt-keywords): Change the default value.
6676 Use `ruby-alignable-keywords' to generate the possible customization
6678 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6679 keywords, check against the value of `ruby-alignable-keywords'
6680 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6682 2014-01-17 Glenn Morris <rgm@gnu.org>
6684 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6686 Make M-x authors return zero *Authors Errors* from current logs.
6687 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6688 (authors-ignored-files): Add some entries, remove others.
6689 (authors-ambiguous-files, authors-valid-file-names):
6691 (authors-renamed-files-alist): Add, remove, and adjust entries.
6692 (authors-renamed-files-regexps): Add some entries.
6693 Remove some very broad ones. Make some entries `lax'.
6694 (authors-lax-changelogs): New constant.
6695 (authors-disambiguate-file-name): Treat top-level specially.
6696 (authors-lax-changelog-p): New function.
6697 (authors-canonical-file-name): Check file as written against
6698 authors-valid-file-names. Do not special-case etc/.
6699 Handle `lax' logs and authors-renamed-files-regexps elements.
6701 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6703 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6704 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6707 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6710 Assume we're already in the proper buffer.
6711 Inspired by Anders Lindgren <andlind@gmail.com>.
6712 (follow-post-command-hook): Call it from the right buffer.
6713 (follow-comint-scroll-to-bottom): Adjust call.
6714 (follow-all-followers): Use get-buffer-window-list.
6716 2014-01-15 Daniel Colascione <dancol@dancol.org>
6718 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6719 `buffer-file-name' in interactive-form so that we don't leave
6720 pathless file names in `file-name-history'.
6722 2014-01-15 Juri Linkov <juri@jurta.org>
6724 * indent.el (indent-rigidly): Set deactivate-mark to nil
6725 in transient indentation mode. (Bug#16438)
6727 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6729 * emacs-lisp/package.el (package-desc-keywords): New function
6731 (describe-package-1, package-all-keywords)
6732 (package--has-keyword-p): Use it.
6734 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6736 * simple.el (define-alternatives): When creating the
6737 COMMAND-alternatives variable, assign COMMAND as its definition
6738 name so that `describe-variable' can relocate it.
6740 2014-01-14 Matthew Leach <matthew@mattleach.net>
6742 * font-lock.el (font-lock-keywords): Fix typo in docstring
6745 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6747 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6748 line instead of wrongly reset `add-coment' (bug#13577).
6750 2014-01-14 Daiki Ueno <ueno@gnu.org>
6752 * epa-file.el (epa-file-write-region): Encode the region according
6753 to `buffer-file-format'. Problem reported at:
6754 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6756 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6759 so it applies in the right buffer (bug#16410).
6761 2014-01-13 Daniel Colascione <dancol@dancol.org>
6763 * textmodes/rst.el (rst-define-key): Provide deprecated
6764 keybindings through named functions instead of anonymous ones so
6765 that "??" doesn't appear in describe-mode output.
6767 2014-01-13 Bastien Guerry <bzg@gnu.org>
6769 * simple.el (define-alternatives): Call the selected command
6770 interactively. When setting `COMMAND--implementation' for the
6771 first time, tell the user how to chose another implementation.
6772 Enhance the docstring.
6774 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6777 (log-edit--match-first-line): New function.
6778 (log-edit-font-lock-keywords): Use it.
6779 (log-edit-mode): Make jit-lock-defer-multiline work.
6781 2014-01-13 Bastien Guerry <bzg@gnu.org>
6783 * rect.el (rectangle-mark-mode): When the region is not active,
6784 display a message saying that the mark as been set and that
6785 rectangle mode is in use.
6786 (rectangle--highlight-for-redisplay): Only put an overlay with a
6787 visible vertical bar when (display-graphic-p) is non-nil.
6788 This partially fixes Bug#16403.
6790 2014-01-13 Juri Linkov <juri@jurta.org>
6792 * info.el (Info-find-file): Go to DIR before displaying the error
6793 about a nonexistent file if no previous Info file is visited.
6794 Use `user-error' instead of `error' for "Info file %s does not exist".
6795 (Info-find-node-2): In case of a nonexistent node in unwind forms
6796 go to the Top node if there is no previous node to revert to.
6799 2014-01-13 Martin Rudalics <rudalics@gmx.at>
6801 fit-frame/window-to-buffer code fixes including one for Bug#14096.
6802 * window.el (fit-frame-to-buffer): Fix doc-string.
6803 Respect window-min-height/-width. Fit pixelwise when
6804 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
6805 when avoiding that frame goes partially off-screen.
6806 (fit-window-to-buffer): Respect window-min-height/-width
6809 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6812 after an empty line.
6814 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
6816 * net/shr.el (shr-render-region): Autoload.
6818 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
6820 * net/eww.el (eww-download-directory): Rename from
6821 `eww-download-path' (Bug#16419).
6823 2014-01-12 Leo Liu <sdl.web@gmail.com>
6825 * dired-x.el (dired-mode-map): Fix last change.
6827 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6829 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
6832 * emacs-lisp/generic.el (generic--normalize-comments):
6833 Rename from generic--normalise-comments. All uses changed.
6834 * play/bubbles.el (bubbles--neighborhood-score)
6835 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6836 (bubbles--neighborhood-available)
6837 (bubbles--update-neighborhood-score):
6838 Rename from names with 'neighbourhood'. All uses changed.
6840 2014-01-12 Leo Liu <sdl.web@gmail.com>
6842 Re-implement the feature of showing eldoc info after editing.
6843 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6844 (eldoc-edit-message-commands): New function.
6845 (eldoc-print-after-edit): New variable.
6846 (eldoc-pre-command-refresh-echo-area): Emit message only by
6847 eldoc-message-commands.
6848 (eldoc-mode): Restrict eldoc-message-commands to editing commands
6849 if eldoc-print-after-edit is set. (Bug#16346)
6850 * simple.el (read--expression): Enable eldoc-mode.
6851 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6853 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
6854 Eric S. Raymond <esr@thyrsus.com>
6856 * version.el (emacs-repository-get-version): Enhance so the
6857 function works correctly in either a Bazaar or Git repo.
6859 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
6861 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6862 Goes with removal of the joke manpages from /etc.
6864 2014-01-10 Kenichi Handa <handa@gnu.org>
6866 * mail/rmail.el (rmail-get-coding-system):
6867 Check rmail-get-coding-function before "funcall"ing it.
6869 2014-01-10 Glenn Morris <rgm@gnu.org>
6871 * emacs-lisp/authors.el (authors-fixed-entries):
6872 Update for files that no longer exist.
6874 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
6876 * version.el (emacs-bzr-get-version): Restore compatibilty with
6879 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
6881 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6884 2014-01-10 Eli Zaretskii <eliz@gnu.org>
6886 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6888 2014-01-10 Chong Yidong <cyd@gnu.org>
6890 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6892 2014-01-10 Anders Lindgren <andlind@gmail.com>
6894 * follow.el (follow-cache-command-list): Include right-char and
6897 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
6900 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6901 * woman.el (woman-mark-horizontal-position):
6902 Rename from woman-mark-horizonal-position. Use changed.
6904 2014-01-10 Glenn Morris <rgm@gnu.org>
6906 * info.el (info-initialize): If running uninstalled, ensure our
6907 own info files are always found first, even if INFOPATH is set.
6909 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6911 2014-01-09 David Engster <deng@randomsample.de>
6913 * emacs-lisp/eieio-custom.el:
6914 * emacs-lisp/eieio-opt.el: Set generated autoload file to
6915 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6916 * emacs-lisp/eieio.el: Regenerate autoloads.
6918 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
6920 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6921 following renames. (Bug#8756)
6923 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6927 (activate-mark): Add `no-tmm' argument.
6928 (set-mark, push-mark-command): Use it instead of running
6929 activate-mark-hook by hand.
6931 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
6933 In preparation for the move to git, sanitize out some
6934 Bazaar-specific names.
6936 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6938 * version.el (emacs-bzr-version): Name changed to
6939 emacs-repository-version. Obsolete-variable alias made.
6940 * loadup.el: Follow through on this name change.
6941 * mail/emacsbug.el (report-emacs-bug): Factor out any
6942 assumption about the version control system in use.
6944 2014-01-08 David Engster <deng@randomsample.de>
6946 * help-fns.el (help-fns-describe-function-functions):
6947 New variable to call functions for augmenting help buffers.
6948 (describe-function-1): Remove explicit calls to
6949 `help-fns--compiler-macro', `help-fns--parent-mode' and
6950 `help-fns--obsolete'. Put them in above new variable instead, and
6951 call them through `run-hook-with-args'.
6952 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6953 `eieio-describe-class'. Not meant for interactive use anymore,
6954 but to augment existing help buffers. Remove optional second
6955 argument. Create proper button for file location.
6956 Rewrite function to use `insert' instead of `princ' and `prin1' where
6958 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6959 (eieio-method-def, eieio-class-def): Move further up.
6960 (describe-method, describe-generic, eieio-describe-method):
6962 (eieio-help-constructor, eieio-help-generic): Rename from
6963 `eieio-describe-constructor' and `eieio-describe-generic', resp.
6964 Rewrite to use `insert' in the current buffer and use proper help
6966 (eieio-help-find-method-definition)
6967 (eieio-help-find-class-definition): Also accept symbols as
6969 (eieio-help-mode-augmentation-maybee): Remove.
6970 (eieio-describe-class-sb): Use `describe-function'.
6971 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6972 Add `eieio-help-generic' and `eieio-help-constructor'.
6974 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
6977 * language/china-util.el (hz-ascii-designation):
6978 Rename from hz-ascii-designnation.
6979 (hz-ascii-designation): Rename from hz-ascii-designnation.
6982 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
6984 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6987 2014-01-08 Bastien Guerry <bzg@gnu.org>
6989 * emacs-lisp/package.el (package-delete):
6990 Correctly delete the package from package-alist.
6992 2014-01-08 Daiki Ueno <ueno@gnu.org>
6994 * emacs-lisp/package.el (url-recreate-url): Declare.
6995 (url-http-target-url): Declare.
6996 (package-handle-response): Include requested URL in the error message.
6997 (package--check-signature): Don't re-signal errors from
6998 package--with-work-buffer. Suggested by Stefan Monnier.
7000 2014-01-07 Bastien Guerry <bzg@gnu.org>
7002 * minibuffer.el (completion--try-word-completion): When both a
7003 hyphen and a space are possible candidates for the character
7004 following a word, display both candidates. (Bug#15980)
7006 2014-01-07 Martin Rudalics <rudalics@gmx.at>
7008 * window.el (balance-windows-2): While rounding don't give a
7009 window more than the remainder. Bug#16351, bug#16383.
7011 2014-01-07 Glenn Morris <rgm@gnu.org>
7013 * menu-bar.el (menu-bar-help-extra-packages): Remove.
7014 (menu-bar-help-menu): Use view-external-packages instead.
7016 2014-01-07 Bastien Guerry <bzg@gnu.org>
7018 * emacs-lisp/package.el (package-delete): Also delete the package
7019 name from `package-alist', not its description only.
7021 2014-01-07 Glenn Morris <rgm@gnu.org>
7023 * help.el (view-external-packages):
7024 * menu-bar.el (menu-bar-help-extra-packages):
7025 Visit efaq.info rather than etc/MORE.STUFF.
7027 2014-01-07 Juri Linkov <juri@jurta.org>
7029 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
7030 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
7032 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
7033 that shadows RET. (Bug#16342)
7035 2014-01-07 Chong Yidong <cyd@gnu.org>
7037 * isearch.el (isearch-yank-char, isearch-yank-word)
7038 (isearch-yank-line): Doc fix.
7040 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
7043 * emacs-lisp/elint.el (elint-find-builtins):
7044 * emacs-lisp/eldoc.el (eldoc-symbol-function):
7045 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
7046 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
7047 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7048 * apropos.el (apropos-safe-documentation):
7049 * subr.el (symbol-file): Remove redundant fboundp.
7050 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
7052 2014-01-06 Bastien Guerry <bzg@gnu.org>
7054 * hl-line.el (global-hl-line-overlay): Make a local variable.
7055 (global-hl-line-overlays): New variable to store all overlays.
7056 (global-hl-line-mode): Don't delete overlays from the current
7057 buffer when `global-hl-line-sticky-flag' is non-nil.
7058 (global-hl-line-highlight): Add new overlays to
7059 `global-hl-line-overlays'.
7060 (global-hl-line-unhighlight-all): New function to delete all
7061 overlays when turning off `global-hl-line-mode'.
7062 This fixes Bug#16183.
7064 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7066 * subr.el (set-transient-map): Fix nested case and docstring.
7068 2014-01-06 Tassilo Horn <tsdh@gnu.org>
7070 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
7073 2014-01-06 Daniel Colascione <dancol@dancol.org>
7075 Fix defun navigation in vc log view.
7077 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
7078 like `beginning-of-defun'.
7079 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
7080 log-view-end-of-defun to log-view-end-of-defun-1. Replace
7081 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
7082 (log-view-extract-comment): Call `log-view-current-entry' directly
7083 instead of relying on broken `log-view-beginning-of-defun' behavior.
7085 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
7088 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
7089 * emacs-lisp/debug.el (cancel-debug-on-entry):
7090 * epg.el (epg-error-to-string):
7091 * files.el (recover-file):
7092 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
7093 * mail/emacsbug.el (report-emacs-bug-hook):
7094 * mail/sendmail.el (mail-recover):
7095 * ses.el (ses-yank-resize):
7096 * term/ns-win.el (ns-print-buffer):
7097 Spelling fixes in diagnostics, mostly for "canceled" with one L.
7098 * epg.el (epg-key-capability-alist): Rename from misspelled version.
7100 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
7102 2014-01-06 Leo Liu <sdl.web@gmail.com>
7104 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
7105 to avoid shadowing global key. (Bug#16354)
7107 2014-01-06 Daniel Colascione <dancol@dancol.org>
7109 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
7112 2014-01-05 Martin Rudalics <rudalics@gmx.at>
7114 * window.el (balance-windows): Add mising t to fix Bug#16351.
7116 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
7120 (shr-insert): If we have a word that's longer than `shr-width',
7121 break after it anyway. Otherwise we'll do no breaking once we get
7124 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7126 * net/eww.el (eww): Support single/double quote for search.
7127 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
7128 (eww-history-quit): Delete and use quit-window.
7129 (eww-history-kill): Delete, because it doesn't work well and
7131 (eww-history-mode-map): Delete some keys and add easy-menu.
7133 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
7135 Fix misspelling of 'chinese' in rx (Bug#16237).
7136 * emacs-lisp/rx.el (rx-categories): Correct spelling of
7139 Change subword regexps back to vars (Bug#16296).
7140 * progmodes/subword.el (subword-forward-regexp)
7141 (subword-backward-regexp): Change these back to variables.
7143 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
7146 syntax-begin-function (bug#16247).
7148 2014-01-03 Chong Yidong <cyd@gnu.org>
7150 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
7151 (advice--docstring): Delete variable.
7152 (advice--make-1): Leave the docstring empty.
7153 (advice-add): Use function-documentation for advised docstring.
7155 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
7156 Ignore function-documentation property when getting documentation.
7157 (ad-activate-advised-definition): Use function-documentation
7158 generate the docstring.
7159 (ad-make-advised-definition): Don't call
7160 ad-make-advised-definition-docstring.
7161 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7164 * progmodes/sql.el (sql-help): Use function-documentation instead
7165 of dynamic-docstring-function property. No need to autoload now.
7166 (sql--help-docstring): New variable.
7167 (sql--make-help-docstring): Use it.
7169 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * ielm.el (ielm-tab): Retarget.
7172 (ielm-map): Use ielm-tab for tab.
7173 (ielm-complete-filename): Use comint-filename-completion.
7174 (ielm-complete-symbol): Remove.
7175 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
7176 remove ielm-tab from completion-at-point-functions (bug#16224).
7178 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
7179 Beware signals raised by predicates (bug#16201).
7181 2014-01-02 Richard Stallman <rms@gnu.org>
7183 * dired-aux.el (dired-do-print): Handle printer-name.
7185 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
7186 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
7187 (rmail-epa-decrypt): Turn off mime processing.
7189 * mail/rmail.el (rmail-make-in-reply-to-field):
7190 Add parens in message-id.
7192 * mail/rmail.el (rmail-get-coding-function): Variable.
7193 (rmail-get-coding-system): Use it.
7195 2013-12-31 Eli Zaretskii <eliz@gnu.org>
7197 * international/mule-conf.el: Unify the charset indian-is13194.
7198 (indian-is13194): Specify unify-map.
7200 2013-12-31 Leo Liu <sdl.web@gmail.com>
7202 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
7204 2013-12-30 Daniel Colascione <dancol@dancol.org>
7206 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
7207 of printing a useless when we resume from sleep.
7209 * progmodes/sh-script.el
7210 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
7211 in indentation code. (Bug#16233)
7213 2013-12-28 João Távora <joaotavora@gmail.com>
7215 * elec-pair.el (electric-pair-post-self-insert-function):
7216 Don't open extra newlines at beginning of buffer. (Bug#16272)
7218 2013-12-28 Eli Zaretskii <eliz@gnu.org>
7220 * frame.el (window-system-for-display): Don't allow to create a
7221 GUI frame from a -nw session on MS-Windows. (Bug#14739)
7223 2013-12-28 Glenn Morris <rgm@gnu.org>
7225 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7228 * apropos.el (apropos-match-face):
7229 * calculator.el (calculator-displayer):
7230 * dabbrev.el (dabbrev-search-these-buffers-only):
7231 * face-remap.el (buffer-face-mode-face):
7232 * simple.el (yank-handled-properties):
7233 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7234 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7235 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7236 (hashcash-double-spend-database):
7237 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7238 (ruby-deep-indent-paren-style):
7239 * textmodes/flyspell.el (flyspell-auto-correct-binding):
7240 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7241 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7242 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7243 Specify custom types.
7245 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7246 * bookmark.el (bookmark-bmenu-use-header-line):
7247 * doc-view.el (doc-view-scale-internally):
7248 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7249 * register.el (register-preview-delay):
7250 * net/shr.el (shr-bullet):
7251 * progmodes/cfengine.el (cfengine-cf-promises)
7252 (cfengine-parameters-indent):
7253 * progmodes/octave.el (inferior-octave-error-regexp-alist):
7254 * textmodes/reftex-vars.el (reftex-label-regexps):
7255 * vc/log-edit.el (log-edit-setup-add-author): Add version.
7257 * net/tls.el (tls-certtool-program): Fix default value.
7259 * desktop.el (desktop-restore-in-current-display):
7260 * newcomment.el (comment-empty-lines):
7261 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7262 (idlwave-pad-keyword):
7263 * progmodes/tcl.el (tcl-tab-always-indent):
7264 * textmodes/reftex-vars.el (reftex-index-default-tag):
7265 * elec-pair.el (electric-pair-skip-whitespace):
7266 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7268 * emacs-lisp/authors.el (authors-ignored-files)
7269 (authors-valid-file-names, authors-renamed-files-alist): Additions.
7271 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7273 * shell.el (shell-dynamic-complete-command): Doc fix.
7274 (shell--command-completion-data): Shell completion now matches
7275 executable filenames from the current buffer's directory, on
7276 systems in which this behavior is the default (windows-nt, ms-dos).
7278 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7280 * net/shr.el (shr-insert): Don't infloop if the width is zero.
7282 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7287 * electric.el: Move all electric-pair-* to elec-pair.el.
7288 * elec-pair.el: New file, split from electric.el.
7290 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7292 * net/shr.el (shr-find-fill-point): Don't try to fill if the
7293 indentation level is larger than the width, because that will
7295 (shr-insert): Fill repeatedly long texts, so that Japanese is
7296 formatted correctly (bug#16263).
7297 (shr-find-fill-point): Off by one error in comparison with the
7300 2013-12-26 João Távora <joaotavora@gmail.com>
7302 * electric.el (electric-pair-mode): More flexible engine for skip-
7303 and inhibit predicates, new options for pairing-related functionality.
7304 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7305 if that keeps or improves their balance in buffers.
7306 (electric-pair-delete-adjacent-pairs): Delete the pair when
7307 backspacing over adjacent matched delimiters.
7308 (electric-pair-open-extra-newline): Open extra newline when
7309 inserting newlines between adjacent matched delimiters.
7310 (electric--sort-post-self-insertion-hook):
7311 Sort post-self-insert-hook according to priority values when
7312 minor-modes are activated.
7313 * simple.el (newline-and-indent): Call newline with interactive
7315 (blink-paren-post-self-insert-function): Set priority to 100.
7316 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7317 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7318 comments. Locally set electric-pair-skip-whitespace to 'chomp and
7319 electric-pair-open-newline-between-pairs to nil.
7321 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7323 * progmodes/python.el: Use lexical-binding.
7324 (python-nav-beginning-of-defun): Stop searching ASAP.
7326 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
7328 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7329 Fix interactive spec. Doc fix. (Bug#15754)
7331 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7333 * emacs-lisp/byte-run.el (eval-when-compile):
7334 * progmodes/cc-defs.el (cc-eval-when-compile):
7335 Fix edebug spec (bug#16184).
7337 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7339 * net/shr.el (shr-visit-file): Remove debugging function.
7340 (shr-insert): Don't infloop if we can't find a good place to break
7341 the line (bug#16256).
7343 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
7345 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7346 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
7347 python-nav-lisp-forward-sexp-safe.
7348 (python-nav--forward-sexp): New argument SAFE allows switching
7349 forward sexp movement behavior for parens.
7350 (python-nav-forward-sexp): Throw errors on unterminated parens
7352 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7353 (python-nav-backward-sexp-safe): New functions.
7354 (python-shell-buffer-substring):
7355 Use `python-nav-forward-sexp-safe'.
7357 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7359 * net/shr.el (shr-find-fill-point): Don't break lines before a
7361 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7362 (shr-find-fill-point): Remove the special checks for the quotation
7363 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7365 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7367 * net/eww.el (eww-form-textarea): Use a different face for
7368 textareas than text input since they have different keymaps
7371 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7373 * progmodes/python.el (python-nav-beginning-of-statement):
7374 Speed up (Bug#15295).
7376 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7378 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7379 the window configuration.
7381 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7383 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7384 we run on MS-Windows or MS-DOS.
7386 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7388 * window.el (balance-windows-area): Call window-size instead of
7389 window-height and window-width. Bug#16241.
7391 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7393 * net/eww.el (eww-bookmark-quit): Remove.
7394 (eww-bookmark-browse): Restore the window configuration when you
7395 choose a bookmark (bug#16144).
7397 2013-12-24 Daniel Colascione <dancol@dancol.org>
7399 * icomplete.el: Remove redundant :group arguments to `defcustom'
7401 (icomplete-show-matches-on-no-input): New customizable variable.
7402 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7403 we have something to show.
7404 (icomplete-exhibit): Compute completions even if we have no user input.
7406 2013-12-23 Daniel Colascione <dancol@dancol.org>
7408 * icomplete.el: Move `provide' to end of file.
7410 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7412 * net/gnutls.el (gnutls-verify-error): Add version tag.
7414 2013-12-23 Chong Yidong <cyd@gnu.org>
7416 * subr.el (set-transient-map): Rename from
7417 set-temporary-overlay-map. Doc fix.
7419 * face-remap.el (text-scale-adjust):
7420 * indent.el (indent-rigidly):
7421 * kmacro.el (kmacro-call-macro):
7422 * minibuffer.el (minibuffer-force-complete):
7423 * repeat.el (repeat):
7424 * simple.el (universal-argument--mode):
7425 * calendar/todo-mode.el (todo-insert-item--next-param):
7426 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7428 * indent.el (indent-rigidly): Use substitute-command-keys.
7430 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7432 * net/eww.el (eww-tag-select): Add text-property to jump to next
7434 (eww): Add non-supported ftp error.
7436 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7438 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7439 comments. Handle electric indent after typing `?' and `!'.
7441 2013-12-22 Chong Yidong <cyd@gnu.org>
7443 * faces.el (face-spec-recalc): If the theme specs are not
7444 applicable to a frame, fall back on the defface spec.
7445 This prevents themes from obliterating faces on low-color terminals.
7447 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7449 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7450 after `{'. We need it after block openers, and it doesn't seem
7451 to hurt after hash openers.
7453 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7455 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7456 extracted from `ruby-smie-rules'.
7457 (ruby--electric-indent-chars): New variable.
7458 (ruby--electric-indent-p): New function.
7459 (ruby-mode): Use `electric-indent-functions' instead of
7460 `electric-indent-chars'.
7462 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7464 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7466 (ruby-smie-rules): Indent plus one level after `=>'.
7468 2013-12-21 Richard Stallman <rms@gnu.org>
7470 * simple.el (newline): Doc fix.
7472 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7474 * net/eww.el (eww-list-histories, eww-list-histories)
7475 (eww-history-browse, eww-history-quit, eww-history-kill)
7476 (eww-history-mode-map, eww-history-mode): New command and
7477 functions to list browser histories.
7478 (eww-form-text): Support text form with disabled
7479 and readonly attributes.
7480 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7482 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7484 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7485 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7486 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7487 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7489 (eww-bookmark-mode-map): Add menu.
7490 (eww-render, eww-mode): Use `setq-local'.
7491 (eww-tool-bar-map): New variable.
7492 (eww-mode): Set `tool-bar-map'.
7493 (eww-view-source): Check for `html-mode' with `fboundp'.
7495 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7497 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7498 elements with text inside. Also remove debugging.
7500 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7502 * cus-start.el (all): Add ns-use-srgb-colorspace.
7504 2013-12-21 Chong Yidong <cyd@gnu.org>
7506 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7507 undefined. Thus, theme settings for undefined faces do not take
7508 effect until the faces are defined with defface, the same as with
7511 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7512 (face-spec-reset-face): Don't assign extra properties in temacs.
7513 (face-spec-recalc): Apply X resources too.
7515 2013-12-21 Chong Yidong <cyd@gnu.org>
7517 * faces.el (face-spec-set):
7518 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7519 * custom.el (defface): Doc fixes (Bug#16203).
7521 * indent.el (indent-rigidly-map): Add docstring, and move commands
7522 into named functions.
7523 (indent-rigidly-left, indent-rigidly-right)
7524 (indent-rigidly-left-to-tab-stop)
7525 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7526 indentation direction based on bidi direction, and accumulate
7527 sequential commands in a single undo boundary.
7528 (indent-rigidly--pop-undo): New utility function.
7530 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7532 * faces.el (read-face-name): Require crm.el when using crm-separator.
7534 2013-12-20 Daniel Colascione <dancol@dancol.org>
7536 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7537 so that we don't reflow comments into the shebang line.
7539 2013-12-20 Juri Linkov <juri@jurta.org>
7541 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7542 a position when `dired-directory' is non-nil. Check integer
7543 positions with `integerp'.
7544 (toggle-save-place, save-places-to-alist): Add check for
7546 (save-place-find-file-hook): Check integer positions with
7548 (save-place-dired-hook): Use `dired-goto-file' when
7549 `dired-filename' is found in the assoc list. Check integer
7550 positions with `integerp'.
7551 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7553 * dired.el (dired-initial-position-hook): Rename back from
7554 `dired-initial-point-hook'.
7555 (dired-initial-position): Rename `dired-initial-point-hook' to
7556 `dired-initial-position-hook'.
7557 (dired-file-name-at-point): Doc fix. (Bug#15329)
7559 2013-12-20 Juri Linkov <juri@jurta.org>
7561 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7562 (read-regexp-suggestions): New function.
7563 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7564 Use `read-regexp-suggestions'. Add non-empty default to history
7566 (occur-read-regexp-defaults-function): Remove function.
7567 (occur-read-primary-args): Use `regexp-history-last' instead of
7568 `occur-read-regexp-defaults-function'.
7570 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7571 (hi-lock-line-face-buffer, hi-lock-face-buffer)
7572 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7573 `hi-lock-read-regexp-defaults-function'. Doc fix.
7574 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7575 with `find-tag-default-as-symbol-regexp'. Doc fix.
7576 (hi-lock-read-regexp-defaults): Remove function.
7577 (hi-lock-regexp-okay): Add check for null.
7579 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7580 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
7582 * subr.el (find-tag-default-as-symbol-regexp): New function.
7583 (find-tag-default-as-regexp): Move symbol regexp formatting to
7584 `find-tag-default-as-symbol-regexp'.
7586 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
7588 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7591 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7593 * calendar/todo-mode.el: New implementation of item insertion
7594 commands and key bindings.
7595 (todo-key-prompt): New face.
7596 (todo-insert-item): New command.
7597 (todo-insert-item--parameters): New defconst, replacing defvar
7598 todo-insertion-commands-args-genlist.
7599 (todo-insert-item--param-key-alist): New defconst, replacing
7600 defvar todo-insertion-commands-arg-key-list.
7601 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7602 (todo-insert-item--argsleft, todo-insert-item--apply-args)
7603 (todo-insert-item--next-param): New functions.
7604 (todo-insert-item--args, todo-insert-item--argleft)
7605 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7607 (todo-key-bindings-t): Change binding of "i" from
7608 todo-insertion-map to todo-insert-item.
7609 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7610 (todo-insertion-command-name, todo-insertion-commands-names)
7611 (todo-define-insertion-command, todo-insertion-commands)
7612 (todo-insertion-key-bindings, todo-insertion-map): Remove.
7614 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7616 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7617 (todo-toggle-item-highlighting): Use eval-and-compile instead of
7619 (todo-move-category): Allow choosing a non-existing todo file to
7620 move the category to, and create that file.
7621 (todo-default-priority): New user option.
7622 (todo-set-item-priority): Use it.
7623 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7624 (desktop-restore-file-buffer): Declare.
7625 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7626 (todo-modes-set-2): Locally set desktop-save-buffer to
7627 todo-desktop-save-buffer.
7628 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7629 (auto-mode-alist): Add autoload cookie.
7631 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
7633 * emacs-lisp/subr-x.el: Renamed from helpers.el.
7634 helpers.el was a poor choice of name.
7635 (string-remove-prefix): New function.
7636 (string-remove-suffix): New function.
7638 2013-12-20 Martin Rudalics <rudalics@gmx.at>
7640 Fix assignment for new window total sizes.
7641 * window.el (window--pixel-to-size): Remove function.
7642 (window--pixel-to-total-1, window--pixel-to-total):
7643 Fix calculation of new total sizes.
7645 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
7647 * comint.el (comint-output-filter): Fix rear-nonsticky property
7648 placement (Bug#16010).
7650 2013-12-20 Chong Yidong <cyd@gnu.org>
7652 * faces.el (read-color): Minor fix for completion function.
7654 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
7656 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7657 New option. (Bug#16182)
7658 (ruby-smie--indent-to-stmt-p): Use it.
7659 (ruby-smie-rules): Revert the logic in the handling of `when'.
7660 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7661 (ruby-deep-arglist, ruby-deep-indent-paren)
7662 (ruby-deep-indent-paren-style): Update docstrings to note that the
7663 vars don't have any effect with SMIE.
7665 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7667 * calc/calc.el (calc-enter, calc-pop): Use the variable
7668 `calc-context-sensitive-enter'.
7670 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672 * net/shr.el (shr-insert): Protect against infloops in degenerate
7675 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7677 * progmodes/octave.el (octave): Add link to manual and octave
7679 (octave-mode-menu): Link to octave-mode manual.
7681 2013-12-20 Leo Liu <sdl.web@gmail.com>
7683 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7684 insertion using skeleton-end-newline. (Bug#16138)
7686 2013-12-20 Juri Linkov <juri@jurta.org>
7688 * replace.el (occur-engine): Use `add-face-text-property'
7689 to add the face property to matches and titles. (Bug#14645)
7691 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7692 the palette of other hi-lock colors.
7693 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7695 2013-12-19 Juri Linkov <juri@jurta.org>
7697 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7698 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7699 (minibuffer-history-symbol): Move variable declaration closer to
7702 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7705 2013-12-19 Juri Linkov <juri@jurta.org>
7707 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7709 (log-edit-hook): Add it to :options. (Bug#16170)
7711 2013-12-19 Juri Linkov <juri@jurta.org>
7713 * simple.el (eval-expression-print-format): Don't check for
7714 command names and the last command. Always display additional
7715 formats of the integer result in the echo area, and insert them
7716 to the current buffer only with a zero prefix arg.
7717 Display character when char-displayable-p is non-nil.
7718 (eval-expression): With a zero prefix arg, set `print-length' and
7719 `print-level' to nil, and insert the integer values from
7720 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7722 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7723 `eval-last-sexp-arg-internal'. Doc fix.
7724 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7725 `eval-last-sexp-print-value'. Doc fix.
7726 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7727 Set `print-length' and `print-level' to nil when arg is zero.
7728 (eval-last-sexp): Doc fix.
7729 (eval-defun-2): Print the integer values from
7730 `eval-expression-print-format' at the end.
7732 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7733 values from `eval-expression-print-format' at the end.
7735 * ielm.el (ielm-eval-input): Print the integer
7736 values from `eval-expression-print-format' at the end.
7738 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7740 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7741 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7743 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7745 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7746 (hl-line-highlight, global-hl-line-highlight): Use it.
7747 (hl-line-overlay): Use defvar-local.
7749 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7751 * term/ns-win.el: Require dnd.
7752 (global-map): Remove drag items.
7753 (ns-insert-text, ns-set-foreground-at-mouse)
7754 (ns-set-background-at-mouse):
7755 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7756 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7759 2013-12-19 Glenn Morris <rgm@gnu.org>
7761 * emacs-lisp/ert.el (ert-select-tests):
7762 Fix string/symbol mixup. (Bug#16121)
7764 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7766 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7767 keywords to their parent.
7769 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7771 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7772 first arg to be a string (fixed dead code), or an operator symbol.
7773 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7775 (ruby-smie-rules): Remove parent token check in the `.' clause, it
7776 did nothing. Don't respond to `(:after ".")', it will be called
7777 with :before anyway. Remove the ` @ ' rule, it didn't seem to
7778 change anything. Only return indentation for binary operators
7779 when they are hanging. De-dent opening paren when its parent is
7780 `.', otherwise it looks bad when the dot is not at bol or eol
7783 2013-12-19 Juri Linkov <juri@jurta.org>
7785 * replace.el (query-replace-read-args): Split a non-negative arg
7786 and a negative arg into separate elements.
7787 (query-replace, query-replace-regexp, replace-string)
7788 (replace-regexp): Add arg `backward'. Doc fix.
7789 (replace-match-maybe-edit): When new arg `backward' is non-nil,
7790 move point to the beginning of the match.
7791 (replace-search, replace-highlight): Use new arg `backward'
7792 to set the value of `isearch-forward'.
7793 (perform-replace): Add arg `backward' and use it to perform
7794 replacement backward. (Bug#14979)
7796 * isearch.el (isearch-query-replace): Use a negative prefix arg
7797 to call `perform-replace' with a non-nil arg `backward'.
7799 2013-12-18 Juri Linkov <juri@jurta.org>
7801 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7802 to the default list. Move `log-edit-show-files' to the end.
7803 Add more available functions to options.
7804 (log-edit): Move default specific settings to
7805 `log-edit-insert-message-template'. Don't move point.
7806 (log-edit-insert-message-template): New function.
7807 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7810 2013-12-18 Juri Linkov <juri@jurta.org>
7812 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7813 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
7815 2013-12-18 Leo Liu <sdl.web@gmail.com>
7817 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7820 2013-12-18 Eli Zaretskii <eliz@gnu.org>
7822 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7823 formats for displaying file sizes when the -s switch is given.
7824 Instead, compute a separate format for displaying the size in
7825 blocks, which is displayed in addition to the "regular" size.
7826 When -h is given in addition to -s, produce size in blocks in
7827 human-readable form as well. (Bug#16179)
7829 2013-12-18 Tassilo Horn <tsdh@gnu.org>
7831 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7832 Reference tables with ~\ref{...} instead of only \ref{...}.
7834 2013-12-18 Chong Yidong <cyd@gnu.org>
7836 * cus-edit.el (custom-magic-alist): Fix "themed" description
7839 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7840 is non-nil, do not create a new entry in the symbol's theme-value
7841 or theme-face property; update theme-settings only (Bug#14664).
7842 (custom-available-themes): Doc fix.
7844 * cus-theme.el (custom-new-theme-mode-map): Add bindings
7847 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7849 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7851 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7854 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7856 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7858 2013-12-18 Glenn Morris <rgm@gnu.org>
7860 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7861 * cus-start.el (load-prefer-newer): New option.
7863 2013-12-18 Le Wang <l26wang@gmail.com>
7865 * comint.el (comint-previous-matching-input-from-input):
7866 Retain point (Bug#13404).
7868 2013-12-18 Chong Yidong <cyd@gnu.org>
7870 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7872 2013-12-18 Glenn Morris <rgm@gnu.org>
7874 * mail/emacsbug.el (report-emacs-bug):
7875 Only mention enable-multibyte-characters if non-standard.
7877 2013-12-17 Juri Linkov <juri@jurta.org>
7879 * arc-mode.el (archive-extract-by-file): Check if directory exists
7880 before deletion to not show irrelevant errors if it doesn't exist.
7882 2013-12-17 Juri Linkov <juri@jurta.org>
7884 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7887 * net/eww.el (browse-web): Add alias to `eww'.
7888 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7889 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
7891 * net/browse-url.el (browse-url-browser-function): Move `eww'
7892 closer to similar functions.
7894 * startup.el (fancy-startup-screen, fancy-about-screen):
7895 Set browse-url-browser-function to eww-browse-url locally.
7898 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7900 * window.el (window--pixel-to-total): Remove unused `mini' var.
7901 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7902 (split-window): Remove unused `new' var.
7903 (window--display-buffer): Remove unused `frame' and `delta' vars.
7904 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7907 2013-12-17 Martin Rudalics <rudalics@gmx.at>
7909 * dired.el (dired-mark-pop-up):
7910 * register.el (register-preview): Don't bind
7911 split-height-threshold here since it's now done in
7912 display-buffer-below-selected.
7914 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
7916 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7917 xterm-rgb-convert-to-16bit.
7918 (rxvt-register-default-colors): Standardize with
7919 xterm-register-default-colors (Bug#14078).
7921 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
7923 * simple.el (kill-region): Pass mark first, then point, so that
7924 kill-append works right (Bug#12819).
7925 (copy-region-as-kill, kill-ring-save): Likewise.
7927 2013-12-17 Leo Liu <sdl.web@gmail.com>
7929 * net/rcirc.el (rcirc-add-face):
7930 * eshell/em-prompt.el (eshell-emit-prompt):
7931 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7934 2013-12-17 Chong Yidong <cyd@gnu.org>
7936 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7937 Suggested by Xue Fuqiao.
7939 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7941 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7943 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7945 * net/shr.el (shr-insert-document): Remove unused var
7946 `shr-preliminary-table-render'.
7947 (shr-rescale-image): Remove unused arg `force'.
7948 (shr-put-image): Update calls accordingly.
7949 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7951 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7953 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7954 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7955 :close-all, to see which indentation method to use (Bug#16116).
7956 (smie-rules-function): Document the method :close-all.
7958 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7962 * net/eww.el (eww-display-html): If we can't find the anchor we're
7963 looking for, then go to point-min.
7965 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
7967 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7968 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7969 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7970 Expand dir too, in case it's relative.
7972 2013-12-16 Juri Linkov <juri@jurta.org>
7974 * desktop.el (desktop-auto-save-timeout): Change default to
7975 `auto-save-timeout'. Doc fix.
7976 (desktop-save): Skip the timestamp in desktop-saved-frameset
7977 when checking for auto-save changes.
7978 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7979 `desktop-auto-save' is called repeatedly by the idle timer.
7980 (desktop-auto-save-set-timer): Replace `run-with-timer' with
7981 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
7984 2013-12-16 Juri Linkov <juri@jurta.org>
7986 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7988 (isearch-pre-command-hook): Check `this-command' for symbolp.
7990 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7994 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
7996 * progmodes/cfengine.el (cfengine3--current-word): Remove.
7997 (cfengine3--current-function): Bring in the current-function
7998 functionality from `cfengine3--current-word'.
7999 (cfengine3-completion-function): Bring in the
8000 bounds-of-current-word functionality from
8001 `cfengine3--current-word'.
8003 2013-12-16 Martin Rudalics <rudalics@gmx.at>
8005 * window.el (display-buffer-below-selected):
8006 Bind split-height-threshold to 0 as suggested by Juri Linkov.
8008 2013-12-16 Leo Liu <sdl.web@gmail.com>
8010 * progmodes/compile.el (compile-goto-error): Do not push-mark.
8011 Remove NOMSG arg and all uses changed.
8013 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
8016 (cua--deactivate-rectangle): Don't deactivate the mark.
8017 (cua-set-rectangle-mark): Don't set mark-active since
8018 cua--activate-rectangle already does it for us.
8019 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
8020 non-rectangular region.
8022 * emulation/cua-base.el (cua-repeat-replace-region):
8023 Use with-current-buffer.
8025 * net/gnutls.el: Use cl-lib.
8026 (gnutls-negotiate): `mapcan' -> cl-mapcan.
8028 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8030 * emacs-lisp/package.el (package-built-in-p): Support both
8031 built-in and the package.el converted package descriptions.
8032 (package-show-package-list): Allow keywords.
8033 (package-keyword-button-action): Use it instead of
8034 `finder-list-matches'.
8035 (package-menu-filter-interactive): Interactive filtering (by
8037 (package-menu--generate): Support keywords and change keymappings
8038 and headers when they are given.
8039 (package--has-keyword-p): Helper function.
8040 (package-menu--refresh): Use it.
8041 (package--mapc): Helper function.
8042 (package-all-keywords): Use it.
8043 (package-menu-mode-map): Set up menu items and keybindings to
8044 provide a filtering UI.
8046 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8048 * net/gnutls.el (gnutls-verify-error): New defcustom to control
8049 the behavior when a certificate fails validation. Defaults to
8050 old behavior: never abort, just warn.
8051 (gnutls-negotiate): Use it.
8053 2013-12-14 Martin Rudalics <rudalics@gmx.at>
8055 * window.el (display-buffer-below-selected): Never split window
8056 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
8058 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
8060 * emacs-lisp/package.el (package--prepare-dependencies): New function.
8061 (package-buffer-info): Use it (bug#15108).
8063 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
8065 * icomplete.el (icomplete-completions): Make sure the prefix is already
8066 displayed elsewhere before hiding it (bug#16219).
8068 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
8070 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
8071 open-paren tokens when preceded by a open-paren, too.
8072 (ruby-smie-rules): Handle virtual indentation after open-paren
8073 tokens specially. If there is code between it and eol, return the
8074 column where is starts (Bug#16118).
8076 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8078 * progmodes/cfengine.el: Fix `add-hook' doc.
8079 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
8080 (cfengine3--current-word): Fix parameters.
8081 (cfengine3-make-syntax-cache): Simplify further.
8082 (cfengine3-completion-function, cfengine3--current-function):
8083 Use `assq' for symbols.
8084 (cfengine3--current-function): Fix `cfengine3--current-word' call.
8086 2013-12-13 Glenn Morris <rgm@gnu.org>
8088 * loadup.el (load-path): Warn if site-load or site-init changes it.
8089 No more need to reset it when bootstrapping.
8091 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8093 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
8094 locations for cf-promises.
8095 (cfengine-mode-syntax-functions-regex): New caching variable.
8096 (cfengine3-fallback-syntax): Fallback syntax for cases where
8097 cf-promises doesn't run.
8098 (cfengine3--current-word): Reimplement using
8099 `cfengine-mode-syntax-functions-regex'.
8100 (cfengine3-completion-function, cfengine3--current-function):
8101 Use `cfengine3-make-syntax-cache' directly.
8102 (cfengine3-clear-syntax-cache): New function.
8103 (cfengine3-make-syntax-cache): Simplify and create
8104 `cfengine-mode-syntax-functions-regex' on demand.
8105 (cfengine3-format-function-docstring): Don't call
8106 `cfengine3-make-syntax-cache' explicitly.
8108 2013-12-13 Martin Rudalics <rudalics@gmx.at>
8110 Fix windmove-find-other-window broken after pixelwise resizing
8112 * windmove.el (windmove-other-window-loc): Revert change from
8114 (windmove-find-other-window): Call window-in-direction.
8115 * window.el (window-in-direction): New arguments SIGN, WRAP and
8116 MINI to emulate original windmove-find-other-window behavior.
8118 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
8120 * simple.el (blink-matching--overlay): New variable.
8121 (blink-matching-open): Instead of moving point, highlight the
8122 matching paren with an overlay
8123 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
8125 * faces.el (paren-showing-faces, show-paren-match)
8126 (show-paren-mismatch): Move from paren.el.
8128 2013-12-13 Leo Liu <sdl.web@gmail.com>
8130 * indent.el (indent-region): Disable progress reporter in
8131 minibuffer. (Bug#16108)
8133 * bindings.el (visual-order-cursor-movement): Fix version.
8135 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8137 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
8138 Also match after beginning of line.
8139 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
8140 files. Thanks to Russell Sim. (Bug#15378)
8142 2013-12-13 Juri Linkov <juri@jurta.org>
8144 * simple.el <Keypad support>: Remove key bindings duplicated
8145 with bindings.el. (Bug#14397)
8147 2013-12-13 Juri Linkov <juri@jurta.org>
8149 * comint.el (comint-mode-map): Replace `delete-char' with
8150 `delete-forward-char'. (Bug#16109)
8152 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8154 * progmodes/python.el (python-indent-calculate-indentation):
8155 Fix de-denters cornercase. (Bug#15731)
8157 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8159 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
8160 (advice--make): Pay attention to `depth'.
8161 (advice--make-1): Don't autoload commands eagerly.
8162 * emacs-lisp/elp.el (elp-instrument-function):
8163 * emacs-lisp/trace.el (trace-function-internal):
8164 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
8166 * iswitchb.el (iswitchb-mode): Don't belittle ido.
8168 2013-12-12 Eli Zaretskii <eliz@gnu.org>
8170 * term/w32-win.el (w32-handle-dropped-file):
8171 * startup.el (normal-top-level):
8172 * net/browse-url.el (browse-url-file-url):
8173 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
8174 decode file names using 'utf-8' rather than
8175 file-name-coding-system.
8177 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8179 * progmodes/python.el (python-indent-context)
8180 (python-indent-calculate-indentation): Fix auto-identation
8181 behavior for comment blocks. (Bug#15916)
8183 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8185 * progmodes/python.el (python-indent-calculate-indentation):
8186 When determining indentation, don't treat "return", "pass", etc., as
8187 operators when they are just string constituents. (Bug#15812)
8189 2013-12-12 Juri Linkov <juri@jurta.org>
8191 * uniquify.el (uniquify-buffer-name-style): Change default to
8192 `post-forward-angle-brackets'.
8194 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
8195 `uniquify'. Change default to `post-forward-angle-brackets'.
8197 2013-12-11 Glenn Morris <rgm@gnu.org>
8199 * emacs-lisp/package.el (finder-list-matches):
8200 Autoload rather than falsely declaring.
8202 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8204 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
8205 (eww-mode-map): Use them.
8207 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8209 * window.el (display-buffer-in-side-window): Fix doc-string
8212 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
8214 * vc/vc-git.el: Silence byte-compiler warnings.
8215 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
8216 (log-edit-set-header): Declare.
8218 2013-12-11 Eli Zaretskii <eliz@gnu.org>
8220 * Makefile.in (custom-deps, finder-data): Run output file names
8221 through unmsys--file-name. (Bug#16099)
8223 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8225 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8226 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8228 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8229 instead of deleting the selection "by hand" (bug#16098).
8230 Rely on insert-for-yank to yank rectangles.
8231 (cua-highlight-region-shift-only): Mark obsolete.
8232 (cua-mode): Don't enable/disable transient-mark-mode,
8233 shift-select-mode (cua-mode works both with and without them), and
8234 pc-selection-mode (obsolete).
8235 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8236 (cua--deactivate-rectangle): Deactivate it.
8238 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8239 (delete-selection-helper): Make sure yank starts at the top of the
8241 (minibuffer-keyboard-quit): Use region-active-p.
8243 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8245 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8246 to `delete' (bug#16109).
8248 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8250 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8251 info manual and show keybindings and set `:group' keyword.
8253 2013-12-11 Juri Linkov <juri@jurta.org>
8255 * delsel.el (delete-active-region): Let-bind `this-command'
8256 to prevent `kill-region' from changing its original value.
8257 (delete-selection-helper): Handle `overwrite-mode' for the type
8258 `kill' exactly the same way as for the type `t'.
8259 (insert-char, quoted-insert, reindent-then-newline-and-indent):
8260 Support more commands. (Bug#13312)
8262 2013-12-11 Juri Linkov <juri@jurta.org>
8264 * bindings.el: Map kp keys to non-kp keys systematically
8265 with basic modifiers control, meta and shift. (Bug#14397)
8267 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8269 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8270 "Close browser" menu items. Fix wrong function of "List
8273 2013-12-11 Juri Linkov <juri@jurta.org>
8275 * misearch.el (multi-isearch-buffers): Set the value of
8276 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8277 arg of isearch-forward to t.
8278 (multi-isearch-buffers-regexp): Set the value of
8279 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8280 arg of isearch-forward-regexp to t.
8281 (multi-isearch-files): Set the value of
8282 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8283 arg of isearch-forward to t.
8284 (multi-isearch-files-regexp): Set the value of
8285 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8286 arg of isearch-forward-regexp to t. (Bug#16035)
8288 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8289 arg of isearch-forward to t.
8290 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8291 arg of isearch-forward-regexp to t.
8292 (dired-isearch-filter-filenames): Remove unnecessary check for
8293 `dired-isearch-filenames'.
8295 * comint.el (comint-history-isearch-backward):
8296 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8297 (comint-history-isearch-backward-regexp):
8298 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8300 2013-12-10 Eli Zaretskii <eliz@gnu.org>
8302 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8303 unmsys--file-name. (Bug#16099)
8305 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
8307 * emacs-lisp/package.el (package-keyword-button-action):
8308 Remove finder.el require dependency.
8310 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
8312 * emacs-lisp/package.el: Require finder.el.
8313 (describe-package-1): Add keyword buttons.
8314 (package-make-button): New convenience function.
8315 (package-keyword-button-action): Keyword button action using
8316 `finder-list-matches'.
8318 2013-12-09 Eli Zaretskii <eliz@gnu.org>
8320 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8323 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
8325 * autorevert.el (auto-revert-notify-add-watch): Do not handle
8328 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8330 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8331 after the end of a percent literal.
8333 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
8335 * progmodes/ruby-mode.el (ruby-forward-string): Document.
8336 Handle caret-delimited strings (Bug#16079).
8338 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8340 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8341 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8342 `ruby-parse-partial' (Bug#16078).
8344 2013-12-09 Leo Liu <sdl.web@gmail.com>
8346 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
8348 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
8350 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8351 (js-switch-indent-offset): New option.
8352 (js--proper-indentation): Use it. And handle the case when
8353 "default" is actually a key in an object literal.
8354 (js--same-line): New function.
8355 (js--multi-line-declaration-indentation): Use it.
8356 (js--indent-in-array-comp, js--array-comp-indentation):
8358 (js--proper-indentation): Use them, to handle array comprehension
8361 2013-12-08 Leo Liu <sdl.web@gmail.com>
8363 * progmodes/flymake.el (flymake-highlight-line): Re-write.
8364 (flymake-make-overlay): Remove arg MOUSE-FACE.
8365 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8367 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8369 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8371 (redisplay-highlight-region-function): Use it.
8373 * emulation/cua-base.el (cua--explicit-region-start)
8374 (cua--last-region-shifted): Remove.
8375 (cua--deactivate): Use deactivate-mark.
8376 (cua--pre-command-handler-1): Don't handle shift-selection.
8377 (cua--post-command-handler-1): Don't change transient-mark-mode.
8378 (cua--select-keymaps): Use region-active-p rather than
8379 cua--explicit-region-start or cua--last-region-shifted.
8380 (cua-mode): Enable shift-select-mode.
8382 2013-12-08 Leo Liu <sdl.web@gmail.com>
8384 * progmodes/flymake.el (flymake-popup-current-error-menu):
8385 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8386 (flymake-posn-at-point-as-event, flymake-popup-menu)
8387 (flymake-make-emacs-menu): Remove. (Bug#16077)
8389 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8391 * rect.el (rectangle-mark-mode): Activate mark even if
8392 transient-mark-mode is off (bug#16066).
8393 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8394 is > mark and at bolp.
8396 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8397 (region-extract-function): Use it.
8398 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8399 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8401 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8402 kill-ring-save, kill-region, delete-char, delete-forward-char.
8403 Ignore self-insert-iso.
8405 * emulation/cua-gmrk.el (cua--init-global-mark):
8406 Ignore `self-insert-iso'.
8408 * emulation/cua-base.el (cua--prefix-copy-handler)
8409 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8410 checking cua--rectangle.
8411 (cua-delete-region): Use region-extract-function.
8412 (cua-replace-region): Delete function.
8413 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8414 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8415 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8416 (cua--init-keymaps): Don't remap delete-selection commands.
8417 (cua-mode): Use delete-selection-mode instead of rolling our own
8420 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8421 Obey region-extract-function.
8423 Make registers and delete-selection-mode work on rectangles.
8424 * register.el (describe-register-1): Don't modify the register's value.
8425 (copy-to-register): Obey region-extract-function.
8426 * delsel.el (delete-active-region): Obey region-extract-function.
8428 2013-12-08 Leo Liu <sdl.web@gmail.com>
8430 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8431 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8432 (flymake-compilation-prevents-syntax-check)
8433 (flymake-start-syntax-check-on-newline)
8434 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8435 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8436 (flymake-xml-program, flymake-master-file-dirs)
8437 (flymake-master-file-count-limit)
8438 (flymake-allowed-file-name-masks): Relocate.
8439 (flymake-makehash, flymake-float-time)
8440 (flymake-replace-regexp-in-string, flymake-split-string)
8441 (flymake-get-temp-dir): Remove.
8442 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8443 (flymake-current-row, flymake-selected-frame)
8444 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8445 related functions. (Bug#16077)
8447 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8449 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8451 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8453 * help-fns.el (describe-function-1): Use new advice-* functions
8454 rather than old ad-* functions. Fix function type description and
8455 source links for advised functions and subrs.
8457 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8459 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8461 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8463 * progmodes/compile.el (compilation-start):
8464 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8466 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8467 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8469 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8471 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8472 Touch up the last change.
8474 2013-12-06 Leo Liu <sdl.web@gmail.com>
8476 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8477 (inferior-octave-startup): Always use "octave> " for prompt.
8478 (octave-goto-function-definition)
8479 (octave-sync-function-file-names)
8480 (octave-find-definition-default-filename): Remove redundant backquotes.
8482 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8484 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8486 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8487 where appropriate already.
8488 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8489 end of method names (Bug#15874).
8491 2013-12-06 Juri Linkov <juri@jurta.org>
8493 * isearch.el (isearch--saved-overriding-local-map):
8494 New internal variable.
8495 (isearch-mode): Set it to the initial value of
8496 `overriding-terminal-local-map'.
8497 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8498 with `isearch--saved-overriding-local-map'. (Bug#16035)
8500 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8502 * progmodes/octave.el (inferior-octave-completion-table):
8503 Turn back into function, use `completion-table-with-cache'
8504 (Bug#11906). Update all references.
8506 * minibuffer.el (completion-table-with-cache): New function.
8508 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8510 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8512 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8514 * net/eww.el (eww-current-source): New variable to store page
8516 (eww-display-html, eww-mode, eww-save-history)
8517 (eww-restore-history): Use it.
8518 (eww-view-source): New command to view page source.
8519 Opportunistically uses `html-mode' to highlight the buffer.
8520 (eww-mode-map): Install it.
8522 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8524 * net/dbus.el (dbus-unregister-service)
8525 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8527 (dbus-unregister-service): Skip :serial entries in
8528 `dbus-registered-objects-table'.
8529 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8531 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8533 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8534 around keywords with extra `split-string' argument.
8536 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8538 * windmove.el (windmove-other-window-loc): Handle navigation
8539 between windows (excluding the minibuffer window - Bug#16017).
8541 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8543 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8544 in D-Bus type syntax.
8545 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8546 preserve unibyte strings. (Bug#16048)
8548 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8551 Call force-mode-line-update is the proper buffer (bug#16042).
8553 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8555 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8556 `log-edit-remember-comment', make argument optional. Adjust all
8558 (log-edit-mode): Add `log-edit-remember-comment' to
8559 `kill-buffer-hook' locally.
8560 (log-edit-kill-buffer): Don't remember comment explicitly since
8561 the buffer is killed anyway.
8563 2013-12-04 Juri Linkov <juri@jurta.org>
8565 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8566 add-hook and remove-hook for multi-buffer search. (Bug#16035)
8568 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
8570 * notifications.el (notifications-close-notification): Call the
8571 D-Bus method with ID being a `:uint32'. (Bug#16030)
8573 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
8575 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8577 2013-12-03 Juri Linkov <juri@jurta.org>
8579 * progmodes/compile.el (compilation-start): Rename window alist
8580 entry `no-display-ok' to `allow-no-window'.
8582 * simple.el (shell-command): Add window alist entry
8583 `allow-no-window' to `display-buffer'.
8584 (async-shell-command): Doc fix.
8586 * window.el (display-buffer-no-window): New action function.
8587 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
8589 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8591 * vc/log-edit.el (log-edit-set-header): Extract from
8592 `log-edit-toggle-header'.
8593 (log-edit-extract-headers): Separate the summary, when extracted
8594 from header, from the rest of the message with an empty line.
8596 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8597 line, if present, to the Summary header.
8599 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8601 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8602 in current-buffer (bug#16029).
8604 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
8606 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8607 (debugger-mode-map): Bind it.
8608 (debugger--backtrace-base): New function.
8609 (debugger-eval-expression): Use it.
8610 (debugger-frame-number): Skip local vars when present.
8611 (debugger--locals-visible-p, debugger--insert-locals)
8612 (debugger--show-locals, debugger--hide-locals): New functions.
8614 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
8616 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8618 (tramp-get-remote-locale): New defun.
8619 (tramp-open-connection-setup-interactive-shell): Use it.
8621 2013-12-02 Leo Liu <sdl.web@gmail.com>
8623 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
8625 * progmodes/sh-script.el (sh-shell-process):
8626 * progmodes/octave.el (inferior-octave-process-live-p):
8627 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8628 (gdb-inferior-io-sentinel):
8629 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8631 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8633 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8634 `save-selected-window' to `log-edit-hide-buf'. This makes
8635 `log-edit-show-files' idempotent.
8636 (log-edit-show-files): Mark the new window as dedicated.
8638 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8640 * vc/log-edit.el (log-edit-mode-map): Add binding for
8641 `log-edit-kill-biffer'.
8642 (log-edit-hide-buf): Add a FIXME comment.
8643 (log-edit-add-new-comment): New function, extracted from
8645 (log-edit-done, log-edit-add-to-changelog): Use it.
8646 (log-edit-kill-buffer): New command.
8648 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8650 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8651 instead of killing the buffer.
8653 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8655 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8657 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8659 * net/eww.el (eww-form-checkbox-selected-symbol)
8660 (eww-form-checkbox-symbol): New customizable variable.
8661 (eww-form-checkbox, eww-toggle-checkbox):
8662 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8664 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8665 (shr--get-media-pref, shr--extract-best-source): New function.
8666 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8667 no :src tag was specified.
8669 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8670 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8671 Use \\` to match beginning of string instead of ^.
8672 (eww-browse-with-external-browser): Provide optional URL parameter.
8673 (eww-render): Set `eww-current-title' back to "".
8675 * net/shr.el (shr-tag-video): Display content for video if no
8676 poster is available.
8677 (shr-tag-audio): Add support for <audio> tag.
8679 * net/eww.el (eww-text-input-types): New const.
8680 (eww-process-text-input): Treat input types in
8681 `eww-text-input-types' as text.
8683 * net/shr.el (shr-tag-table): Fix comment typo.
8685 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8687 * net/eww.el (eww-follow-link): New command to avoid reloading
8688 pages when we follow #target links (bug#15243).
8689 (eww-quit): Special mode buffers shouldn't query before exiting.
8691 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8693 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8696 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8698 * net/eww.el (eww-restore-history): Update the window title after
8699 moving in the history.
8700 (eww-current-dom): New variable used to save the current DOM.
8702 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8704 * vc/log-edit.el (log-edit-mode-map): Add binding for
8705 `log-edit-beginning-of-line'.
8706 (log-edit-setup-add-author): New user option.
8707 (log-edit-beginning-of-line): New command.
8708 (log-edit): Move major mode call above the contents setup so that
8709 the local variable values are already applied.
8710 (log-edit): Only insert "Author: " when
8711 `log-edit-setup-add-author' is non-nil.
8712 (log-edit): When SETUP is non-nil, position point after ": "
8713 instead of point-min.
8715 2013-12-01 Glenn Morris <rgm@gnu.org>
8717 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8719 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8721 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8722 redisplay to make sure the initial frame gets a chance to become
8723 visible. (Bug#16014)
8725 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8727 Support resizing frames and windows pixelwise.
8728 * cus-start.el (frame-resize-pixelwise)
8729 (window-resize-pixelwise): New entries.
8730 * emacs-lisp/debug.el (debug): Use window-total-height instead
8731 of window-total-size.
8732 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8733 * help.el (describe-bindings-internal): Use help-buffer as
8734 argument for with-help-window.
8735 (temp-buffer-max-width): New option.
8736 (resize-temp-buffer-window, help-window-setup)
8737 (with-help-window): Rewrite.
8738 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8740 * window.el (frame-char-size, window-min-pixel-height)
8741 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8742 (window-min-pixel-width, window-safe-min-pixel-size)
8743 (window-combination-p, window-safe-min-size)
8744 (window-resizable-p, window--size-to-pixel)
8745 (window--pixel-to-size, window--resize-apply-p): New functions.
8746 (window-safe-min-height): Fix doc-string.
8747 (window-size, window-min-size, window--min-size-1)
8748 (window-sizable, window-sizable-p, window--min-delta-1)
8749 (window-min-delta, window--max-delta-1, window-max-delta)
8750 (window--resizable, window--resizable-p, window-resizable)
8751 (window-full-height-p, window-full-width-p, window-at-side-p)
8752 (window--in-direction-2, window-in-direction)
8753 (window--resize-reset-1, window--resize-mini-window)
8754 (window-resize, window-resize-no-error)
8755 (window--resize-child-windows-normal)
8756 (window--resize-child-windows, window--resize-siblings)
8757 (window--resize-this-window, window--resize-root-window)
8758 (window--resize-root-window-vertically)
8759 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8760 (maximize-window, minimize-window, delete-window)
8761 (quit-restore-window, window-split-min-size, split-window)
8762 (balance-windows-2, balance-windows)
8763 (balance-windows-area-adjust, balance-windows-area)
8764 (window--state-get-1, window-state-get, window--state-put-1)
8765 (window--state-put-2, window-state-put)
8766 (display-buffer-record-window, window--display-buffer):
8767 Make functions handle pixelwise sizing of windows.
8768 (display-buffer--action-function-custom-type)
8769 (display-buffer-fallback-action):
8770 Add display-buffer-in-previous-window.
8771 (display-buffer-use-some-window): Resize window to height it had
8773 (fit-window-to-buffer-horizontally): New option.
8774 (fit-frame-to-buffer): Describe new values.
8775 (fit-frame-to-buffer-bottom-margin): Replace with
8776 fit-frame-to-buffer-margins.
8777 (window--sanitize-margin): New function.
8778 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8779 using window-text-pixel-size.
8781 2013-11-30 Glenn Morris <rgm@gnu.org>
8783 * emacs-lisp/bytecomp.el (byte-compile-form):
8784 Make the `interactive-only' warning like the `obsolete' one.
8785 * comint.el (comint-run):
8786 * files.el (insert-file-literally, insert-file):
8787 * replace.el (replace-string, replace-regexp):
8788 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8789 (goto-line, insert-buffer, next-line, previous-line):
8790 Tweak `interactive-only' spec.
8792 Stop keeping (most) generated cedet grammar files in the repository.
8793 * Makefile.in (semantic): New.
8794 (compile-main): Depend on semantic.
8796 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8799 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8801 * uniquify.el (uniquify-buffer-name-style): Change default.
8803 * loadup.el: Preload "uniquify".
8805 * time.el (display-time-update): Update all mode lines (bug#15999).
8807 * electric.el (electric-indent-mode): Enable by default.
8808 * loadup.el: Preload "electric".
8810 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
8812 * emacs-lisp/helpers.el (string-empty-p): New function.
8813 (string-blank-p): New function.
8815 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
8817 * imenu.el (imenu--index-alist): Add missing dot to the docstring
8820 2013-11-29 Andreas Politz <politza@fh-trier.de>
8821 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8822 allow non-lambda lists as functions.
8823 (imenu--in-alist): Don't recurse into non-subalists.
8824 (imenu): Don't pass function itself as an argument (Bug#14029).
8826 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * progmodes/python.el (python-mode-map): Remove binding for ":".
8829 (python-indent-electric-colon): Remove command.
8830 (python-indent-post-self-insert-function): Integrate the previous code
8831 of python-indent-electric-colon. Make it conditional on
8832 electric-indent-mode.
8833 (python-mode): Add ?: to electric-indent-chars.
8834 Move python-indent-post-self-insert-function to the end of
8835 post-self-insert-hook.
8837 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * doc-view.el (doc-view-goto-page): Update mode-line.
8841 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8843 2013-11-27 Glenn Morris <rgm@gnu.org>
8845 * international/charprop.el, international/uni-bidi.el:
8846 * international/uni-category.el, international/uni-combining.el:
8847 * international/uni-comment.el, international/uni-decimal.el:
8848 * international/uni-decomposition.el, international/uni-digit.el:
8849 * international/uni-lowercase.el, international/uni-mirrored.el:
8850 * international/uni-name.el, international/uni-numeric.el:
8851 * international/uni-old-name.el, international/uni-titlecase.el:
8852 * international/uni-uppercase.el:
8853 Remove generated files from VCS repository.
8855 2013-11-27 Eli Zaretskii <eliz@gnu.org>
8857 * filenotify.el (file-notify-add-watch): Don't special-case
8858 w32notify when computing the directory to watch.
8860 2013-11-27 Glenn Morris <rgm@gnu.org>
8862 Make bootstrap without generated uni-*.el files possible again.
8863 * loadup.el: Update command-line-args checking for unidata-gen.
8864 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8865 * composite.el, international/characters.el:
8866 Handle unicode tables being undefined.
8868 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8869 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8870 (compile-main): Depend on leim rule.
8872 * loadup.el: Move leim-list.el to leim/ subdirectory.
8873 * startup.el (normal-top-level): No more leim directory.
8874 * international/ja-dic-cnv.el (skkdic-convert):
8875 Disable version-control and autoloads in output files.
8876 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8877 Disable version-control and autoloads in output files.
8878 * leim/quail: Move here from ../leim.
8879 * leim/quail/hangul.el (hangul-input-method-activate):
8880 Add autoload cookie.
8881 (generated-autoload-load-name): Set file-local value.
8882 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8883 (generated-autoload-load-name): Set file-local value.
8885 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
8887 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8888 (eww-add-bookmark): Ask confirmation when add to bookmarks.
8889 (eww-quit): Ask confirmation before quitting eww.
8891 2013-11-26 Eli Zaretskii <eliz@gnu.org>
8893 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8894 reading output from Diff on MS-Windows and MS-DOS.
8896 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
8898 * emacs-lisp/helpers.el (string-reverse): New function.
8900 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
8902 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8903 names on MS Windows, like "/[::1]:".
8905 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8908 2013-11-26 Glenn Morris <rgm@gnu.org>
8910 * progmodes/python.el (python-indent-guess-indent-offset):
8911 Avoid corner-case error. (Bug#15975)
8913 Preload leim-list.el. (Bug#4789)
8914 * loadup.el: Load leim-list.el when found.
8915 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8917 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
8919 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8921 * emacs-lisp/helpers.el (string-join): New function.
8923 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
8925 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8926 Mark as obsolete and replace it with a symbol property.
8927 (byte-compile-form): Use new 'interactive-only property.
8928 * comint.el, files.el, replace.el, simple.el:
8929 Apply new 'interactive-only properly.
8931 2013-11-25 Martin Rudalics <rudalics@gmx.at>
8933 * window.el (display-buffer-at-bottom): Make sure that
8934 split-window-sensibly creates the new window on bottom
8937 2013-11-23 David Kastrup <dak@gnu.org>
8939 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8940 on the conflict markers when available.
8941 (smerge--get-marker): New function.
8942 (smerge-end-re, smerge-base-re): Add subgroup.
8944 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8946 * frame.el (handle-focus-in, handle-focus-out): Add missing
8949 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
8951 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8952 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8954 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
8957 (gomoku--last-pos): New var.
8958 (gomoku--intangible-chars): New const.
8959 (gomoku--intangible): New function.
8960 (gomoku-mode): Use it. Derive from special-mode.
8961 (gomoku-move-up): Adjust line count.
8962 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8963 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8964 Simplify accordingly.
8966 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8967 Remove blink-cursor code.
8968 (blink-cursor-timer-function, blink-cursor-suspend):
8969 Don't special-case GUIs.
8970 (blink-cursor-mode): Use focus-in/out-hook.
8972 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
8974 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8975 work when annotation is invisible (Bug#13886).
8977 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
8979 * json.el (json-alist-p): Only return non-nil if the alist has
8980 simple keys (Bug#13518).
8982 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
8984 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8985 when control-statement is the first statement in a buffer (Bug#15956).
8987 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
8989 * imenu.el (imenu-generic-skip-comments-and-strings):
8990 New option (Bug#15560).
8991 (imenu--generic-function): Use it.
8993 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
8995 * minibuffer.el (completion--in-region-1): Scroll the correct window.
8998 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
9000 * emacs-lisp/helpers.el: Add some string helpers.
9001 (string-trim-left): Removes leading whitespace.
9002 (string-trim-right): Removes trailing whitespace.
9003 (string-trim): Removes leading and trailing whitespace.
9005 * subr.el (string-suffix-p): New function.
9007 2013-11-23 Glenn Morris <rgm@gnu.org>
9009 * progmodes/python.el (python-shell-send-file):
9010 Add option to delete file when done. (Bug#15647)
9011 (python-shell-send-string, python-shell-send-region): Use it.
9013 2013-11-23 Ivan Shmakov <ivan@siamics.net>
9015 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
9016 to set buffer-read-only to t, never to nil. (Bug#15938)
9018 * textmodes/tex-mode.el (latex-noindent-environments):
9019 Add safe-local-variable property. (Bug#15936)
9021 2013-11-23 Glenn Morris <rgm@gnu.org>
9023 * textmodes/enriched.el (enriched-mode): Doc fix.
9024 * emacs-lisp/authors.el (authors-renamed-files-alist):
9025 Add enriched.doc -> enriched.txt.
9027 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
9029 2013-11-22 Leo Liu <sdl.web@gmail.com>
9031 * progmodes/octave.el (inferior-octave-startup): Spit out error
9034 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
9036 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9039 (ruby-encoding-magic-comment-style): Add :version.
9041 2013-11-22 Leo Liu <sdl.web@gmail.com>
9043 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
9045 (octave-help-mode): Adapt to change to help-mode-finish to use
9046 derived-mode-p on 2013-09-17.
9047 (inferior-octave-prompt): Also match octave-gui.
9048 (octave-kill-process): Don't ask twice. (Bug#10564)
9050 2013-11-22 Leo Liu <sdl.web@gmail.com>
9052 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
9053 (inferior-octave-startup, inferior-octave-check-process)
9054 (inferior-octave-track-window-width-change)
9055 (octave-completion-at-point, octave-eldoc-function): Use it.
9056 (octave-kill-process): Provide confirmation. (Bug#10564)
9058 2013-11-21 Leo Liu <sdl.web@gmail.com>
9060 * progmodes/octave.el (octave-mode, inferior-octave-mode):
9061 Fix obsolete variable comment-use-global-state.
9063 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9065 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
9066 Add `octave-source-file'.
9067 (octave-source-file): New function. (Bug#15935)
9069 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
9071 * net/eww.el (eww-local-regex): New variable.
9072 (eww): Use it to detect localhost and similar.
9074 2013-11-21 Leo Liu <sdl.web@gmail.com>
9076 Add completion for command `ag'.
9077 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
9078 (pcomplete/ag): New function.
9079 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
9081 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
9085 (make-obsolete): Remove interactive spec.
9087 2013-11-21 Glenn Morris <rgm@gnu.org>
9089 * startup.el (command-line-1): Use path-separator with -L.
9091 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
9093 * emacs-lisp/package.el (describe-package-1): Add package archive
9096 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
9098 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9099 Change default to "# encoding: %s" to differentiate it from the
9100 default Ruby encoding comment template.
9102 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
9104 * ses.el (ses-mode): Doc fix. (Bug#14748)
9106 2013-11-20 Leo Liu <sdl.web@gmail.com>
9108 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
9110 2013-11-19 Dan Nicolaescu <dann@gnu.org>
9112 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
9113 when rebase or bisect are in progress.
9115 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
9117 * filenotify.el (file-notify-add-watch): Doc fix.
9119 2013-11-19 Leo Liu <sdl.web@gmail.com>
9121 * obsolete/rcompile.el: Mark obsolete.
9123 * progmodes/compile.el (compilation-start)
9124 (compilation-goto-locus, compilation-find-file):
9125 Pass no-display-ok and handle nil value from display-buffer.
9128 * window.el (display-buffer-alist, display-buffer): Document the
9129 new parameter no-display-ok. Return either a window or nil
9130 but never a non-window value.
9132 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9134 * electric.el (electric-indent-mode-map): Remove.
9135 (electric-indent-mode): Change the global-map instead (bug#15915).
9137 * textmodes/text-mode.el (paragraph-indent-minor-mode):
9140 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
9142 * emacs-lisp/nadvice.el (remove-function): Align with
9143 add-function's behavior.
9145 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
9146 (gdb--string-regexp): New constant.
9147 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
9148 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
9149 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
9151 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
9152 Adjust use accordingly.
9153 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
9155 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
9157 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
9158 interpolation curlies (Bug#15914).
9160 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
9162 * calc/calc.el (calc-context-sensitive-enter): New variable.
9163 (calc-enter): Use `calc-context-sensitive-enter'.
9165 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
9167 * progmodes/cfengine.el: Version bump.
9168 (cfengine-cf-promises): New defcustom to locate cf-promises.
9169 (cfengine3-vartypes): Add new "data" type.
9170 (cfengine3--current-word): New function to get current name-like
9172 (cfengine3--current-function): New function to look up a CFEngine
9173 function's definition.
9174 (cfengine3-format-function-docstring): New function.
9175 (cfengine3-make-syntax-cache): New function.
9176 (cfengine3-documentation-function): New function: ElDoc glue.
9177 (cfengine3-completion-function): New function: completion glue.
9178 (cfengine3-mode): Set `compile-command',
9179 `eldoc-documentation-function', and add to
9180 `completion-at-point-functions'.
9182 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
9184 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9185 `tramp-current-connection'.
9187 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
9189 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
9190 nil/self/true/false with "end of symbol".
9192 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
9194 * subr.el (version-regexp-alist): Fix a typo.
9196 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
9198 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
9199 "en_US.utf8" and "LC_CTYPE" to "".
9200 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
9201 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
9203 2013-11-15 Leo Liu <sdl.web@gmail.com>
9205 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
9207 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9209 * progmodes/gud.el (ctl-x-map):
9210 Remove C-x SPC binding. (Bug#12342)
9211 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
9213 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
9215 * subr.el (version-regexp-alist):
9216 Recognize hg, svn and darcs versions as snapshot versions.
9218 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
9219 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
9220 (ruby--encoding-comment-required-p): Extract from
9221 `ruby-mode-set-encoding'.
9222 (ruby-mode-set-encoding): Add the ability to always insert an
9223 utf-8 encoding comment. Fix and simplify coding comment update
9226 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
9228 * net/tramp-gvfs.el (top): Run init code only when
9229 `tramp-gvfs-enabled' is not nil.
9230 (tramp-gvfs-enabled): Check also :system bus.
9232 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9234 Sync with upstream verilog-mode revision 78e66ba.
9235 * progmodes/verilog-mode.el (verilog-end-of-defun)
9236 (verilog-type-completion, verilog-get-list): Remove unused funcs.
9237 (verilog-get-end-of-defun): Remove unused argument.
9238 (verilog-comment-depth): Remove unused local `e'.
9239 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9240 Don't pass arg to verilog-get-end-of-defun.
9242 2013-11-14 Glenn Morris <rgm@gnu.org>
9244 * obsolete/assoc.el (aget): Prefix dynamic variable.
9246 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9248 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * widget.el, hfy-cmap.el: Remove bogus package version number.
9252 2013-11-13 Glenn Morris <rgm@gnu.org>
9254 * replace.el (replace-eval-replacement):
9255 Try to give more helpful error message. (Bug#15836)
9257 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9258 (archive-7z-update): Avoid custom type mismatches.
9260 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9262 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
9264 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9265 address can be empty.
9267 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9268 Accept nil SWITCHES.
9269 (tramp-gvfs-handle-write-region): Implement APPEND.
9271 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
9273 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9274 binary "|" operator and closing block args delimiter.
9275 Remove FIXME comment referring to Ruby 1.8-only syntax.
9276 (ruby-smie--implicit-semi-p): Not after "|" operator.
9277 (ruby-smie--closing-pipe-p): New function.
9278 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9279 (ruby-smie-rules): Indent after "|".
9281 2013-11-12 Glenn Morris <rgm@gnu.org>
9283 * ps-print.el (ps-face-attribute-list):
9284 Handle anonymous faces. (Bug#15827)
9286 2013-11-12 Martin Rudalics <rudalics@gmx.at>
9288 * window.el (display-buffer-other-frame): Fix doc-string.
9291 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9293 * subr.el (force-mode-line-update): Delete, move to buffer.c.
9295 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
9297 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9298 (tramp-sh-handle-file-local-copy): Don't write a message when
9299 saving temporary files.
9301 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9302 both directories are remote.
9303 (tramp-smb-handle-directory-files): Do not return double entries.
9304 Do not expand full file names.
9305 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9306 (tramp-smb-handle-write-region): Implement APPEND.
9307 (tramp-smb-get-stat-capability): Fix a stupid bug.
9309 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9311 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9313 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9315 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9316 throwing error over malformed let/let* (bug#15814).
9318 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9320 * iswitchb.el (iswitchb-mode): Mark obsolete.
9322 2013-11-11 Glenn Morris <rgm@gnu.org>
9324 * international/uni-bidi.el, international/uni-category.el:
9325 * international/uni-name.el, international/uni-numeric.el:
9326 Regenerate for Unicode 6.3.0.
9328 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
9330 * net/tramp.el (tramp-methods):
9331 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9332 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
9334 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
9336 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9337 Force highlighting text after Summary keyword in doc face for rpm.
9339 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
9341 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9342 available and the word has no wildcards, append one to the grep pattern.
9343 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9344 (ispell-complete-word): Call `ispell-lookup-words' with the value
9345 independent of `ispell-look-p'.
9347 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9349 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9351 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9354 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
9357 (ruby-font-lock-keywords): Use backquote.
9359 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9361 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9362 (ruby-smie--backward-token): Only consider full-string matches.
9364 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
9366 * faces.el (describe-face): Add distant-foreground.
9368 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
9370 * progmodes/ruby-mode.el: Improve encoding comment handling.
9371 (ruby-encoding-magic-comment-style): New option.
9372 (ruby-custom-encoding-magic-comment-template): New option.
9373 (ruby--insert-coding-comment, ruby--detect-encoding):
9374 New functions extracted from `ruby-mode-set-encoding'.
9375 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9376 to control the style of the auto-inserted encoding comment.
9378 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9380 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9381 Use `smie-backward-sexp' with token argument.
9383 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9385 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9386 Remove instrumentation code.
9388 2013-11-08 Glenn Morris <rgm@gnu.org>
9390 * progmodes/autoconf.el (autoconf-mode):
9391 Tweak comment-start-skip. (Bug#15822)
9393 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9395 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9396 at bobp (bug#15826).
9397 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9399 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9401 * man.el (Man-start-calling): New macro, extracted from
9402 Man-getpage-in-background.
9403 (Man-getpage-in-background): Use it.
9404 (Man-update-manpage): New command.
9405 (Man-mode-map): Bind it.
9407 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9409 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9410 of "and", "or", "&&" and "||".
9411 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9412 argument. Prohibit opening curly brace because it could only be a
9413 block opener in that position.
9414 (ruby-smie--forward-token, ruby-smie--backward-token):
9415 Separate "|" from "&" or "*" going after it. That can happen in block
9417 (ruby-smie--indent-to-stmt): New function, seeks the end of
9418 previous statement or beginning of buffer.
9419 (ruby-smie-rules): Use it.
9420 (ruby-smie-rules): Check if there's a ":" before a curly block
9421 opener candidate; if there is, it's a hash.
9423 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9425 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9426 (cl--block-wrapper): Fix last accidental change.
9428 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9430 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9431 Instrument, in order to hunt failure on hydra.
9433 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9435 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9436 malformed bindings form (bug#15814).
9438 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9440 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9441 "." compared to " @ ". This incidentally fixes some indentation
9443 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9444 (ruby-smie-grammar): New tokens: "and" and "or".
9445 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9446 Exclude "and" and "or". Remove "do" in order to work around token
9448 (ruby-smie-rules): Add all infix tokens. Handle the case of
9449 beginning-of-buffer.
9451 2013-11-06 Glenn Morris <rgm@gnu.org>
9453 * Makefile.in (setwins_almost, setwins_for_subdirs):
9454 Avoid accidental matches.
9456 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9458 * menu-bar.el (popup-menu): Use key-binding.
9460 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9462 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9463 menus, support also the menus produced by minor modes.
9466 2013-11-06 Leo Liu <sdl.web@gmail.com>
9468 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9469 DISTANCE to bound the search. All uses changed. (Bug#15808)
9471 2013-11-06 Glenn Morris <rgm@gnu.org>
9473 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9474 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9475 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9477 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * electric.el (electric-indent-just-newline): New command.
9480 (electric-indent-mode-map): New keymap.
9481 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9482 Re-add :group which weren't redundant.
9484 * electric.el (electric-indent-local-mode): New minor mode.
9485 (electric-indent-functions-without-reindent): New var.
9486 (electric-indent-post-self-insert-function): Use it.
9487 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9489 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9491 * international/quail.el (quail-help): Be more explicit about the
9492 meaning of the labels shown on the keys. (Bug#15800)
9494 * startup.el (normal-top-level): Load the subdirs.el files before
9495 setting the locale environment. (Bug#15805)
9497 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9499 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9500 via arguments so as to get the right ones (bug#15418).
9502 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9504 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9506 Fix problems found while writing a test suite.
9508 * net/tramp-compat.el (tramp-compat-load): New defun.
9509 * net/tramp.el (tramp-handle-load): Use it.
9511 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9512 "(numberp ok-if-already-exists)" correctly.
9514 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9516 * international/characters.el (glyphless-char-display-control):
9519 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9521 * progmodes/python.el (python-mode):
9522 * progmodes/scheme.el (scheme-mode):
9523 * progmodes/prolog.el (prolog-mode):
9524 * progmodes/ruby-mode.el (ruby-mode):
9525 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9526 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9528 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * rect.el (rectangle--highlight-for-redisplay):
9531 * emacs-lisp/smie.el (smie--next-indent-change):
9532 Use buffer-chars-modified-tick.
9534 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9536 * electric.el (electric-indent-post-self-insert-function):
9537 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9539 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9541 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9543 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9545 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9548 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9552 * progmodes/python.el: Fix up last change.
9553 (python-shell--save-temp-file): New function.
9554 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9555 `string' comes from the current buffer.
9556 (python-shell-send-string-no-output): Remove `msg' arg.
9557 (python--use-fake-loc): New var.
9558 (python-shell-buffer-substring): Obey it. Try to compensate for the
9559 extra coding line added by python-shell--save-temp-file.
9560 (python-shell-send-region): Use python-shell--save-temp-file and
9561 python-shell-send-file directly. Add `nomain' argument.
9562 (python-shell-send-buffer): Use python-shell-send-region.
9563 (python-electric-pair-string-delimiter): New function.
9564 (python-mode): Use it.
9566 2013-11-04 Eli Zaretskii <eliz@gnu.org>
9568 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9569 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9570 environment and decoding all of the default-directory's to here
9572 (command-line): Decode also argv[0].
9574 * loadup.el: Error out if default-directory is a multibyte string
9575 when we are dumping.
9577 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
9579 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
9581 * emacs-lisp/package.el (package-menu-mode)
9582 (package-menu--print-info, package-menu--archive-predicate):
9583 Add Archive column to package list.
9585 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
9587 Fix problems found while writing a test suite.
9589 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9590 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9591 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9592 to nil when running original file name handler. Otherwise,
9593 there are problems with constructs like "$$FOO".
9595 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9598 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
9600 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9602 * subr.el (version<, version<=, version=):
9603 Update docstrings with information for snapshot versions.
9605 * helpers.el: New library for misc helper functions.
9606 (hash-table-keys): New function returning a list of hash keys.
9607 (hash-table-values): New function returning a list of hash values.
9609 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
9611 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9612 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9614 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
9616 * textmodes/fill.el (fill-single-char-nobreak-p): New function
9617 checking whether point is after a 1-letter word.
9619 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9621 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9622 Don't infloop when expanding region over `multiline' syntax-type that
9623 begins a line (bug#15778).
9625 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9627 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9628 Make it into a proper minor mode.
9629 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9630 (rectangle-mark-mode-map): New keymap.
9631 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9633 2013-11-04 Glenn Morris <rgm@gnu.org>
9635 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9637 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
9639 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9640 (ruby-smie-rules): Use smie-rule-parent instead.
9642 * emacs-lisp/smie.el (smie-rule-parent): Always call
9643 smie-indent-virtual rather than only for hanging tokens.
9644 (smie--next-indent-change): New helper command.
9646 2013-11-03 Glenn Morris <rgm@gnu.org>
9648 * Makefile.in (abs_srcdir): Remove.
9649 (emacs): Unset EMACSLOADPATH.
9651 2013-11-02 Glenn Morris <rgm@gnu.org>
9653 * Makefile.in (EMACS): Use a relative filename.
9654 (abs_top_builddir): Remove.
9655 (custom-deps, finder-data, autoloads): Use --chdir.
9657 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9659 Use relative filenames in TAGS files.
9660 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9661 (lisptagsfiles4, TAGS): Use relative file names.
9662 (TAGS-LISP): Remove.
9663 (maintainer-clean): No more TAGS-LISP file.
9665 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9666 (lisptagsfiles4): Use absolute filenames again.
9667 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9668 Remove all *loaddefs files, not just the first. Remove esh-groups.
9669 (maintainer-clean): Delete TAGS, TAGS-LISP.
9671 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9673 * emacs-lisp/package.el (package-version-join):
9674 Recognize snapshot versions.
9676 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9678 * subr.el (version-regexp-alist): Add support for snapshot versions.
9680 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9682 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9683 New function, replacement for `smie-rule-parent' for when we want to
9684 skip over our direct parent if it's an assignment token..
9685 (ruby-smie-rules): Use it.
9687 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9689 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9690 unconditionally. Remove now unnecessary forward declarations.
9691 Remove XEmacs-specific setup.
9692 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9693 (ruby-font-lock-syntactic-keywords)
9694 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9695 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9696 (ruby-here-doc-end-syntax): Remove.
9697 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9698 defined as function.
9700 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9702 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9704 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9706 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9707 table and abbrev table, `define-derived-mode' does that for us
9710 2013-11-01 Glenn Morris <rgm@gnu.org>
9712 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9713 files is atomic for some time, so no parallel compilation issues).
9715 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9717 * faces.el (face-x-resources): Add :distant-foreground.
9718 (region): Use :distant-foreground for gtk and ns.
9720 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9722 Allow multiple bibliographies when BibLaTeX is used rather than
9724 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9725 (reftex-locate-bibliography-files): Us it.
9727 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9729 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9730 allow comments in pbm files.
9732 * term/w32-win.el (dynamic-library-alist): Support newer versions
9733 of libjpeg starting with v7: look only for the DLL from the
9734 version against which Emacs was built.
9735 Support versions of libpng beyond 1.4.x.
9736 Support libtiff v4.x.
9738 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9740 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9741 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9743 (ruby-deep-arglist): Add property :type.
9745 2013-10-31 Glenn Morris <rgm@gnu.org>
9747 * Makefile.in (custom-deps, finder-data): No need to setq the target
9748 variables, we are in the right directory and the defaults work fine.
9750 2013-10-30 Glenn Morris <rgm@gnu.org>
9752 * Makefile.in (autoloads): Do not use abs_lisp.
9754 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9755 `newline' does not respect `standard-output', so use `princ'.
9757 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9759 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9760 * buff-menu.el (Buffer-menu--unmark): New function.
9761 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9763 2013-10-30 Glenn Morris <rgm@gnu.org>
9765 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9767 * emacs-lisp/package.el (lm-homepage): Declare.
9769 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9772 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9774 * Makefile.in (finder-data, autoloads, update-subdirs)
9775 (compile-main, compile-clean, compile-always, bootstrap-clean):
9776 Check return value of cd.
9777 (compile-calc): Remove.
9779 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9783 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9784 (byte-compile-and-folded): New function.
9785 (=, <, >, <=, >=): Use it.
9787 * dos-w32.el (minibuffer-history-case-insensitive-variables)
9788 (path-separator, null-device, buffer-file-coding-system)
9789 (lpr-headers-switches): Check system-type before modifying them.
9790 (find-buffer-file-type-coding-system): Mark obsolete.
9791 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9792 find-file-not-found-set-buffer-file-coding-system.
9793 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9794 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9795 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9796 (w32-direct-print-region-helper, w32-direct-print-region-function)
9797 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9798 * startup.el (normal-top-level-add-subdirs-to-load-path):
9799 * ps-print.el (ps-print-region-function):
9800 * lpr.el (print-region-function): Use new name.
9802 * subr.el (custom-declare-variable-early): Remove function.
9803 (custom-declare-variable-list): Remove var.
9804 (error, user-error): Remove `while' loop.
9805 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9806 (user-emacs-directory-warning, locate-user-emacs-file):
9808 * simple.el (read-quoted-char-radix, read-quoted-char):
9809 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9811 * custom.el (custom-declare-variable-list): Don't process
9812 custom-declare-variable-list.
9814 * progmodes/python.el (python-shell-get-buffer): New function.
9815 (python-shell-get-process): Use it.
9816 (python-shell-send-string): Always use utf-8 and add a cookie to tell
9817 Python which encoding was used. Don't split-string since we only care
9818 about the first line. Return the temp-file, if applicable.
9819 (python-shell-send-region): Tell compile.el how to turn locations in
9820 the temp-file into locations in the source buffer.
9822 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * subr.el (undefined): Add missing behavior from the C code for
9827 * rect.el: Use lexical-binding. Add new rectangular region support.
9828 (rectangle-mark): New command.
9829 (rectangle--region): New var.
9830 (deactivate-mark-hook): Reset rectangle--region.
9831 (rectangle--extract-region, rectangle--insert-for-yank)
9832 (rectangle--highlight-for-redisplay)
9833 (rectangle--unhighlight-for-redisplay): New functions.
9834 (region-extract-function, redisplay-unhighlight-region-function)
9835 (redisplay-highlight-region-function): Use them to handle
9837 * simple.el (region-extract-function): New var.
9838 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9839 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9840 (kill-region): Replace obsolete `yank-handler' arg with `region'.
9841 (copy-region-as-kill, kill-ring-save): Add `region' argument.
9842 (redisplay-unhighlight-region-function)
9843 (redisplay-highlight-region-function): New vars.
9844 (redisplay--update-region-highlight): New function.
9845 (pre-redisplay-function): Use it.
9846 (exchange-point-and-mark): Don't deactivate the mark before
9847 reactivate-it anyway.
9848 * comint.el (comint-kill-region): Remove yank-handler argument.
9849 * delsel.el (delete-backward-char, backward-delete-char-untabify)
9850 (delete-char): Remove property, since it's now part of their
9852 (self-insert-iso): Remove property since this command doesn't exist.
9854 * emacs-lisp/package.el (package--download-one-archive)
9855 (describe-package-1): Don't query the user about final newline.
9857 2013-10-29 Daniel Colascione <dancol@dancol.org>
9859 * net/tramp.el (tramp-methods): Document new functionality.
9860 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9861 tramp-hostname-checker if method provides one instead of scanning
9862 argument list for "%h" to decide hostname acceptability.
9864 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
9866 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9867 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9868 Handle COPY-CONTENTS. (Bug#15737)
9870 2013-10-28 Daiki Ueno <ueno@gnu.org>
9872 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9873 Document that this option has no effect with GnuPG 2.0 (bug#15552).
9875 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
9877 * image.el (defimage, image-load-path): Doc fixes.
9879 2013-10-27 Alan Mackenzie <acm@muc.de>
9881 Indent statements in macros following "##" correctly.
9882 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9883 Modify the "#" arm of a cond form to handle "#" and "##" operators.
9885 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9887 * linum.el (linum-update-window): Fix boundary test (bug#13446).
9889 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
9891 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9892 after `=' is probably a new expression.
9894 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9896 * man.el (man-imenu-title): New option.
9897 (Man-mode-map): Add menu. (Bug#15722)
9898 (Man-mode): Add imenu to menu.
9900 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
9902 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9903 specific in what the first arg can be: a non-keyword word,
9904 string/regexp/percent literal opener, opening paren, or unary
9905 operator followed directly by word.
9907 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9910 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9911 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9912 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9913 Remove vars, they do not apply any more.
9914 (prolog-mode-abbrev-table): Remove redundant declaration.
9915 (prolog-upper-case-string, prolog-lower-case-string): Remove.
9916 (prolog-use-smie): Remove.
9917 (prolog-smie-rules): Add indentation rule for the if-then-else layout
9918 supported by prolog-electric-if-then-else-flag.
9919 (prolog-mode-variables, prolog-menu): Use setq-local.
9920 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9921 Remove binding to `Backspace' since this key doesn't exist anyway.
9922 Remove bindings for electric self-inserting keys.
9923 (prog-mode): Assume it's defined.
9924 (prolog-post-self-insert): New function.
9925 (prolog-mode): Use it.
9926 (prolog-indent-line, prolog-indent-level)
9927 (prolog-find-indent-of-matching-paren)
9928 (prolog-indentation-level-of-line, prolog-goto-comment-column)
9929 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9930 (prolog-goto-next-paren, prolog-in-string-or-comment)
9931 (prolog-tokenize, prolog-inside-mline-comment)
9932 (prolog-find-start-of-mline-comment): Remove functions.
9933 (prolog-find-unmatched-paren, prolog-clause-end)
9934 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9935 (prolog-electric--if-then-else): Rename from
9936 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9937 (prolog-tokenize-searchkey): Remove const.
9938 (prolog-clause-info): Use forward-sexp.
9939 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9940 (prolog-electric-if-then-else): Remove commands.
9941 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9942 for use in post-self-insert-hook.
9943 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9944 for use in post-self-insert-hook.
9945 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9946 for use in post-self-insert-hook.
9947 (prolog-electric--underscore): Rename from prolog-electric--underscore;
9948 adapt it for use in post-self-insert-hook.
9950 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
9952 * emacs-lisp/ert.el (ert-run-tests-interactively):
9953 Use `completing-read'. (Bug#9756)
9955 2013-10-25 Eli Zaretskii <eliz@gnu.org>
9957 * simple.el (line-move): Call line-move-1 instead of
9958 line-move-visual when the current window hscroll is zero, but
9959 temporary-goal-column indicates we will need to hscroll as result
9960 of the movement. (Bug#15712)
9962 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
9964 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9965 capitalization. Use :visible instead of :active.
9966 Fix `ruby-indent-exp' reference. Add menu items for the generic
9967 commands that are used with SMIE.
9968 (ruby-do-end-to-brace): Insert space after `{'.
9970 2013-10-25 John Anthony <john@jo.hnanthony.com>
9972 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
9974 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
9976 2013-10-25 Glenn Morris <rgm@gnu.org>
9978 * vc/vc.el (vc-print-log): Don't use a working revision unless
9979 one was explicitly specified. (Bug#15322)
9981 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9983 * subr.el (add-to-list): Preserve return value in compiler-macro
9986 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9988 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9989 result. Ask user to retry using '-all' flag. (Bug#15701)
9991 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9993 * emacs-lisp/smie.el: New smie-config system.
9994 (smie-config): New defcustom.
9995 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9996 (smie-config-guess, smie-config-save): New commands.
9997 (smie-config--mode-local, smie-config--buffer-local)
9998 (smie-config--trace, smie-config--modefuns): New vars.
9999 (smie-config--advice, smie-config--mode-hook)
10000 (smie-config--setter, smie-config-local, smie-config--get-trace)
10001 (smie-config--guess-value, smie-config--guess): New functions.
10002 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
10003 text properties. Treat "string fence" syntax like string syntax.
10005 * progmodes/sh-script.el (sh-use-smie): Change default.
10006 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
10007 (sh-var-value): Simplify by CSE.
10008 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
10009 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
10011 (sh-guess-basic-offset): Use cl-incf.
10012 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
10014 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
10016 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
10019 2013-10-24 Glenn Morris <rgm@gnu.org>
10021 * Makefile.in (abs_top_srcdir): Remove.
10022 (update-subdirs): Use relative path to update-subdirs.
10024 2013-10-24 Eli Zaretskii <eliz@gnu.org>
10026 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10027 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10028 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10029 Call unmsys--file-name before expand-file-name, not after it.
10031 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
10033 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
10034 (ert-test-skipped): New error.
10035 (ert-skip, ert-stats-skipped): New defuns.
10036 (ert--skip-unless): New macro.
10037 (ert-test-skipped): New struct.
10038 (ert--run-test-debugger, ert-test-result-type-p)
10039 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
10040 (ert--stats-set-test-and-result, ert-char-for-test-result)
10041 (ert-string-for-test-result, ert-run-tests-batch)
10042 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
10043 Handle skipped tests. (Bug#9803)
10045 2013-10-24 Glenn Morris <rgm@gnu.org>
10047 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
10049 * Makefile.in (abs_top_srcdir): New, set by configure.
10050 (update-subdirs): Correct build-aux location.
10052 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
10054 * vc/vc.el (vc-print-root-log): Always set `default-directory'
10055 value, whether we could auto-deduce `backend', or not.
10057 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
10058 with parameters" example. Simplify the "is it block or is it
10059 hash" check, but also make it more thorough.
10061 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
10063 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
10065 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
10068 { if it is hanging.
10070 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
10073 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
10075 * progmodes/compile.el (compilation-directory-matcher)
10076 (compilation-page-delimiter):
10077 Support GNU Make-4.0 directory quoting. (Bug#15678)
10079 2013-10-23 Leo Liu <sdl.web@gmail.com>
10081 * ido.el (ido-tidy): Handle read-only text.
10083 2013-10-23 Glenn Morris <rgm@gnu.org>
10085 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
10086 (emacs, compile, compile-always):
10087 Quote entities that might contain whitespace.
10088 (custom-deps, finder-data, autoloads): Use abs_lisp.
10089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10091 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10093 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
10095 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
10096 Use `following-char'.
10098 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
10101 * progmodes/ruby-mode.el (ruby-smie-rules):
10102 Remove corresponding workaround. Fix indentation rule of ";" so it
10103 also applies when ";" is the parent.
10105 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
10107 * frame.el (display-screens, display-pixel-height)
10108 (display-pixel-width, display-mm-width, display-backing-store)
10109 (display-save-under, display-planes, display-color-cells)
10110 (display-visual-class, display-monitor-attributes-list):
10111 Mention the optional ‘display’ argument in doc strings.
10113 2013-10-22 Michael Gauland <mikelygee@amuri.net>
10115 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
10116 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
10118 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10120 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
10121 TODO. Add "." after " @ ".
10122 (ruby-smie--at-dot-call): New function. Checks if point at method
10123 call with explicit target.
10124 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
10125 to the method name tokens when it precedes them.
10126 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
10127 (ruby-smie-rules): Add rule for indentation before and after "."
10130 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * textmodes/remember.el (remember-diary-extract-entries):
10135 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
10138 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10140 * progmodes/ruby-mode.el (ruby-smie-grammar):
10141 Add (almost) all infix operators.
10142 (ruby-smie--implicit-semi-p): Add new operator chars.
10144 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10146 (ruby-smie--args-separator-p): Check that there's no newline
10147 between method call and its arguments.
10149 2013-10-20 Alan Mackenzie <acm@muc.de>
10151 Allow comma separated lists after Java "implements".
10153 * progmodes/cc-engine.el (c-backward-over-enum-header):
10155 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
10156 from a "disallowed" list in enum fontification.
10158 2013-10-20 Johan Bockgård <bojohan@gnu.org>
10160 * startup.el (default-frame-background-mode): Remove unused defvar.
10162 * progmodes/verilog-mode.el (verilog-mode): Don't set
10163 comment-indent-function globally.
10165 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
10167 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
10168 Move Info menu item creation to ns-win.el.
10170 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
10173 * menu-bar.el: Move GNUstep specific menus...
10175 * term/ns-win.el (ns-initialize-window-system): ... to here.
10177 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * simple.el (newline): Only run post-self-insert-hook when
10180 called interactively.
10182 2013-10-19 Johan Bockgård <bojohan@gnu.org>
10184 * icomplete.el (icomplete-with-completion-tables): Add :version.
10186 2013-10-19 Alan Mackenzie <acm@muc.de>
10188 Fix fontification bugs with constructors and const.
10190 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
10191 CASE 2) Remove the check for the absence of a suffix construct
10192 after a function declaration with only types (no identifiers) in
10193 the parentheses. Also, accept a function declaration with just a
10194 type inside the parentheses, if this type can be positively
10195 recognised as such, or if a prefix keyword like "explicit" nails
10196 down the construct as a declaration.
10198 2013-10-19 Eli Zaretskii <eliz@gnu.org>
10200 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
10201 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
10202 the problem whereby selecting a menu item that leads to a
10203 minibuffer prompt moves the cursor out of the minibuffer window,
10204 making it hard to type at the prompt. Suggested by Stefan Monnier
10205 <monnier@iro.umontreal.ca>.
10207 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
10209 * menu-bar.el: Don't make Services menu.
10211 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10213 * ffap.el: Handle "/usr/include/c++/<version>" directories.
10214 (ffap-alist): Use ffap-c++-mode for c++-mode.
10215 (ffap-c++-path): New variable.
10216 (ffap-c++-mode): New function.
10218 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
10220 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
10222 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
10224 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10225 introduced on 2013-09-08, which results in an infinite loop
10226 requesting a password.
10228 2013-10-18 Glenn Morris <rgm@gnu.org>
10230 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10232 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
10234 Sync with upstream verilog-mode revision 1a6ecec7.
10235 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10236 (verilog-mode-release-date): Remove.
10237 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10238 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10239 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10240 (verilog-auto-tieoff-ignore-regexp)
10241 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10242 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10243 (verilog-signals-with, verilog-dir-cache-preserving)
10244 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10246 (verilog-case-fold): New option, to control case folding in
10247 regexp searches, bug597.
10248 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10249 (verilog-string-match-fold, verilog-in-paren-count)
10250 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10251 (verilog-at-close-struct-p): New functions.
10252 (verilog-beg-block-re-ordered, verilog-extended-case-re)
10253 (verilog-forward-sexp, verilog-set-auto-endcomments)
10254 (verilog-leap-to-case-head): Handle "unique0" case.
10255 (verilog-in-constraint-re): New constant.
10256 (verilog-keywords, verilog-type-font-keywords):
10257 Add some SystemVerilog 1800-2012 keywords.
10258 (verilog-label-be): Remove unimplemented argument, bug669.
10259 (verilog-batch-execute-func): When batch expanding clear
10260 create-lockfiles to prevent spurious user locks when a file ends
10262 (verilog-calculate-indent, verilog-calc-1)
10263 (verilog-at-close-constraint-p, verilog-at-constraint-p)
10264 (verilog-do-indent): Fix indentation of nested constraints
10266 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10267 (verilog-auto-inst-param): Use verilog-string-match-fold.
10268 (verilog-read-inst-module-matcher):
10269 Fix AUTOINST on gate primitives with #1.
10270 (verilog-read-decls): Fix double-declaring user-defined typed signals.
10271 Reads all user-defined typed variables.
10272 (verilog-read-defines): Fix reading definitions inside comments, bug647.
10273 (verilog-signals-matching-regexp)
10274 (verilog-signals-not-matching-regexp, verilog-auto):
10275 Respect verilog-case-fold.
10276 (verilog-diff-report): Fix line count.
10277 (verilog-auto-assign-modport): Remove unused local `modi'.
10278 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10279 better handle multidimensional arrays.
10280 Fix packed array ports misadding bit index in AUTOINST, bug637.
10281 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10282 to not double-declare existing outputs and inputs, respectively.
10283 (verilog-template-map): Bind U to verilog-sk-uvm-component.
10284 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10285 (verilog-sk-uvm-component): New skeleton.
10286 (verilog-submit-bug-report): Add verilog-case-fold,
10287 remove verilog-mode-release-date.
10289 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
10291 * subr.el (sit-for): Call (input-pending-p t) so as to behave
10294 2013-10-18 Reuben Thomas <rrt@sc3d.org>
10296 * textmodes/remember.el (remember): Set buffer-offer-save in
10297 remember buffers (bug#13566).
10299 2013-10-18 Daniel Colascione <dancol@dancol.org>
10301 When evaluating forms in ielm, direct standard output to ielm
10302 buffer. Add new ielm-return-for-effect command. Remove trailing
10303 whitespace throughout.
10305 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10306 (ielm-return-for-effect): New command.
10307 (ielm-send-input): Accept optional `for-effect' parameter.
10308 (ielm-eval-input): Accept optional `for-effect' parameter.
10309 Bind `standard-output' to stream we create using
10310 `ielm-standard-output-impl'. Suppress printing result when
10312 (ielm-standard-output-impl): New function.
10313 (inferior-emacs-lisp-mode): Explain new features in documentation.
10315 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
10319 * net/tramp.el (tramp-debug-message): Do not check for connection
10321 (tramp-message): Use "vector" connection property.
10323 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10324 (tramp-equal-remote, tramp-eshell-directory-change)
10325 * net/tramp-adb.el (tramp-adb-handle-copy-file)
10326 (tramp-adb-handle-rename-file)
10327 * net/tramp-cmds.el (tramp-list-remote-buffers)
10328 (tramp-cleanup-connection, tramp-cleanup-this-connection)
10329 * net/tramp-compat.el (tramp-compat-process-running-p)
10330 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10331 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10332 (tramp-gvfs-handle-rename-file)
10333 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10334 (tramp-set-file-uid-gid)
10335 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10336 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10337 of `file-remote-p'.
10339 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10340 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10341 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10342 (tramp-gw-open-network-stream): Suppress unrelated traces.
10344 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10345 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10346 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10347 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10348 connection property.
10350 * net/tramp-cache.el (top): Suppress traces when reading
10353 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10354 Refactor common code. Improve debug message.
10355 (tramp-maybe-open-connection)
10356 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10357 connection buffer too early.
10359 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10360 from `tramp-smb-actions-with-acl'.
10361 (tramp-smb-actions-set-acl): New defconst.
10362 (tramp-smb-handle-copy-directory)
10363 (tramp-smb-action-get-acl): New defun, renamed from
10364 `tramp-smb-action-with-acl'.
10365 (tramp-smb-action-set-acl): New defun.
10366 (tramp-smb-handle-set-file-acl): Rewrite.
10368 2013-10-17 Glenn Morris <rgm@gnu.org>
10370 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10372 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10374 * skeleton.el (skeleton-newline): Remove.
10375 (skeleton-internal-1): Use (insert "\n") instead.
10377 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10380 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10381 forward-sexp-function while we redo its job (bug#15613).
10383 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10385 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10386 represented by lists.
10388 2013-10-16 Glenn Morris <rgm@gnu.org>
10390 * tmm.el (tmm--history): New dynamic variable.
10391 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10393 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10395 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10396 (tramp-smb-errors): Add error messages.
10397 (tramp-smb-actions-with-acl): New defconst.
10398 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10399 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10400 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10401 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10402 (tramp-smb-get-stat-capability): Fix tests.
10404 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10406 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10409 2013-10-16 Glenn Morris <rgm@gnu.org>
10411 * ansi-color.el (ansi-color-drop-regexp):
10412 Add 1J, 1K, 2K. (Bug#15617)
10414 * files.el (hack-local-variables--warned-lexical): New.
10415 (hack-local-variables):
10416 Warn about misplaced lexical-binding. (Bug#15616)
10418 * net/eww.el (eww-render): Always set eww-current-url,
10419 and update header line. (Bug#15622)
10420 (eww-display-html): ... Rather than just doing it here.
10422 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10424 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10425 menu navigations commands.
10427 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10429 * progmodes/subword.el (subword-capitalize): Be careful when
10430 the search for [[:alpha:]] fails (bug#15580).
10432 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10434 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10435 to commands that scroll the menu.
10437 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10439 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10440 Handle methods ending with `?' and `!'.
10442 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10444 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10445 `japanese-cp932' to `cp932' to fix the problem where saving a
10446 source file written in Shift_JIS twice would end up having
10447 `coding: japanese-cp932' which Ruby could not recognize.
10448 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10449 in `ruby-encoding-map'.
10450 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10451 doesn't need to be explicitly declared in magic comment.
10452 (ruby-encoding-map): Add type declaration for better customize UI.
10454 2013-10-13 Glenn Morris <rgm@gnu.org>
10456 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10457 Occur buffers are read-only. http://bugs.debian.org/720775
10459 * emacs-lisp/authors.el (authors-fixed-entries):
10460 Comment out old alpha stuff.
10462 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10464 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10465 to `after-save-hook' instead of `before-save-hook'.
10466 (ruby-mode-set-encoding): Use the value of coding system used to
10467 write the file. Call `basic-save-buffer-1' after modifying the
10470 2013-10-13 Alan Mackenzie <acm@muc.de>
10472 Fix indentation/fontification of Java enum with
10473 "implements"/generic.
10475 * progmodes/cc-engine.el (c-backward-over-enum-header):
10476 Extracted from the three other places and enhanced to handle generics.
10477 (c-inside-bracelist-p): Uses new function above.
10478 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10480 (c-font-lock-enum-tail): Uses new function above.
10482 2013-10-13 Kenichi Handa <handa@gnu.org>
10484 * international/mule-cmds.el (select-safe-coding-system): Remove a
10485 superfluous condition in chekcing whether a coding system is safe
10488 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10490 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10492 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10494 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10496 2013-10-13 Glenn Morris <rgm@gnu.org>
10498 * menu-bar.el (menu-bar-update-buffers):
10499 Unify Buffers menu prompt string. (Bug#15576)
10501 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10503 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10505 (authors-fixed-entries): Use accented form of name.
10507 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10509 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10510 method calls (bug#15594).
10511 (ruby-smie--args-separator-p): New function.
10512 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10513 recognize paren-free method calls.
10515 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10516 internals of universal-argument.
10518 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10520 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10521 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10522 dropped menu on second mouse click on the menu bar.
10524 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10526 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10527 (explicit-shell-file-name): Declare.
10528 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10529 (sh-completion-at-point-function): New function.
10531 (sh-smie--keyword-p): Remove unused argument.
10532 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10534 (sh-set-shell): Always setup SMIE, even if we use the
10535 old indentation code.
10537 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10539 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10541 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10542 predicate would return nil are almost non-existent.
10543 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10545 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10546 cache also after commands that modify the buffer but don't move
10549 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10551 * env.el (substitute-env-in-file-name): New function.
10552 (substitute-env-vars): Extend the meaning of the optional arg.
10554 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10556 * term/w32-win.el (dynamic-library-alist): Define separate lists
10557 of GIF DLLs for versions before and after 5.0.0 of giflib.
10560 2013-10-10 João Távora <joaotavora@gmail.com>
10562 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10563 not locked, use last revision and current source as
10564 defaults. (Bug#15569)
10566 2013-10-10 Masatake YAMATO <yamato@redhat.com>
10568 * menu-bar.el (menu-bar-open): Don't use popup-menu if
10569 menu-bar is hidden.
10571 2013-10-10 Martin Rudalics <rudalics@gmx.at>
10573 * window.el (pop-to-buffer-same-window): Fix doc-string.
10576 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10580 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
10582 * calendar/icalendar.el (icalendar-import-file):
10583 Fix interactive spec. (Bug#15482)
10585 2013-10-10 Glenn Morris <rgm@gnu.org>
10587 * desktop.el (desktop-save): Default to saving in .emacs.d,
10588 since PWD is no longer in desktop-path by default. (Bug#15319)
10590 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10591 now that text mode has a menu with the same entry.
10592 (menu-bar-text-mode-auto-fill): Remove now unused func.
10593 * textmodes/text-mode.el (text-mode-map):
10594 Use auto-fill help text from menu-bar.el.
10596 2013-10-10 John Anthony <john@jo.hnanthony.com>
10598 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
10600 2013-10-09 Juri Linkov <juri@jurta.org>
10602 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10603 instead of this-command-keys. Add universal-argument-more and
10604 universal-argument-minus to the list of prefix commands. (Bug#15568)
10606 2013-10-09 Glenn Morris <rgm@gnu.org>
10608 * vc/vc-svn.el (vc-svn-create-repo):
10609 Expand paths in file://... url. (Bug#15446)
10611 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10613 (authors): Remove unused local variables.
10615 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
10617 * profiler.el: Create a more coherent calltree from partial backtraces.
10618 (profiler-format): Hide the tail with `invisible' so that C-s can still
10619 find the hidden elements.
10620 (profiler-calltree-depth): Don't recurse so enthusiastically.
10621 (profiler-function-equal): New hash-table-test.
10622 (profiler-calltree-build-unified): New function.
10623 (profiler-calltree-build): Use it.
10624 (profiler-report-make-name-part): Indent the calltree less.
10625 (profiler-report-mode): Add visibility specs for profiler-format.
10626 (profiler-report-expand-entry, profiler-report-toggle-entry):
10627 Expand the whole subtree when provided with a prefix arg.
10629 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
10631 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10633 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10634 hanging iuwu-mod token.
10635 (ruby-smie--forward-token): Do not include a dot after a token in
10637 (ruby-smie--backward-token): Likewise.
10639 2013-10-08 Juri Linkov <juri@jurta.org>
10641 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10642 to isearch-other-control-char.
10643 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10644 and isearch-post-command-hook to post-command-hook.
10645 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10646 and isearch-post-command-hook from post-command-hook.
10647 (isearch-unread-key-sequence)
10648 (isearch-reread-key-sequence-naturally)
10649 (isearch-lookup-scroll-key, isearch-other-control-char)
10650 (isearch-other-meta-char): Remove functions.
10651 (isearch-pre-command-hook, isearch-post-command-hook):
10652 New functions based on isearch-other-meta-char rewritten
10653 relying on the new behavior of overriding-terminal-local-map
10654 that does not replace the local keymaps any more. (Bug#15200)
10656 2013-10-08 Eli Zaretskii <eliz@gnu.org>
10658 Support menus on text-mode terminals.
10659 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10662 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10664 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10665 Move here from mouse.el.
10666 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10668 (tty-menu-navigation-map): New map for TTY menu navigation.
10670 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10672 * frame.el (display-mouse-p): Report text-mode mouse as available
10674 (display-popup-menus-p): Report availability if mouse is
10675 available; don't condition on window-system.
10677 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10678 (tty-menu-selected-face): New faces.
10680 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10682 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10683 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10684 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10685 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10687 (lisp-mode-variables): New `elisp' argument.
10688 (emacs-lisp-mode): Use it.
10689 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10690 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10692 * indent.el: Use lexical-binding.
10693 (indent-region): Add progress reporter.
10694 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10696 (indent--next-tab-stop): New function to implement this behavior.
10697 (tab-to-tab-stop, move-to-tab-stop): Use it.
10699 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10701 * indent.el (indent-rigidly--current-indentation): New function.
10702 (indent-rigidly-map): New var.
10703 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10705 2013-10-08 Bastien Guerry <bzg@gnu.org>
10707 * register.el (insert-register): Fix 2013-10-07 change.
10709 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10711 * progmodes/perl-mode.el: Use lexical-binding.
10712 Remove redundant :group args.
10713 (perl-nochange): Change default to be closer to other major modes's
10715 (perl-indent-line): Don't consider text on current line as a
10716 valid beginning of function from which to indent.
10718 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10719 with more than one argument (bug#15538).
10721 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10723 * vc/pcvs.el: Use lexical-binding.
10724 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10725 environment of `eval'.
10726 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10727 than a list of expressions. Adjust callers.
10728 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10730 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10732 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10733 case of the dot in a chained method call being on the following line.
10735 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * electric.el (electric-indent-inhibit): New var.
10738 (electric-indent-post-self-insert-function): Use it.
10739 * progmodes/python.el (python-mode): Set it.
10741 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10744 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10746 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10747 (css-mode): Use electric-indent-chars.
10749 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10750 (font-lock-beg, font-lock-end): Move before first use.
10751 (nxml-mode): Use syntax-propertize-function.
10752 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10753 (nxml-extend-after-change-region): Remove.
10754 * nxml/xmltok.el: Use lexical-binding.
10755 (xmltok-save): Use `declare'.
10756 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10757 * nxml/nxml-util.el: Use lexical-binding.
10758 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10760 * nxml/nxml-ns.el: Use lexical-binding.
10761 (nxml-ns-save): Use `declare'.
10762 (nxml-ns-prefixes-for): Avoid add-to-list.
10763 * nxml/rng-match.el: Use lexical-binding.
10764 (rng--ipattern): Use cl-defstruct.
10765 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10766 (rng-cons-group-after, rng-subst-group-after)
10767 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10768 Use closures instead of `(lambda...).
10770 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
10772 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10776 Use `tramp-handle-insert-file-contents'.
10777 (tramp-gvfs-handle-insert-file-contents): Remove function.
10779 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10780 Use `save-restriction' in order to keep markers.
10782 * net/trampver.el: Update release number.
10784 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * progmodes/compile.el (compilation-parse-errors):
10787 Use compilation--put-prop.
10788 (compilation--ensure-parse): Check compilation-multiline.
10790 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10792 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10795 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10797 * progmodes/ruby-mode.el: Fix recently added tests.
10798 (ruby-smie-grammar): Add - and +.
10799 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10800 (ruby-smie--backward-id): New functions.
10801 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10802 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
10805 2013-10-07 Leo Liu <sdl.web@gmail.com>
10807 * register.el (register-preview-delay)
10808 (register-preview-functions): New variables.
10809 (register-read-with-preview, register-preview)
10810 (register-describe-oneline): New functions.
10811 (point-to-register, window-configuration-to-register)
10812 (frame-configuration-to-register, jump-to-register)
10813 (number-to-register, view-register, insert-register)
10814 (copy-to-register, append-to-register, prepend-to-register)
10815 (copy-rectangle-to-register): Use register-read-with-preview to
10816 read register. (Bug#15525)
10818 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
10820 * net/network-stream.el (network-stream-open-starttls): Don't add
10821 --insecure if it's already present, because that gnutls-cli
10822 rejects getting that parameter twice.
10824 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
10826 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10829 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
10831 * newcomment.el (comment-use-global-state): Change default value
10832 to t, mark obsolete (Bug#15251).
10833 (comment-beginning): In addition to `comment-to-syntax', check the
10834 value of `comment-use-global-state'.
10836 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10839 (ruby-comment-column): Follow the global default, by default.
10840 (ruby-smie-grammar): Add assignment syntax.
10841 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10842 open-paren, a comma, or a \.
10843 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10844 and line continuations.
10845 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10846 followed by implicit semi-colons. Add rule for string concatenation
10847 and for indentation at BOB.
10848 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10850 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10851 calling next-sexp, since next-token may have skipped chars which
10852 next-sexp doesn't know should be skipped!
10854 2013-10-05 Leo Liu <sdl.web@gmail.com>
10856 * progmodes/octave.el (octave-send-region):
10857 Call compilation-forget-errors.
10859 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10861 * vc/vc-svn.el (vc-svn-find-admin-dir):
10862 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10863 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10864 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10865 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10867 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10871 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * subr.el (read-passwd): Hide chars even when called within a context
10874 where after-change-functions is disabled (bug#15501).
10875 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10876 until we removed ourself from overriding-terminal-local-map.
10878 2013-10-04 Leo Liu <sdl.web@gmail.com>
10880 * progmodes/octave.el (inferior-octave-mode):
10881 Call compilation-forget-errors.
10883 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10885 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10887 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
10889 * net/secrets.el (secrets-create-collection): Add optional
10890 argument ALIAS. Use proper Label keyword. Append ALIAS as
10891 dbus-call-method argument. (Bug#15516)
10893 2013-10-04 Leo Liu <sdl.web@gmail.com>
10895 * progmodes/octave.el (inferior-octave-error-regexp-alist)
10896 (inferior-octave-compilation-font-lock-keywords): New variables.
10897 (compilation-error-regexp-alist)
10898 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10899 (inferior-octave-mode): Use compilation-shell-minor-mode.
10901 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
10903 * minibuffer.el (completion--replace): Be careful that `end' might be
10906 2013-10-03 Daiki Ueno <ueno@gnu.org>
10908 Add support for package signature checking.
10909 * emacs-lisp/package.el (url-http-file-exists-p)
10910 (epg-make-context, epg-context-set-home-directory)
10911 (epg-verify-string, epg-context-result-for)
10912 (epg-signature-status, epg-signature-to-string)
10913 (epg-check-configuration, epg-configuration)
10914 (epg-import-keys-from-file): Declare.
10915 (package-check-signature): New user option.
10916 (package-unsigned-archives): New user option.
10917 (package-desc): Add `signed' field.
10918 (package-load-descriptor): Set `signed' field if .signed file exists.
10919 (package--archive-file-exists-p): New function.
10920 (package--check-signature): New function.
10921 (package-install-from-archive): Check package signature.
10922 (package--download-one-archive): Check archive signature.
10923 (package-delete): Remove .signed file.
10924 (package-import-keyring): New command.
10925 (package-refresh-contents): Import default keyring.
10926 (package-desc-status): Add "unsigned" status.
10927 (describe-package-1, package-menu--print-info)
10928 (package-menu-mark-delete, package-menu--find-upgrades)
10929 (package-menu--status-predicate): Support "unsigned" status.
10931 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10933 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10934 the new compilation scheme using the new byte-codes.
10936 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10937 (byte-pophandler): New byte codes.
10938 (byte-goto-ops): Adjust accordingly.
10939 (byte-compile--use-old-handlers): New var.
10940 (byte-compile-catch): Use new byte codes depending on
10941 byte-compile--use-old-handlers.
10942 (byte-compile-condition-case--old): Rename from
10943 byte-compile-condition-case.
10944 (byte-compile-condition-case--new): New function.
10945 (byte-compile-condition-case): New function that dispatches depending
10946 on byte-compile--use-old-handlers.
10947 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10950 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10951 Optimize under `condition-case' and `catch' if
10952 byte-compile--use-old-handlers is nil.
10953 (disassemble-offset): Handle new bytecodes.
10955 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10957 * subr.el (error): Use `declare'.
10958 (decode-char, encode-char): Use advertised-calling-convention instead
10959 of the docstring to discourage use of the `restriction' arg.
10961 2013-10-03 Daiki Ueno <ueno@gnu.org>
10963 * epg.el (epg-verify-file): Add a comment saying that it does not
10964 notify verification error as a return value nor a signal.
10965 (epg-verify-string): Ditto.
10967 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10969 * progmodes/compile.el (compilation-start): Try globbing the arg to
10972 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
10974 Sync with Tramp 2.2.8.
10976 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10977 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10978 * net/trampver.el: Update release number.
10980 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
10982 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10983 and default-process-coding-system for darwin only.
10985 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10989 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
10991 * vc/vc-git.el (vc-git-grep): Disable pager.
10993 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
10995 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10996 Use :url instead of :homepage, as per
10997 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10999 * newcomment.el (comment-beginning): When `comment-use-syntax' is
11000 non-nil, use `syntax-ppss' (Bug#15251).
11002 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11004 * progmodes/octave.el (inferior-octave-startup-file):
11005 Prefer ~/.emacs.d/init_octave.m.
11007 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
11009 * emacs-lisp/package.el (package-desc-from-define):
11010 Accept additional arguments as plist, convert them to an alist and store
11011 them in the `extras' slot.
11012 (package-generate-description-file): Convert extras alist back to
11013 plist and append to the `define-package' form arguments.
11014 (package--alist-to-plist): New function.
11015 (package--ac-desc): Add `extras' slot.
11016 (package--add-to-archive-contents): Check if the archive-contents
11017 vector is long enough, and if it is, pass its `extras' slot value
11018 to `package-desc-create'.
11019 (package-buffer-info): Call `lm-homepage', pass the returned value
11020 to `package-desc-from-define'.
11021 (describe-package-1): Render the homepage button (Bug#13291).
11023 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11024 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
11026 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
11028 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11029 and default-process-coding-system to utf-8-unix (Bug#15402).
11031 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
11033 * subr.el (looking-back): Do not recommend using looking-back.
11035 2013-09-28 Alan Mackenzie <acm@muc.de>
11037 Fix indentation/fontification of Java enum with "implements".
11039 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
11040 regexp which matches "implements", etc., in Java.
11041 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
11042 specifier clauses coming after "enum".
11043 * progmodes/cc-fonts.el (c-font-lock-declarations)
11044 (c-font-lock-enum-tail): Check for extra specifier clauses coming
11047 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
11049 * faces.el (region): Change ns_selection_color to
11050 ns_selection_fg_color, add ns_selection_bg_color.
11052 2013-09-28 Leo Liu <sdl.web@gmail.com>
11054 * progmodes/octave.el (inferior-octave-completion-table)
11055 (inferior-octave-completion-at-point): Minor tweaks.
11057 * textmodes/ispell.el (ispell-lookup-words): Rename from
11058 lookup-words. (Bug#15460)
11059 (lookup-words): Obsolete.
11060 (ispell-complete-word, ispell-command-loop): All uses changed.
11062 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11064 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
11065 (octave-mode-menu): Add octave-send-buffer.
11066 (octave-send-buffer): New function.
11068 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11070 * progmodes/octave.el (octave-mode-map): Add key binding for
11072 (octave-mode-menu): Add octave-lookfor.
11073 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
11075 (octave-lookfor): New function.
11077 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11079 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
11080 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
11082 (cl--loop-set-iterator-function): New function.
11083 (cl-loop): Adjust accordingly, so as not to use cl-subst.
11084 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
11085 Bind `it' with `let' instead of substituting it with `cl-subst'.
11086 (cl--unused-var-p): New function.
11087 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
11088 Eliminate some unused variable warnings (bug#15326).
11090 2013-09-27 Tassilo Horn <tsdh@gnu.org>
11092 * doc-view.el (doc-view-scale-reset): Rename from
11093 `doc-view-reset-zoom-level'.
11094 (doc-view-scale-adjust): New command.
11095 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
11096 `doc-view-scale-adjust'.
11098 2013-09-26 Tassilo Horn <tsdh@gnu.org>
11100 * doc-view.el (doc-view-reset-zoom-level): New command.
11101 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
11102 zoom commands (bug#15466).
11104 2013-09-26 Kenichi Handa <handa@gnu.org>
11106 * international/quail.el (quail-help): Make it not a command.
11108 2013-09-26 Leo Liu <sdl.web@gmail.com>
11110 * minibuffer.el (completion-all-sorted-completions): Make args
11111 optional as they are.
11113 2013-09-25 Daniel Colascione <dancol@dancol.org>
11115 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
11116 specs are and that they're not evaluated.
11118 2013-09-24 Sam Steingold <sds@gnu.org>
11120 * midnight.el (clean-buffer-list-kill-regexps)
11121 (clean-buffer-list-kill-buffer-names): Update for the new Man
11122 buffer naming which includes the object name.
11124 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11126 * eshell/esh-cmd.el (eshell--sep-terms): New var.
11127 (eshell-parse-command, eshell-parse-pipeline): Use it since
11128 eshell-separate-commands requires a dynamic scoped var.
11129 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
11131 2013-09-23 Leo Liu <sdl.web@gmail.com>
11133 * autoinsert.el (auto-insert-alist): Make the value of
11134 lexical-binding match its file setting.
11136 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
11138 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
11140 * autoarg.el (autoarg-kp-digit-argument):
11141 * electric.el (Electric-command-loop):
11142 * kmacro.el (kmacro-step-edit-insert):
11143 Do not set universal-argument-num-events.
11145 2013-09-22 Leo Liu <sdl.web@gmail.com>
11147 * files.el (interpreter-mode-alist): Add octave.
11149 2013-09-21 Alan Mackenzie <acm@muc.de>
11151 C++: fontify identifier in declaration following "public:" correctly.
11152 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
11153 to match "public", etc.
11154 (c-decl-prefix-re): Add ":" into the C++ value.
11155 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
11156 bit. Add a check for a ":" preceded by "public", etc.
11158 2013-09-21 Eli Zaretskii <eliz@gnu.org>
11160 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
11161 recognized by GDB 7.5 and later.
11163 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
11165 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
11167 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * subr.el (internal--call-interactively): New const.
11170 (called-interactively-p): Use it (bug#3984).
11172 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
11174 * vc/pcvs.el (cvs-mode-ignore):
11175 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
11176 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
11178 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
11181 (eshell-ls-orig-insert-directory): Remove.
11182 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
11183 (eshell-ls-use-in-dired): Use advice-add/remove.
11184 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
11185 Add `orig-fun' arg for use in :around advice.
11186 Make it check (redundantly) eshell-ls-use-in-dired.
11188 2013-09-19 Glenn Morris <rgm@gnu.org>
11190 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
11192 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
11194 * emacs-lisp/eieio.el (class-parent): Undo previous change.
11196 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
11198 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
11199 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
11200 (tramp-get-remote-python): New defuns.
11201 (tramp-get-remote-uid-with-perl)
11202 (tramp-get-remote-gid-with-perl): New defuns. Perl code
11203 contributed by yary <not.com@gmail.com> (tiny change).
11204 (tramp-get-remote-uid-with-python)
11205 (tramp-get-remote-gid-with-python): New defuns. Python code
11206 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
11207 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
11209 2013-09-19 Glenn Morris <rgm@gnu.org>
11211 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
11213 * eshell/em-unix.el (eshell-remove-entries):
11214 Rename argument to avoid name-clash with global `top-level'.
11216 * eshell/esh-proc.el (eshell-kill-process-function):
11217 Remove eshell-reset-after-proc from eshell-kill-hook if present.
11218 (eshell-reset-after-proc): Remove unused arg `proc'.
11220 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
11221 (directory-files-and-attributes): Mark unused arg.
11223 * eshell/em-unix.el (eshell-remove-entries):
11224 Remove unused arg `path'. Update callers.
11226 * eshell/em-hist.el (eshell-hist-parse-arguments):
11227 Remove unused arg `silent'. Update callers.
11229 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11230 Fix (f)boundp mix-up.
11232 * eshell/em-smart.el (eshell-smart-scroll-window)
11233 (eshell-disable-after-change):
11234 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11236 2013-09-18 Alan Mackenzie <acm@muc.de>
11238 Fix fontification of type when followed by "const".
11239 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11240 "known" types from fontification.
11242 2013-09-18 Glenn Morris <rgm@gnu.org>
11244 * emacs-lisp/chart.el (x-display-color-cells): Declare.
11245 (chart-face-list): Drop Emacsen without display-color-p.
11247 * net/eww.el (libxml-parse-html-region): Declare.
11248 (eww-display-html): Explicit error if no libxml2 support.
11250 * doc-view.el (doc-view-mode): Silence --without-x compilation.
11252 * image.el (image-type-from-buffer, image-multi-frame-p):
11253 Remove --without-x warning/error.
11255 * mouse.el (mouse-yank-primary):
11256 * term.el (term-mouse-paste):
11257 Reorder to silence --without-x compilation.
11259 * mpc.el (doc-view-mode): Silence --without-x compilation.
11261 * mail/rmailmm.el (rmail-mime-set-bulk-data):
11262 Silence --without-x compilation.
11264 * progmodes/gud.el (gud-find-file, gud-mode):
11265 Silence --without-x compilation.
11266 (tooltip-mode): Declare.
11268 * wdired.el (dired-backup-overwrite): Remove declaration.
11269 (wdired-mode-map): Add doc string.
11271 * custom.el (x-get-resource): Declare.
11273 * eshell/em-glob.el (ange-cache):
11274 * eshell/em-unix.el (ange-cache): Declare.
11276 * faces.el (x-display-list, x-open-connection, x-get-resource):
11279 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11280 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11283 * frame.el (x-display-grayscale-p, x-display-name): Declare.
11285 * net/gnutls.el (gnutls-log-level): Declare.
11287 * net/shr.el (image-size, image-animate): Declare.
11289 * simple.el (font-info): Declare.
11291 * subr.el (x-popup-dialog): Declare.
11293 * term/common-win.el (x-select-enable-primary)
11294 (x-last-selected-text-primary, x-last-selected-text-clipboard):
11297 * term/ns-win.el (x-handle-args): Declare.
11299 * term/x-win.el (x-select-enable-clipboard): Declare.
11301 * term/w32-win.el (create-default-fontset): Declare.
11303 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11306 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11307 (fit-frame-to-buffer): Explicit error if --without-x.
11308 (mouse-autoselect-window-select): Silence compiler.
11310 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11312 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11313 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11314 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11315 * eshell/esh-util.el (eshell-sublist):
11316 Remove unused local variables.
11318 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11320 * textmodes/two-column.el: Make 2C-split work for --without-x.
11321 (scroll-bar-columns): Autoload.
11322 (top-level): Require fringe when compiling.
11324 2013-09-18 Leo Liu <sdl.web@gmail.com>
11326 * subr.el (add-hook): Robustify to handle closure as well.
11328 2013-09-17 Glenn Morris <rgm@gnu.org>
11330 * simple.el (messages-buffer-mode-map): Unbind "g".
11332 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11334 * help-mode.el (help-mode-finish): Use derived-mode-p.
11335 Remove obsolete highlighting.
11337 * play/life.el (life-mode): Use define-derived-mode. Derive from
11339 (life): Let-bind inhibit-read-only.
11340 (life-setup): Avoid `setq'. Use `life-mode'.
11342 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11343 which should not be needed any more.
11344 (package-menu-refresh, package-menu-describe-package): Use user-error.
11346 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11347 (eshell-post-rewrite-command-hook): Make obsolete.
11348 (eshell-parse-command): Simplify.
11349 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11350 (eshell--cmd): Declare.
11351 (eshell-parse-pipeline): Remove unused var `final-p'.
11352 Pass a dynvar to eshell-post-rewrite-command-hook.
11353 Implement the new eshell-post-rewrite-command-function.
11354 (eshell-invoke-directly): Remove unused arg `input'.
11355 * eshell/esh-io.el (eshell-io-initialize):
11356 Use eshell-post-rewrite-command-function (bug#15399).
11357 (eshell--apply-redirections): Rename from eshell-apply-redirections;
11358 adjust to new calling convention.
11359 (eshell-create-handles): Rename args to avoid clashing with dynvar
11362 2013-09-17 Glenn Morris <rgm@gnu.org>
11364 * simple.el (messages-buffer-mode): New major mode.
11365 (messages-buffer): New function.
11366 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11367 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11368 (ert-run-test): Use `messages-buffer' function.
11369 (ert--force-message-log-buffer-truncation): Ignore read-only.
11370 * help.el (view-echo-area-messages): Use `messages-buffer' function.
11371 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11373 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11377 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11379 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11381 * icomplete.el (icomplete-in-buffer): New var.
11382 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11383 vars and replace them with functions.
11384 (icomplete-minibuffer-setup): Adjust accordingly.
11385 (icomplete--completion-table, icomplete--completion-predicate)
11386 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11388 (icomplete-forward-completions, icomplete-backward-completions)
11389 (icomplete-simple-completing-p, icomplete-exhibit)
11390 (icomplete-completions): Use them.
11391 (icomplete--in-region-buffer): New var.
11392 (icomplete--in-region-setup): New function.
11393 (icomplete-mode): Use it.
11395 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11397 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11398 return args and options.
11399 (eshell-eval-using-options): Use the new return value of
11400 eshell--do-opts to set the options's vars in their scope.
11401 (eshell--set-option): Rename from eshell-set-option.
11402 Add arg `opt-vals'.
11403 (eshell--process-option): Rename from eshell-process-option.
11404 Add arg `opt-vals'.
11405 (eshell--process-args): Use an `opt-vals' alist to store the options's
11406 values during their processing and return them additionally to the
11409 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11411 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11412 continuation character an operator, as far as indentation is
11413 concerned (Bug#15369).
11415 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11417 * window.el (window--state-put-2): Don't process buffer state
11418 when buffer doesn't exist any more (Bug#15382).
11420 2013-09-15 Glenn Morris <rgm@gnu.org>
11422 * eshell/em-unix.el (eshell/rm):
11423 Make -f ignore missing files. (Bug#15373)
11425 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11426 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11427 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11429 2013-09-14 Glenn Morris <rgm@gnu.org>
11431 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11433 2013-09-13 Glenn Morris <rgm@gnu.org>
11435 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11436 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11438 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11440 * frame.el (x-focus-frame): Mark as declared in frame.c.
11442 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11444 * ls-lisp.el: Use advice-add.
11445 (original-insert-directory): Remove.
11446 (ls-lisp--insert-directory): Rename from insert-directory; add
11447 `orig-fun' argument.
11448 (insert-directory): Advise.
11450 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11452 * term.el (term-emulate-terminal): Decode the command string
11453 before passing it to term-command-hook. (Bug#15337)
11455 2013-09-13 Glenn Morris <rgm@gnu.org>
11457 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11459 * eshell/esh-ext.el (eshell-search-path): Declare.
11461 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11462 Otherwise an error occurs if eshell-dirs module not loaded.
11464 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11466 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11468 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11469 `tramp-check-proper-host'. Check for a valid method name.
11471 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11472 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11473 * net/tramp-sh.el (tramp-maybe-open-connection):
11474 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11476 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11477 also for hash values.
11479 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * term/ns-win.el (parameters): Don't declare as dynamic.
11482 (before-make-frame-hook): Don't add ineffective function.
11484 * eshell/*.el: Use lexical-binding (bug#15231).
11486 2013-09-12 Kenichi Handa <handa@gnu.org>
11488 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11490 2013-09-12 Glenn Morris <rgm@gnu.org>
11492 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11493 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11495 * subr.el (do-after-load-evaluation): Also give compiler warnings
11496 when obsolete files are used (except by obsolete files).
11498 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11499 in the status output, assume `filename' is the first. (Bug#15322)
11501 * vc/vc.el (vc-deduce-fileset): Doc fix.
11503 * calc/calc-help.el (Info-goto-node):
11504 * progmodes/cperl-mode.el (Info-find-node):
11505 * vc/ediff.el (Info-goto-node): Update declarations.
11507 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11509 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11510 (vc-bzr-pull): Require vc-dispatcher.
11511 * vc/vc-git.el (vc-compilation-mode): Declare.
11512 (vc-git-pull): Require vc-dispatcher.
11514 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11516 * progmodes/octave.el (help-button-action): Declare.
11518 * shell.el (shell-directory-tracker): Output error as a message
11519 rather than just returning it as a string.
11520 (shell-process-pushd): Remove useless use of message.
11522 * dframe.el (dframe-timer-fn):
11523 * files.el (dir-locals-read-from-file):
11524 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11526 * reveal.el (reveal-post-command):
11527 * saveplace.el (load-save-place-alist-from-file):
11528 * shell.el (shell-resync-dirs):
11529 * w32-common-fns.el (x-get-selection-value):
11530 * emacs-lisp/copyright.el (copyright-find-copyright):
11531 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11532 * emulation/tpu-edt.el (tpu-copy-keyfile):
11533 * play/bubbles.el (bubbles--mark-neighbourhood):
11534 * progmodes/executable.el
11535 (executable-make-buffer-file-executable-if-script-p):
11536 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11538 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11540 Cleanup Eshell to rely less on dynamic scoping.
11541 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11542 last-value, and ext-command here. Bind `args' closer to `body'.
11543 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11544 (eshell--args): Declare new dynamic var.
11545 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11546 last-value, and ext-command. Pass `args' to `body'.
11547 (eshell-process-args): Bind eshell--args.
11548 (eshell-set-option): Use eshell--args.
11549 * eshell/eshell.el (eshell): Use derived-mode-p.
11550 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11551 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11552 (eshell-glob-function): Declare.
11553 * eshell/esh-util.el: Require cl-lib.
11554 (eshell-read-hosts-file): Avoid add-to-list.
11555 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11557 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11559 (eshell/diff): Remove unused var `err'.
11560 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11562 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11563 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11565 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11566 Move declaration before first use.
11567 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11568 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11571 2013-09-12 Glenn Morris <rgm@gnu.org>
11573 * term/ns-win.el (global-map): Remove binding for ispell-next,
11574 deleted 1999-05-29. (Bug#15357)
11576 2013-09-11 Glenn Morris <rgm@gnu.org>
11578 * echistory.el (electric-command-history): Remove call to deleted func.
11580 * play/landmark.el (landmark-mode): Fix typos.
11582 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11583 Check cvs-sort-ignore-file is bound.
11585 * savehist.el: No need for cl when compiling on Emacs.
11587 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11589 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11591 (eshell-self-insert-command, eshell-send-invisible):
11592 Remove unused argument.
11593 (eshell-handle-control-codes): Remove unused var `orig'.
11594 Avoid delete-backward-char.
11596 * files.el (set-auto-mode): Simplify a bit further.
11598 2013-09-11 Glenn Morris <rgm@gnu.org>
11600 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11601 (set-auto-mode): Don't regexp-quote elements.
11602 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11603 * progmodes/cc-mode.el (interpreter-mode-alist):
11604 * progmodes/ruby-mode.el (interpreter-mode-alist):
11605 Revert previous change.
11607 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11609 * play/snake.el (snake-mode):
11610 * play/mpuz.el (mpuz-mode):
11611 * play/landmark.el (lm-mode):
11612 * play/blackbox.el (blackbox-mode):
11613 * play/5x5.el (5x5-mode):
11614 * obsolete/options.el (Edit-options-mode):
11615 * net/quickurl.el (quickurl-list-mode):
11616 * net/newst-treeview.el (newsticker-treeview-mode):
11617 * mail/rmailsum.el (rmail-summary-mode):
11618 * mail/mspools.el (mspools-mode):
11619 * locate.el (locate-mode):
11620 * ibuffer.el (ibuffer-mode):
11621 * emulation/ws-mode.el (wordstar-mode):
11622 * emacs-lisp/debug.el (debugger-mode):
11623 * array.el (array-mode):
11624 * net/eudc.el (eudc-mode): Use define-derived-mode.
11625 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11626 Move initialization into declaration.
11627 (mairix-searches-mode): Use define-derived-mode.
11628 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11629 (eudc-edit-hotlist): Use dolist.
11630 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11631 (Man-mode): Use define-derived-mode.
11632 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11633 (Info-edit-mode): Use define-derived-mode.
11634 (Info-cease-edit): Use Info-mode.
11635 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11637 (eshell-mode): Use define-derived-mode.
11638 * chistory.el (command-history-mode-map): Rename from
11639 command-history-map.
11640 (command-history-mode): Use define-derived-mode.
11641 (Command-history-setup): Remove function.
11642 * calc/calc.el (calc-trail-mode-map): New var.
11643 (calc-trail-mode): Use define-derived-mode.
11644 (calc-trail-buffer): Set calc-main-buffer manually.
11645 * bookmark.el (bookmark-insert-annotation): New function.
11646 (bookmark-edit-annotation): Use it.
11647 (bookmark-edit-annotation-mode): Make it a proper major mode.
11648 (bookmark-send-edited-annotation): Use derived-mode-p.
11649 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11650 closer to its ideal place. Use \' to match EOS.
11652 * profiler.el (profiler-calltree-find): Use function-equal.
11654 2013-09-10 Glenn Morris <rgm@gnu.org>
11656 * files.el (interpreter-mode-alist): Convert to regexps.
11657 (set-auto-mode): Adapt for this. (Bug#15306)
11658 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11659 Comment out unused variable.
11660 * progmodes/cc-mode.el (interpreter-mode-alist):
11661 * progmodes/python.el (interpreter-mode-alist):
11662 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11663 * progmodes/sh-script.el (sh-set-shell):
11664 No longer use interpreter-mode-alist to get list of shells.
11666 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11668 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11670 * simple.el: Use set-temporary-overlay-map for universal-argument.
11671 (universal-argument-map): Don't use default-bindings (bug#15317).
11672 Bind switch-frame explicitly. Replace universal-argument-minus with
11673 a conditional binding.
11674 (universal-argument-num-events, saved-overriding-map): Remove.
11675 (restore-overriding-map): Remove.
11676 (universal-argument--mode): Rename from save&set-overriding-map,
11678 (universal-argument, universal-argument-more, negative-argument)
11679 (digit-argument): Adjust accordingly.
11680 (universal-argument-minus): Remove.
11681 (universal-argument-other-key): Remove.
11683 * subr.el (with-demoted-errors): Add `format' argument.
11685 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11687 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11688 `tramp-cleanup-connection'.
11690 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11691 parameters KEEP-DEBUG and KEEP-PASSWORD.
11693 * net/tramp.el (tramp-file-name-handler):
11694 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11695 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11696 (tramp-maybe-open-connection):
11697 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11698 Use `tramp-cleanup-connection'.
11700 * net/tramp-sh.el (tramp-maybe-open-connection):
11701 Catch 'uname-changed inside the progress reporter.
11703 2013-09-10 Glenn Morris <rgm@gnu.org>
11705 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11707 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11708 returns "alternate access method" in mode (eg "-rw-r--r--.").
11710 2013-09-08 Glenn Morris <rgm@gnu.org>
11712 * saveplace.el (load-save-place-alist-from-file):
11713 Demote errors. (Bug#15305)
11715 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11717 Improve compatibility with older Emacsen, and XEmacs.
11719 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11720 only if it is bound. It isn't for XEmacs.
11721 (with-tramp-progress-reporter): Do not let-bind `result'.
11722 This yields to scoping errors in XEmacs.
11723 (tramp-handle-make-auto-save-file-name): New function, moved from
11726 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11727 for `make-auto-save-file-name'.
11728 (tramp-adb--gnu-switches-to-ash):
11729 Use `tramp-compat-replace-regexp-in-string'.
11731 * net/tramp-cache.el (tramp-cache-print): Call
11732 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11734 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11735 bound. It isn't for XEmacs.
11737 * net/tramp-compat.el (tramp-compat-copy-file):
11738 Catch `wrong-number-of-arguments' error.
11739 (tramp-compat-replace-regexp-in-string): New defun.
11741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11742 for `make-auto-save-file-name'.
11743 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11745 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11746 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11747 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11749 * net/tramp-gw.el (tramp-gw-open-network-stream):
11750 Use `tramp-compat-replace-regexp-in-string'.
11752 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11753 Call `tramp-handle-make-auto-save-file-name'.
11754 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11755 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11756 (tramp-sh-file-inotifywait-process-filter):
11757 Use `tramp-compat-replace-regexp-in-string'.
11758 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11760 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11761 for `make-auto-save-file-name'.
11762 (tramp-smb-handle-copy-directory):
11763 Call `tramp-compat-replace-regexp-in-string'.
11764 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11765 (tramp-smb-handle-copy-file): Improve error message.
11766 (tramp-smb-handle-rename-file): Rename directly only in case
11767 `newname' does not exist yet. This is a restriction of smbclient.
11768 (tramp-smb-maybe-open-connection): Rerun the function only when
11769 `auth-sources' is non-nil.
11771 2013-09-08 Kenichi Handa <handa@gnu.org>
11773 * international/characters.el: Set category "^" (Combining) for
11776 2013-09-07 Alan Mackenzie <acm@muc.de>
11778 Correctly fontify Java class constructors.
11779 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11781 (c-recognize-typeless-decls): Set the Java value to t.
11782 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11783 While handling a "(", add a check for, effectively, Java, and handle a
11784 "typeless" declaration there.
11786 2013-09-07 Roland Winkler <winkler@gnu.org>
11788 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11789 field subtitle for entry type book.
11791 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11793 * minibuffer.el: Make minibuffer-complete call completion-in-region
11794 rather than other way around.
11795 (completion--some, completion-pcm--find-all-completions):
11796 Don't delay signals when debugging.
11797 (minibuffer-completion-contents): Beware fields within the
11798 minibuffer contents.
11799 (completion-all-sorted-completions): Use defvar-local.
11800 (completion--do-completion, completion--cache-all-sorted-completions)
11801 (completion-all-sorted-completions, minibuffer-force-complete):
11802 Add args `beg' and `end'.
11803 (completion--in-region-1): New fun, extracted from minibuffer-complete.
11804 (minibuffer-complete): Use completion-in-region.
11805 (completion-complete-and-exit): New fun, extracted from
11806 minibuffer-complete-and-exit.
11807 (minibuffer-complete-and-exit): Use it.
11808 (completion--complete-and-exit): Rename from
11809 minibuffer--complete-and-exit.
11810 (completion-in-region--single-word): New function, extracted from
11811 minibuffer-complete-word.
11812 (minibuffer-complete-word): Use it.
11813 (display-completion-list): Make `common-substring' argument obsolete.
11814 (completion--in-region): Call completion--in-region-1 instead of
11815 minibuffer-complete.
11816 (completion-help-at-point): Pass boundaries to
11817 minibuffer-completion-help as args rather than via an overlay.
11818 (completion-pcm--string->pattern): Use `any-delim'.
11819 (completion-pcm--optimize-pattern): New function.
11820 (completion-pcm--pattern->regex): Handle `any-delim'.
11821 * icomplete.el (icomplete-forward-completions)
11822 (icomplete-backward-completions, icomplete-completions):
11823 Adjust calls to completion-all-sorted-completions and
11824 completion--cache-all-sorted-completions.
11825 (icomplete-with-completion-tables): Default to t.
11826 * emacs-lisp/crm.el (crm--current-element): Rename from
11827 crm--select-current-element. Don't put an overlay but return the
11828 boundaries instead.
11829 (crm--completion-command): Take two new args to bind to the boundaries.
11830 (crm-completion-help): Adjust accordingly.
11831 (crm-complete): Use completion-in-region.
11832 (crm-complete-word): Use completion-in-region--single-word.
11833 (crm-complete-and-exit): Use completion-complete-and-exit.
11835 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11840 2013-09-06 Juri Linkov <juri@jurta.org>
11842 * info.el (Info-display-images-node): When image file doesn't exist
11843 display text version of the image if it's provided in the Info file.
11844 Otherwise, display the location of missing image from SRC attribute.
11845 Add help-echo text property from ALT attribute. (Bug#15279)
11847 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11849 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11850 (edit-abbrevs-mode): Use define-derived-mode.
11852 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11853 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11855 (epa-key-list-mode, epa-key-mode, epa-info-mode):
11856 Use define-derived-mode.
11858 * epg.el (epg-start-encrypt): Minor CSE simplification.
11860 2013-09-06 William Xu <william.xwl@gmail.com>
11862 * arc-mode.el: Add support for 7za (bug#15264).
11863 (archive-7z-program): New var.
11864 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11865 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11866 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11868 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
11872 * net/tramp.el (tramp-syntax, tramp-prefix-format)
11873 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11874 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11875 (tramp-postfix-host-format, tramp-file-name-regexp)
11876 (tramp-completion-file-name-regexp)
11877 (tramp-completion-dissect-file-name)
11878 (tramp-handle-substitute-in-file-name): Remove 'url case.
11879 (tramp-file-name-regexp-url)
11880 (tramp-completion-file-name-regexp-url): Remove constants.
11882 2013-09-06 Glenn Morris <rgm@gnu.org>
11884 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
11886 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
11888 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11889 keywords" below "here-doc beginnings" (Bug#15270).
11891 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11893 * subr.el (pop): Use `car-safe'.
11894 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11895 to detect unused `pop' return value.
11897 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11898 var `block-regexp'.
11899 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11900 (python-fill-string): Remove unused var `marker'.
11901 (python-skeleton-add-menu-items): Remove unused var `items'.
11903 * international/mule-cmds.el: Require CL.
11904 (find-coding-systems-for-charsets): Avoid add-to-list.
11905 (sanitize-coding-system-list): New function, extracted from
11906 select-safe-coding-system-interactively.
11907 (select-safe-coding-system-interactively): Use it.
11908 (read-input-method-name): Accept symbols for `default'.
11910 * emacs-lisp/advice.el (defadvice): Add indent rule.
11912 2013-09-05 Daniel Hackney <dan@haxney.org>
11916 * net/browse-url.el:
11919 * net/eudcb-ldap.el:
11923 * vc/ediff-diff.el:
11924 * vc/ediff-init.el:
11925 * vc/ediff-merg.el:
11926 * vc/ediff-mult.el:
11927 * vc/ediff-util.el:
11928 * vc/ediff-wind.el:
11932 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11933 byte compiler. Remove some unused let-bound variables.
11935 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11938 a "ref-cell", since it gets better optimized (bug#14883).
11940 2013-09-05 Glenn Morris <rgm@gnu.org>
11942 * progmodes/cc-awk.el (c-forward-sws): Declare.
11944 2013-09-04 Glenn Morris <rgm@gnu.org>
11946 * generic-x.el [rul-generic-mode]: Require cc-mode.
11947 (c++-mode-syntax-table): Declare.
11948 (rul-generic-mode-syntax-table): Init in the defvar.
11950 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
11952 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11953 (vc-do-command, vc-set-async-update):
11954 * vc/vc-mtn.el (vc-mtn-dir-status):
11955 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11956 (vc-hg-pull, vc-hg-merge-branch):
11957 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11958 (vc-git-merge-branch):
11959 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11960 (vc-cvs-dir-status-files):
11961 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11962 (vc-bzr-dir-status-files):
11963 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11964 * vc/vc-annotate.el: Use lexical-binding.
11965 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11966 (vc-sentinel-movepoint): Declare.
11967 (vc-annotate): Don't use `goto-line'.
11968 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11969 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11970 (vc-sentinel-movepoint): Declare.
11971 * vc/vc-svn.el: Use lexical-binding.
11972 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11974 * vc/vc-rcs.el: Use lexical-binding.
11976 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11977 `deleted'. Don't drop errors silently.
11979 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11981 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
11983 * vc/vc.el (vc-ignore): Rewrite.
11984 (vc-default-ignore): New function.
11985 (vc-default-ignore-completion-table): Use find-ignore-file.
11987 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11988 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11989 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11990 Remove. Most code moved to vc.el.
11992 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
11994 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11995 * net/tramp-smb.el (tramp-smb-get-file-entries):
11996 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11997 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11999 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
12001 (eww-change-select): Remove unused var `properties'.
12002 (eww-make-unique-file-name): Remove unused var `base'.
12004 * finder.el (finder-compile-keywords): Don't mess with windows.
12006 * calculator.el (calculator-funcall): Fix typo in last change.
12008 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
12010 * emacs-lisp/package.el (package-activate-1): Don't let a missing
12011 <pkg>-autoloads.el file stop us.
12013 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
12014 warnings, and factor out common code.
12016 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
12018 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
12019 two-character operators and whether the character preceding them
12020 changes their meaning (Bug#15208).
12022 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12024 Format code sent to Python shell for robustness.
12025 * progmodes/python.el (python-shell-buffer-substring):
12027 (python-shell-send-region, python-shell-send-buffer): Use it.
12029 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
12031 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
12032 * net/tramp.el (tramp-user-error): ... here.
12033 (tramp-find-method, tramp-check-proper-host)
12034 (tramp-dissect-file-name, tramp-debug-message)
12035 (tramp-handle-shell-command):
12036 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12037 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
12039 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
12041 2013-09-02 Martin Rudalics <rudalics@gmx.at>
12043 * avoid.el (mouse-avoidance-point-position)
12044 (mouse-avoidance-too-close-p): Handle case where posn-at-point
12047 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12049 * progmodes/python.el (python-shell-completion-get-completions):
12050 Drop use of deleted `comint-last-prompt-overlay'.
12051 (python-nav-if-name-main): New command.
12053 2013-09-01 Glenn Morris <rgm@gnu.org>
12055 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12056 Avoid leading space in $wins. Otherwise the sed command used by
12057 eg compile-main ends up containing "/*.el". (Bug#15170)
12059 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
12061 2013-08-30 Glenn Morris <rgm@gnu.org>
12063 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12064 Fix is-this-a-directory logic. (Bug#15220)
12066 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12068 * textmodes/css-mode.el: Use SMIE.
12069 (css-smie-grammar): New var.
12070 (css-smie--forward-token, css-smie--backward-token)
12071 (css-smie-rules): New functions.
12072 (css-mode): Use them.
12073 (css-navigation-syntax-table): Remove var.
12074 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
12075 (css-indent-calculate, css-indent-line): Remove functions.
12077 Misc changes to reduce use of `(lambda...); and other cleanups.
12078 * cus-edit.el: Use lexical-binding.
12079 (customize-push-and-save, customize-apropos)
12080 (custom-buffer-create-internal): Use closures.
12081 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
12082 * progmodes/ada-xref.el: Use setq.
12083 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
12084 * dframe.el: Use lexical-binding.
12085 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
12086 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
12087 * descr-text.el: Use lexical-binding.
12088 (describe-text-widget, describe-text-sexp, describe-property-list):
12090 * comint.el (comint-history-isearch-push-state): Use a closure.
12091 * calculator.el: Use lexical-binding.
12092 (calculator-number-to-string): Make it work with lexical-binding.
12093 (calculator-funcall): Same and use cl-letf.
12095 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
12096 (lisp--company-doc-string, lisp--company-location): New functions.
12097 (lisp-completion-at-point): Use them to improve Company support.
12099 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
12100 params of lambda expressions.
12101 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
12102 (ruby-smie--opening-pipe-p): New function.
12103 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
12104 symbols and matched |...| for formal params.
12105 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
12106 from being treated as hanging. Handle "rescue".
12108 2013-08-29 Glenn Morris <rgm@gnu.org>
12110 * progmodes/cc-engine.el (c-pull-open-brace):
12111 Move definition before use.
12113 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12115 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
12116 are immutable. Don't use `unsafe' any more.
12117 (cl--defsubst-expand): Don't substitute at the same time as keeping
12118 a residual unused let-binding. Don't use `unsafe' any more.
12120 2013-08-29 Glenn Morris <rgm@gnu.org>
12122 * calendar/cal-china.el (calendar-chinese-year-cache):
12125 * nxml/nxml-util.el (nxml-debug-clear-inside):
12126 Use cl-loop rather than loop.
12128 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
12130 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
12132 2013-08-28 Glenn Morris <rgm@gnu.org>
12134 * progmodes/antlr-mode.el: No need to require cc-mode twice.
12136 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
12138 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
12140 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12142 * simple.el (repeat-complex-command--called-interactively-skip):
12144 (repeat-complex-command): Use it (bug#14136).
12146 * progmodes/cc-mode.el: Minor cleanup of var declarations.
12147 (c-define-abbrev-table): Add `doc' argument.
12148 (c-mode-abbrev-table, c++-mode-abbrev-table)
12149 (objc-mode-abbrev-table, java-mode-abbrev-table)
12150 (idl-mode-abbrev-table, pike-mode-abbrev-table)
12151 (awk-mode-abbrev-table): Use it.
12152 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
12153 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
12154 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
12155 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
12156 Move initialization into the declaration; and remove any
12159 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
12160 and dynamic let binding.
12162 * vc/smerge-mode.el: Remove redundant :group args.
12164 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
12167 2013-08-28 Juri Linkov <juri@jurta.org>
12169 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
12170 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
12171 (isearch-other-meta-char): Handle an undefined shifted printing
12172 character by downshifting it. (Bug#15200)
12174 2013-08-28 Juri Linkov <juri@jurta.org>
12176 * isearch.el (isearch-search): Change regexp error message for
12177 non-regexp searches. (Bug#15166)
12179 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
12181 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
12182 for portability to hosts where /bin/sh has problems.
12184 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12186 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
12188 2013-08-27 Juri Linkov <juri@jurta.org>
12190 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
12191 in the keyboard macro. (Bug#15126)
12193 2013-08-27 Juri Linkov <juri@jurta.org>
12195 * isearch.el (isearch-quote-char): Comment out converting unibyte
12196 to multibyte, thus syncing with its `quoted-insert' counterpart.
12199 2013-08-27 Martin Rudalics <rudalics@gmx.at>
12201 * window.el (display-buffer-use-some-window): Add missing
12202 argument in call of get-largest-window (Bug#15185).
12203 Reported by Stephen Leake.
12205 2013-08-27 Glenn Morris <rgm@gnu.org>
12207 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12209 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
12211 * progmodes/python.el (python-font-lock-keywords): Don't return nil
12212 from a matcher-function unless there's no more matches (bug#15161).
12214 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12216 * minibuffer.el: Revert change from 2013-08-20.
12218 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
12219 with text property `tramp-default', if appropriate.
12220 (tramp-check-proper-host): New defun.
12221 (tramp-dissect-file-name): Do not check hostname. Revert change
12223 (tramp-backtrace): Make VEC-OR-PROC optional.
12225 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12226 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12227 * net/tramp-sh.el (tramp-maybe-open-connection):
12228 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12229 Apply `tramp-check-proper-host'.
12231 2013-08-26 Tassilo Horn <tsdh@gnu.org>
12233 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12234 lambda expression in order to have `describe-variable' display it.
12236 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12238 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12239 BUF can be optional. (Bug#15186)
12241 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
12243 * progmodes/flymake.el (flymake-get-real-file-name-function):
12244 Fix broken customization. (Bug#15184)
12246 2013-08-25 Alan Mackenzie <acm@muc.de>
12248 Improve indentation of bracelists defined by macros (without "=").
12250 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12251 expansion begins with "{", regard it as bracelist when it doesn't
12254 Parse C++ inher-intro when there's a template split over 2 lines.
12256 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12257 rigorously the search for "class" etc. followed by ":".
12259 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12260 random languages a regexp which never matches rather than nil.
12262 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12264 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12265 (c-awk-regexp-one-line-possibly-open-char-list-re)
12266 (c-awk-one-line-possibly-open-regexp-re)
12267 (c-awk-one-line-non-syn-ws*-re): Remove.
12268 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12269 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12270 (c-awk-space*-unclosed-regexp-/-re): New constants.
12271 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12272 aren't regexp delimiters.
12274 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12275 handling for a rare situation in AWK Mode involving unterminated
12278 2013-08-23 Glenn Morris <rgm@gnu.org>
12280 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12282 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12284 * files.el (create-file-buffer): If the result would begin with
12285 spaces, prepend a "|" instead of removing them. (Bug#15162)
12287 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12289 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12290 text-properties (bug#15155).
12292 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12294 (calc-keypad-redraw): Remove unused var `pad'.
12295 (calc-keypad-press): Remove unused var `menu'.
12297 2013-08-23 Martin Rudalics <rudalics@gmx.at>
12299 * window.el (display-buffer-pop-up-frame):
12300 Call pop-up-frame-function with BUFFER current so `make-frame' will
12301 use it as the new frame's buffer (Bug#15133).
12303 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * calendar/timeclock.el: Minor cleanups.
12306 (timeclock-ask-before-exiting, timeclock-use-display-time):
12308 (timeclock-modeline-display): Define as alias before the
12310 (timeclock-mode-line-display): Use define-minor-mode.
12311 (timeclock-day-list-template): Make it a function, add an argument.
12312 (timeclock-day-list-required, timeclock-day-list-length)
12313 (timeclock-day-list-debt, timeclock-day-list-span)
12314 (timeclock-day-list-break): Adjust calls accordingly.
12316 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
12318 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12319 Use read--expression so that completion works again.
12321 2013-08-21 Sam Steingold <sds@gnu.org>
12323 Add rudimentary inferior shell interaction
12324 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12325 (sh-set-shell): Reset it.
12326 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12327 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12329 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
12331 * align.el: Use lexical-binding.
12332 (align-region): Simplify accordingly.
12334 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
12336 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12338 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12339 `non-essential' up.
12341 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
12344 * net/tramp-adb.el:
12345 * net/tramp-cmds.el:
12346 * net/tramp-ftp.el:
12347 * net/tramp-gvfs.el:
12349 * net/tramp-sh.el: Don't wrap external variable declarations by
12350 `eval-when-compile'.
12352 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12355 now that Emacs supports ImageMagick animations.
12357 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
12359 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12360 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12362 2013-08-16 Martin Rudalics <rudalics@gmx.at>
12364 * window.el (mouse-autoselect-window-select): Do autoselect when
12365 mouse pointer is on margin.
12367 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
12369 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
12371 2013-08-16 Glenn Morris <rgm@gnu.org>
12373 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12374 Handle "Remote Directory" response of some clients. (Bug#15058)
12376 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12377 Tweak warning. (Bug#14926)
12379 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12380 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12382 * image-mode.el (image-mode-map): Add menu items to reverse,
12383 increase, decrease, reset animation speed.
12384 (image--set-speed, image-increase-speed, image-decrease-speed)
12385 (image-reverse-speed, image-reset-speed): New functions.
12386 (image-mode-map): Add bindings for speed commands.
12388 * image.el (image-animate-get-speed, image-animate-set-speed):
12390 (image-animate-timeout): Respect image :speed property.
12392 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12394 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12395 previous line (bug#15101).
12396 (debugger-eval-expression, debugger-record-expression):
12397 Use read--expression (bug#15102).
12399 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12401 Remove byte compiler warnings, visible when compiling with
12402 `byte-compile-force-lexical-warnings' set to t.
12404 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12405 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12406 (tramp-handle-unhandled-file-name-directory)
12407 (tramp-handle-file-notify-add-watch, tramp-action-login)
12408 (tramp-action-succeed, tramp-action-permission-denied)
12409 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12410 arguments with "_".
12412 * net/tramp-adb.el (tramp-adb-parse-device-names)
12413 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12414 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12415 (tramp-adb-handle-file-truename): Remove unused arguments.
12417 * net/tramp-cache.el (tramp-flush-directory-property)
12418 (tramp-flush-connection-property, tramp-list-connections)
12419 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12421 * net/tramp-compat.el (tramp-compat-make-temp-file):
12422 Rename FILENAME to F.
12424 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12425 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12426 (tramp-zeroconf-parse-workstation-device-names)
12427 (tramp-zeroconf-parse-webdav-device-names)
12428 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12430 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12431 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12433 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12435 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12436 (tramp-sh-handle-insert-file-contents-literally)
12437 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12439 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12440 Remove unused variables.
12442 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12443 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12444 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12446 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12447 Make them a defconst.
12448 (tramp-uuencode-region): Remove unused variable.
12450 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12452 * frameset.el (frameset--prop-setter): New function.
12453 (frameset-prop): Add gv-setter declaration.
12454 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12455 parameter was already set in FILTERED. Doc fix.
12456 (frameset--record-minibuffer-relationships): Allow saving a
12457 minibufferless frame without its corresponding minibuffer frame.
12458 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12459 frame, if the frame id matches.
12460 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12461 frames before orphaned ones.
12462 (frameset-restore): Warn about orphaned windows, instead of error out.
12464 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12466 * window.el (window-make-atom): Don't overwrite parameter
12468 (display-buffer-in-atom-window): Handle special case where we
12469 split an already atomic window.
12470 (window--major-non-side-window, display-buffer-in-side-window)
12471 (window--side-check): Ignore minibuffer window when walking
12473 (window-deletable-p): Return 'frame only if no other frame uses
12474 our minibuffer window.
12475 (record-window-buffer): Run buffer-list-update-hook.
12476 (split-window): Make sure window--check-frame won't destroy an
12477 existing atomic window in case the new window gets nested
12479 (display-buffer-at-bottom): Ignore minibuffer window when
12480 walking window tree. Don't split a side window.
12481 (pop-to-buffer): Don't set-buffer here, the select-window call
12483 (mouse-autoselect-window-select): Autoselect only if we are in the
12484 text portion of the window.
12486 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12488 * net/shr.el (shr-parse-image-data): New function to grab both the
12489 data itself and the Content-Type.
12490 (shr-put-image): Use it.
12492 * net/eww.el (eww-display-image): Ditto.
12494 * image.el (image-content-type-suffixes): New variable.
12496 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12498 * progmodes/python.el (python-imenu--build-tree)
12499 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12501 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12503 * simple.el (backward-word): Mention the optional argument.
12505 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12507 * frameset.el (frameset--make): Rename constructor from make-frameset.
12508 (frameset-p, frameset-valid-p): Don't autoload.
12509 (frameset-valid-p): Use normal accessors.
12511 2013-08-13 Glenn Morris <rgm@gnu.org>
12513 * progmodes/compile.el (compile-command): Tweak example in doc.
12514 * obsolete/scribe.el (scribe-mode):
12515 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12517 * mail/feedmail.el (feedmail-confirm-outgoing)
12518 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12520 * cus-start.el (truncate-partial-width-windows): Fix type.
12522 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12524 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12526 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12528 * emacs-lisp/timer.el (timer--time-setter): New function.
12529 (timer--time): Use it as gv-setter.
12531 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12532 setter is not a symbol.
12534 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12536 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12537 if sending fails. This makes debugging easier.
12539 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12541 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12542 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12543 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12545 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12547 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12549 2013-08-12 Glenn Morris <rgm@gnu.org>
12551 * format.el (format-annotate-function):
12552 Handle read-only text properties in the source. (Bug#14887)
12554 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12556 * net/eww.el (eww-display-html): Ignore coding system errors.
12557 One web site uses "utf-8lias" as the coding system.
12559 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12561 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12563 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12565 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12566 (tutorial--detailed-help): Remove unused local variables.
12567 (tutorial--save-tutorial-to): Use ignore-errors.
12568 (help-with-tutorial): Use looking-at-p.
12570 * view.el (view-buffer-other-window, view-buffer-other-frame):
12571 Mark unused arguments.
12573 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12574 (woman-select-symbol-fonts, woman, woman-find-file)
12575 (woman-insert-file-contents, woman-non-underline-faces):
12576 Use string-match-p.
12577 (woman1-unquote): Move declaration.
12579 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12580 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
12581 argument. Remove unused local variable.
12582 (xml-parse-elem-type): Use string-match-p.
12583 (xml-substitute-numeric-entities): Use ignore-errors.
12585 * calculator.el (calculator): Mark unused argument.
12586 (calculator-paste, calculator-quit, calculator-integer-p):
12588 (calculator-string-to-number, calculator-decimal, calculator-exp)
12589 (calculator-op-or-exp): Use string-match-p.
12591 * dired.el (dired-buffer-more-recently-used-p): Declare.
12592 (dired-insert-set-properties, dired-insert-old-subdirs):
12595 * dired-aux.el (dired-compress): Use ignore-errors.
12596 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12597 (dired-do-async-shell-command, dired-do-shell-command)
12598 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12599 (dired-insert-subdir-validate): Use string-match-p.
12600 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12601 (dired-add-entry): Use string-match-p, looking-at-p.
12602 (dired-insert-subdir-newpos): Remove unused local variable.
12604 * filenotify.el (file-notify-callback): Remove unused local variable.
12606 * filesets.el (filesets-error): Mark unused argument.
12607 (filesets-which-command-p, filesets-filter-dir-names)
12608 (filesets-directory-files, filesets-get-external-viewer)
12609 (filesets-ingroup-get-data): Use string-match-p.
12611 * find-file.el (ff-other-file-name, ff-other-file-name)
12612 (ff-find-the-other-file, ff-cc-hh-converter):
12613 Remove unused local variables.
12614 (ff-get-file-name): Use string-match-p.
12615 (ff-all-dirs-under): Use ignore-errors.
12617 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12618 (follow-select-if-visible): Remove unused local variable.
12620 * forms.el (read-file-filter): Move declaration.
12621 (forms--make-format, forms--make-parser, forms-insert-record):
12622 Quote function with #'.
12623 (forms--update): Use string-match-p. Quote function with #'.
12625 * help-mode.el (help-dir-local-var-def): Mark unused argument.
12626 (help-make-xrefs): Use looking-at-p.
12627 (help-xref-on-pp): Use looking-at-p, ignore-errors.
12629 * ibuffer.el (ibuffer-ext-visible-p): Declare.
12630 (ibuffer-confirm-operation-on): Use string-match-p.
12632 * msb.el (msb-item-handler, msb-dired-item-handler):
12633 Mark unused arguments.
12635 * ses.el (ses-decode-cell-symbol)
12636 (ses-kill-override): Remove unused local variable.
12637 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12638 (ses-load): Use ignore-errors, looking-at-p.
12639 (ses-jump-safe): Use ignore-errors.
12640 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12642 * tabify.el (untabify, tabify): Mark unused arguments.
12644 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12645 Mark unused argument.
12646 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12647 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12649 * emacs-lisp/timer.el (timer--time): Define setter with
12650 gv-define-setter to avoid deprecation warning.
12652 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12653 (*record-cmpl-statistics-p*): Remove (was commented out).
12654 (cmpl-statistics-block): Remove (body was commented out).
12655 All callers changed.
12656 (add-completions-from-buffer, load-completions-from-file):
12657 Remove unused variables.
12659 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12661 * filecache.el (file-cache-delete-file-list):
12662 Print message only when told so.
12663 (file-cache-files-matching): Use #' in mapconcat argument.
12665 * ffap.el (ffap-url-at-point): Fix reference to variable
12666 thing-at-point-default-mail-uri-scheme.
12668 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12670 * subr.el (define-error): New function.
12671 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12672 error-file-not-found and define with define-error.
12673 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12674 and define with define-error.
12675 * userlock.el (file-locked, file-supersession):
12676 * simple.el (mark-inactive):
12677 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12678 * progmodes/ada-mode.el (ada-mode-errors):
12679 * play/life.el (life-extinct):
12680 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12681 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12682 * nxml/rng-util.el (rng-error):
12683 * nxml/rng-uri.el (rng-uri-error):
12684 * nxml/rng-match.el (rng-compile-error):
12685 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12686 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12687 * nxml/nxml-rap.el (nxml-scan-error):
12688 * nxml/nxml-outln.el (nxml-outline-error):
12689 * net/soap-client.el (soap-error):
12690 * net/gnutls.el (gnutls-error):
12691 * net/ange-ftp.el (ftp-error):
12692 * mpc.el (mpc-proc-error):
12693 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12694 (json-number-format, json-string-escape, json-string-format)
12695 (json-key-format, json-object-format):
12696 * jka-compr.el (compression-error):
12697 * international/quail.el (quail-error):
12698 * international/kkc.el (kkc-error):
12699 * emacs-lisp/ert.el (ert-test-failed):
12700 * calc/calc.el (calc-error, inexact-result, math-overflow)
12702 * bookmark.el (bookmark-error-no-filename):
12703 * epg.el (epg-error): Define with define-error.
12705 * time.el (display-time-event-handler)
12706 (display-time-next-load-average): Don't call sit-for since it seems
12707 unnecessary (bug#15045).
12709 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12710 Use #' instead of ' to quote functions.
12711 (checkdoc-output-mode): Use setq-local.
12712 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12713 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12714 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12715 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12716 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12717 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12718 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12719 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12721 * ido.el (ido-completion-help): Fix up compiler warning.
12723 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12725 * frameset.el (frameset-p): Add autoload cookie.
12726 (frameset--jump-to-register): New function, based on code moved from
12728 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12730 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12731 (frameset-restore, frameset-save, frameset-session-filter-alist):
12732 Remove declarations.
12733 (register-alist): Doc fix.
12734 (frameset-to-register): Move to frameset.el.
12735 (jump-to-register, describe-register-1): Remove frameset-specific code.
12737 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12739 * allout-widgets.el (allout-widgets-pre-command-business)
12740 (allout-widgets-post-command-business)
12741 (allout-widgets-after-change-handler)
12742 (allout-decorate-item-and-context, allout-set-boundary-marker)
12743 (allout-body-modification-handler)
12744 (allout-graphics-modification-handler): Mark ignored arguments.
12745 (allout-widgets-post-command-business)
12746 (allout-widgets-exposure-change-processor)
12747 (allout-widgets-exposure-undo-processor)
12748 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12749 (allout-parse-item-at-point, allout-decorate-item-guides)
12750 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12751 * allout.el (epa-passphrase-callback-function): Declare.
12752 (allout-overlay-insert-in-front-handler)
12753 (allout-overlay-interior-modification-handler)
12754 (allout-isearch-end-handler, allout-chart-siblings)
12755 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12756 (allout-yank-processing, allout-process-exposed)
12757 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12758 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12759 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12760 (lisp-indent-defform): Mark ignored arguments.
12761 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
12762 (calculate-lisp-indent): Remove unused variables.
12763 * international/characters.el (indian-2-column, arabic-2-column)
12764 (tibetan): Mark ignored arguments.
12765 (use-cjk-char-width-table): Mark ignored arguments.
12766 Remove unused variables.
12767 * international/fontset.el (build-default-fontset-data)
12768 (x-compose-font-name, create-fontset-from-fontset-spec):
12769 Mark ignored arguments.
12770 (fontset-plain-name): Remove unused variables.
12771 * international/mule.el (charset-id, charset-bytes, generic-char-p)
12772 (keyboard-coding-system): Mark ignored arguments.
12773 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
12774 * help.el (resize-temp-buffer-window):
12775 * window.el (display-buffer-in-major-side-window)
12776 (display-buffer-in-side-window, display-buffer-in-previous-window):
12777 Remove unused variables.
12778 * isearch.el (isearch-forward-symbol):
12779 * version.el (emacs-bzr-version-bzr):
12780 * international/mule-cmds.el (current-language-environment):
12781 * term/common-win.el (x-handle-iconic, x-handle-geometry)
12782 (x-handle-display):
12783 * term/pc-win.el (x-list-fonts, x-display-planes)
12784 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12785 (x-server-version, x-display-screens, x-display-mm-height)
12786 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12787 (x-selection-owner-p, x-own-selection-internal)
12788 (x-disown-selection-internal, x-get-selection-internal)
12789 (msdos-initialize-window-system):
12790 * term/tty-colors.el (tty-color-alist, tty-color-clear):
12791 * term/x-win.el (x-handle-no-bitmap-icon):
12792 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12793 (vc-default-find-file-hook, vc-default-extra-menu):
12794 Mark ignored arguments.
12796 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12798 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12799 break-condition in the context of the debugged code (bug#12685).
12801 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
12804 Do not use an overlay to highlight the last prompt. (Bug#14744)
12805 (comint-mode): Make comint-last-prompt buffer local.
12806 (comint-last-prompt): New variable.
12807 (comint-last-prompt-overlay): Remove. Superseded by
12808 comint-last-prompt.
12809 (comint-snapshot-last-prompt, comint-output-filter):
12810 Use comint-last-prompt.
12812 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12814 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
12815 (frameset-save): Check validity of the resulting frameset.
12817 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
12819 * ido.el (ido-record-command): Add doc string.
12821 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12823 * frameset.el (frameset): Do not disable creation of the default
12824 frameset-p predicate. Doc fix.
12825 (frameset-valid-p): New function, copied from the old predicate-p.
12826 Add additional checks.
12827 (frameset-restore): Check with frameset-valid-p.
12828 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12829 (frameset-name, frameset-description, frameset-properties)
12830 (frameset-states): Add docstring.
12831 (frameset-session-filter-alist, frameset-persistent-filter-alist)
12832 (frameset-filter-alist): Doc fixes.
12834 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12836 * frameset.el (frameset-p, frameset-prop): Doc fixes.
12838 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12841 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12842 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12843 (byte-compile-normal-call): Remove obsolescence check.
12845 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12847 * frameset.el (frameset-restore): Doc fix.
12849 * register.el (frameset-frame-id, frameset-frame-with-id)
12850 (frameset-p, frameset-restore, frameset-save): Declare.
12851 (register-alist): Document framesets.
12852 (frameset-session-filter-alist): Declare.
12853 (frameset-to-register): New function.
12854 (jump-to-register): Implement jumping to framesets. Doc fix.
12855 (describe-register-1): Describe framesets.
12857 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12859 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
12861 * desktop.el (desktop-save-frameset): Use new frameset-save args.
12862 Use lexical-binding.
12864 * frameset.el (frameset): Use type vector, not list (incompatible
12865 change). Do not declare a new constructor, use the default one.
12866 Upgrade suggested properties `app', `name' and `desc' to slots `app',
12867 `name' and `description', respectively, and add read-only slot
12868 `timestamp'. Doc fixes.
12869 (frameset-copy, frameset-persistent-filter-alist)
12870 (frameset-filter-alist, frameset-switch-to-gui-p)
12871 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12872 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12873 (frameset-filter-iconified, frameset-keep-original-display-p):
12875 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12876 Rename from frameset-filter-(save|restore)-param. All callers changed.
12878 (frameset-p): Adapt to change to vector and be more thorough.
12879 Change arg name to OBJECT. Doc fix.
12880 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
12881 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12882 All callers changed.
12883 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12884 All callers changed.
12885 (frameset--record-minibuffer-relationships): Rename from
12886 frameset--process-minibuffer-frames. All callers changed.
12887 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12888 Use new default constructor (again). Doc fix.
12889 (frameset--find-frame-if): Rename from `frameset--find-frame'.
12890 All callers changed.
12891 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12892 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12894 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12895 PARAMETERS and WINDOW-STATE, respectively.
12896 (frameset-restore): Add new keyword argument PREDICATE.
12897 Reset frameset--target-display to nil. Doc fix.
12899 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12901 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12902 (bat-mode): Use it.
12903 (bat-mode-syntax-table): Mark \n as end-of-comment.
12904 (bat-font-lock-keywords): Remove comment rule.
12906 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
12907 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
12909 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12910 (byte-compile-callargs-warn): Use `push'.
12911 (byte-compile-arglist-warn): Ignore higher-order "calls".
12912 (byte-compile-file-form-autoload): Use `pcase'.
12913 (byte-compile-function-form): If quoting a symbol, check that it exists.
12915 2013-08-07 Eli Zaretskii <eliz@gnu.org>
12917 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12918 and add a few popular commands found in batch files.
12919 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12920 (dos-mode): Doc fixes.
12922 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12924 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12925 (dos-mode): Use setq-local. Add space after "rem".
12926 (dos-mode-syntax-table): Don't use "w" for symbol chars.
12927 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12929 2013-08-07 Arni Magnusson <arnima@hafro.is>
12931 * progmodes/dos.el: New file.
12932 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12935 2013-08-06 Glenn Morris <rgm@gnu.org>
12937 * calendar/calendar.el: Add new faces, and day-header-array.
12938 (calendar-weekday-header, calendar-weekend-header)
12939 (calendar-month-header): New faces.
12940 (calendar-day-header-construct): New function.
12941 (calendar-day-header-width): Also :set calendar-day-header-array.
12942 (calendar-american-month-header, calendar-european-month-header)
12943 (calendar-iso-month-header): Use calendar- faces.
12944 (calendar-generate-month):
12945 Use calendar-day-header-array for day headers; apply faces to them.
12946 (calendar-mode): Check calendar-font-lock-keywords non-nil.
12947 (calendar-abbrev-construct): Add optional maxlen argument.
12948 (calendar-day-name-array): Doc fix.
12949 (calendar-day-name-array, calendar-abbrev-length)
12950 (calendar-day-abbrev-array):
12951 Also :set calendar-day-header-array, and maybe redraw.
12952 (calendar-day-header-array): New option. (Bug#15007)
12953 (calendar-font-lock-keywords): Set to nil and make obsolete.
12954 (calendar-day-name): Add option to use header array.
12956 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12958 * net/shr.el (shr-render-td): Remove debugging.
12959 (shr-render-td): Make width computation consistent by defaulting
12960 all zero-width columns to 10 characters. This may not be optimal,
12961 but it's at least consistent.
12962 (shr-make-table-1): Redo last change to fix the real problem in
12965 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12967 * files.el (cache-long-line-scans):
12968 Make obsolete alias to `cache-long-scans'.
12970 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12972 * frameset.el (frameset, frameset-filter-alist)
12973 (frameset-filter-params, frameset-save, frameset--reuse-frame)
12974 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12975 (frameset-compute-pos): Rename from frameset--compute-pos,
12977 (frameset-move-onscreen): Use frameset-compute-pos.
12978 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12980 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12981 Fix typos in docstrings.
12983 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12985 * frame.el (get-other-frame): Tiny cleanup.
12987 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12989 * vc/vc.el (vc-default-ignore-completion-table):
12990 Silence byte-compiler warning.
12992 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12993 slot, which can indeed be nil.
12994 (frameset-live-filter-alist, frameset-persistent-filter-alist):
12995 Move entry for `left' from persistent to live filter alist.
12996 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12998 (frameset-filter-params): When restoring a frame, copy items added to
12999 `filtered', to avoid unwittingly modifying the original parameters.
13000 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
13001 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
13003 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
13004 to use looking-at-p instead of looking-at. (Bug#15028)
13006 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13008 Revert introduction of isearch-filter-predicates (bug#14714).
13009 Rely on add-function instead.
13010 * isearch.el (isearch-filter-predicates): Rename it back to
13011 isearch-filter-predicate.
13012 (isearch-message-prefix): Use advice-function-mapc and advice
13013 properties to get the isearch-message-prefix.
13014 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
13015 instead of run-hook-with-args-until-failure.
13016 (isearch-filter-visible): Not obsolete any more.
13017 * loadup.el: Preload nadvice.
13018 * replace.el (perform-replace): Revert to funcall
13019 instead of run-hook-with-args-until-failure.
13020 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
13021 * dired-aux.el (dired-isearch-filenames-mode): Rename from
13022 dired-isearch-filenames-toggle; make it into a proper minor mode.
13023 Use add/remove-function.
13024 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
13025 Call the minor-mode rather than add/remove-hook.
13026 (dired-isearch-filter-filenames):
13027 Remove isearch-message-prefix property.
13028 * info.el (Info--search-loop): New function, extracted from Info-search.
13029 Funcall isearch-filter-predicate instead of
13030 run-hook-with-args-until-failure isearch-filter-predicates.
13031 (Info-search): Use it.
13032 (Info-mode): Use isearch-filter-predicate instead of
13033 isearch-filter-predicates.
13035 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13037 Do not call to `selected-window' where it is assumed by default.
13038 Affected functions are `window-minibuffer-p', `window-dedicated-p',
13039 `window-hscroll', `window-width', `window-height', `window-buffer',
13040 `window-frame', `window-start', `window-point', `next-window'
13041 and `window-display-table'.
13042 * abbrev.el (abbrev--default-expand):
13043 * bs.el (bs--show-with-configuration):
13044 * buff-menu.el (Buffer-menu-mouse-select):
13045 * calc/calc.el (calc):
13046 * calendar/calendar.el (calendar-generate-window):
13047 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
13048 (diary-make-entry):
13049 * comint.el (send-invisible, comint-dynamic-complete-filename)
13050 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
13051 * completion.el (complete):
13052 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
13053 * disp-table.el (describe-current-display-table):
13054 * doc-view.el (doc-view-insert-image):
13055 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
13056 * ehelp.el (with-electric-help):
13057 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13058 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
13059 * emacs-lisp/helper.el (Helper-help-scroller):
13060 * emulation/cua-base.el (cua--post-command-handler-1):
13061 * eshell/esh-mode.el (eshell-output-filter):
13062 * ffap.el (ffap-gnus-wrapper):
13063 * help-macro.el (make-help-screen):
13064 * hilit-chg.el (highlight-compare-buffers):
13065 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
13066 * hl-line.el (global-hl-line-highlight):
13067 * icomplete.el (icomplete-simple-completing-p):
13068 * isearch.el (isearch-done):
13069 * jit-lock.el (jit-lock-stealth-fontify):
13070 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
13071 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
13072 * mpc.el (mpc-tagbrowser, mpc):
13073 * net/rcirc.el (rcirc-any-buffer):
13074 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
13075 * play/landmark.el (landmark-max-width, landmark-max-height):
13076 * play/zone.el (zone):
13077 * progmodes/compile.el (compilation-goto-locus):
13078 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
13079 * progmodes/etags.el (find-tag-other-window):
13080 * progmodes/fortran.el (fortran-column-ruler):
13081 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13082 * progmodes/verilog-mode.el (verilog-point-text):
13083 * reposition.el (reposition-window):
13084 * rot13.el (toggle-rot13-mode):
13085 * server.el (server-switch-buffer):
13086 * shell.el (shell-dynamic-complete-command)
13087 (shell-dynamic-complete-environment-variable):
13088 * simple.el (insert-buffer, set-selective-display)
13089 (delete-completion-window):
13090 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
13091 (speedbar-recenter):
13092 * startup.el (fancy-splash-head):
13093 * textmodes/ispell.el (ispell-command-loop):
13094 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
13095 * tutorial.el (help-with-tutorial):
13096 * vc/add-log.el (add-change-log-entry):
13097 * vc/compare-w.el (compare-windows):
13098 * vc/ediff-help.el (ediff-indent-help-message):
13099 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
13100 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
13101 (ediff-setup-control-frame):
13102 * vc/emerge.el (emerge-position-region):
13103 * vc/pcvs-util.el (cvs-bury-buffer):
13104 * window.el (walk-windows, mouse-autoselect-window-select):
13105 * winner.el (winner-set-conf, winner-undo): Related users changed.
13107 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13109 * frameset.el (frameset--set-id): Doc fix.
13110 (frameset-frame-id, frameset-frame-id-equal-p)
13111 (frameset-locate-frame-id): New functions.
13112 (frameset--process-minibuffer-frames, frameset--reuse-frame)
13113 (frameset-restore): Use them.
13115 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13117 Do not call to `selected-frame' where it is assumed by default.
13118 Affected functions are `raise-frame', `redraw-frame',
13119 `frame-first-window', `frame-terminal' and `delete-frame'.
13120 * calendar/appt.el (appt-disp-window):
13121 * epg.el (epg-wait-for-completion):
13122 * follow.el (follow-delete-other-windows-and-split)
13123 (follow-avoid-tail-recenter):
13124 * international/mule.el (set-terminal-coding-system):
13125 * mail/rmail.el (rmail-mail-return):
13126 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13127 * progmodes/f90.el (f90-add-imenu-menu):
13128 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
13129 * server.el (server-switch-buffer):
13130 * simple.el (delete-completion-window):
13132 * term/xterm.el (terminal-init-xterm-modify-other-keys)
13133 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
13134 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
13135 * vc/ediff.el (ediff-documentation): Related users changed.
13136 * frame.el (selected-terminal): Remove the leftover.
13138 2013-08-05 Glenn Morris <rgm@gnu.org>
13140 * calendar/calendar.el (calendar-generate-month):
13141 Fix for calendar-column-width != 1 + calendar-day-digit-width.
13142 (calendar-generate-month, calendar-font-lock-keywords):
13143 Fix for calendar-day-header-width > length of any day name.
13145 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13147 * desktop.el (desktop-clear): Use new name of sort predicate.
13149 * frameset.el (frameset): Add docstring. Move :version property to its
13150 own `version' slot.
13151 (frameset-copy): Rename from copy-frameset.
13152 (frameset-p): Check more thoroughly.
13153 (frameset-prop): Do not check for :version, which is no longer a prop.
13154 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13155 Use new :never value instead of t.
13156 (frameset-filter-alist): Expand and clarify docstring.
13157 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
13158 (frameset-filter-minibuffer, frameset-filter-save-param)
13159 (frameset-filter-restore-param, frameset-filter-iconified):
13160 Add pointer to docstring of frameset-filter-alist.
13161 (frameset-filter-params): Rename filter values to be more meaningful:
13162 :never instead of t, and reverse the meanings of :save and :restore.
13163 (frameset--process-minibuffer-frames): Clarify error message.
13164 (frameset-save): Avoid unnecessary and confusing call to framep.
13165 Use new BOA constructor for framesets.
13166 (frameset--reuse-list): Doc fix.
13167 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
13168 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
13169 (frameset-minibufferless-first-p): Doc fix.
13170 Rename from frameset-sort-frames-for-deletion.
13171 (frameset-restore): Doc fixes. Use new function names.
13172 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13174 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13176 * desktop.el (desktop-restore-forces-onscreen)
13177 (desktop-restore-reuses-frames): Document :keyword constant values.
13178 (desktop-filter-parameters-alist): Remove, now identical to
13179 frameset-filter-alist.
13180 (desktop--filter-tty*): Remove, moved to frameset.el.
13181 (desktop-save-frameset, desktop-restore-frameset):
13182 Do not pass :filters argument.
13184 * frameset.el (frameset-live-filter-alist)
13185 (frameset-persistent-filter-alist): New variables.
13186 (frameset-filter-alist): Use them. Add autoload cookie.
13187 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
13188 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
13189 `frameset--id' (it's supposed to be internal to frameset.el).
13190 (frameset--process-minibuffer-frames): Ditto. Doc fix.
13191 (frameset--initial-params): New function.
13192 (frameset--get-frame): Use it. Doc fix.
13193 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
13194 Accept :all, not 'all.
13195 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
13196 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
13197 with fbound symbols. Fix frame id matching, and remove matching ids if
13198 the frame being restored is deleted. Obey :delete.
13200 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13202 * subr.el (macrop): New function.
13203 (text-clone--maintaining): New var.
13204 (text-clone--maintain): Rename from text-clone-maintain. Use it
13205 instead of inhibit-modification-hooks.
13207 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
13208 a proxy, so as handle autoloads and redefinitions of the target.
13209 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
13211 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13212 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
13213 (pcase--mutually-exclusive-p): New function.
13214 (pcase--split-consp): Use it.
13215 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
13216 mutually exclusive with the current predicate.
13218 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
13219 (edebug-macrop): Remove. Use `macrop' instead.
13220 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
13222 * eshell/esh-cmd.el (eshell-macrop):
13223 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
13225 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13227 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13228 (advice-mapc): New function, using it.
13229 (advice-function-member-p): New function.
13230 (advice--normalize): Store the cdr in advice--saved-rewrite since
13231 that's the part that will be changed.
13232 (advice--symbol-function): New function.
13233 (advice-remove): Handle removal before the function is defined.
13234 Adjust to new advice--saved-rewrite.
13235 (advice-member-p): Use advice-function-member-p and
13236 advice--symbol-function.
13238 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13240 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13241 (frameset-filter-minibuffer): Doc fix.
13242 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
13243 (frameset--set-id, frameset--process-minibuffer-frames)
13244 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13245 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13247 * desktop.el (desktop-clear): Only delete frames when called
13248 interactively and desktop-restore-frames is non-nil. Doc fix.
13249 (desktop-read): Set desktop-saved-frameset to nil.
13251 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13253 * vc/vc.el (vc-ignore): Rewrite.
13254 (vc-default-ignore-completion-table, vc--read-lines)
13255 (vc--add-line, vc--remove-regexp): New functions.
13257 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13258 (vc-svn-ignore-completion-table): New function.
13260 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13261 (vc-hg-ignore-completion-table)
13262 (vc-hg-find-ignore-file): New functions.
13264 * vc/vc-git.el (vc-git-ignore): Rewrite.
13265 (vc-git-ignore-completion-table)
13266 (vc-git-find-ignore-file): New functions.
13268 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13270 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13271 (vc-bzr-ignore-completion-table)
13272 (vc-bzr-find-ignore-file): New functions.
13274 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
13276 * frameset.el (frameset-prop): New function and setter.
13277 (frameset-save): Do not modify frame list passed by the caller.
13279 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13281 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13283 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
13285 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13286 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13288 * custom.el (custom-initialize-default, custom-initialize-set)
13289 (custom-initialize-reset, custom-initialize-changed): Affect the
13290 toplevel-default-value (bug#6275, bug#14586).
13291 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13294 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13296 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13297 Add cl-def* expressions.
13299 * frameset.el (frameset-filter-params): Fix order of arguments.
13301 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13303 Move code related to saving frames to frameset.el.
13304 * desktop.el: Require frameset.
13305 (desktop-restore-frames): Doc fix.
13306 (desktop-restore-reuses-frames): Rename from
13307 desktop-restoring-reuses-frames.
13308 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13309 (desktop-clear): Clear frames too.
13310 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13311 (desktop--filter-tty*, desktop-save, desktop-read):
13312 Use frameset functions.
13313 (desktop-before-saving-frames-functions, desktop--filter-*-color)
13314 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13315 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13316 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13317 (desktop--process-minibuffer-frames, desktop-save-frames)
13318 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13319 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13320 (desktop--sort-states, desktop-restoring-frames-p)
13321 (desktop-restore-frames): Remove. Most code moved to frameset.el.
13322 (desktop-restoring-frameset-p, desktop-restore-frameset)
13323 (desktop--check-dont-save, desktop-save-frameset): New functions.
13324 (desktop--app-id): New constant.
13325 (desktop-first-buffer, desktop-buffer-ok-count)
13326 (desktop-buffer-fail-count): Move before first use.
13327 * frameset.el: New file.
13329 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13331 * files.el: Use lexical-binding.
13332 (dir-locals-read-from-file): Remove unused `err' variable.
13333 (hack-dir-local-variables--warned-coding): New var.
13334 (hack-dir-local-variables): Use it to avoid repeated warnings.
13335 (make-backup-file-name--default-function): New function.
13336 (make-backup-file-name-function): Use it as default.
13337 (buffer-stale--default-function): New function.
13338 (buffer-stale-function): Use it as default.
13339 (revert-buffer-insert-file-contents--default-function): New function.
13340 (revert-buffer-insert-file-contents-function): Use it as default.
13341 (insert-directory): Avoid add-to-list.
13343 * autorevert.el (auto-revert-handler): Simplify.
13344 Use buffer-stale--default-function.
13346 2013-08-01 Tassilo Horn <tsdh@gnu.org>
13348 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13350 * whitespace.el (whitespace-ensure-local-variables): New function.
13351 (whitespace-cleanup-region): Call it.
13352 (whitespace-turn-on): Call it.
13354 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
13356 Complete file name handlers.
13358 * net/tramp.el (tramp-handle-set-visited-file-modtime)
13359 (tramp-handle-verify-visited-file-modtime)
13360 (tramp-handle-file-notify-rm-watch): New functions.
13361 (tramp-call-process): Do not bind `default-directory'.
13363 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13364 Order alphabetically.
13365 <access-file, add-name-to-file, dired-call-process>:
13366 <dired-compress-file, file-acl, file-notify-rm-watch>:
13367 <file-ownership-preserved-p, file-selinux-context>:
13368 <make-directory-internal, make-symbolic-link, set-file-acl>:
13369 <set-file-selinux-context, set-visited-file-modtime>:
13370 <verify-visited-file-modtime>: Add handler.
13371 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13373 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13374 <file-notify-add-watch, file-notify-rm-watch>:
13375 <set-file-times, set-visited-file-modtime>:
13376 <verify-visited-file-modtime>: Add handler.
13377 (with-tramp-gvfs-error-message)
13378 (tramp-gvfs-handle-set-visited-file-modtime)
13379 (tramp-gvfs-fuse-file-name): Remove.
13380 (tramp-gvfs-handle-file-notify-add-watch)
13381 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13382 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13384 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13385 Order alphabetically.
13386 <file-notify-rm-watch>: Use default Tramp handler.
13387 <executable-find>: Remove private handler.
13388 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13389 `default-directory'.
13390 (tramp-sh-handle-executable-find)
13391 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13392 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13393 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13394 Do not use `format' in `tramp-message'.
13396 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13397 <file-notify-rm-watch, set-visited-file-modtime>:
13398 <verify-visited-file-modtime>: Add handler.
13399 (tramp-smb-call-winexe): Do not bind `default-directory'.
13401 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13403 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13405 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13407 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13409 (log-view-diff-changeset): Same.
13410 (log-view-diff-common): Call backend command `previous-revision'
13411 to find out the previous revision, in both cases. Swap the
13412 variables `to' and `fr', so that `fr' usually refers to the
13413 earlier revision (Bug#14989).
13415 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13417 * ibuf-ext.el (ibuffer-filter-by-filename):
13418 Make it work with dired buffers too.
13420 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13422 * emacs-lisp/re-builder.el (reb-color-display-p):
13423 * files.el (save-buffers-kill-terminal):
13424 * net/browse-url.el (browse-url):
13425 * server.el (server-save-buffers-kill-terminal):
13426 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13427 Prefer nil to selected-frame for the first arg of frame-parameter.
13429 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13431 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13433 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13435 * minibuffer.el (completion--twq-all): Try and preserve each
13436 completion's case choice (bug#14907).
13438 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13440 * net/network-stream.el (open-network-stream): Mention the new
13441 :nogreeting parameter.
13442 (network-stream-open-starttls): Use the :nogreeting parameter
13445 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13447 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13448 more natural than popping.
13450 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13451 (shr-urlify): Highlight under mouse.
13453 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13455 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13457 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13459 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13462 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13463 point-min==1. Fix search string. Fix parentheses missing.
13465 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13466 assume point-min==1. Fix search string. Fix parentheses missing.
13468 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13470 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13473 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13475 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13476 initial frame is minibuffer-less. (Bug#14841)
13478 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13480 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13483 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13484 (tramp-maybe-open-connection): Use it.
13486 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13488 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13489 minimal set of parameters passed when creating a frame, because
13490 the minibuffer status of a frame cannot be changed later.
13492 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13494 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13495 replace-regexp-in-string and inadvertent omissions in previous change.
13496 (todo-filter-items): Ensure only file names are comma-separated in
13497 name of filtered items buffer.
13499 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13501 * desktop.el: Optionally force offscreen frames back onscreen.
13502 (desktop-restoring-reuses-frames): New option.
13503 (desktop--compute-pos, desktop--move-onscreen): New functions.
13504 (desktop--make-frame): Use desktop--move-onscreen.
13506 2013-07-27 Alan Mackenzie <acm@muc.de>
13508 Fontify a Java generic method as a function.
13509 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13512 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13514 * calendar/todo-mode.el: Add command to rename todo files.
13515 (todo-rename-file): New command.
13516 (todo-key-bindings-t): Add key binding for it. Change the
13517 bindings of todo-filter-regexp-items(-multifile) to use `x'
13518 instead of `r', since the latter is better suited to the new
13521 2013-07-27 Alan Mackenzie <acm@muc.de>
13523 Make Java try-with-resources statement parse properly.
13524 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13525 (c-block-stmt-1-2-key): New language constants/variables.
13526 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13527 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13528 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13529 with c-block-stmt-1-2-key.
13531 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13533 * desktop.el (desktop--make-frame): Apply most frame parameters after
13534 creating the frame to force (partially or totally) offscreen frames to
13535 be restored as such.
13537 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13539 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13542 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13544 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13545 `base' arg of backtrace-frame.
13547 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13549 * simple.el (list-processes): Doc fix.
13551 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13553 * desktop.el (desktop--select-frame):
13554 Try harder to reuse existing frames.
13556 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13558 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13559 (edebug-eval): Use backtrace-eval.
13560 (edebug--display, edebug--recursive-edit): Don't let-bind the
13561 edebug-outer-* vars that keep track of variables we locally let-bind.
13562 (edebug-outside-excursion): Don't restore outside values of locally
13564 (edebug--display): Use user-error.
13565 (cl-lexical-debug, cl-debug-env): Remove.
13567 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13569 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13570 are restored to be sure that they are visible before deleting any
13573 2013-07-26 Matthias Meulien <orontee@gmail.com>
13575 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13576 vc-print-root-log. (Bug#14948)
13578 2013-07-26 Richard Stallman <rms@gnu.org>
13580 Add aliases for encrypting mail.
13581 * epa.el (epa-mail-aliases): New option.
13582 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13583 Bind inhibit-read-only so read-only text doesn't ruin everything.
13584 (epa-mail-default-recipients): New subroutine broken out.
13585 Handle epa-mail-aliases.
13587 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13589 Add support for lexical variables to the debugger's `e' command.
13590 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13591 vars, except for debugger-outer-match-data.
13592 (debugger-frame-number): Move check for "on a function call" from
13593 callers into it. Add `skip-base' argument.
13594 (debugger-frame, debugger-frame-clear): Simplify accordingly.
13595 (debugger-env-macro): Only reset the state stored in non-variables,
13596 i.e. current-buffer and match-data.
13597 (debugger-eval-expression): Rewrite using backtrace-eval.
13598 * subr.el (internal--called-interactively-p--get-frame): Remove.
13599 (called-interactively-p):
13600 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13601 `base' arg of backtrace-frame instead.
13603 2013-07-26 Glenn Morris <rgm@gnu.org>
13605 * align.el (align-regexp): Doc fix. (Bug#14857)
13606 (align-region): Explicit error if subexpression missing/does not match.
13608 * simple.el (global-visual-line-mode):
13609 Do not duplicate the mode lighter. (Bug#14858)
13611 2013-07-25 Martin Rudalics <rudalics@gmx.at>
13613 * window.el (display-buffer): In display-buffer bind
13614 split-window-keep-point to t, bug#14829.
13616 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13618 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13619 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13620 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13621 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13622 Change accordingly.
13623 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13624 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13626 2013-07-25 Glenn Morris <rgm@gnu.org>
13628 * dired-x.el (dired-mark-extension): Convert comment to doc string.
13630 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13632 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13633 parameter to modify-frame-parameters if the value has not changed;
13634 this is a workaround for bug#14949.
13635 (desktop--make-frame): On cl-delete-if call, check parameter name,
13636 not full parameter.
13638 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13640 * vc/vc.el (vc-ignore): New function.
13642 * vc/vc-svn.el (vc-svn-ignore): New function.
13644 * vc/vc-hg.el (vc-hg-ignore): New function.
13646 * vc/vc-git.el (vc-git-ignore): New function.
13648 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13649 (vc-dir-ignore): New function.
13651 * vc/vc-cvs.el (vc-cvs-ignore): New function.
13652 (cvs-append-to-ignore): Move here from pcvs.el.
13654 * vc/vc-bzr.el (vc-bzr-ignore): New function.
13656 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13658 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
13660 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13661 (desktop-restore-frames): Warn when deleting an existing frame failed.
13663 2013-07-24 Glenn Morris <rgm@gnu.org>
13665 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13667 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13669 * filenotify.el (file-notify-supported-p):
13670 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13673 * autorevert.el (auto-revert-use-notify)
13674 (auto-revert-notify-add-watch):
13675 * net/tramp.el (tramp-file-name-for-operation):
13676 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13678 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13679 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13680 Remove `file-notify-supported-p' entry.
13682 2013-07-24 Glenn Morris <rgm@gnu.org>
13684 * printing.el: Replace all uses of deleted ps-windows-system,
13685 ps-lp-system, ps-flatten-list with lpr- versions.
13687 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13689 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13690 checked with memq (bug#14935).
13692 * files.el (revert-buffer-function): Use a non-nil default.
13693 (revert-buffer-preserve-modes): Declare var to
13694 provide access to the `preserve-modes' argument.
13695 (revert-buffer): Let-bind it.
13696 (revert-buffer--default): New function, extracted from revert-buffer.
13698 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13700 * lpr.el: Signal print errors more prominently.
13701 (print-region-function): Don't default to nil.
13702 (lpr-print-region): New function, extracted from print-region-1.
13703 Check lpr's return value and signal an error in case of problem.
13704 (print-region-1): Use it.
13705 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13707 (ps-printer-name): Default to nil.
13708 (ps-printer-name-option): Default to lpr-printer-switch.
13709 (ps-print-region-function): Don't default to nil.
13710 (ps-postscript-code-directory): Simplify default.
13711 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13712 (ps-string-list, ps-eval-switch, ps-flatten-list)
13713 (ps-flatten-list-1): Remove.
13714 (ps-multibyte-buffer): Avoid setq.
13715 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13716 (print-region-function, ps-print-region-function): Don't set them here.
13718 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13720 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13721 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13722 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13723 (ido-decorations): Doc fix.
13725 * ansi-color.el: Fix old URL.
13727 2013-07-23 Michael R. Mauger <michael@mauger.com>
13729 * progmodes/sql.el: Version 3.3
13730 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13731 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13732 (sql-interactive-remove-continuation-prompt): Rewrite, use
13733 functions above. Fix continuation prompt and complete output line
13735 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13736 redirected output buffer.
13737 (sql-mode): Restore deleted code (Bug#13591).
13739 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13741 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13743 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13745 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13747 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13748 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13749 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13751 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13753 * desktop.el (desktop-clear): Simplify; remove useless checks
13754 against invalid buffer names.
13755 (desktop-list*): Use cl-list*.
13756 (desktop-buffer-info, desktop-create-buffer): Simplify.
13758 2013-07-23 Leo Liu <sdl.web@gmail.com>
13760 * bookmark.el (bookmark-make-record): Restore NAME as a default
13763 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
13765 * emacs-lisp/autoload.el (autoload--setup-output): New function,
13766 extracted from autoload--insert-text.
13767 (autoload--insert-text): Remove.
13768 (autoload--print-cookie-text): New function, extracted from
13769 autoload--insert-cookie-text.
13770 (autoload--insert-cookie-text): Remove.
13771 (autoload-generate-file-autoloads): Adjust calls accordingly.
13773 * winner.el (winner-hook-installed-p): Remove.
13774 (winner-mode): Simplify accordingly.
13776 * subr.el (add-to-list): Fix compiler-macro when `append' is
13777 not constant. Don't use `cl-member' for the base case.
13779 * progmodes/subword.el: Fix boundary case (bug#13758).
13780 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
13782 (subword-backward-regexp): Make it a constant.
13783 (subword-forward-internal): Don't treat a trailing capital as the
13784 beginning of a word.
13786 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
13788 * emacs-lisp/package.el (package-menu-mode): Don't modify the
13789 global value of tabulated-list-revert-hook (bug#14930).
13791 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
13793 * desktop.el: Require 'cl-lib.
13794 (desktop-before-saving-frames-functions): New hook.
13795 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13796 for frames being saved. Rename from desktop--save-minibuffer-frames.
13797 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13798 Do not save frames with non-nil `desktop-dont-save' parameter.
13799 Filter out deleted frames.
13800 (desktop--find-frame): Use cl-find-if.
13801 (desktop--select-frame): Use cl-(first|second|third) to access values
13803 (desktop--make-frame): Use cl-delete-if.
13804 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13805 (desktop-restore-frames): Use cl-(first|second|third) to access values
13806 of desktop-mini. Look for visible frame at the end, not while
13809 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13810 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13811 Use string-match-p, looking-at-p (bug#14927).
13813 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
13815 * desktop.el (desktop-saved-frame-states):
13816 Rename from desktop--saved-states; all users changed.
13817 (desktop-save-frames): Rename from desktop--save-frames.
13818 Do not save state to desktop file.
13819 (desktop-save): Save desktop-saved-frame-states to desktop file
13821 (desktop-restoring-frames-p): New function.
13822 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
13823 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
13824 buffer-lists when restoring frames. Suggested by Martin Rudalics.
13826 * desktop.el: Correctly restore iconified frames.
13827 (desktop--filter-iconified-position): New function.
13828 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13830 2013-07-20 Glenn Morris <rgm@gnu.org>
13832 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13833 Let `message' do the formatting.
13834 (def-gdb-preempt-display-buffer): Add explicit format.
13836 * image-dired.el (image-dired-track-original-file):
13837 Use with-current-buffer.
13838 (image-dired-track-thumbnail): Use with-current-buffer.
13839 Avoid changing point of wrong window.
13841 * image-dired.el (image-dired-track-original-file):
13842 Avoid changing point of wrong window. (Bug#14909)
13844 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
13846 * progmodes/gdb-mi.el (gdb-done-or-error):
13847 Guard against "%" in gdb output. (Bug#14127)
13849 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
13851 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13854 * international/mule.el (coding-system-iso-2022-flags): Fix last
13857 2013-07-20 Kenichi Handa <handa@gnu.org>
13859 * international/mule.el (coding-system-iso-2022-flags):
13860 Add `8-bit-level-4'. (Bug#8522)
13862 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13864 * net/shr.el (shr-mouse-browse-url): New command and keystroke
13867 * net/eww.el (eww-process-text-input): Allow inputting when the
13868 point is at the start of the line, as the properties aren't
13871 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13874 2013-07-19 Richard Stallman <rms@gnu.org>
13876 * epa.el (epa-popup-info-window): Doc fix.
13878 * subr.el (split-string): New arg TRIM.
13880 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
13882 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13883 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13885 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
13887 * filenotify.el (file-notify--library): Rename from
13888 `file-notify-support'. Do not autoload. Adapt all uses.
13889 (file-notify-supported-p): New defun.
13891 * autorevert.el (auto-revert-use-notify):
13892 Use `file-notify-supported-p' instead of `file-notify-support'.
13894 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13896 * net/tramp.el (tramp-file-name-for-operation):
13897 Add `file-notify-supported-p'.
13899 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13901 (tramp-sh-file-name-handler-alist): Add it as handler for
13902 `file-notify-supported-p '.
13904 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13905 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13907 Add `ignore' as handler for `file-notify-*' functions.
13909 2013-07-17 Eli Zaretskii <eliz@gnu.org>
13911 * simple.el (line-move-partial, line-move): Don't start vscroll or
13912 scroll-up if the current line is not taller than the window.
13915 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
13917 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13918 highlight question marks in the method names as strings.
13919 (ruby-block-beg-keywords): Inline.
13920 (ruby-font-lock-keyword-beg-re): Extract from
13921 `ruby-font-lock-keywords'.
13923 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
13925 * frame.el (blink-cursor-blinks): New defcustom.
13926 (blink-cursor-blinks-done): New defvar.
13927 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13928 (blink-cursor-timer-function): Check if number of blinks has been
13930 (blink-cursor-suspend, blink-cursor-check): New defuns.
13932 2013-07-15 Glenn Morris <rgm@gnu.org>
13934 * edmacro.el (edmacro-format-keys): Fix previous change.
13936 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
13938 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13939 The hack didn't work outside English locales anyway.
13941 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
13943 * simple.el (define-alternatives): Rename from alternatives-define,
13944 per RMS' suggestion.
13946 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
13948 * desktop.el (desktop-restore-frames): Change default to t.
13949 (desktop-restore-in-current-display): Now offer more options.
13950 (desktop-restoring-reuses-frames): New customization option.
13951 (desktop--saved-states): Doc fix.
13952 (desktop-filter-parameters-alist): New variable, renamed and expanded
13953 from desktop--excluded-frame-parameters.
13954 (desktop--target-display): New variable.
13955 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13956 (desktop--filter-tty*, desktop--filter-*-color)
13957 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13958 (desktop--filter-save-desktop-parm)
13959 (desktop-restore-in-original-display-p): New functions.
13960 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13961 (desktop--save-minibuffer-frames): New function, inspired by a similar
13962 function from Martin Rudalics.
13963 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13964 (desktop--restore-in-this-display-p): Remove.
13965 (desktop--find-frame): Rename from desktop--find-frame-in-display
13966 and add predicate argument.
13967 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13968 (desktop--reuse-list): New variable.
13969 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13971 (desktop--restore-frames): Add support for "minibuffer-special" frames.
13973 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
13975 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13977 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
13979 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13980 Highlight conversion methods on Kernel.
13982 2013-07-13 Alan Mackenzie <acm@muc.de>
13984 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13985 and comment it out. This out-commenting enables certain C++
13986 declarations to be parsed correctly.
13988 2013-07-13 Eli Zaretskii <eliz@gnu.org>
13990 * international/mule.el (define-coding-system): Doc fix.
13992 * simple.el (default-font-height): Don't call font-info if the
13993 frame's default font didn't change since the frame was created.
13996 2013-07-13 Leo Liu <sdl.web@gmail.com>
13998 * ido.el (ido-read-file-name): Guard against non-symbol value.
14000 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14002 * progmodes/python.el (python-imenu--build-tree): Fix corner case
14005 2013-07-13 Leo Liu <sdl.web@gmail.com>
14007 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
14008 ido-set-matches call. (Bug#6852)
14010 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
14012 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
14013 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
14015 (ruby-font-lock-keywords): Distinguish calls to functions with
14016 module-like names from module references. Highlight character
14019 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
14021 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
14022 (gdb-send): Handle continued commands. (Bug#14847)
14024 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14026 * desktop.el (desktop--v2s): Remove unused local variable.
14027 (desktop-save-buffer): Make defvar-local; adjust docstring.
14028 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
14029 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
14031 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
14033 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
14035 2013-07-12 Eli Zaretskii <eliz@gnu.org>
14037 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
14040 2013-07-12 Glenn Morris <rgm@gnu.org>
14042 * doc-view.el: Require cl-lib at runtime too.
14043 (doc-view-remove-if): Remove.
14044 (doc-view-search-next-match, doc-view-search-previous-match):
14047 * edmacro.el: Require cl-lib at runtime too.
14048 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
14049 (edmacro-mismatch, edmacro-subseq): Remove.
14051 * shadowfile.el: Require cl-lib.
14052 (shadow-remove-if): Remove.
14053 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
14056 * wid-edit.el: Require cl-lib.
14057 (widget-choose): Use cl-remove-if.
14058 (widget-remove-if): Remove.
14060 * progmodes/ebrowse.el: Require cl-lib at runtime too.
14061 (ebrowse-delete-if-not): Remove.
14062 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
14063 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
14064 Use cl-delete-if-not.
14066 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14068 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
14069 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
14071 2013-07-12 Leo Liu <sdl.web@gmail.com>
14073 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
14075 2013-07-11 Glenn Morris <rgm@gnu.org>
14077 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
14078 (edebug-gensym-index, edebug-gensym):
14079 Remove reimplementation of cl-gensym.
14080 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
14082 * thumbs.el: Require cl-lib at run-time too.
14083 (thumbs-gensym-counter, thumbs-gensym):
14084 Remove reimplementation of cl-gensym.
14085 (thumbs-temp-file): Use cl-gensym.
14087 * emacs-lisp/ert.el: Require cl-lib at runtime too.
14088 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
14089 (ert--intersection, ert--set-difference, ert--set-difference-eq)
14090 (ert--union, ert--gensym-counter, ert--gensym-counter)
14091 (ert--coerce-to-vector, ert--remove*, ert--string-position)
14092 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
14093 (ert-make-test-unbound, ert--expand-should-1)
14094 (ert--expand-should, ert--should-error-handle-error)
14095 (should-error, ert--explain-equal-rec)
14096 (ert--plist-difference-explanation, ert-select-tests)
14097 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
14098 Use cl-lib functions rather than reimplementations.
14100 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
14102 * net/tramp.el (tramp-methods): Extend docstring.
14103 (tramp-connection-timeout): New defcustom.
14104 (tramp-error-with-buffer): Reset timestamp only when appropriate.
14105 (with-tramp-progress-reporter): Simplify.
14106 (tramp-process-actions): Improve messages.
14108 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14109 * net/tramp-sh.el (tramp-maybe-open-connection):
14110 Use `tramp-connection-timeout'.
14111 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
14114 2013-07-11 Leo Liu <sdl.web@gmail.com>
14116 * ido.el (ido-read-file-name): Conform to the requirements of
14117 read-file-name. (Bug#11861)
14118 (ido-read-directory-name): Conform to the requirements of
14119 read-directory-name.
14121 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
14123 * subr.el (delay-warning): New function.
14125 2013-07-10 Eli Zaretskii <eliz@gnu.org>
14127 * simple.el (default-line-height): New function.
14128 (line-move-partial, line-move): Use it instead of computing the
14129 line height inline.
14130 (line-move-partial): Always compute ROWH. If the last line is
14131 partially-visible, but its text is completely visible, allow
14132 cursor to enter such a partially-visible line.
14134 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
14136 Improve error messages. (Bug#14808)
14138 * net/tramp.el (tramp-current-connection): New defvar, moved from
14140 (tramp-message-show-progress-reporter-message): Remove, not
14142 (tramp-error-with-buffer): Show message in minibuffer.
14143 Discard input before waiting. Reset connection timestamp.
14144 (with-tramp-progress-reporter): Improve messages.
14145 (tramp-process-actions): Use progress reporter. Delete process in
14146 case of error. Improve messages.
14148 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
14149 Call `tramp-error-with-buffer' with vector and buffer.
14150 (tramp-current-connection): Remove.
14151 (tramp-maybe-open-connection): The car of
14152 `tramp-current-connection' are the first 3 slots of the vector.
14154 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
14156 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
14157 inside continued strings.
14159 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
14161 Timestamp fixes for undo (Bug#14824).
14162 * files.el (clear-visited-file-modtime): Move here from fileio.c.
14164 2013-07-10 Leo Liu <sdl.web@gmail.com>
14166 * files.el (require-final-newline): Allow safe local value.
14169 2013-07-09 Leo Liu <sdl.web@gmail.com>
14171 * ido.el (ido-read-directory-name): Handle fallback.
14172 (ido-read-file-name): Update DIR to ido-current-directory.
14174 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
14176 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
14179 "autoload". Remove "warn lower camel case" section, previously
14180 commented out. Highlight negation char. Do not highlight the
14181 target in singleton method definitions.
14183 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * faces.el (tty-setup-hook): Declare the hook.
14187 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
14188 and detect when a guard/pred depends on local vars (bug#14773).
14189 (pcase--u1): Adjust caller.
14191 2013-07-08 Eli Zaretskii <eliz@gnu.org>
14193 * simple.el (line-move-partial, line-move): Account for
14195 (line-move-partial): Avoid setting vscroll when the last
14196 partially-visible line in window is of default height.
14198 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14200 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
14203 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
14205 * subr.el (read-quoted-char): Remove unused local variable `char'.
14207 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
14209 * vc/ediff.el (ediff-version): Version update.
14210 (ediff-files-command, ediff3-files-command, ediff-merge-command)
14211 (ediff-merge-with-ancestor-command, ediff-directories-command)
14212 (ediff-directories3-command, ediff-merge-directories-command)
14213 (ediff-merge-directories-with-ancestor-command): New functions.
14214 All are command-line interfaces to ediff: to facilitate calling
14215 Emacs with the appropriate ediff functions invoked.
14217 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
14219 (viper-save-kill-buffer): Check if buffer is modified.
14221 * emulation/viper.el (viper-version): Version update.
14222 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14224 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
14226 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14227 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14228 (viper-intercept-ESC-key): Simplify.
14229 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14231 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14232 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14233 (viper-setup-ESC-to-escape): New functions.
14234 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14235 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
14237 2013-07-07 Eli Zaretskii <eliz@gnu.org>
14239 * simple.el (default-font-height, window-screen-lines):
14241 (line-move, line-move-partial): Use them instead of
14242 frame-char-height and window-text-height. This makes scrolling
14243 text smoother when the buffer's default face uses a font that is
14244 different from the frame's default font.
14246 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
14248 * files.el (write-file): Do not display confirm dialog for NS,
14249 it does its own dialog, which can't be canceled (Bug#14578).
14251 2013-07-06 Eli Zaretskii <eliz@gnu.org>
14253 * simple.el (line-move-partial): Adjust the row returned by
14254 posn-at-point for the current window-vscroll. (Bug#14567)
14256 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
14258 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14259 (tramp-sh-file-inotifywait-process-filter): Handle file names with
14262 2013-07-06 Martin Rudalics <rudalics@gmx.at>
14264 * window.el (window-state-put-stale-windows): New variable.
14265 (window--state-put-2): Save list of windows without matching buffer.
14266 (window-state-put): Remove "bufferless" windows if possible.
14268 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14270 * simple.el (alternatives-define): Remove leftover :group keyword.
14273 2013-07-06 Leo Liu <sdl.web@gmail.com>
14275 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14276 (ido-enable-virtual-buffers): New variable.
14277 (ido-buffer-internal, ido-toggle-virtual-buffers)
14278 (ido-make-buffer-list): Use it.
14279 (ido-exhibit): Support turning on and off virtual buffers
14282 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14284 * simple.el (alternatives-define): New macro.
14286 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
14288 * subr.el (read-quoted-char): Use read-key.
14289 (sit-for): Let read-event decode tty input (bug#14782).
14291 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
14293 * calendar/todo-mode.el: Add handling of file deletion, both by
14294 mode command and externally. Fix various related bugs.
14295 Clarify Commentary and improve some documentation strings and code.
14296 (todo-delete-file): New command.
14297 (todo-check-file): New function.
14298 (todo-show): Handle external deletion of the file we're trying to
14299 show (bug#14688). Replace called-interactively-p by an optional
14300 prefix argument to avoid problematic interaction with catch form
14301 when byte compiled (bug#14702).
14302 (todo-quit): Handle external deletion of the archive's todo file.
14303 Make sure the buffer that was visiting the archive file is still
14304 live before trying to bury it.
14305 (todo-category-completions): Handle external deletion of any
14306 category completion files.
14307 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14308 of todo files, in case of external deletion.
14309 (todo-add-file): Replace unnecessary setq by let-binding.
14310 (todo-find-archive): Check whether there are any archives.
14311 Replace unnecessary setq by let-binding.
14312 (todo-archive-done-item): Use find-file-noselect to get the
14313 archive buffer whether or not the archive already exists.
14314 Remove superfluous code. Use file size instead of buffer-file-name to
14315 check if the archive is new; if it is, update list of archives.
14316 (todo-default-todo-file): Allow nil to be a valid value for when
14317 there are no todo files.
14318 (todo-reevaluate-default-file-defcustom): Use corrected definition
14319 of todo-default-todo-file.
14320 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14321 (todo-delete-category, todo-show-categories-table)
14322 (todo-category-number): Clarify comment.
14323 (todo-filter-items): Clarify documentation string.
14324 (todo-show-current-file, todo-display-as-todo-file)
14325 (todo-reset-and-enable-done-separator): Tweak documentation string.
14326 (todo-done-separator): Make separator length window-width, since
14327 bug#2749 is now fixed.
14329 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
14331 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14332 Support both "gvfs-monitor-dir" and "inotifywait".
14333 (tramp-sh-file-inotifywait-process-filter): Rename from
14334 `tramp-sh-file-notify-process-filter'.
14335 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14336 (tramp-get-remote-gvfs-monitor-dir): New defuns.
14338 2013-07-05 Leo Liu <sdl.web@gmail.com>
14340 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14342 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14344 * frame.el (display-pixel-height, display-pixel-width)
14345 (display-mm-height, display-mm-width): Mention behavior on
14346 multi-monitor setups in docstrings.
14347 (w32-display-monitor-attributes-list): Declare function.
14348 (display-monitor-attributes-list): Use it.
14350 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
14352 * filenotify.el: New package.
14354 * autorevert.el (top): Require filenotify.el.
14355 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
14357 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14358 (auto-revert-notify-handler): Use `file-notify-*' functions.
14360 * subr.el (file-notify-handle-event): Move function to filenotify.el.
14362 * net/tramp.el (tramp-file-name-for-operation):
14363 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14365 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14366 for `file-notify-add-watch' and `file-notify-rm-watch'.
14367 (tramp-process-sentinel): Improve trace.
14368 (tramp-sh-handle-file-notify-add-watch)
14369 (tramp-sh-file-notify-process-filter)
14370 (tramp-sh-handle-file-notify-rm-watch)
14371 (tramp-get-remote-inotifywait): New defuns.
14373 2013-07-03 Juri Linkov <juri@jurta.org>
14375 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14376 call of `occur-read-primary-args' to interactive spec.
14378 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14379 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14381 2013-07-03 Matthias Meulien <orontee@gmail.com>
14383 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14384 `Buffer-menu-multi-occur'. Add it to the menu.
14385 (Buffer-menu-mode): Document it in docstring.
14386 (Buffer-menu-multi-occur): New command. (Bug#14673)
14388 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14390 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14391 keywords and built-ins.
14393 2013-07-03 Glenn Morris <rgm@gnu.org>
14395 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14397 Make info-xref checks case-sensitive by default
14398 * info.el (Info-find-node, Info-find-in-tag-table)
14399 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14400 Add option for exact case matching of nodes.
14401 * info-xref.el (info-xref): New custom group.
14402 (info-xref-case-fold): New option.
14403 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14405 2013-07-03 Leo Liu <sdl.web@gmail.com>
14407 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14409 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14411 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14412 middle of block statement initially, lower the depth. Remove
14413 FIXME comment, not longer valid. Remove middle of block statement
14414 detection, no need to do that anymore since we've been using
14415 `ruby-parse-region' here.
14417 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14419 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14421 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14423 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14425 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14427 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14428 (desktop-restore-in-current-display): New customization option.
14429 (desktop--excluded-frame-parameters): Add `font'.
14430 (desktop--save-frames): Rename from desktop--save-windows.
14431 (desktop--restore-in-this-display-p): New function.
14432 (desktop--make-full-frame): Remove unwanted width/height from
14433 full(width|height) frames.
14434 (desktop--restore-frames): Rename from desktop--restore-windows.
14435 Obey desktop-restore-current-display. Do not delete old frames or
14436 select a new frame unless we were able to restore at least one frame.
14438 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14440 * files.el (find-file-noselect): Simplify conditional expression.
14442 * textmodes/remember.el (remember-append-to-file):
14443 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14445 Add `remember-notes' function to store random notes across Emacs
14447 * textmodes/remember.el (remember-data-file): Add :set callback to
14448 affect notes buffer (if any).
14449 (remember-notes): New command.
14450 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14451 New defcustoms for the `remember-notes' function.
14452 (remember-notes-save-and-bury-buffer): New command.
14453 (remember-notes-mode-map): New variable.
14454 (remember-mode): New minor mode.
14455 (remember-notes--kill-buffer-query): New function.
14456 * startup.el (initial-buffer-choice): Add notes to custom type.
14458 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14460 * bindings.el (right-char, left-char): Don't call sit-for, this is
14461 no longer needed. Use arithmetic comparison only for numerical
14464 * international/mule-cmds.el (select-safe-coding-system):
14465 Handle the case of FROM being a string correctly. (Bug#14755)
14467 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14469 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14470 progression on degenerate tables.
14471 (shr-rescale-image): ImageMagick animated images currently don't work.
14473 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14475 Some fixes and improvements for desktop frame restoration.
14476 It is still experimental and disabled by default.
14477 * desktop.el (desktop--save-windows): Put the selected frame at
14478 the head of the list.
14479 (desktop--make-full-frame): New function.
14480 (desktop--restore-windows): Try to re-select the frame that was
14481 selected upon saving. Do not abort if some frames fail to restore,
14482 just show an error message and continue. Set up maximized frames
14483 so they have default non-maximized dimensions.
14485 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14487 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14488 Don't start heredoc inside a string or comment.
14490 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14492 * bindings.el (visual-order-cursor-movement): New defcustom.
14493 (right-char, left-char): Provide visual-order cursor motion by
14494 calling move-point-visually. Update the doc strings.
14496 2013-06-28 Kenichi Handa <handa@gnu.org>
14498 * international/mule.el (define-coding-system): New coding system
14499 properties :inhibit-null-byte-detection,
14500 :inhibit-iso-escape-detection, and :prefer-utf-8.
14501 (set-buffer-file-coding-system): If :charset-list property of
14502 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14503 appropriate for setting.
14505 * international/mule-cmds.el (select-safe-coding-system):
14506 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14507 multibyte characters, return utf-8 (or one of its siblings).
14509 * international/mule-conf.el (prefer-utf-8): New coding system.
14510 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14513 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14515 * net/shr.el (shr-render-region): New function.
14517 * net/eww.el: Autoload `eww-browse-url'.
14519 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14521 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14522 Adapt to `package-desc-version' being a list.
14523 Use `package--ac-desc-version' to retrieve version from a package
14526 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14528 New experimental feature to save&restore window and frame setup.
14529 * desktop.el (desktop-save-windows): New defcustom.
14530 (desktop--saved-states): New var.
14531 (desktop--excluded-frame-parameters): New defconst.
14532 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14533 (desktop--restore-windows, desktop--save-windows): New functions.
14534 (desktop-save): Call `desktop--save-windows'.
14535 (desktop-read): Call `desktop--restore-windows'.
14537 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14539 * net/shr.el (add-face-text-property): Remove compat definition.
14541 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14543 * info.el (Info-try-follow-nearest-node): Move search for footnote
14544 above search for node name to prevent missing a footnote (bug#14717).
14546 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14548 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14550 2013-06-27 Leo Liu <sdl.web@gmail.com>
14552 * net/eww.el (eww-read-bookmarks): Check file size.
14554 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14556 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14557 advice--pending if newdef is nil or an autoload (bug#13820).
14558 (advice-mapc): New function.
14560 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14562 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14564 (eww-mode-map): Add a menu bar.
14565 (eww-add-bookmark): New command.
14566 (eww-bookmark-mode): New mode and commands.
14567 (eww-add-bookmark): Remove newlines from the title.
14568 (eww-bookmark-browse): Don't bug out if it's the only window.
14570 2013-06-26 Glenn Morris <rgm@gnu.org>
14572 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14573 (hfy-size): Handle ttys. (Bug#14668)
14575 * info-xref.el: Update for Texinfo 5 change in *note format.
14576 (info-xref-node-re, info-xref-note-re): New constants.
14577 (info-xref-check-buffer): Use info-xref-note-re.
14579 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14581 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14583 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14584 nil terminate the loop (bug#14718).
14586 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14588 * net/eww.el: Rework history traversal. When going forward/back,
14589 put these actions into the history, too, so that they can be
14591 (eww-render): Move the history reset to the correct buffer.
14593 2013-06-25 Juri Linkov <juri@jurta.org>
14595 * files-x.el (modify-dir-local-variable): Change the header comment
14596 in the file with directory local variables. (Bug#14692)
14598 * files-x.el (read-file-local-variable-value): Add `default'.
14601 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14603 * net/eww.el (eww-make-unique-file-name): Create a unique file
14604 name before saving to entering `y' accidentally asynchronously.
14606 2013-06-25 Ivan Kanis <ivan@kanis.fr>
14608 * net/eww.el (eww-download): New command and keystroke.
14610 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14612 * net/eww.el (eww-copy-page-url): Change name of command.
14614 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14615 be more consistent with Info and dired.
14617 * net/eww.el (eww-mode-map): Ditto.
14619 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14621 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
14622 packages from archives.
14623 (package-archive-contents): Change format; include obsolete packages.
14624 (package-desc): Use `dir' to mark builtin packages.
14625 (package--from-builtin): Set the `dir' field to `builtin'.
14626 (generated-autoload-file, version-control): Declare.
14627 (package-compute-transaction): Change first arg and return value to be
14628 lists of package-descs. Adjust to new package-archive-contents format.
14629 (package--add-to-archive-contents): Adjust to new
14630 package-archive-contents format.
14631 (package-download-transaction): Arg is now a list of package-descs.
14632 (package-install): If `pkg' is a package name, pass it as
14633 a requirement, so it is subject to the usual (e.g. disabled) checks.
14634 (describe-package): Accept package-desc as well.
14635 (describe-package-1): Describe a specific package-desc. Add links to
14636 other package-descs for the same package name.
14637 (package-menu-describe-package): Pass the actual package-desc.
14638 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14640 (package-desc-status): New function.
14641 (package-menu--refresh): New function, extracted
14642 from package-menu--generate.
14643 (package-menu--generate): Use it.
14644 (package-delete): Update package-alist.
14645 (package-menu-execute): Don't call package-initialize.
14647 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14648 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14649 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14650 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14651 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14652 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14654 2013-06-25 Martin Rudalics <rudalics@gmx.at>
14656 * window.el (window--state-get-1): Workaround for bug#14527.
14657 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14659 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14661 * net/eww.el (eww-back-url): Implement the history by stashing all
14662 the data into a list.
14663 (eww-forward-url): Allow going forward in the history, too.
14665 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14667 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14668 for values and use read--expression for expressions (bug#14710).
14669 (read-file-local-variable): Avoid setq.
14670 (read-file-local-variable-mode): Use minor-mode-list.
14672 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14674 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14677 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14679 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14680 Update imenu-support when dialect changes.
14682 2013-06-25 Leo Liu <sdl.web@gmail.com>
14684 * ido.el (ido-read-internal): Allow forward slash on windows.
14686 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14688 * net/eww.el (eww): Start of strings is \\`, not ^.
14690 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14692 * net/shr.el (shr-browse-url): Fix interactive spec.
14694 * net/eww.el (eww): Add a trailing slash to domain names.
14696 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14698 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14700 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14702 * net/shr.el (shr-browse-url): Use an external browser if given a
14705 * net/eww.el (eww-external-browser): Move to shr.
14707 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14709 * net/eww.el (eww): Work more correctly for file: URLs.
14710 (eww-detect-charset): Allow quoted charsets.
14711 (eww-yank-page-url): New command and keystroke.
14713 2013-06-24 Daiki Ueno <ueno@gnu.org>
14715 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14716 file name of gpg executable.
14717 (epg-context-program): New function.
14718 (epg-context-home-directory): New function.
14719 (epg-context-set-program): New function.
14720 (epg-context-set-home-directory): New function.
14721 (epg--start): Use `epg-context-program' instead of
14723 (epg--list-keys-1): Likewise.
14725 2013-06-24 Leo Liu <sdl.web@gmail.com>
14727 * ido.el (ido-read-internal): Fix bug#14620.
14729 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14731 * faces.el (face-documentation): Simplify.
14732 (read-face-attribute, tty-find-type, x-resolve-font-name):
14733 Use `string-match-p'.
14734 (list-faces-display): Use `string-match-p'. Simplify.
14735 (face-spec-recalc): Check face to avoid face alias loops.
14736 (read-color): Use `string-match-p' and non-capturing parenthesis.
14738 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14740 * net/shr.el (shr-rescale-image): Use the new
14741 :max-width/:max-height functionality.
14743 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14745 * net/eww.el (eww-search-prefix): New variable.
14747 (eww-external-browser): New variable.
14748 (eww-mode-map): New keystroke.
14749 (eww-browse-with-external-browser): New command.
14751 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14753 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14755 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14756 Don't skip aligning the next header field when padding is 0;
14757 otherwise, field width is not respected unless the title is as
14760 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * emacs-lisp/package.el (package-el-version): Remove.
14763 (package-process-define-package): Fix inf-loop.
14764 (package-install): Allow symbols as arguments again.
14766 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14768 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14769 add some more keyword-like methods.
14770 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14772 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
14774 * bs.el (bs-buffer-show-mark): Make defvar-local.
14775 (bs-mode): Use setq-local.
14777 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14778 (emacs-lock--try-unlocking): Make defvar-local.
14780 2013-06-22 Glenn Morris <rgm@gnu.org>
14782 * play/cookie1.el (cookie-apropos): Minor simplification.
14784 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14786 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14788 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14789 `regexp-opt', it breaks the build during dumping.
14791 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
14793 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14794 Highlight keyword-like methods on Kernel and Module with
14795 font-lock-builtin-face.
14796 (auto-mode-alist): Consolidate different entries into one regexp
14797 and add more *file-s.
14799 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
14801 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14803 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14804 (diary-entry): Use it in the action of this button type instead of
14807 * calendar/todo-mode.el: New version.
14808 (todo-add-category): Append new category to end of file and give
14809 it the highest number, instead of putting it at the beginning and
14810 giving it 0. Incorporate noninteractive functionality.
14811 (todo-forward-category): Adapt to 1-based category numbering.
14812 Allow skipping over archived categories.
14813 (todo-backward-category): Derive from todo-forward-category.
14814 (todo-backward-item, todo-forward-item): Make noninteractive and
14815 delegate interactive part to new commands. Make sensitive to done items.
14816 (todo-categories): Make value an alist of category names and
14817 vectors of item counts.
14818 (todo-category-beg): Make a defconst.
14819 (todo-category-number): Use 1 instead of 0 as initial value.
14820 (todo-category-select): Make sensitive to overlays, optional item
14821 highlighting and done items.
14822 (todo-delete-item): Make sensitive to overlays and marked and done items.
14823 (todo-edit-item): Make sensitive to overlays and editing of
14824 date/time header optional. Add format checks.
14825 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
14826 no-op if point is not on an item. Advertise using todo-edit-quit.
14827 (todo-edit-mode): Make sensitive to new format, font-locking, and
14828 multiple todo files.
14829 (todo-insert-item, todo-insert-item-here): Derive from
14830 todo-basic-insert-item and extend functionality.
14831 (todo-item-end, todo-item-start): Make sensitive to done items.
14832 (todo-item-string): Don't return text properties. Restore point.
14833 (todo-jump-to-category): Make sensitive to multiple todo files and
14834 todo archives. Use extended category completion.
14835 (todo-lower-item, todo-raise-item): Rename to *-priority and
14836 derive from todo-set-item-priority.
14837 (todo-mode): Derive from special-mode. Make sensitive to new
14838 format, font-locking and multiple todo files. Make read-only.
14839 (todo-mode-map): Don't suppress digit keys, so they can supply
14840 prefix arguments. Add many new key bindings.
14841 (todo-prefix): Insert as an overlay instead of file text.
14842 Change semantics from diary date expression to purely visual mark.
14843 (todo-print): Rename to todo-print-buffer. Make buffer display
14844 features printable. Remove option to restrict number of items
14845 printed. Add option to print to file.
14846 (todo-print-function): Rename to todo-print-buffer-function.
14847 (todo-quit): Extend to handle exiting new todo modes.
14848 (todo-remove-item): Make sensitive to overlays.
14849 (todo-save): Extend to buffers of filtered items.
14850 (todo-show): Make sensitive to done items, multiple todo files and
14851 new todo modes. Offer to convert legacy todo file before creating
14852 first new todo file.
14853 (todo-show-priorities): Rename to todo-top-priorities.
14854 Change semantics of value 0.
14855 (todo-top-priorities): Rename to todo-filter-top-priorities,
14856 derive from todo-filter-items and extend functionality.
14857 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14858 and extend functionality to other types of filtered items.
14859 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14860 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14861 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14862 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14863 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14864 (todo-edit-mode-hook, todo-entry-prefix-function)
14865 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14866 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14867 (todo-initials, todo-insert-threshold, todo-item-string-start)
14868 (todo-line-string, todo-menu, todo-mode-hook)
14869 (todo-more-important-p, todo-previous-answer, todo-previous-line)
14870 (todo-print-priorities, todo-remove-separator)
14871 (todo-save-top-priorities-too, todo-string-count-lines)
14872 (todo-string-multiline-p, todo-time-string-format)
14873 (todo-tmp-buffer-name): Remove.
14874 (todo-add-file, todo-archive-done-item, todo-choose-archive)
14875 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14876 (todo-edit-category-diary-inclusion)
14877 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14878 (todo-edit-file, todo-edit-item-date-day)
14879 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14880 (todo-edit-item-date-month, todo-edit-item-date-to-today)
14881 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14882 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14883 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14884 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14885 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14886 (todo-filter-top-priorities-multifile, todo-find-archive)
14887 (todo-find-filtered-items-file, todo-go-to-source-item)
14888 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14889 (todo-jump-to-archive-category, todo-lower-category)
14890 (todo-mark-category, todo-marked-item-p, todo-merge-category)
14891 (todo-move-category, todo-move-item, todo-next-button)
14892 (todo-next-item, todo-padded-string, todo-powerset)
14893 (todo-previous-button, todo-previous-item)
14894 (todo-print-buffer-to-file, todo-raise-category)
14895 (todo-rename-category, todo-repair-categories-sexp, todo-search)
14896 (todo-set-category-number, todo-set-item-priority)
14897 (todo-set-top-priorities-in-category)
14898 (todo-set-top-priorities-in-file, todo-show-categories-table)
14899 (todo-sort-categories-alphabetically-or-numerically)
14900 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14901 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14902 (todo-toggle-item-header, todo-toggle-item-highlighting)
14903 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14904 (todo-toggle-view-done-items, todo-toggle-view-done-only)
14905 (todo-unarchive-items, todo-unmark-category): New commands.
14906 (todo-absolute-file-name, todo-add-to-buffer-list)
14907 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14908 (todo-basic-insert-item, todo-category-completions)
14909 (todo-category-number, todo-category-string-matcher-1)
14910 (todo-category-string-matcher-2, todo-check-filtered-items-file)
14911 (todo-check-format, todo-clear-matches)
14912 (todo-comment-string-matcher, todo-convert-legacy-date-time)
14913 (todo-current-category, todo-date-string-matcher)
14914 (todo-define-insertion-command, todo-diary-expired-matcher)
14915 (todo-diary-goto-entry, todo-diary-item-p)
14916 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14917 (todo-display-categories, todo-display-sorted, todo-done-item-p)
14918 (todo-done-item-section-p, todo-done-separator)
14919 (todo-done-string-matcher, todo-files, todo-filter-items)
14920 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14921 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14922 (todo-insert-category-line, todo-insert-item-from-calendar)
14923 (todo-insert-sort-button, todo-insert-with-overlays)
14924 (todo-insertion-command-name, todo-insertion-key-bindings)
14925 (todo-label-to-key, todo-longest-category-name-length)
14926 (todo-make-categories-list, todo-mode-external-set)
14927 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14928 (todo-modes-set-3, todo-multiple-filter-files)
14929 (todo-nondiary-marker-matcher, todo-prefix-overlays)
14930 (todo-read-category, todo-read-date, todo-read-dayname)
14931 (todo-read-file-name, todo-read-time)
14932 (todo-reevaluate-category-completions-files-defcustom)
14933 (todo-reevaluate-default-file-defcustom)
14934 (todo-reevaluate-filelist-defcustoms)
14935 (todo-reevaluate-filter-files-defcustom)
14936 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14937 (todo-reset-done-separator, todo-reset-done-separator-string)
14938 (todo-reset-done-string, todo-reset-global-current-todo-file)
14939 (todo-reset-highlight-item, todo-reset-nondiary-marker)
14940 (todo-reset-prefix, todo-set-categories)
14941 (todo-set-date-from-calendar, todo-set-show-current-file)
14942 (todo-set-top-priorities, todo-short-file-name)
14943 (todo-show-current-file, todo-sort, todo-time-string-matcher)
14944 (todo-total-item-counts, todo-update-buffer-list)
14945 (todo-update-categories-display, todo-update-categories-sexp)
14946 (todo-update-count, todo-validate-name, todo-y-or-n-p):
14948 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14950 (todo-categories, todo-display, todo-edit, todo-faces)
14951 (todo-filtered): New defgroups.
14952 (todo-archived-only, todo-button, todo-category-string, todo-date)
14953 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14954 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14955 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14956 (todo-add-item-if-new-category, todo-always-add-time-string)
14957 (todo-categories-align, todo-categories-archived-label)
14958 (todo-categories-category-label, todo-categories-diary-label)
14959 (todo-categories-done-label, todo-categories-number-separator)
14960 (todo-categories-todo-label, todo-categories-totals-label)
14961 (todo-category-completions-files, todo-completion-ignore-case)
14962 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14963 (todo-done-separator-string, todo-done-string)
14964 (todo-files-function, todo-filter-done-items, todo-filter-files)
14965 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14966 (todo-initial-category, todo-initial-file, todo-item-mark)
14967 (todo-legacy-date-time-regexp, todo-mode-line-function)
14968 (todo-nondiary-marker, todo-number-prefix)
14969 (todo-print-buffer-function, todo-show-current-file)
14970 (todo-show-done-only, todo-show-first, todo-show-with-done)
14971 (todo-skip-archived-categories, todo-top-priorities-overrides)
14972 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14973 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14975 (todo-category-done, todo-date-pattern, todo-date-string-start)
14976 (todo-diary-items-buffer, todo-done-string-start)
14977 (todo-filtered-items-buffer, todo-item-start)
14978 (todo-month-abbrev-array, todo-month-name-array)
14979 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14980 (todo-top-priorities-buffer): New defconsts.
14981 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14982 (todo-categories-with-marks, todo-category-string-face)
14983 (todo-comment-face, todo-comment-string, todo-current-todo-file)
14984 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14985 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14986 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14987 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14988 (todo-font-lock-keywords, todo-global-current-todo-file)
14989 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14990 (todo-insertion-commands-args)
14991 (todo-insertion-commands-args-genlist)
14992 (todo-insertion-commands-names, todo-insertion-map)
14993 (todo-key-bindings-t, todo-key-bindings-t+a)
14994 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14995 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14996 (todo-nondiary-face, todo-print-buffer, todo-time-face)
14997 (todo-visited): New variables.
14999 2013-06-21 Glenn Morris <rgm@gnu.org>
15001 * play/cookie1.el (cookie-apropos): Add optional display argument.
15002 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
15003 (psychoanalyze-pinhead): Use cookie-doctor.
15005 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15007 * emacs-lisp/package.el (tar-get-file-descriptor)
15008 (tar--extract): Declare.
15010 2013-06-21 Eduard Wiebe <usenet@pusto.de>
15012 Extend flymake's warning predicate to be a function (bug#14217).
15013 * progmodes/flymake.el (flymake-warning-predicate): New.
15014 (flymake-parse-line): Use it.
15015 (flymake-warning-re): Make obsolete alias to
15016 `flymake-warning-predicate'.
15018 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15020 * emacs-lisp/package.el (package-alist): Include obsolete packages.
15021 (package-obsolete-list): Remove.
15022 (package-activate): Remove min-version argument. Add `force' argument.
15023 Adjust to new package-alist format.
15024 (package-mark-obsolete): Remove.
15025 (package-unpack): Force reload of the package's autoloads.
15026 (package-installed-p): Check builtins if the installed package is not
15028 (package-initialize): Don't reset package-obsolete-list.
15029 Don't specify which package version to activate.
15030 (package-process-define-package, describe-package-1)
15031 (package-menu--generate): Adjust to new package-alist format.
15033 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15035 * allout-widgets.el (allout-widgets-mode-off)
15036 (allout-widgets-mode-on, allout-widgets-pre-command-business)
15037 (allout-widgets-post-command-business)
15038 (allout-widgets-after-copy-or-kill-function)
15039 (allout-widgets-after-undo-function, allout-test-range-overlaps)
15040 (allout-decorate-item-and-context)
15041 (allout-graphics-modification-handler): Fix typos in docstrings.
15042 (allout-get-or-create-parent-widget): Use `looking-at-p'.
15044 * cmuscheme.el (scheme-start-file): Doc fix.
15045 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
15046 (scheme-input-filter): Use `string-match-p'.
15048 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
15050 * dired-x.el: Use Dired consistently in docstrings.
15052 * dired.el: Use Dired consistently in docstrings.
15053 (dired-readin, dired-mode): Use `setq-local'.
15054 (dired-switches-alist): Make defvar-local.
15055 (dired-buffers-for-dir): Use `zerop'.
15056 (dired-safe-switches-p, dired-switches-escape-p)
15057 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
15058 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
15059 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
15060 (dired-goto-next-nontrivial-file): Use `string-match-p'.
15061 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
15062 (dired-toggle-marks, dired-mark-files-containing-regexp)
15063 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
15064 (dired-flag-auto-save-files, dired-flag-backup-files):
15065 Use `looking-at-p'.
15066 (dired-mark-files-regexp, dired-build-subdir-alist):
15067 Use `string-match-p', `looking-at-p'.
15069 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
15070 (direct-print-region-helper): Use `string-match-p'.
15072 2013-06-21 Leo Liu <sdl.web@gmail.com>
15074 * comint.el (comint-redirect-results-list-from-process):
15077 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15079 * net/eww.el (eww-update-header-line-format): Quote % characters.
15081 2013-06-21 Glenn Morris <rgm@gnu.org>
15083 * play/cookie1.el (cookie): New custom group.
15084 (cookie-file): New option.
15085 (cookie-check-file): New function.
15086 (cookie): Make it interactive. Make start and end messages optional.
15087 Interactively, display the result. Default to cookie-file.
15088 (cookie-insert): Default to cookie-file.
15089 (cookie-snarf): Make start and end messages optional.
15090 Default to cookie-file. Use with-temp-buffer.
15091 (cookie-read): Rename from read-cookie.
15092 Make start and end messages optional. Default to cookie-file.
15093 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
15094 Do not autoload it.
15095 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
15096 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
15098 2013-06-21 Leo Liu <sdl.web@gmail.com>
15100 * progmodes/octave.el (octave-mode): Backward compatibility fix.
15102 2013-06-21 Glenn Morris <rgm@gnu.org>
15104 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
15106 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15107 Daniel Hackney <dan@haxney.org>
15109 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
15110 Consolidate the single-file vs tarball code.
15111 (package-desc-suffix): New function.
15112 (package-desc-full-name): Don't bother inlining it.
15113 (package-load-descriptor): Return the new package-desc.
15114 (package-mark-obsolete): Remove unused arg `package'.
15115 (package-unpack): Make it work for single files as well.
15116 Make it update package-alist.
15117 (package--make-autoloads-and-stuff): Rename from
15118 package--make-autoloads-and-compile. Don't compile any more.
15119 (package--compile): New function.
15120 (package-generate-description-file): New function, extracted from
15121 package-unpack-single.
15122 (package-unpack-single): Remove.
15123 (package--with-work-buffer): Add indentation and debugging info.
15124 (package-download-single): Remove.
15125 (package-install-from-archive): Rename from package-download-tar, make
15126 it take a pkg-desc, and make it work for single files as well.
15127 (package-download-transaction): Simplify.
15128 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
15129 external tar program.
15130 (package-install-from-buffer): Remove `pkg-desc' argument.
15131 Use package-tar-file-info for tar-mode buffers.
15132 (package-install-file): Simplify accordingly.
15133 (package-archive-base): Change to take a pkg-desc.
15134 * tar-mode.el (tar--check-descriptor): New function, extracted from
15135 tar-get-descriptor.
15136 (tar-get-descriptor): Use it.
15137 (tar-get-file-descriptor): New function.
15138 (tar--extract): New function, extracted from tar-extract.
15139 (tar--extract): Use it.
15140 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
15141 case the summary uses non-ascii. Adjust to new calling convention of
15142 package-tar-file-info.
15144 2013-06-21 Leo Liu <sdl.web@gmail.com>
15146 * comint.el (comint-redirect-results-list-from-process):
15147 Fix random delay. (Bug#14681)
15149 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15151 * profiler.el (profiler-format-number): Use log, not log10.
15153 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15155 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
15157 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15159 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
15160 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
15162 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
15163 (AUTOGENEL): ... here.
15164 * emacs-lisp/cl-macs.el (cl--sublis): New function.
15165 (cl--defsubst-expand): Use it.
15167 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
15169 * subr.el (log10): Move here from C code, and declare as obsolete.
15170 All uses of (log10 X) replaced with (log X 10).
15172 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15174 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
15175 Declare with `defvar-local'.
15176 (tabulated-list-use-header-line, tabulated-list-entries)
15177 (tabulated-list-padding, tabulated-list-printer)
15178 (tabulated-list-sort-key): Declare with `defvar-local'.
15179 (tabulated-list-init-header, tabulated-list-print-fake-header):
15182 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
15184 * arc-mode.el (archive-mode): Add `archive-write-file' to
15185 `write-contents-functions' also for remote files. (Bug#14652)
15187 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15189 * cus-edit.el (custom-commands): Fix typos.
15190 (custom-display): Fix tooltip text.
15191 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
15192 Fix typos in docstrings.
15193 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
15194 (custom-unlispify-menu-entry, custom-magic-value-create)
15195 (custom-add-see-also, custom-group-value-create): Use ?\s.
15196 (custom-guess-type, customize-apropos, editable-field)
15197 (custom-face-value-create): Use `string-match-p'.
15198 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
15200 * custom.el (custom-load-symbol): Use `string-match-p'.
15202 * ansi-color.el: Convert to lexical binding.
15203 (ansi-colors): Fix URL.
15204 (ansi-color-context, ansi-color-context-region): Use defvar-local.
15205 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
15206 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
15208 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15210 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
15212 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15214 2013-06-19 Tom Tromey <tromey@redhat.com>
15216 * net/eww.el (eww-top-url): Remove.
15217 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
15218 (eww-render): Set new variables. Don't set eww-top-url.
15219 (eww-handle-link): Handle "prev", "home", and "contents".
15220 Downcase the rel text.
15221 (eww-top-url): Choose best top URL.
15223 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15225 * net/eww.el: Rewrite to implement form elements "by hand" instead of
15226 relying in widget.el. Using widget.el leads to too many
15227 user interface inconsistencies.
15228 (eww-self-insert): Implement entering commands in text fields.
15229 (eww-process-text-input): New function to make text input field editing
15231 (eww-submit): Rewrite to use the new-style form methods.
15232 (eww-select-display): Display the correct selected item.
15233 (eww-change-select): Implement changing the select value.
15234 (eww-toggle-checkbox): Implement radio/checkboxes.
15235 (eww-update-field): Fix compilation error.
15236 (eww-tag-textarea): Implement <textarea>.
15238 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15239 we don't shadow mode-specific bindings.
15241 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15244 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15246 2013-06-19 Glenn Morris <rgm@gnu.org>
15248 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15250 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15252 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15255 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15257 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15259 * net/browse-url.el (browse-url-browser-function):
15260 `eww-browse-url' has the right calling signature, `eww' does not.
15262 2013-06-19 Glenn Morris <rgm@gnu.org>
15264 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15265 Only eval autoloaded macros.
15266 (byte-compile-autoload): Only give the macro warning for macros.
15268 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15269 (ps-underlined-faces): Declare.
15271 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15272 (speedbar-add-supported-extension): Declare.
15274 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15275 Don't include a date stamp in the header of the generated file;
15276 it leads to needless differences between output files.
15278 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15280 * net/secrets.el (secrets-struct-secret-content-type):
15281 Replace check of introspection data by a test call of "CreateItem".
15282 Some servers do not offer introspection.
15284 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
15286 * electric.el (electric-pair-mode): Improve interaction with
15287 electric-layout-mode.
15288 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15289 (electric-pair-syntax): Use text-mode-syntax-table in comments
15291 (electric-pair--insert): New function.
15292 (electric-pair-post-self-insert-function): Use it and
15293 electric--after-char-pos.
15295 2013-06-19 Leo Liu <sdl.web@gmail.com>
15297 * progmodes/octave.el (octave-help): Fix regexp.
15299 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15301 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15302 (shr-table-horizontal-line): Allow nil as a value, and change the
15304 (shr-insert-table-ruler): Respect the nil value.
15306 2013-06-18 Tom Tromey <tromey@barimba>
15308 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15310 (eww-open-file): New defun.
15311 (eww-render): Initialize new variables.
15312 (eww-display-html): Handle "link" and "a".
15313 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15314 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
15315 (eww-back-url): Rename from eww-previous-url.
15316 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15319 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
15321 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15322 Distinguish ternary operator tokens from slash symbol and slash
15325 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15327 Convert symbol prettification into minor mode and global minor mode.
15329 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15330 `prog-prettify-symbols', and make a local defvar instead of defcustom.
15331 (prettify-symbols--keywords): Rename from
15332 `prog-prettify-symbols-alist' and make a local defvar.
15333 (prettify-symbols--compose-symbol): Rename from
15334 `prog--prettify-font-lock-compose-symbol'.
15335 (prettify-symbols--make-keywords): Rename from
15336 `prog-prettify-font-lock-symbols-keywords' and simplify.
15337 (prog-prettify-install): Remove.
15338 (prettify-symbols-mode): New minor mode, based on
15339 `prog-prettify-install'.
15340 (turn-on-prettify-symbols-mode): New function.
15341 (global-prettify-symbols-mode): New globalized minor mode.
15343 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15344 * progmodes/cfengine.el (cfengine3-mode):
15345 * progmodes/perl-mode.el (perl-mode): Don't call
15346 `prog-prettify-install'; set `prettify-symbols-alist' instead.
15348 2013-06-18 Juri Linkov <juri@jurta.org>
15350 * files-x.el (modify-file-local-variable-message): New function.
15351 (modify-file-local-variable)
15352 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15353 and call `modify-file-local-variable-message' when it's non-nil.
15354 (add-file-local-variable, delete-file-local-variable)
15355 (add-file-local-variable-prop-line)
15356 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15357 and use it. (Bug#9820)
15359 2013-06-18 Juri Linkov <juri@jurta.org>
15361 * emulation/vi.el (vi-shell-op):
15362 * emulation/vip.el (vip-execute-com, ex-command):
15363 * emulation/viper-cmd.el (viper-exec-bang):
15364 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15365 the call of `shell-command-on-region'. (Bug#14637)
15367 * simple.el (shell-command-on-region): Doc fix.
15369 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15371 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15374 2013-06-18 Glenn Morris <rgm@gnu.org>
15376 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15378 * newcomment.el (comment-search-forward, comment-search-backward):
15379 Doc fix. (Bug#14376)
15381 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15383 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15384 (buffer-face-mode-invoke): Doc fix.
15386 2013-06-18 Matthias Meulien <orontee@gmail.com>
15388 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15389 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15391 2013-06-18 Glenn Morris <rgm@gnu.org>
15393 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15394 Replace obsolete function generic-make-keywords with its expansion.
15396 * progmodes/python.el (ffap-alist): Declare.
15398 * textmodes/reftex.el (bibtex-mode-map): Declare.
15400 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15402 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15403 (package-unpack, package-unpack-single): Return the pkg-dir.
15404 (package-download-transaction): Use it to update package-alist.
15406 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15408 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15411 2013-06-17 Juri Linkov <juri@jurta.org>
15413 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15415 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15417 * emacs-lisp/package.el (package-load-descriptor):
15418 Remove `with-syntax-table' call, `read' doesn't need it.
15419 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15421 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15423 * startup.el (command-line): Expand package name returned by
15424 `package--description-file' (bug#14639).
15426 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15428 * emacs-lisp/package.el (package-load-descriptor): Do not call
15429 `emacs-lisp-mode', just use its syntax table.
15431 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15433 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15434 `font-lock-extra-managed-props' if any prettifying keyword is added.
15435 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15436 (prog-mode): Use `setq-local'.
15438 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15440 * international/characters.el (standard-case-table): Set syntax of ?»
15441 and ?« to punctuation.
15443 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15445 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15446 Save relevant match data before calling `syntax-ppss' (bug#14595).
15448 2013-06-15 Juri Linkov <juri@jurta.org>
15450 * files-x.el (modify-file-local-variable-prop-line): Add local
15451 variables to the end of the existing comment on the first line.
15452 Use `file-auto-mode-skip' to skip interpreter magic line,
15453 and also skip XML declaration.
15455 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * startup.el (package--builtin-versions): New var.
15458 (package-subdirectory-regexp): Remove.
15459 (package--description-file): Hard code its value instead.
15461 * emacs-lisp/package.el: Don't activate packages older than builtin.
15462 (package-obsolete-list): Rename from package-obsolete-alist, and make
15463 it into a simple list of package-desc.
15464 (package-strip-version): Remove.
15465 (package-built-in-p): Use package--builtin-versions.
15466 (package-mark-obsolete): Simplify.
15467 (package-process-define-package): Mark it obsolete if older than the
15469 (package-handle-response): Use line-end-position.
15470 (package-read-archive-contents, package--download-one-archive):
15472 (package--add-to-archive-contents): Skip if older than the builtin or
15474 (package-menu-describe-package): Fix last change.
15475 (package-list-unversioned): New var.
15476 (package-menu--generate): Use it.
15478 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15479 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15480 (autoload-builtin-package-versions): New variable.
15481 (autoload-generate-file-autoloads): Use them.
15482 Remove the list of autoloaded functions/macros from the
15483 (autoload...) comments.
15485 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15487 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15489 * simple.el (line-move-partial): Don't jump to the next screen
15490 line as soon as it becomes visible. Instead, continue enlarging
15491 the vscroll until the portion of a tall screen line that's left on
15492 display is about the height of the frame's default font.
15495 2013-06-15 Glenn Morris <rgm@gnu.org>
15497 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15498 compilation-error-regexp-alist void, or local while let-bound.
15500 * progmodes/make-mode.el (makefile-mode-syntax-table):
15501 Treat "=" as punctuation. (Bug#14614)
15503 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15505 * help-fns.el (describe-variable):
15506 Add extra line for permanent-local variables.
15508 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15510 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15511 Add export, import, library. (Bug#9164)
15512 (library): Set indent function.
15514 2013-06-14 Glenn Morris <rgm@gnu.org>
15516 * term/xterm.el (xterm--query):
15517 Stop after first matching handler. (Bug#14615)
15519 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15521 Add support for dired in saveplace.
15522 * dired.el (dired-initial-position-hook): New variable.
15523 (dired-initial-position): Call hook to place cursor position.
15524 * saveplace.el (save-place-to-alist): Add dired position.
15525 (save-place-dired-hook): New function.
15527 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15529 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15530 through a symbol rather than letrec.
15532 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15533 (package-desc): Add `dir' field.
15534 (package-desc-full-name): New function.
15535 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15536 (package-maybe-load-descriptor): Remove.
15537 (package-load-all-descriptors): Just call package-load-descriptor.
15538 (package--disabled-p): New function.
15539 (package-desc-vers, package-desc-doc): Remove aliases.
15540 (package--dir): Remove function.
15541 (package-activate): Check if a package is disabled.
15542 (package-process-define-package): New function, extracted from
15544 (define-package): Turn into a place holder.
15545 (package-unpack-single, package-tar-file-info):
15546 Use package--description-file.
15547 (package-compute-transaction): Use package--disabled-p.
15548 (package-download-transaction): Don't call
15549 package-maybe-load-descriptor since they're all loaded anyway.
15550 (package-install): Change argument to be a pkg-desc.
15551 (package-delete): Use a single pkg-desc argument.
15552 (describe-package-1): Use package-desc-dir instead of package--dir.
15553 Use package-desc property instead of package-symbol.
15554 (package-install-button-action): Adjust accordingly.
15555 (package--push): Rewrite.
15556 (package-menu--print-info): Adjust accordingly. Change the ID format
15558 (package-menu-describe-package, package-menu-get-status)
15559 (package-menu--find-upgrades, package-menu-mark-upgrades)
15560 (package-menu-execute, package-menu--name-predicate):
15561 Adjust accordingly.
15562 * startup.el (package--description-file): New function.
15563 (command-line): Use it.
15564 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15565 Use package-desc-version.
15567 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15568 (byte-compile-preprocess): Use it.
15569 (byte-compile-file-form-defalias): Try a bit harder to use macros we
15570 can't quite recognize.
15571 (byte-compile-add-to-list): Remove.
15572 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15573 (cconv-closure-convert): Add assertion.
15575 * emacs-lisp/map-ynp.el: Use lexical-binding.
15576 (map-y-or-n-p): Remove unused vars `tail' and `object'.
15577 Factor out some repeated code.
15579 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15581 * subr.el (with-eval-after-load): New macro.
15582 (eval-after-load): Allow form to be a function.
15583 take advantage of lexical-binding.
15584 (do-after-load-evaluation): Use dolist and adjust to new format.
15585 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15587 2013-06-13 Juri Linkov <juri@jurta.org>
15589 * replace.el (perform-replace): Display "symbol " and other search
15590 modes from `isearch-message-prefix' in the *Help* buffer.
15592 * isearch.el (isearch-query-replace): Add " symbol" and other
15593 possible search modes from `isearch-message-prefix' to the prompt.
15594 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15595 when reading a regexp to collect.
15597 2013-06-13 Juri Linkov <juri@jurta.org>
15599 * isearch.el (word-search-regexp): Match whitespace if the search
15600 string begins or ends in whitespace. The LAX arg is applied to
15601 both ends of the search string. Use `regexp-quote' and explicit
15602 \< and \> instead of \b. Use \` and \' instead of ^ and $.
15603 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15604 boundaries are replaced with symbol boundaries, and characters
15605 between symbols match non-word non-symbol syntax. (Bug#14602)
15607 2013-06-13 Juri Linkov <juri@jurta.org>
15609 * isearch.el (isearch-del-char): Don't exceed the length of
15610 `isearch-string' by the prefix arg. (Bug#14563)
15612 2013-06-13 Juri Linkov <juri@jurta.org>
15614 * isearch.el (isearch-yank-word, isearch-yank-line)
15615 (isearch-char-by-name, isearch-quote-char)
15616 (isearch-printing-char, isearch-process-search-char):
15617 Add optional count prefix arg. (Bug#14563)
15619 * international/isearch-x.el
15620 (isearch-process-search-multibyte-characters):
15621 Add optional count prefix arg.
15623 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15626 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15629 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
15631 * subr.el (set-temporary-overlay-map): Add on-exit argument.
15633 2013-06-13 Glenn Morris <rgm@gnu.org>
15635 * startup.el (tty-handle-args):
15636 Don't just discard "--" and anything after. (Bug#14608)
15638 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15640 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
15642 Implement changes in Secret Service API. Make it backward compatible.
15643 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15644 (secrets-create-item): Use it. Prefix properties with interface.
15646 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
15648 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
15649 (term-emulate-terminal): Respect term-suppress-hard-newline.
15651 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
15653 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15654 Only remove a `thumb-file' overlay. (Bug#14548)
15656 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
15658 * mail/reporter.el (reporter-submit-bug-report):
15659 Handle missing package-name. (Bug#14600)
15661 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15663 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15664 (reftex-citation-prompt, reftex-default-bibliography)
15665 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15666 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15667 (reftex-bib-sort-author, reftex-bib-sort-year)
15668 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15669 (reftex-extract-bib-entries-from-thebibliography)
15670 (reftex-get-bibkey-default, reftex-get-bib-names)
15671 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15672 (reftex-format-bib-entry, reftex-parse-bibitem)
15673 (reftex-format-bibitem, reftex-do-citation)
15674 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15675 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15676 (reftex-insert-bib-matches, reftex-format-citation)
15677 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15678 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15679 existing comments into docstrings.
15681 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15683 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15685 2013-06-12 Andreas Schwab <schwab@suse.de>
15687 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15688 for auto-save files.
15690 2013-06-12 Glenn Morris <rgm@gnu.org>
15692 * ido.el (ido-delete-ignored-files): Remove.
15693 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15694 Go back to calling ido-ignore-item-p directly.
15696 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15698 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15700 * ido.el (ido-delete-ignored-files): New function,
15701 split from ido-make-file-list-1.
15702 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15703 (ido-make-file-list-1): Use ido-delete-ignored-files.
15705 2013-06-12 Leo Liu <sdl.web@gmail.com>
15707 * progmodes/octave.el (inferior-octave-startup)
15708 (inferior-octave-completion-table)
15709 (inferior-octave-track-window-width-change)
15710 (octave-eldoc-function-signatures, octave-help)
15711 (octave-find-definition): Use single quoted strings.
15712 (inferior-octave-startup-args): Change default value.
15713 (inferior-octave-startup): Do not hard code "-i" and
15714 "--no-line-editing".
15715 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15716 (inferior-octave-directory-tracker): Use it.
15717 (octave-goto-function-definition): Robustify.
15718 (octave-help): Support highlighting operators in 'See also'.
15719 (octave-find-definition): Find subfunctions only in Octave mode.
15721 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15723 * help-fns.el (help-fns--compiler-macro): If the handler function is
15724 named, then put a link to it.
15725 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15726 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15727 (cl-typep): Use it.
15728 (cl-eval-when): Simplify debug spec.
15729 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15730 compiler-macro function instead of setting `compiler-macro-file'.
15732 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15734 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15735 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15737 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15738 Daniel Hackney <dan@haxney.org>
15740 First part of Daniel Hackney's patch to package.el.
15741 * emacs-lisp/package.el: Use defstruct.
15742 (package-desc): New, main struct.
15743 (package--bi-desc, package--ac-desc): New structs, used to describe the
15744 format in external files.
15745 (package-desc-vers): Replace with package-desc-version accessor.
15746 (package-desc-doc): Replace with package-desc-summary accessor.
15747 (package-activate-1): Remove `package' arg since the pkg-vec now
15749 (define-package): Use package-desc-from-define.
15750 (package-unpack-single): Change file-name arg to be a symbol.
15751 (package--add-to-archive-contents): Use package-desc-create and new
15752 accessor functions to package--ac-desc.
15753 (package-buffer-info, package-tar-file-info): Return a package-desc.
15754 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15755 arg to be a package-desc.
15756 (package-install-file): Adjust accordingly. Use \' to match EOS.
15757 (package--from-builtin): New function.
15758 (describe-package-1, package-menu--generate): Use it.
15759 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15760 (package-generate-autoloads): Idem and return the name of the file.
15761 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15762 Change pkg-info arg to be a package-desc.
15763 Use package-make-ac-desc.
15764 (package-upload-file): Use \' to match EOS.
15765 * finder.el (finder-compile-keywords): Use package-make-builtin.
15767 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15769 * vc/vc.el (vc-deduce-fileset): Change error message.
15770 (vc-read-backend): New function.
15771 (vc-next-action): Use it.
15773 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15775 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15776 (prolog-font-lock-keywords): Use regexp-opt instead.
15777 Don't manually highlight strings.
15778 (prolog-mode-variables): Simplify comment-start-skip.
15779 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
15781 * emacs-lisp/generic.el (generic--normalise-comments)
15782 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15783 (generic-mode-set-comments): Use them.
15784 (generic-bracket-support): Use setq-local.
15785 (generic-make-keywords-list): Declare obsolete.
15787 2013-06-11 Glenn Morris <rgm@gnu.org>
15789 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15790 Prettify after setting font-lock-defaults. (Bug#14574)
15792 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
15794 * replace.el (query-replace, occur-read-regexp-defaults-function)
15796 * subr.el (declare-function, number-sequence, local-set-key)
15797 (substitute-key-definition, locate-user-emacs-file)
15798 (with-silent-modifications, split-string, eval-after-load):
15799 Fix typos, remove unneeded backslashes and reflow some docstrings.
15801 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15804 default for Elisp files.
15806 2013-06-11 Glenn Morris <rgm@gnu.org>
15808 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15809 although define-derived-mode was doing this anyway. (Bug#14583)
15811 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
15813 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15814 Fix make-variable-buffer-local call to refer to the correct variable.
15816 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
15818 * eshell/em-term.el (eshell-visual-commands)
15819 (eshell-visual-subcommands, eshell-visual-options):
15820 Add summary line to docstrings. Add cross-references.
15822 2013-06-10 Glenn Morris <rgm@gnu.org>
15824 * epa.el (epa-read-file-name): New function. (Bug#14510)
15825 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
15827 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15829 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15830 output redirection to be ignored with visual commands.
15832 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15834 * eshell/em-term.el (eshell-visual-command-p): New function.
15835 (eshell-term-initialize): Move long lambda to separate function
15836 eshell-visual-command-p.
15837 * eshell/em-dirs.el (eshell-dirs-initialize):
15838 * eshell/em-script.el (eshell-script-initialize):
15839 Add missing #' to lambda.
15841 2013-06-08 Leo Liu <sdl.web@gmail.com>
15843 * progmodes/octave.el (octave-add-log-current-defun): New function.
15844 (octave-mode): Set add-log-current-defun-function.
15845 (octave-goto-function-definition): Do not move point if not found.
15846 (octave-find-definition): Enhance to try subfunctions first.
15848 2013-06-08 Glenn Morris <rgm@gnu.org>
15850 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15851 (byte-compile-backward-char, byte-compile-backward-word):
15852 Improve previous change, to handle non-explicit nil.
15854 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
15856 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15857 (smie--opener/closer-at-point): New function.
15858 (smie--matching-block-data): Use it. Don't match from right after an
15859 opener or right before a closer. Obey smie-blink-matching-inners.
15860 Don't signal a mismatch for repeated inners like "switch..case..case".
15862 2013-06-07 Leo Liu <sdl.web@gmail.com>
15864 * progmodes/octave.el (octave-mode): Set comment-use-global-state
15866 (octave-function-header-regexp): Fix. (Bug#14570)
15867 (octave-help-mode-finish-hook, octave-help-mode-finish):
15868 Remove. Just use temp-buffer-show-hook.
15870 * newcomment.el (comment-search-backward): Revert last change.
15873 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15875 2013-06-07 Eli Zaretskii <eliz@gnu.org>
15877 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15878 through xargs, to avoid failure due to MS-Windows limitations on
15879 command-line length.
15881 2013-06-06 Glenn Morris <rgm@gnu.org>
15883 * font-lock.el (lisp-font-lock-keywords-2):
15884 Treat user-error like error.
15886 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15887 (byte-compile-backward-char, byte-compile-backward-word):
15888 Handle explicit nil arguments. (Bug#14565)
15890 2013-06-05 Alan Mackenzie <acm@muc.de>
15892 * isearch.el (isearch-allow-prefix): New user option.
15893 (isearch-other-meta-char): Don't exit isearch when a prefix
15894 argument is typed whilst `isearch-allow-prefix' is non-nil.
15897 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15899 * autorevert.el (auto-revert-notify-handler): Use memq.
15900 Hide assertion failure.
15902 * skeleton.el: Use cl-lib.
15903 (skeleton-further-elements): Use defvar-local.
15904 (skeleton-insert): Use cl-progv.
15906 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15908 * progmodes/prog-mode.el (prog-prettify-symbols)
15909 (prog-prettify-install): Update docstrings.
15911 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * simple.el: Move all the prog-mode code to prog-mode.el.
15914 * progmodes/prog-mode.el: New file.
15915 * loadup.el: Add prog-mode.el.
15917 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15919 * simple.el (prog-prettify-symbols): Add version.
15920 (prog-prettify-install): Add convenience function to prettify symbols.
15922 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15923 (perl--augmented-font-lock-keywords-1)
15924 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15925 variables and use it.
15927 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15928 (cfengine3-mode): Remove unneeded variable and use it.
15930 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15931 (lisp--augmented-font-lock-keywords-1)
15932 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15933 Remove unneeded variables and use it.
15935 2013-06-05 João Távora <joaotavora@gmail.com>
15937 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15938 to point when opening the connection. (Bug#14380)
15940 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15942 * subr.el (load-history-regexp, load-history-filename-element)
15943 (eval-after-load, after-load-functions, do-after-load-evaluation)
15944 (eval-next-after-load, display-delayed-warnings)
15945 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15946 definition of save-match-data.
15947 (overriding-local-map): Remove accidental obsolescence declaration.
15949 * emacs-lisp/edebug.el (edebug-result): Move before first use.
15951 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15953 Generalize symbol prettify support to prog-mode and implement it
15954 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15955 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15956 (prog--prettify-font-lock-compose-symbol)
15957 (prog-prettify-font-lock-symbols-keywords): New variables and
15958 functions to support symbol prettification.
15959 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15960 (lisp--augmented-font-lock-keywords-1)
15961 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15962 (lisp--prettify-symbols-alist): Implement prettify of lambda.
15963 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15964 (cfengine3--prettify-symbols-alist, cfengine3-mode):
15965 Implement prettify of -> => :: strings.
15966 * progmodes/perl-mode.el (perl-prettify-symbols)
15967 (perl--font-lock-compose-symbol)
15968 (perl--font-lock-symbols-keywords): Move to prog-mode.
15969 (perl--prettify-symbols-alist): Prettify -> => :: strings.
15970 (perl-font-lock-keywords-1)
15971 (perl-font-lock-keywords-2): Remove explicit prettify support.
15972 (perl--augmented-font-lock-keywords)
15973 (perl--augmented-font-lock-keywords-1)
15974 (perl--augmented-font-lock-keywords-2, perl-mode):
15975 Implement prettify support.
15977 2013-06-05 Leo Liu <sdl.web@gmail.com>
15979 Re-implement SMIE matching block highlight using
15980 show-paren-data-function. (Bug#14395)
15981 * emacs-lisp/smie.el (smie-matching-block-highlight)
15982 (smie--highlight-matching-block-overlay)
15983 (smie--highlight-matching-block-lastpos)
15984 (smie-highlight-matching-block)
15985 (smie-highlight-matching-block-mode): Remove.
15986 (smie--matching-block-data-cache): New variable.
15987 (smie--matching-block-data): New function.
15988 (smie-setup): Use smie--matching-block-data for
15989 show-paren-data-function.
15991 * progmodes/octave.el (octave-mode-menu): Fix.
15992 (octave-find-definition): Skip garbage lines.
15994 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15996 Fix compilation error with simultaneous dynamic+lexical scoping.
15997 Add warning when a defvar appears after the first let-binding.
15998 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15999 (byte-compile-close-variables): Initialize it.
16000 (byte-compile--declare-var): New function.
16001 (byte-compile-file-form-defvar)
16002 (byte-compile-file-form-define-abbrev-table)
16003 (byte-compile-file-form-custom-declare-variable): Use it.
16004 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
16005 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
16006 (byte-compile-bind): Handle dynamic bindings that shadow
16008 (byte-compile-unbind): Make arg non-optional.
16009 (byte-compile-let): Simplify.
16010 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
16011 (cconv--analyse-function, cconv-analyse-form): Populate it.
16012 Protect byte-compile-bound-variables to limit the scope of defvars.
16013 (cconv-analyse-form): Add missing rule for (defvar <foo>).
16014 Remove unneeded rule for `declare'.
16016 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
16017 so as to avoid depending on cl-adjoin at run-time.
16018 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
16020 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
16021 (macroexp--warn-and-return): Use it.
16023 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16025 * subr.el: Convert to lexical binding.
16026 (overriding-local-map): Make obsolete.
16027 (add-to-list): Doc fix. Add compiler macro.
16028 (read-key): Swap values of local maps.
16030 2013-06-05 Leo Liu <sdl.web@gmail.com>
16032 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
16034 2013-06-04 Leo Liu <sdl.web@gmail.com>
16036 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
16037 (compilation-auto-jump): Suppress the "Mark set" message to give
16038 way to exit message.
16040 2013-06-04 Alan Mackenzie <acm@muc.de>
16042 Remove faulty optimisation from indentation calculation.
16043 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
16044 search limit based on 2000 characters back from indent-point.
16046 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16048 * eshell/em-term.el (cl-lib): Require `cl-lib'.
16050 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
16052 * emacs-lisp/lisp.el: Use lexical-binding.
16053 (lisp--local-variables-1, lisp--local-variables): New functions.
16054 (lisp--local-variables-completion-table): New var.
16055 (lisp-completion-at-point): Use it complete let-bound vars.
16057 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
16058 eagerly (bug#14422).
16060 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
16062 * autorevert.el (auto-revert-notify-enabled)
16063 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16064 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
16065 (auto-revert-notify-handler): Handle also gfilenotify.
16067 * subr.el (file-notify-handle-event): New defun. Replacing ...
16068 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
16071 2013-06-03 Juri Linkov <juri@jurta.org>
16073 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
16074 `M-s h .'. (Bug#14427)
16076 * hi-lock.el (highlight-symbol-at-point): New alias for the new
16077 command `hi-lock-face-symbol-at-point'.
16078 (hi-lock-face-symbol-at-point): New command.
16079 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
16080 (hi-lock-menu): Add `highlight-symbol-at-point'.
16081 (hi-lock-mode): Doc fix.
16083 * isearch.el (isearch-forward-symbol-at-point): New command.
16084 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
16085 (isearch-highlight-regexp): Add a regexp which matches
16086 words/symbols for word/symbol mode.
16088 * subr.el (find-tag-default-bounds): New function with the body
16089 mostly moved from `find-tag-default'.
16090 (find-tag-default): Move most code to `find-tag-default-bounds',
16091 call it and apply `buffer-substring-no-properties' afterwards.
16093 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16095 * eshell/em-term.el (eshell-term-initialize):
16096 Use `cl-intersection' rather than `intersection'.
16098 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
16100 * vc/log-view.el: Doc fix.
16101 (log-view-mode-map): Copy keymap from `special-mode-map'.
16103 2013-06-02 Eric Ludlam <zappo@gnu.org>
16105 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
16106 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
16107 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
16108 (eieio-unbound, eieio-default-superclass)
16109 (eieio--define-field-accessors, method-static, method-before)
16110 (method-primary, method-after, method-num-lists)
16111 (method-generic-before, method-generic-primary)
16112 (method-generic-after, method-num-slots)
16113 (eieio-specialized-key-to-generic-key)
16114 (eieio--check-type, class-v, class-p)
16115 (eieio-class-name, define-obsolete-function-alias)
16116 (eieio-class-parents-fast, eieio-class-children-fast)
16117 (same-class-fast-p, class-constructor, generic-p)
16118 (generic-primary-only-p, generic-primary-only-one-p)
16119 (class-option-assoc, class-option, eieio-object-p)
16120 (class-abstract-p, class-method-invocation-order)
16121 (eieio-defclass-autoload-map, eieio-defclass-autoload)
16122 (eieio-class-un-autoload, eieio-defclass)
16123 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
16124 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
16125 (eieio--defgeneric-init-form, eieio-defgeneric-form)
16126 (eieio-defgeneric-reset-generic-form)
16127 (eieio-defgeneric-form-primary-only)
16128 (eieio-defgeneric-reset-generic-form-primary-only)
16129 (eieio-defgeneric-form-primary-only-one)
16130 (eieio-defgeneric-reset-generic-form-primary-only-one)
16131 (eieio-unbind-method-implementations)
16132 (eieio--defmethod, eieio--typep)
16133 (eieio-perform-slot-validation, eieio-validate-slot-value)
16134 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
16135 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
16136 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
16137 (eieio-slot-name-index, eieio-class-slot-name-index)
16138 (eieio-set-defaults, eieio-initarg-to-attribute)
16139 (eieio-attribute-to-initarg, eieio-c3-candidate)
16140 (eieio-c3-merge-lists, eieio-class-precedence-c3)
16141 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
16142 (eieio-class-precedence-list, eieio-generic-call-methodname)
16143 (eieio-generic-call-arglst, eieio-generic-call-key)
16144 (eieio-generic-call-next-method-list)
16145 (eieio-pre-method-execution-functions, eieio-generic-call)
16146 (eieio-generic-call-primary-only, eieiomt-method-list)
16147 (eieiomt-optimizing-obarray, eieiomt-install)
16148 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
16149 (eieio-generic-form, eieio-defmethod, make-obsolete)
16150 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
16151 (defclass): Remove `eval-and-compile' from macro.
16152 (call-next-method, shared-initialize): Instead of using
16153 `scoped-class' variable, use new eieio--scoped-class, and
16154 eieio--with-scoped-class.
16155 (initialize-instance): Rename local variable 'scoped-class' to
16156 'this-class' to remove ambiguitity from old global.
16158 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
16160 (eieio--scoped-class-stack): New variable.
16161 (eieio--scoped-class): New fcn.
16162 (eieio--with-scoped-class): New scoping macro.
16163 (eieio-defclass): Use pushnew instead of add-to-list.
16164 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
16165 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
16166 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
16167 `scoped-class' variable, use new eieio--scoped-class, and
16168 eieio--with-scoped-class.
16170 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
16172 2013-06-02 Tassilo Horn <tsdh@gnu.org>
16174 * eshell/esh-ext.el (eshell-external-command): Pass args to
16175 `eshell-find-interpreter'.
16176 (eshell-find-interpreter): Add new second parameter ARGS.
16178 * eshell/em-script.el (eshell-script-initialize): Add second arg
16179 to the function added as MATCH to `eshell-interpreter-alist'.
16181 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
16182 the function added as MATCH to `eshell-interpreter-alist'.
16184 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
16185 (eshell-visual-options): New defcustom.
16186 (eshell-escape-control-x): Adapt docstring.
16187 (eshell-term-initialize): Test `eshell-visual-subcommands' and
16188 `eshell-visual-options' in addition to `eshell-visual-commands'.
16189 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
16191 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
16193 * progmodes/python.el (python-indent-block-enders): Add break,
16194 continue and raise keywords.
16196 2013-06-01 Glenn Morris <rgm@gnu.org>
16198 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
16200 Plain (f)boundp silences compilation warnings since Emacs 22.1.
16201 * progmodes/cc-cmds.el (delete-forward-p):
16202 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
16203 * progmodes/cc-engine.el (buffer-syntactic-context):
16204 * progmodes/cc-fonts.el (face-property-instance):
16205 * progmodes/cc-mode.el (set-keymap-parents):
16206 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
16207 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
16208 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
16209 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
16210 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
16212 * progmodes/cc-vars.el (other): Emacs has this widget since
16213 at least 21.1, so don't (re)define it.
16215 * eshell/em-cmpl.el (eshell-cmpl-initialize):
16216 Replace the obsolete alias pcomplete-arg-quote-list.
16218 2013-06-01 Leo Liu <sdl.web@gmail.com>
16220 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
16221 punctuation syntax.
16222 (inferior-octave-minimal-columns)
16223 (inferior-octave-last-column-width): New variables.
16224 (inferior-octave-track-window-width-change): New function.
16225 (inferior-octave-mode): Adjust column width so that Octave output,
16226 for example from 'ls', can fit into the window nicely.
16228 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16230 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16231 Highlight expansions inside regexp literals.
16233 2013-05-31 Glenn Morris <rgm@gnu.org>
16235 * obsolete/sym-comp.el (symbol-complete):
16236 Replace obsolete completion-annotate-function.
16238 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16240 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16242 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16243 New function, checks if point is inside a literal that allows
16244 expression expansion.
16245 (ruby-syntax-propertize-expansion): Use it.
16246 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16249 2013-05-30 Juri Linkov <juri@jurta.org>
16251 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16253 (isearch-invisible): New variable.
16254 (isearch-forward): Doc fix.
16255 (isearch-mode): Set `isearch-invisible'
16256 to the value of `search-invisible'.
16257 (isearch-toggle-case-fold): Doc fix.
16258 (isearch-toggle-invisible): New command.
16259 (isearch-query-replace): Let-bind `search-invisible'
16260 to the value of `isearch-invisible'.
16261 (isearch-search): Use `isearch-invisible' instead of
16262 `search-invisible'. Let-bind `search-invisible'
16263 to the value of `isearch-invisible'. (Bug#11378)
16265 2013-05-30 Juri Linkov <juri@jurta.org>
16267 * replace.el (perform-replace): Avoid `isearch-range-invisible'
16268 call when `query-flag' is nil and `search-invisible' is non-nil.
16271 2013-05-30 Glenn Morris <rgm@gnu.org>
16273 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16275 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16276 (cc-require): Suppress spurious "noruntime" warnings.
16277 (cc-require-when-compile): Use fboundp, for sake of compiler.
16279 * progmodes/cc-mode.el: Move load of cc-vars before that of
16280 cc-langs (which in turn loads cc-vars), to quieten compiler.
16282 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16284 * paren.el: Simplify the code.
16285 (show-paren-mode): Always start the timer.
16286 (show-paren--idle-timer): Rename from show-paren-idle-timer.
16287 (show-paren--overlay, show-paren--overlay-1): Rename from
16288 show-paren-overlay and show-paren-overlay-1, and initialize to an
16289 overlay rather than to nil.
16290 (show-paren-function): Misc cleanup and simplifications.
16292 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16294 * paren.el (show-paren-data-function): New hook.
16295 (show-paren--default): New function, extracted from show-paren-function.
16296 (show-paren-function): Use show-paren-data-function.
16298 2013-05-30 Glenn Morris <rgm@gnu.org>
16300 * ielm.el (ielm-map, ielm-complete-symbol):
16301 Use completion-at-point rather than obsolete functions.
16302 (inferior-emacs-lisp-mode): Doc fix.
16303 Set completion-at-point-functions, rather than
16304 comint-dynamic-complete-functions.
16306 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16307 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16308 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16310 * image.el (image-animated-p): Tweak definition.
16312 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16313 (rlogin-process-connection-type): Tweak default. Add set-after.
16314 (rlogin-host): Doc fix.
16315 (rlogin): Tweak prompt.
16316 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16318 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16319 * progmodes/tcl.el (inferior-tcl-mode-map):
16320 Use completion-at-point rather than obsolete alias.
16322 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16324 * minibuffer.el (read-file-name-completion-ignore-case):
16325 Move before completion--in-region, for eager macro expansion.
16327 2013-05-29 Juri Linkov <juri@jurta.org>
16329 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16330 for total count of matching lines. Add `global-matches' for total
16331 count of matches. Rename `matches' to `lines' for count of
16332 matching lines. Add `matches' for count of matches.
16333 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
16334 to `prev-line' for line number of prev match endpt.
16335 Increment `matches' for every match. Print the number of
16336 matching lines in the header.
16337 (occur-context-lines): Rename `lines' to `curr-line'.
16338 Rename `prev-lines' to `prev-line'. (Bug#14017)
16340 2013-05-29 Juri Linkov <juri@jurta.org>
16342 * replace.el (perform-replace): Add `skip-read-only-count',
16343 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16344 Increment them for corresponding conditions and report the number
16345 of skipped occurrences in the final message. (Bug#11746)
16346 (query-replace, query-replace-regexp, query-replace-regexp-eval)
16347 (replace-string, replace-regexp): Doc fix.
16349 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
16351 * emacs-lisp/trace.el (trace--read-args): Provide a default.
16353 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16354 prog-mode-map (bug#14504).
16356 2013-05-29 Leo Liu <sdl.web@gmail.com>
16358 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16359 (octave-help): Small simplification.
16361 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16362 off the highlight first.
16364 2013-05-29 Glenn Morris <rgm@gnu.org>
16366 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16367 Handle idlwave-last-system-routine-info-cons-cell being nil.
16369 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16370 (idlwave-write-paths): Simplify via with-temp-buffer.
16372 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16373 * emulation/cua-rect.el: Also load cua-base at run time.
16375 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16376 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16377 (cperl-imenu-on-info): Require imenu.
16379 2013-05-28 Alan Mackenzie <acm@muc.de>
16381 Handle "capitalised keywords" correctly.
16382 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16384 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16386 * eshell/em-unix.el: Add -r option to cp.
16388 2013-05-28 Glenn Morris <rgm@gnu.org>
16390 * vc/vc-arch.el (vc-exec-after): Declare.
16391 (vc-switches): Autoload.
16392 * vc/vc-bzr.el: No need to require vc when compiling.
16393 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16394 (vc-resynch-buffer, vc-dir-refresh): Declare.
16395 (vc-setup-buffer, vc-switches): Autoload.
16396 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16397 (vc-resynch-buffer): Declare.
16398 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16399 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16400 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16401 (grep-read-regexp, grep-read-files, grep-expand-template)
16402 (vc-dir-refresh): Declare.
16403 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16404 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16405 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16406 * vc/vc-mtn.el (vc-exec-after): Declare.
16407 (vc-switches): Autoload.
16408 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16409 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16410 (vc-file-tree-walk): Declare.
16411 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16412 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16413 (vc-tag-precondition, vc-rename-master): Autoload.
16414 * vc/vc-svn.el (vc-exec-after): Declare.
16415 (vc-switches, vc-setup-buffer): Autoload.
16416 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16418 (vc-resynch-buffer): Declare.
16420 * obsolete/fast-lock.el (byte-compile-warnings):
16421 Don't warn about obsolete features in this obsolete file.
16423 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16424 Move definition before use.
16426 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16427 (dun-unix-verbs): Remove dun-zippy.
16428 (dun-zippy): Remove function.
16430 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16432 2013-05-27 Juri Linkov <juri@jurta.org>
16434 * replace.el (replace-search): New function with code moved out
16435 from `perform-replace'.
16436 (replace-highlight, replace-dehighlight): Move function definitions
16437 up closer to `replace-search'. (Bug#11746)
16439 2013-05-27 Juri Linkov <juri@jurta.org>
16441 * replace.el (perform-replace): Ignore invisible matches.
16442 In addition to checking `query-replace-skip-read-only', also
16443 filter out matches by calling `run-hook-with-args-until-failure'
16444 on `isearch-filter-predicates', and also check `search-invisible'
16445 for t or call `isearch-range-invisible'.
16446 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16448 2013-05-27 Juri Linkov <juri@jurta.org>
16450 * isearch.el (isearch-filter-predicates): Rename from
16451 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16452 (isearch-message-prefix): Display text from the property
16453 `isearch-message-prefix' of the currently active filters.
16454 (isearch-search): Don't compare `isearch-filter-predicate' with
16455 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16456 on `isearch-filter-predicates'. Also check `search-invisible' for t
16457 or call `isearch-range-invisible'.
16458 (isearch-filter-visible): Make obsolete.
16459 (isearch-lazy-highlight-search):
16460 Call `run-hook-with-args-until-failure' on
16461 `isearch-filter-predicates' and use `isearch-range-invisible'.
16463 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16464 `isearch-filter-predicates' instead of `funcall'ing
16465 `isearch-filter-predicate'.
16466 (Info-mode): Set `Info-isearch-filter' to
16467 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16469 * dired-aux.el (dired-isearch-filter-predicate-orig):
16471 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16472 (dired-isearch-filenames-end): Add and remove
16473 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16474 instead of changing the value of `isearch-filter-predicate'.
16475 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16476 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16477 Put property `isearch-message-prefix' to "filename " on
16478 `dired-isearch-filter-filenames'.
16480 * wdired.el (wdired-change-to-wdired-mode):
16481 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16482 locally instead of changing `isearch-filter-predicate'.
16483 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16485 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16487 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16488 return the commit hash (Bug#14459). Also set the
16489 `vc-git-detached' property.
16490 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16491 (vc-git-mode-line-string): Use the same help-echo format whether
16492 in detached mode or not, because we know the actual revision now.
16493 When in detached mode, shorten the revision to 7 chars.
16495 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16497 * emacs-lisp/easy-mmode.el (define-minor-mode):
16498 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16499 mode hook and provide a docstring.
16501 2013-05-27 Alan Mackenzie <acm@muc.de>
16503 Remove spurious syntax-table text properties inserted by C-y.
16504 * progmodes/cc-mode.el (c-after-change): Also clear hard
16505 syntax-table property with value nil.
16507 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16509 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16510 when reading the events; the buffer layout shall not be changed.
16512 2013-05-27 Leo Liu <sdl.web@gmail.com>
16514 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16516 (inferior-octave-directory-tracker): Automatically re-sync
16518 (octave-help): Improve handling of 'See also'.
16520 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16522 * doc-view.el: Minor naming convention tweaks.
16523 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16525 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16526 even if there's no `display' property yet (bug#14435).
16528 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16530 * subr.el (unmsys--file-name): Rename from reveal-filename.
16532 * Makefile.in (custom-deps, finder-data, autoloads)
16533 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16534 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16535 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16537 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16539 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16540 error-completion on the first 2 args of condition-case (bug#14446).
16543 2013-05-25 Leo Liu <sdl.web@gmail.com>
16545 * comint.el (comint-previous-matching-input): Do not flood the
16546 *Messages* buffer with trivial messages.
16548 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16550 * progmodes/flymake.el (flymake-nop): Don't return a string.
16551 (flymake-set-at): Fix typo.
16553 * simple.el (read--expression): New function, extracted from
16554 eval-expression. Set completion-at-point-functions (bug#14465).
16555 (eval-expression, eval-minibuffer): Use it.
16557 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16559 * progmodes/flymake.el (flymake-save-buffer-in-file)
16560 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16561 (flymake-selected-frame, flymake-log, flymake-ins-after)
16562 (flymake-set-at, flymake-get-buildfile-from-cache)
16563 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16564 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16565 Refine the doc string.
16566 (flymake-get-file-name-mode-and-masks): Reformat.
16567 (flymake-get-real-file-name-function): Fix a minor bug.
16569 2013-05-24 Juri Linkov <juri@jurta.org>
16571 * progmodes/grep.el (grep-mode-font-lock-keywords):
16572 Support =linenumber= format used by git-grep for lines with
16573 function names. (Bug#13549)
16575 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16577 * progmodes/octave.el (octave-smie-rules): Return nil rather than
16578 0 after a semi-colon; it works better for smie-auto-fill.
16579 (octave--indent-new-comment-line): New function.
16580 (octave-indent-new-comment-line): Use it (indirectly).
16581 (octave-mode): Don't disable smie-auto-fill. Use add-function to
16582 modify comment-line-break-function.
16584 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16585 (smie-setup): Use add-function to set it.
16587 2013-05-24 Sam Steingold <sds@gnu.org>
16589 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16590 argument (before the `interactive' argument).
16592 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16594 * image-mode.el (image-mode-winprops): Add winprops to
16595 image-mode-winprops-alist before running
16596 image-mode-new-window-functions.
16597 * doc-view.el (doc-view-new-window-function): Don't delay
16598 doc-view-goto-page via timers (bug#14435).
16600 2013-05-24 Tassilo Horn <tsdh@gnu.org>
16602 * doc-view.el: Integrate with desktop.el. (Bug#14435)
16603 (doc-view-desktop-save-buffer): New function.
16604 (doc-view-restore-desktop-buffer): New function.
16605 (desktop-buffer-mode-handlers):
16606 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16608 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16609 `desktop-save-buffer' function.
16611 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
16613 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16614 (tramp-gvfs-file-name-handler): Raise a user error when
16615 `tramp-gvfs-enabled' is nil.
16616 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16617 Do not raise a user error when loading package. (Bug#14447)
16619 * net/xesam.el: Move to obsolete/.
16621 2013-05-24 Glenn Morris <rgm@gnu.org>
16623 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16625 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16627 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16628 (Info-find-node, Man-getpage-in-background): Declare.
16630 * mail/unrmail.el (unrmail):
16631 Replace obsolete detect-coding-with-priority.
16633 * net/socks.el (socks-split-string): Use this rather than split-string.
16634 (socks-nslookup-host): Update for above change.
16635 (dynamic-choice, s5-dynamic-choice-match)
16636 (s5-dynamic-choice-match-inline, s5-widget-value-create):
16637 Comment out unused code.
16639 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16640 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16641 (gud-tooltip-echo-area): Make obsolete.
16642 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16644 * progmodes/js.el (js--optimize-arglist): Declare.
16646 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16648 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16649 (ediff-window-C): Declare.
16651 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16652 Tweak requires to silence compiler.
16654 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16655 (he-search-string, he-tried-table, he-expand-list)
16656 (he-init-string, he-string-member, he-substitute-string)
16657 (he-reset-string): Declare.
16659 * obsolete/options.el (list-options): Use custom-variable-p,
16660 rather than obsolete alias.
16662 2013-05-23 Sam Steingold <sds@gnu.org>
16664 * simple.el (shell-command-on-region): Pass the `replace' argument
16665 down to `call-process-region' to comply with the doc as reported on
16666 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16668 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16670 * emacs-lisp/smie.el (smie-indent-forward-token)
16671 (smie-indent-backward-token): Handle string tokens (bug#14381).
16673 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16675 * ielm.el (ielm-menu): New menu.
16676 (inferior-emacs-lisp-mode): Set comment-start.
16678 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16680 * textmodes/reftex.el (reftex-ref-style-toggle):
16681 Fix deactivate action.
16683 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16684 Add cleveref macros.
16686 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16687 Accept options for bibliography commands.
16688 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16689 Add addbibresource. Basic Biblatex support.
16691 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16693 * net/tramp-gvfs.el (top):
16694 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16695 when loading package. (Bug#14447)
16697 2013-05-23 Glenn Morris <rgm@gnu.org>
16699 * progmodes/js.el: No need to load comint when compiling.
16700 (ring-insert, comint-send-string, comint-send-input)
16701 (comint-last-input-end, ido-chop): Declare.
16703 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16704 * vc/ediff-mult.el: Adjust requires.
16705 (ediff-directories-internal, ediff-directory-revisions-internal)
16706 (ediff-patch-file-internal): Declare.
16707 * vc/ediff-ptch.el: Adjust requires.
16708 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16709 (ediff-find-file): Autoload.
16710 * vc/ediff-util.el: No need to load ediff when compiling.
16711 (ediff-regions-internal): Declare.
16712 * vc/ediff-wind.el: Adjust requires.
16713 (ediff-compute-toolbar-width): Define when compiling.
16714 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16715 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16716 (dired-get-filename, dired-get-marked-files)
16717 (ediff-last-dir-patch, ediff-patch-default-directory)
16718 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16719 (ediff-patch-buffer-internal): Declare.
16721 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16722 (ispell-process, ispell-buffer-local-words, lm-summary)
16723 (lm-section-start, lm-section-end): Declare.
16724 (checkdoc-ispell-init): Simplify.
16726 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16727 (he-string-member, he-reset-string, he-substitute-string): Declare.
16729 * eshell/em-ls.el: Adjust requires.
16730 (eshell-glob-regexp): Declare.
16731 * eshell/em-tramp.el: Adjust requires.
16732 (eshell-parse-command): Autoload.
16733 * eshell/em-xtra.el: Adjust requires.
16734 (eshell-parse-command): Autoload.
16735 * eshell/esh-ext.el: Adjust requires.
16736 (eshell-parse-command, eshell-close-handles): Autoload.
16737 * eshell/esh-io.el: Adjust requires.
16738 (eshell-output-filter): Autoload.
16739 * eshell/esh-util.el: No need to load tramp when compiling.
16740 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16742 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16743 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16744 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16745 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16746 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16747 * eshell/esh-opt.el, eshell/esh-proc.el:
16748 * eshell/esh-var.el: Adjust requires.
16749 * eshell/eshell.el: Do not require esh-util twice.
16750 (eshell-add-input-to-history): Declare.
16751 (eshell-command): Check history module is active before using it.
16753 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16755 2013-05-22 Leo Liu <sdl.web@gmail.com>
16757 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16759 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16761 * autorevert.el (auto-revert-notify-add-watch)
16762 (auto-revert-notify-handler): Add `attrib' for the inotify case,
16763 it indicates changes in file modification time.
16765 2013-05-22 Glenn Morris <rgm@gnu.org>
16767 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16768 Always delete the autoloaded function from the noruntime and
16769 unresolved functions lists.
16771 * allout.el: No need to load epa, epg, overlay when compiling.
16772 (epg-context-set-passphrase-callback, epg-list-keys)
16773 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16774 (epg-key-user-id-list): Declare.
16776 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16777 (viper-set-parsing-style-toggling-macro)
16778 (viper-set-emacs-state-searchstyle-macros):
16779 Use called-interactively-p on Emacs.
16780 (viper-looking-back): Make it an obsolete alias. Update callers.
16781 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16782 Use looking-back rather than viper-looking-back.
16783 (viper-tmp-insert-at-eob, viper-enlarge-region)
16784 (viper-read-string-with-history, viper-register-to-point)
16785 (viper-append-to-register, viper-change-state-to-vi)
16786 (viper-backward-char-carefully, viper-forward-char-carefully)
16787 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16788 (viper-change-state-to-emacs): Declare.
16789 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16790 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16791 * emulation/viper-mous.el: Do not load viper-cmd.
16792 (viper-backward-char-carefully, viper-forward-char-carefully)
16793 (viper-forward-word, viper-adjust-window): Declare.
16795 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16797 * progmodes/idlw-help.el (idlwave-help-fontify):
16798 Use called-interactively-p.
16800 * term/w32console.el (w32-get-console-codepage)
16801 (w32-get-console-output-codepage): Declare.
16803 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16804 Remove unnecessary declarations.
16805 (dframe-message): Doc fix.
16807 * info.el (dframe-select-attached-frame, dframe-current-frame):
16810 * speedbar.el (speedbar-message): Make it an obsolete alias.
16811 Update all callers.
16812 (speedbar-with-attached-buffer)
16813 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16814 (speedbar-with-writable): Use backquote.
16815 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16816 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16817 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16818 rather than speedbar- aliases.
16819 * mail/rmail.el: Load dframe rather than speedbar when compiling.
16820 (speedbar-make-specialized-keymap, speedbar-insert-button)
16821 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16822 (speedbar-do-function-pointer): Declare.
16823 (rmail-speedbar-button, rmail-speedbar-find-file)
16824 (rmail-speedbar-move-message):
16825 Use dframe-with-attached-buffer rather than speedbar- alias.
16826 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16827 (dframe-message, speedbar-make-specialized-keymap)
16828 (speedbar-add-expansion-list, speedbar-mode-functions-list)
16829 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16830 (speedbar-insert-button, dframe-select-attached-frame)
16831 (dframe-maybee-jump-to-attached-frame)
16832 (speedbar-change-initial-expansion-list)
16833 (speedbar-previously-used-expansion-list-name): Declare.
16834 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16835 Use dframe-message, dframe-with-attached-buffer rather than
16837 (gud-sentinel): Silence compiler.
16838 * progmodes/vhdl-mode.el (speedbar-refresh)
16839 (speedbar-do-function-pointer, speedbar-add-supported-extension)
16840 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16841 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16842 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16843 (speedbar-file-lists, speedbar-make-tag-line)
16844 (speedbar-line-directory, speedbar-goto-this-file)
16845 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16846 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16847 (speedbar-make-button, speedbar-reset-scanners)
16848 (speedbar-files-item-info, speedbar-line-text)
16849 (speedbar-find-file-in-frame, speedbar-set-timer)
16850 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16851 (speedbar-with-writable): Do not (re)define it.
16852 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16853 rather than speedbar- alias.
16855 2013-05-21 Leo Liu <sdl.web@gmail.com>
16857 * progmodes/octave.el (octave-mode-menu): Update and re-organize
16859 (octave-mode): Tweak fill-nobreak-predicate.
16860 (inferior-octave-startup): Check process to avoid infinite loop.
16861 (inferior-octave): Pop to buffer first to show abornmal process
16864 2013-05-21 Glenn Morris <rgm@gnu.org>
16866 * printing.el (pr-menu-bar): Define when compiling.
16868 2013-05-21 Leo Liu <sdl.web@gmail.com>
16870 * progmodes/octave.el (octave-auto-fill): Remove.
16871 (octave-indent-new-comment-line): Improve.
16872 (octave-mode): Use auto fill mode through
16873 comment-line-break-function and fill-nobreak-predicate.
16874 (octave-goto-function-definition): Support DEFUN_DLD.
16875 (octave-beginning-of-defun): Small tweak.
16876 (octave-help): Show parent directory.
16878 2013-05-21 Glenn Morris <rgm@gnu.org>
16880 * files.el (dired-unmark):
16881 * progmodes/gud.el (gdb-input): Update declarations.
16883 * calculator.el (electric, ehelp): No need to load when compiling.
16884 (Electric-command-loop, electric-describe-mode): Declare.
16886 * doc-view.el (doc-view-current-converter-processes): Move before use.
16888 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16889 Move MODE-set-explicitly definition before use.
16891 * international/mule-diag.el (mule-diag):
16892 Don't use obsolete window-system-version.
16894 * mail/feedmail.el (smtpmail): No need to load when compiling.
16895 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16897 * mail/mail-utils.el (rfc822): No need to load when compiling.
16898 (rfc822-addresses): Autoload it.
16899 (mail-strip-quoted-names): Trivial simplification.
16901 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16902 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16904 * net/snmp-mode.el (tempo): Don't duplicate requires.
16906 * progmodes/prolog.el (info): No need to load when compiling.
16907 (comint): Require before shell requires it.
16908 (Info-goto-node): Autoload it.
16909 (Info-follow-nearest-node): Declare.
16910 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16912 * textmodes/artist.el (picture-mode-exit): Declare.
16914 * textmodes/reftex-parse.el (reftex-parse-from-file):
16915 Trivial rewrite so the compiler can parse it better.
16917 2013-05-20 Leo Liu <sdl.web@gmail.com>
16919 * progmodes/octave.el (octave-help-mode-map)
16920 (octave-help-mode-finish-hook): New variables.
16921 (octave-help-mode, octave-help-mode-finish): New functions.
16922 (octave-help): Use octave-help-mode.
16924 2013-05-20 Glenn Morris <rgm@gnu.org>
16926 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
16928 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
16930 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16931 start at point, so that expansion starting right after opening
16932 slash in a regexp is recognized.
16933 (ruby-syntax-before-regexp-re): New defvar, extracted from
16934 ruby-syntax-propertize-function. Since the value of this regexp
16935 is looked up at runtime now, we should be able to turn
16936 `ruby-syntax-methods-before-regexp' into a defcustom later.
16937 (ruby-syntax-propertize-function): Split regexp matching into two
16938 parts, for opening and closing slashes. That allows us to skip
16939 over string interpolations and support multiline regexps.
16940 Don't call `ruby-syntax-propertize-expansions', instead use another rule
16941 for them, which calls `ruby-syntax-propertize-expansion'.
16942 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16943 call to `ruby-syntax-propertize-function'.
16944 (ruby-syntax-propertize-expansion): Extracted from
16945 `ruby-syntax-propertize-expansions'. Handles one expansion.
16946 (ruby-syntax-propertize-percent-literal): Leave point right after
16947 the percent symbol, so that the expression expansion rule can
16948 propertize the contents.
16949 (ruby-syntax-propertize-heredoc): Leave point at bol following the
16951 (ruby-syntax-propertize-expansions): Remove.
16953 2013-05-18 Juri Linkov <juri@jurta.org>
16955 * man.el (Man-default-man-entry): Remove `-' from the end
16956 of the default value. (Bug#14400)
16958 2013-05-18 Glenn Morris <rgm@gnu.org>
16960 * comint.el (comint-password-prompt-regexp):
16961 Allow "password for XXX" where XXX contains colons (eg https://...).
16963 2013-05-18 Leo Liu <sdl.web@gmail.com>
16965 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16966 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
16967 (octave-source-directories): Don't check process.
16968 (octave-source-directories, octave-find-definition): Doc fix.
16970 2013-05-18 Glenn Morris <rgm@gnu.org>
16972 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16973 Remove backspace/delete bindings. (Bug#14392)
16975 * cus-dep.el (custom-make-dependencies): Sort the output.
16976 (custom-versions-load-alist): Convert comment to doc.
16978 2013-05-17 Leo Liu <sdl.web@gmail.com>
16980 * newcomment.el (comment-search-backward): Stricter in finding
16981 comment start. (Bug#14303)
16983 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16984 (octave-comment-start-skip): Properly anchored.
16986 2013-05-17 Leo Liu <sdl.web@gmail.com>
16988 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16989 Clean up when turned off. (Bug#14395)
16990 (smie--highlight-matching-block-overlay): No longer buffer-local.
16991 (smie-highlight-matching-block): Adjust.
16993 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
16995 Doc string fix for "nanoseconds" (Bug#14406).
16996 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16997 Fix doc string typo that had "nanoseconds" instead of "microseconds".
16999 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
17001 * calc/calc-units.el (math-extract-units): Preserve powers
17004 2013-05-17 Leo Liu <sdl.web@gmail.com>
17006 * subr.el (delete-consecutive-dups): New function.
17007 * ido.el (ido-set-matches-1): Use it.
17008 * progmodes/octave.el (inferior-octave-completion-table): Use it.
17009 * ido.el (ido-remove-consecutive-dups): Remove.
17011 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17013 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17014 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
17015 regexp-opt's `words'.
17017 2013-05-16 Leo Liu <sdl.web@gmail.com>
17019 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
17020 (smie--highlight-matching-block-overlay)
17021 (smie--highlight-matching-block-lastpos)
17022 (smie--highlight-matching-block-timer): New variables.
17023 (smie-highlight-matching-block): New function.
17024 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
17025 (smie-setup): Conditionally enable smie-blink-matching-open.
17027 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
17029 Sync with upstream verilog-mode r840.
17030 * progmodes/verilog-mode.el (verilog-mode-version)
17031 (verilog-mode-release-date): Update.
17032 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
17033 (verilog-sig-tieoff): Fix string error on
17034 AUTORESET with colon define, bug594. Reported by Andrew Hou.
17035 (verilog-read-decls): Fix parameters confusing
17036 AUTOINST interfaces, bug565. Reported by Leith Johnson.
17038 2013-05-16 Eli Zaretskii <eliz@gnu.org>
17040 * subr.el (reveal-filename): New function.
17042 * loadup.el: Compute Emacs executable versions on MS-Windows,
17043 where executables have the .exe extension. Add a hard link
17044 emacs-XX.YY.ZZ.exe on MS-Windows.
17046 * Makefile.in (XARGS_LIMIT): New variable.
17047 (custom-deps, finder-data, autoloads)
17048 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17049 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17050 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
17051 (compile-main): Limit xargs according to $(XARGS_LIMIT).
17053 2013-05-16 Leo Liu <sdl.web@gmail.com>
17055 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
17056 (octave-mode-menu, octave-mode-map): Remove its uses.
17058 2013-05-16 Reto Zimmermann <reto@gnu.org>
17060 Sync with upstream vhdl mode v3.34.2.
17061 * progmodes/vhdl-mode.el: Use `push' throughout.
17062 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
17063 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
17064 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
17065 (vhdl-actual-generic-name): New option to derive actual generic name.
17066 (vhdl-port-paste-signals): Replace formal by actual generics.
17067 (vhdl-beautify): New name for old group vhdl-align. Update users.
17068 (vhdl-beautify-options): New option.
17069 (vhdl-last-input-event): New compat alias. Use throughout.
17070 (vhdl-goto-line): Replace user level function `goto-line'.
17071 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
17072 vhdl-fix-statement-buffer.
17073 (vhdl-create-mode-menu): Add some entries.
17074 (vhdl-align-region-groups): Respect vhdl-beautify-options.
17075 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
17076 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
17077 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
17078 to force statements on one line.
17079 (vhdl-remove-trailing-spaces-region):
17080 New, split from vhdl-remove-trailing-spaces.
17081 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
17082 Respect vhdl-beautify-options.
17083 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
17084 (vhdl-update-sensitivity-list): Not add with index if exists without.
17085 Not include array index with signal. Ignore keywords in comments.
17086 (vhdl-get-visible-signals): Regexp tweaks.
17087 (vhdl-template-component-inst): Handle empty library.
17088 (vhdl-template-type): Add template for 'enum' type.
17089 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
17090 Use vhdl-replace-string.
17091 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
17092 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
17093 (vhdl-speedbar-initialize): Update for above name change.
17094 (vhdl-compose-wire-components): Fix in handling of constants.
17095 (vhdl-error-regexp-emacs-alist): New variable.
17096 (vhdl-error-regexp-add-emacs): New function;
17097 adds support for new compile.el (Emacs 22+)
17098 (vhdl-generate-makefile-1): Change target order for single lib. units.
17099 Allow use of absolute file names.
17101 2013-05-16 Leo Liu <sdl.web@gmail.com>
17103 * simple.el (prog-indent-sexp): Indent enclosing defun.
17105 2013-05-15 Glenn Morris <rgm@gnu.org>
17107 * cus-start.el (show-trailing-whitespace): Move to editing basics.
17108 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
17109 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
17110 (whitespace-highlight): Move to whitespace group.
17112 * comint.el (comint-source):
17113 * pcmpl-linux.el (pcmpl-linux):
17114 * shell.el (shell-faces):
17115 * eshell/esh-opt.el (eshell-opt):
17116 * international/ccl.el (ccl): Remove empty custom groups.
17118 * completion.el (dynamic-completion-mode):
17119 * jit-lock.el (jit-lock-debug-mode):
17120 * minibuffer.el (completion-in-region-mode):
17121 * type-break.el (type-break-mode-line-message-mode)
17122 (type-break-query-mode):
17123 * emulation/tpu-edt.el (tpu-edt-mode):
17124 * progmodes/subword.el (global-subword-mode, global-superword-mode):
17125 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17126 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
17128 * term/xterm.el (xterm): Change parent group to terminals.
17130 * master.el (master): Remove empty custom group.
17131 (master-mode): Remove unused :group argument.
17132 * textmodes/refill.el (refill): Remove empty custom group.
17133 (refill-mode): Remove unused :group argument.
17135 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
17137 * cus-dep.el: Provide a feature.
17138 (custom-make-dependencies): Ignore dotfiles (dir-locals).
17139 Don't mistakenly ignore files whose basenames match a basename
17140 from preloaded-file-list (eg cedet/ede/simple.el).
17141 Add a fallback method for getting :group.
17143 2013-05-15 Juri Linkov <juri@jurta.org>
17145 * isearch.el (isearch-char-by-name): Rename from
17146 `isearch-insert-char-by-name'. Doc fix.
17147 (isearch-forward): Mention `isearch-char-by-name' in
17148 the docstring. (Bug#13348)
17150 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
17151 `exit-minibuffer' instead of
17152 `isearch-nonincremental-exit-minibuffer'.
17153 (isearch-edit-string): Remove mention of
17154 `isearch-nonincremental-exit-minibuffer' from docstring.
17155 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
17156 (isearch-forward-exit-minibuffer)
17157 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
17159 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17161 * loadup.el: Just use unversioned DOC.
17163 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17164 literals as extending to EOB.
17165 (nxml-last-fontify-end): Remove unused variable.
17166 (nxml-after-change1): Use with-silent-modifications.
17167 (nxml-extend-after-change-region): Simplify.
17168 (nxml-extend-after-change-region1): Remove function.
17169 (nxml-after-change1): Don't adjust for dependent regions.
17170 (nxml-fontify-matcher): Simplify.
17171 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
17172 (xmltok-add-dependent): Remove function.
17173 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
17174 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
17175 (xmltok-scan-prolog-after-processing-instruction-open): Treat
17176 unclosed <[[, <?, comment, and other literals as extending to EOB.
17177 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
17178 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
17180 (rng-do-some-validation-1): Don't mark dependent regions.
17181 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
17182 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
17183 (nxml-clear-dependent-regions): Remove functions.
17184 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
17185 (nxml-ensure-scan-up-to-date):
17186 Don't clear&mark dependent regions.
17188 2013-05-15 Leo Liu <sdl.web@gmail.com>
17190 * progmodes/octave.el (octave-goto-function-definition):
17191 Improve and fix callers.
17193 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17195 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
17196 the setter (bug#14387).
17198 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
17199 surrounding group (bug#14402).
17201 2013-05-14 Juri Linkov <juri@jurta.org>
17203 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
17206 2013-05-14 Glenn Morris <rgm@gnu.org>
17208 * progmodes/f90.el (f90-imenu-generic-expression):
17209 Fix typo in 2013-05-08 change. (Bug#14402)
17211 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17213 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
17214 Remove signals for which replies are never received.
17216 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17218 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
17219 (gdb-handler-alist, gdb-handler-number): Remove variables.
17220 (gdb-handler-list): New variable.
17221 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
17222 (gdb-pending-handler-p, gdb-handle-reply)
17223 (gdb-remove-all-pending-triggers): New functions.
17224 (gdb-discard-unordered-replies): New defcustom.
17225 (gdb-handler): New defstruct.
17226 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17227 instead of gdb-pending-triggers. Update docstring.
17228 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
17229 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17230 (gdb-var-update-handler, def-gdb-auto-update-trigger)
17231 (def-gdb-auto-update-handler, gdb-get-changed-registers)
17232 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17233 (gdb-frame-handler): Pending triggers are now automatically managed.
17234 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17236 (gdb-input): Automatically handles pending triggers. Update docstring.
17237 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17238 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17240 (gdb-done-or-error): Now use gdb-handle-reply.
17242 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17244 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17247 2013-05-14 Glenn Morris <rgm@gnu.org>
17249 * subr.el (user-emacs-directory-warning): New option.
17250 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
17252 2013-05-14 Leo Liu <sdl.web@gmail.com>
17254 * progmodes/octave.el (octave-font-lock-keywords): Fix error
17256 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17257 (octave-font-lock-texinfo-comment): Fix invalid search bound
17258 error: wrong side of point.
17260 2013-05-14 Glenn Morris <rgm@gnu.org>
17262 * progmodes/flymake.el (flymake-xml-program): New option.
17263 (flymake-xml-init): Use it.
17265 * term/xterm.el: Provide a feature.
17267 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
17269 2013-05-13 Glenn Morris <rgm@gnu.org>
17271 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17272 Add compat aliases as a hack workaround. (Bug#14384)
17274 2013-05-13 Leo Liu <sdl.web@gmail.com>
17276 * progmodes/octave.el (octave-indent-comment): Fix indentation for
17278 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17280 (octave-comment-start-skip): Include %!.
17281 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17283 2013-05-12 Leo Liu <sdl.web@gmail.com>
17285 * progmodes/octave.el (inferior-octave-startup): Store the value
17286 of __octave_srcdir__ for octave-source-directories.
17287 (inferior-octave-check-process): New function refactored out of
17288 inferior-octave-send-list-and-digest.
17289 (octave-source-directories)
17290 (octave-find-definition-filename-function): New variables.
17291 (octave-source-directories)
17292 (octave-find-definition-default-filename): New functions.
17293 (octave-find-definition): Improve to find functions implemented in C++.
17295 2013-05-12 Glenn Morris <rgm@gnu.org>
17297 * calendar/diary-lib.el (diary-outlook-format-1):
17298 Don't include dayname in the output. (Bug#14349)
17300 2013-05-11 Glenn Morris <rgm@gnu.org>
17302 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17304 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17305 Treat cc-provide like provide.
17307 2013-05-11 Kevin Ryde <user42@zip.com.au>
17309 * cus-dep.el (custom-make-dependencies):
17310 Use generated-autoload-load-name for the sake of files such
17311 such cedet/semantic/bovine/c.el, where the base file name
17312 is not in load-path. (Bug#5277)
17314 2013-05-11 Glenn Morris <rgm@gnu.org>
17316 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17319 2013-05-11 Leo Liu <sdl.web@gmail.com>
17321 * progmodes/octave.el (octave-indent-comment): Improve.
17322 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17323 (octave-eldoc-function-signatures, octave-eldoc-function):
17325 (octave-mode, inferior-octave-mode): Add eldoc support.
17327 2013-05-11 Richard Stallman <rms@gnu.org>
17329 * epa.el (epa-decrypt-file): Take output file name as argument
17330 and read it using `interactive'.
17332 2013-05-11 Leo Liu <sdl.web@gmail.com>
17334 * progmodes/octave.el (octave-beginning-of-line)
17335 (octave-end-of-line): Check before using up-list because it jumps
17336 out of more syntactic contructs since moving to smie.
17337 (octave-indent-comment): New function.
17338 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
17339 (octave-begin-keywords, octave-end-keywords)
17340 (octave-reserved-words, octave-smie-bnf-table)
17341 (octave-smie-rules): Add new keywords from Octave 3.6.4.
17343 2013-05-11 Glenn Morris <rgm@gnu.org>
17345 * faces.el (internal-face-x-get-resource):
17346 * frame.el (ns-display-monitor-attributes-list):
17347 * calc/calc-aent.el (math-to-radians-2):
17348 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17351 * calc/calc-menu.el: Make it loadable in isolation.
17353 * net/eudcb-bbdb.el: Make it loadable without bbdb.
17354 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17355 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17356 (eudc-bbdb-query-internal): Require 'bbdb.
17358 * lpr.el (lpr-headers-switches):
17359 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17361 * progmodes/sql.el (sql-login-params): Fix and improve :type.
17363 * emulation/edt-mapper.el: In batch mode, error rather than hang.
17365 * term.el (term-set-escape-char): Make it idempotent.
17367 2013-05-10 Leo Liu <sdl.web@gmail.com>
17369 * progmodes/octave.el (inferior-octave-completion-table):
17370 No longer a function and all uses changed. Use cache to speed up
17371 completion due to bug#11906.
17372 (octave-beginning-of-defun): Re-write to be more general.
17374 2013-05-10 Glenn Morris <rgm@gnu.org>
17376 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17378 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17380 * comint.el (comint-redirect-send-command-to-process): Use :around
17381 rather than :override for comint-redirect-filter.
17382 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17383 Call it instead of comint-redirect-original-filter-function (which
17384 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17386 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17388 * frame.el (display-monitor-attributes-list): Add NS case.
17389 (ns-display-monitor-attributes-list): Declare.
17391 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17393 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17395 2013-05-09 Glenn Morris <rgm@gnu.org>
17397 * international/fontset.el (vertical-centering-font-regexp):
17398 Set standard-value.
17400 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17402 * bookmark.el (bookmark-search-delay):
17403 * cus-start.el (vertical-centering-font-regexp):
17404 * ps-mule.el (ps-mule-font-info-database-default):
17405 * ps-print.el (ps-default-fg, ps-default-bg):
17406 * type-break.el (type-break-good-break-interval):
17407 * whitespace.el (whitespace-indentation-regexp)
17408 (whitespace-space-after-tab-regexp):
17409 * emacs-lisp/testcover.el (testcover-1value-functions)
17410 (testcover-noreturn-functions, testcover-progn-functions)
17411 (testcover-prog1-functions):
17412 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17413 * eshell/em-glob.el (eshell-glob-translate-alist):
17414 * play/tetris.el (tetris-tty-colors):
17415 * progmodes/cpp.el (cpp-face-default-list):
17416 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17417 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17418 (idlwave-help-browser-generic-args):
17419 * progmodes/make-mode.el (makefile-special-targets-list):
17420 * progmodes/python.el (python-shell-virtualenv-path):
17421 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17422 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17423 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17424 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17425 * textmodes/reftex-vars.el (reftex-format-label-function):
17426 * textmodes/remember.el (remember-diary-file): Fix custom types.
17428 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17431 2013-05-09 Leo Liu <sdl.web@gmail.com>
17433 * progmodes/octave.el (inferior-octave-completion-at-point):
17434 Restore file completion. (Bug#14300)
17435 (inferior-octave-startup): Fix incorrect highlighting for the
17438 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17440 * progmodes/ruby-mode.el: First cut at SMIE support.
17441 (ruby-use-smie): New var.
17442 (ruby-smie-grammar): New constant.
17443 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17444 (ruby-smie--forward-token, ruby-smie--backward-token)
17445 (ruby-smie-rules): New functions.
17446 (ruby-mode-variables): Setup SMIE if applicable.
17448 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17450 * simple.el (line-move-visual): Signal beginning/end of buffer
17451 only if vertical-motion moved less than it was requested. Avoids
17452 silly incorrect error messages when there are display strings with
17453 multiple newlines at EOL.
17455 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17457 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17458 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17459 (prolog-char-quote-workaround):
17460 * progmodes/cperl-mode.el (cperl-under-as-char):
17461 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17463 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17465 (vhdl-mode-syntax-table-init): Remove.
17467 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17470 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17472 (ld-script-font-lock-keywords):
17473 Change regexps to use things like \_< and \_>.
17475 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17476 Change all regexps to use things like \_< and \_>.
17478 * progmodes/autoconf.el (autoconf-definition-regexp)
17479 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17480 Handle a _ with symbol syntax.
17481 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17483 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17484 Consolidate declaration.
17485 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17487 (ada-create-syntax-table): Remove.
17488 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17489 already has the right syntax nowadays.
17490 (ada-goto-next-word): Don't change the syntax of "_".
17492 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17495 2013-05-08 Sam Steingold <sds@gnu.org>
17497 * thingatpt.el (thing-at-point): Accept optional second argument
17498 NO-PROPERTIES to strip the text properties from the return value.
17499 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17500 to `thing-at-point' instead of stripping the properties ourselves.
17501 Also, when `thing-at-point' fails to find a url, prepend "http://"
17502 to the filename at point on the assumption that the user is
17503 pointing at something like gnu.org/gnu.
17505 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17507 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17508 * faces.el (crm-separator):
17509 Silence byte-compiler.
17511 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17512 (tool-bar-map): Remove unneeded defvars.
17514 2013-05-08 Leo Liu <sdl.web@gmail.com>
17516 Re-work a fix for bug#10994 based on Le Wang's patch.
17517 * ido.el (ido-remove-consecutive-dups): New helper.
17518 (ido-completing-read): Use it.
17519 (ido-chop): Revert fix for bug#10994.
17521 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17523 * cus-edit.el (custom-save-variables):
17524 Pretty-print long values. (Bug#14187)
17526 2013-05-08 Glenn Morris <rgm@gnu.org>
17528 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17529 (m4-mode-syntax-table): Init in the defvar.
17530 (m4-mode-abbrev-table): Let define-derived-mode define it.
17532 2013-05-08 Tom Tromey <tromey@redhat.com>
17534 * progmodes/m4-mode.el (m4-mode-syntax-table):
17535 Do not treat "_" as word constituent. (Bug#14167)
17537 2013-05-07 Glenn Morris <rgm@gnu.org>
17539 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17540 Remove explicit eshell-isearch-cancel-map.
17542 * progmodes/f90.el (f90-smart-end-names): New option.
17543 (f90-smart-end): Doc fix.
17544 (f90-end-block-optional-name): New constant.
17545 (f90-block-match): Respect f90-smart-end-names.
17547 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17549 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17550 about implicit semi-colons (bug#14218).
17552 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17554 * frame.el (display-monitor-attributes-list)
17555 (frame-monitor-attributes): New functions.
17557 2013-05-06 Leo Liu <sdl.web@gmail.com>
17559 * progmodes/octave.el (octave-syntax-propertize-function): Change
17560 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17561 (octave-font-lock-keywords): Use octave-operator-regexp.
17562 (octave-completion-at-point): Rename from
17563 octave-completion-at-point-function.
17564 (inferior-octave-directory-tracker): Robustify.
17565 (octave-text-functions): Remove and fix its uses. No such things
17568 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17570 * emacs-lisp/trace.el (trace--display-buffer): New function.
17571 (trace-make-advice): Use it.
17573 2013-05-06 Juri Linkov <juri@jurta.org>
17575 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
17576 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17578 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17579 in the help string. (Bug#12985)
17581 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
17583 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
17585 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17587 * progmodes/perl-mode.el: Add support for here documents.
17588 (perl-syntax-propertize-function): Match here-doc markers.
17589 (perl-syntax-propertize-special-constructs): Find their end.
17590 (perl-imenu-generic-expression): Use [:alnum:].
17592 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17593 (advice--add-function): Refresh the advice if already present
17596 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
17598 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
17600 2013-05-06 Glenn Morris <rgm@gnu.org>
17602 * w32-fns.el (w32-charset-info-alist): Declare.
17604 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17605 of its defcustom properties.
17606 (eshell-cmpl-initialize): No need to load pcomplete.
17608 * generic-x.el: No need to require comint when compiling.
17610 * net/eudc-export.el: Make it loadable without bbdb.
17611 (top-level): Use require rather than load-library.
17612 (eudc-create-bbdb-record, eudc-bbdbify-phone)
17613 (eudc-batch-export-records-to-bbdb)
17614 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17617 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17619 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17620 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17621 some tweaks, instead.
17623 2013-05-05 Leo Liu <sdl.web@gmail.com>
17625 * progmodes/octave.el (octave-font-lock-keywords)
17626 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17627 (inferior-octave-send-list-and-digest): Improve error message.
17628 (octave-mode, inferior-octave-mode): Use setq-local.
17629 (octave-help): Set info-lookup-mode.
17631 2013-05-05 Richard Stallman <rms@gnu.org>
17633 * vc/compare-w.el (compare-windows-whitespace):
17634 Treat no-break space as whitespace.
17636 * mail/rmailsum.el (rmail-summary-rmail-update):
17637 Detect empty summary and don't change selected message.
17638 (rmail-summary-goto-msg): Likewise.
17640 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17641 Doc fixes, rename args.
17643 2013-05-05 Alan Mackenzie <acm@muc.de>
17645 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17647 2013-05-05 Juri Linkov <juri@jurta.org>
17649 * info.el (Info-read-subfile): Use (point-min) instead of (point)
17650 to not add the length of the summary segment to the return value.
17653 2013-05-05 Leo Liu <sdl.web@gmail.com>
17655 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17656 (inferior-octave-output-filter): Remove.
17657 (octave-send-region, inferior-octave-startup): Fix callers.
17658 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17659 (octave-binary-file-extensions): New user variable.
17660 (octave-find-definition): Confirm if opening binary files.
17661 (octave-help-file): Use octave-find-definition to get the binary
17663 (octave-help): Adjust for octave-help-file change.
17665 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17667 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17668 Merge the two entries that handle function definitions.
17669 (pascal--syntax-propertize): New const.
17670 (pascal-mode): Use it. Use setq-local.
17672 2013-05-04 Glenn Morris <rgm@gnu.org>
17674 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17675 (diary-from-outlook): Respect diary-from-outlook-function.
17677 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17679 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17680 Move the declaration from C.
17681 (read-minibuffer, eval-minibuffer): Move from C.
17682 (completion-setup-function): Avoid minibuffer-completion-contents.
17684 2013-05-03 Leo Liu <sdl.web@gmail.com>
17686 * progmodes/octave.el (octave-font-lock-keywords): Do not
17687 dehighlight 'end' in comments or strings.
17688 (octave-completing-read, octave-goto-function-definition):
17690 (octave-help-buffer): New user variable.
17691 (octave-help-file, octave-help-function): New button types.
17692 (octave-help): New command and bind it to C-h ;.
17693 (octave-find-definition): New command and bind it to M-.
17694 (user-error): Alias to error if not defined.
17696 2013-05-02 Leo Liu <sdl.web@gmail.com>
17698 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17700 (octave-font-lock-keywords): Include [ and {.
17702 2013-05-02 Leo Liu <sdl.web@gmail.com>
17704 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17705 (inferior-octave): Remove calling comint-mode and return the buffer.
17706 (inferior-octave-startup): Cosmetic changes.
17708 2013-05-02 Leo Liu <sdl.web@gmail.com>
17710 * progmodes/octave.el (octave-syntax-propertize-function):
17711 Include the case when ' is at line beginning. (Bug#14336)
17713 2013-05-02 Glenn Morris <rgm@gnu.org>
17715 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17716 * desktop.el (vc-dir-mode): Just autoload it here.
17718 2013-05-02 Alan Mackenzie <acm@muc.de>
17720 Eliminate variable c-standard-font-lock-fontify-region-function.
17721 * progmodes/cc-mode.el
17722 (c-standard-font-lock-fontify-region-function): Remove.
17723 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17725 2013-05-01 Leo Liu <sdl.web@gmail.com>
17727 * progmodes/octave.el: Compatible with older emacs-24 releases.
17728 (inferior-octave-has-built-in-variables): Remove. Built-in
17729 variables were removed from Octave in 2007.
17730 (inferior-octave-startup): Fix uses.
17731 (comint-line-beginning-position): Remove compatibility code for
17734 2013-05-01 Juri Linkov <juri@jurta.org>
17736 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17738 2013-05-01 Juri Linkov <juri@jurta.org>
17740 * comint.el (comint-previous-matching-input): Don't print message
17741 "History item: %d" when `isearch-mode' is active.
17742 (comint-history-isearch-message): Print message "History item: %d"
17743 when `comint-input-ring-index' is not empty and this function is
17744 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17746 2013-05-01 Leo Liu <sdl.web@gmail.com>
17748 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17749 definitions. Use completion-at-point to insert keywords.
17750 (octave-abbrev-start): Remove.
17751 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17753 2013-04-30 Leo Liu <sdl.web@gmail.com>
17755 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17758 2013-04-30 Alan Mackenzie <acm@muc.de>
17760 Handle arbitrarily long C++ member initialisation lists.
17761 * progmodes/cc-engine.el (c-back-over-member-initializers):
17763 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17764 (most) member init lists.
17766 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17768 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17771 2013-04-30 Leo Liu <sdl.web@gmail.com>
17773 * progmodes/octave.el (octave-variables): Remove. No builtin
17774 variables any more. All converted to functions.
17775 (octave-font-lock-keywords, octave-completion-at-point-function):
17777 (octave-font-lock-texinfo-comment): New user variable.
17778 (octave-texinfo-font-lock-keywords): New variable for texinfo
17780 (octave-function-comment-block): New face.
17781 (octave-font-lock-texinfo-comment): New function.
17782 (octave-mode): Font lock texinfo comment block.
17784 2013-04-29 Leo Liu <sdl.web@gmail.com>
17786 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17787 indexing expression.
17788 (octave-continuation-string): Do not use \.
17789 (inferior-octave-complete-impossible): Remove.
17790 (inferior-octave-completion-table)
17791 (inferior-octave-completion-at-point): Remove its uses.
17792 (inferior-octave-startup): completion_matches was introduced to
17793 Octave in 1996 so safe to assume it.
17794 (octave-function-file-comment): Improve to follow how Octave does it.
17795 (octave-update-function-file-comment): Tweak.
17797 2013-04-29 Leo Liu <sdl.web@gmail.com>
17799 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17800 (inferior-octave-startup): Remove inferior-octave-startup-hook.
17801 (octave-function-file-comment): Fix typo.
17802 (octave-sync-function-file-names): Use read-char-choice.
17804 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
17806 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17807 to t for the less important warnings.
17809 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
17811 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
17813 2013-04-27 Glenn Morris <rgm@gnu.org>
17815 * vc/log-view.el (log-view-current-entry):
17816 Treat "---" separator lines as part of the following rev. (Bug#14169)
17818 2013-04-27 Juri Linkov <juri@jurta.org>
17820 * subr.el (read-number): Doc fix about using it by interactive
17821 code letter `n'. (Bug#14254)
17823 2013-04-27 Juri Linkov <juri@jurta.org>
17825 * desktop.el (desktop-auto-save-timeout): New option.
17826 (desktop-file-checksum): New variable.
17827 (desktop-save): Add optional arg `auto-save' and don't auto-save
17828 if nothing changed.
17829 (desktop-auto-save-timer): New variable.
17830 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17831 (after-init-hook): Call `desktop-auto-save-set-timer'.
17832 Suggested by Reuben Thomas <rrt@sc3d.org> in
17833 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17835 2013-04-27 Leo Liu <sdl.web@gmail.com>
17837 * progmodes/octave.el (octave-function-file-p)
17838 (octave-skip-comment-forward, octave-function-file-comment)
17839 (octave-update-function-file-comment): New functions.
17840 (octave-mode-map): Bind C-c ; to
17841 octave-update-function-file-comment.
17842 (octave-mode-menu): Add octave-update-function-file-comment.
17843 (octave-mode, inferior-octave-mode): Fix doc-string.
17844 (octave-insert-defun): Conform to Octave's coding convention.
17847 * files.el (basic-save-buffer): Don't let errors in
17848 before-save-hook prevent saving buffer.
17850 2013-04-20 Roland Winkler <winkler@gnu.org>
17852 * faces.el (read-face-name): Use completing-read if arg multiple
17855 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
17857 * ls-lisp.el (ls-lisp-insert-directory): If no files are
17858 displayed, move point to after the totals line.
17859 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17862 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
17864 * emacs-lisp/package.el (package-autoload-ensure-default-file):
17865 Add current dir to the load-path.
17866 (package-generate-autoloads): Don't rely on
17867 autoload-ensure-default-file.
17869 2013-04-26 Reuben Thomas <rrt@sc3d.org>
17871 * textmodes/remember.el (remember-store-in-files): Document that
17872 the file name format is passed to `format-time-string'.
17874 2013-04-26 Leo Liu <sdl.web@gmail.com>
17876 * progmodes/octave.el (octave-sync-function-file-names): New function.
17877 (octave-mode): Use it in before-save-hook.
17879 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
17881 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17884 * progmodes/octave.el (octave-smie-forward-token): Properly skip
17885 \n and comment, even if it's not an implicit ; (bug#14218).
17887 2013-04-26 Glenn Morris <rgm@gnu.org>
17889 * subr.el (read-number): Once more use `read' rather than
17890 `string-to-number', to trap non-numeric input. (Bug#14254)
17892 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
17894 * emacs-lisp/syntax.el (syntax-propertize-multiline):
17895 Use `syntax-multiline' text property consistently instead of
17896 `font-lock-multiline'. (Bug#14237)
17898 2013-04-26 Glenn Morris <rgm@gnu.org>
17900 * emacs-lisp/shadow.el (list-load-path-shadows):
17901 No longer necessary to check for duplicate simple.el, since
17902 2012-07-07 change to init_lread to not include installation lisp
17903 directories in load-path when running uninstalled. (Bug#14270)
17905 2013-04-26 Leo Liu <sdl.web@gmail.com>
17907 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17908 (octave-mode, inferior-octave-mode): Use setq-local.
17909 (octave-not-in-string-or-comment-p): Rename to
17910 octave-in-string-or-comment-p.
17911 (octave-in-comment-p, octave-in-string-p)
17912 (octave-in-string-or-comment-p): Replace defsubst with defun.
17914 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
17916 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17918 2013-04-25 Bastien Guerry <bzg@gnu.org>
17920 * textmodes/remember.el (remember-data-directory)
17921 (remember-directory-file-name-format): Fix custom types.
17923 2013-04-25 Leo Liu <sdl.web@gmail.com>
17925 * progmodes/octave.el (octave-completion-at-point-function):
17926 Make use of inferior octave process.
17927 (octave-initialize-completions): Remove.
17928 (inferior-octave-completion-table): New function.
17929 (inferior-octave-completion-at-point): Use it.
17930 (octave-completion-alist): Remove.
17932 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17934 * progmodes/opascal.el: Use font-lock and syntax-propertize.
17935 (opascal-mode-syntax-table): New var.
17936 (opascal-literal-kind, opascal-is-literal-end)
17937 (opascal-literal-token-at): Rewrite.
17938 (opascal--literal-start-re, opascal-font-lock-keywords)
17939 (opascal--syntax-propertize): New constants.
17940 (opascal-font-lock-defaults): Adjust.
17941 (opascal-mode): Use them. Set comment-<foo> variables as well.
17942 (delphi-comment-face, opascal-comment-face, delphi-string-face)
17943 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17944 (delphi-other-face, opascal-other-face): Remove face variables.
17945 (opascal-save-state): Remove macro.
17946 (opascal-fontifying-progress-step): Remove constant.
17947 (opascal--ignore-changes): Remove var.
17948 (opascal-set-token-property, opascal-parse-next-literal)
17949 (opascal-is-stable-literal, opascal-complete-literal)
17950 (opascal-is-literal-start, opascal-face-of)
17951 (opascal-parse-region, opascal-parse-region-until-stable)
17952 (opascal-fontify-region, opascal-after-change)
17953 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17954 (opascal-debug-parse-region, opascal-debug-parse-window)
17955 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17956 (opascal-debug-fontify-buffer): Remove.
17957 (opascal-debug-mode-map): Adjust accordingly.
17959 2013-04-25 Leo Liu <sdl.web@gmail.com>
17961 Merge octave-mod.el and octave-inf.el into octave.el with some
17963 * progmodes/octave.el: New file renamed from octave-mod.el.
17964 * progmodes/octave-inf.el: Merged into octave.el.
17965 * progmodes/octave-mod.el: Renamed to octave.el.
17967 2013-04-25 Tassilo Horn <tsdh@gnu.org>
17969 * textmodes/reftex-vars.el
17970 (reftex-label-ignored-macros-and-environments): New defcustom.
17972 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17974 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17976 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17977 (smie-indent-keyword): Improve the check to ensure that the next
17978 comment is really on the same line.
17979 (smie-indent-comment): Don't align with a subsequent closer (or eob).
17981 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17982 semi-colons if the line is not otherwise empty (bug#14218).
17984 2013-04-25 Glenn Morris <rgm@gnu.org>
17986 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17988 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
17990 * progmodes/opascal.el (opascal-set-token-property): Rename from
17991 opascal-set-text-properties and only set `token' (bug#14134).
17992 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17993 (opascal-literal-text-properties): Remove.
17994 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17997 2013-04-24 Reuben Thomas <rrt@sc3d.org>
17999 * textmodes/remember.el (remember-handler-functions): Add an
18000 option for a new handler `remember-store-in-files'.
18001 (remember-data-directory, remember-directory-file-name-format):
18003 (remember-store-in-files): New function to store remember notes
18004 as separate files within a directory.
18006 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
18008 * progmodes/compile.el (compilation-next-error-function):
18009 Pass "formats" to compilation-find-file (bug#11777).
18011 2013-04-24 Glenn Morris <rgm@gnu.org>
18013 * vc/vc-bzr.el (vc-bzr-print-log):
18014 * vc/vc-hg.el (vc-hg-print-log):
18015 * vc/vc-svn.el (vc-svn-print-log):
18016 Fix START-REVISION with LIMIT != 1. (Bug#14168)
18018 * vc/vc-bzr.el (vc-bzr-print-log):
18019 * vc/vc-cvs.el (vc-cvs-print-log):
18020 * vc/vc-git.el (vc-git-print-log):
18021 * vc/vc-hg.el (vc-hg-print-log):
18022 * vc/vc-mtn.el (vc-mtn-print-log):
18023 * vc/vc-rcs.el (vc-rcs-print-log):
18024 * vc/vc-sccs.el (vc-sccs-print-log):
18025 * vc/vc-svn.el (vc-svn-print-log):
18026 * vc/vc.el (vc-print-log-internal): Doc fixes.
18028 2013-04-23 Glenn Morris <rgm@gnu.org>
18030 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
18031 Remove venerable code attempting to avoid substitute-command-keys.
18033 2013-04-23 Tassilo Horn <tsdh@gnu.org>
18035 * textmodes/reftex-vars.el (reftex-label-regexps):
18036 Call `reftex-compile-variables' after changes to this variable.
18038 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
18040 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
18041 Use lexical-binding.
18042 (jit-lock-force-redisplay): Use markers, check buffer's continued
18043 existence and beware narrowed buffers.
18044 (jit-lock-fontify-now): Adjust call accordingly.
18046 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
18048 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
18049 to avoid misleading the user.
18051 2013-04-22 Leo Liu <sdl.web@gmail.com>
18053 * info-look.el: Prefer latex2e.info. (Bug#14240)
18055 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
18057 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
18059 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
18060 * net/tramp.el (tramp-call-process): ... here.
18061 (tramp-set-completion-function, tramp-parse-putty):
18062 * net/tramp-adb.el (tramp-adb-execute-adb-command):
18063 * net/tramp-gvfs.el (tramp-gvfs-send-command):
18064 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
18065 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
18066 (tramp-call-local-coding-command): Use `tramp-call-process'
18067 instead of `tramp-compat-call-process'.
18069 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
18070 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
18071 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
18072 (tramp-find-inline-compress): Improve traces.
18073 (tramp-maybe-send-script): Check for Perl binary.
18074 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
18076 2013-04-22 Daiki Ueno <ueno@gnu.org>
18078 * epg.el (epg-context-pinentry-mode): New function.
18079 (epg-context-set-pinentry-mode): New function.
18080 (epg--start): Pass --pinentry-mode option to gpg command.
18082 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
18084 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
18085 `comint-dynamic-complete' is obsolete since 24.1, replaced by
18086 `completion-at-point'. (Bug#13774)
18088 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
18089 default key binding for `describe-distribution' has been moved to
18090 `C-h C-o'. (Bug#13970)
18092 2013-04-21 Glenn Morris <rgm@gnu.org>
18094 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
18096 (vc-print-log): Clarify interactive prompt.
18098 2013-04-20 Glenn Morris <rgm@gnu.org>
18100 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18101 No longer include timestamp etc information.
18103 2013-04-20 Roland Winkler <winkler@gnu.org>
18105 * faces.el (read-face-name): Bug fix, return just one face if arg
18106 multiple is nil. (Bug#14209)
18108 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18110 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
18111 (remove-function): Autoload.
18113 * comint.el (comint-redirect-original-filter-function): Remove.
18114 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
18115 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
18116 (vc-cvs-annotate-command):
18117 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
18118 * progmodes/prolog.el (prolog-consult-compile):
18119 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
18120 Use add/remove-function instead.
18121 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
18122 (gud-tooltip-process-output, gud-tooltip-tips):
18123 Use add/remove-function instead.
18124 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
18125 (scheme-interaction-mode, exit-scheme-interaction-mode):
18126 Use add/remove-function instead.
18128 * vc/vc-dispatcher.el: Use lexical-binding.
18129 (vc--process-sentinel): Rename from vc-process-sentinel.
18130 Change last arg to be the code to run. Don't use vc-previous-sentinel
18131 and vc-sentinel-commands any more.
18132 (vc-exec-after): Allow code to be a function. Use add/remove-function.
18133 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
18135 2013-04-19 Masatake YAMATO <yamato@redhat.com>
18137 * progmodes/sh-script.el (sh-imenu-generic-expression):
18138 Handle function names with a single character. (Bug#14111)
18140 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
18142 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
18143 for subroutines defined in an eval (bug#14182).
18145 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18147 * bookmark.el (bookmark-completing-read): Improve handling of empty
18148 string (bug#14176).
18150 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18152 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
18154 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
18156 New faster Imenu implementation (bug#14058).
18157 * progmodes/python.el (python-imenu-prev-index-position)
18158 (python-imenu-format-item-label-function)
18159 (python-imenu-format-parent-item-label-function)
18160 (python-imenu-format-parent-item-jump-label-function):
18162 (python-imenu-format-item-label)
18163 (python-imenu-format-parent-item-label)
18164 (python-imenu-format-parent-item-jump-label)
18165 (python-imenu--put-parent, python-imenu--build-tree)
18166 (python-imenu-create-index, python-imenu-create-flat-index)
18167 (python-util-popn): New functions.
18168 (python-mode): Set imenu-create-index-function to
18169 python-imenu-create-index.
18171 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18173 * winner.el (winner-active-region): Use region-active-p, activate-mark
18174 and deactivate-mark (bug#14225).
18176 * simple.el (deactivate-mark): Don't inline it.
18178 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
18180 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
18182 2013-04-18 Tassilo Horn <tsdh@gnu.org>
18184 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
18185 file extensions from the archive-mode entry in order to prefer
18186 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
18188 2013-04-18 Leo Liu <sdl.web@gmail.com>
18190 * bindings.el (help-event-list): Add ?\?.
18192 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18194 * subr.el (with-wrapper-hook): Declare obsolete.
18195 * simple.el (filter-buffer-substring-function): New hook.
18196 (filter-buffer-substring): Use it.
18197 (filter-buffer-substring-functions): Mark obsolete.
18198 * minibuffer.el (completion-in-region-function): New hook.
18199 (completion-in-region): Use it.
18200 (completion-in-region-functions): Mark obsolete.
18201 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
18202 * abbrev.el (abbrev-expand-function): New hook.
18203 (expand-abbrev): Use it.
18204 (abbrev-expand-functions): Mark obsolete.
18205 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
18206 and :filter-return.
18208 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18210 * progmodes/python.el (python-nav--syntactically): Fix cornercases
18211 and do not care about match data.
18213 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18215 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
18216 completion tables when completing error conditions and
18217 `declare' arguments.
18218 (lisp-complete-symbol, field-complete): Mark as obsolete.
18219 (check-parens): Unmatched parens are user errors.
18220 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
18222 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
18224 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18225 command changed buffer (ie. `flyspell-pre-buffer' is not current
18226 buffer), which prevents making decisions based on invalid value of
18227 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
18228 cause an error when `flyspell-pre-point' was nil after switching
18230 (flyspell-post-command-hook): No longer needs to change buffers when
18231 checking pre-word. While at it remove unnecessary progn.
18233 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
18235 * textmodes/ispell.el (ispell-add-per-file-word-list):
18236 Fix `flyspell-correct-word-before-point' error when accepting
18237 words and `coment-padding' is an integer by using
18238 `comment-normalize-vars' (Bug #14214).
18240 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18242 New defun movement commands.
18243 * progmodes/python.el (python-nav--syntactically)
18244 (python-nav--forward-defun, python-nav-backward-defun)
18245 (python-nav-forward-defun): New functions.
18247 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18249 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18250 (python-syntax-context): Use named compiler-macro for backwards
18251 compatibility with Emacs 24.x.
18253 2013-04-17 Leo Liu <sdl.web@gmail.com>
18255 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18256 octave-hide-process-buffer.
18258 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18260 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18263 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
18265 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18266 Fix adjustment of offset when receiving incomplete responses from GDB
18269 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18271 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18272 python-mode-abbrev-table.
18273 (python-skeleton-define): Adjust accordingly.
18274 (python-mode-abbrev-table): New table that inherits from it so that
18275 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18277 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18278 (abbrev-symbol): Use it.
18279 (abbrev--before-point): Use it since we already handle inheritance.
18281 2013-04-16 Leo Liu <sdl.web@gmail.com>
18283 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18284 binding to info-lookup-symbol.
18286 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
18288 * minibuffer.el (completion--twq-all):
18289 * term/ns-win.el (ns-initialize-window-system):
18290 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18292 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18294 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18297 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18299 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
18301 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18302 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18304 (ruby-end-of-defun): Remove the unused arg, change the docstring
18305 to reflect that this function is only used as the value of
18306 `end-of-defun-function'.
18307 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18308 to reflect an earlier change that beginning/end-of-defun functions
18309 jump between methods in a class definition, as well as top-level
18312 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18314 * minibuffer.el (minibuffer-complete): Don't just scroll
18315 a *Completions* that's been iconified.
18316 (minibuffer-force-complete): Make sure repetitions do cycle when going
18317 through completion-in-region -> minibuffer-complete.
18319 2013-04-15 Alan Mackenzie <acm@muc.de>
18321 Correct the placement of c-cpp-delimiters when there're #s not at
18324 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18325 place a submatch around the #.
18326 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18327 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
18330 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18332 * emacs-lisp/nadvice.el: Properly test names when adding advice.
18333 (advice--member-p): New arg `name'.
18334 (advice--add-function, advice-member-p): Use it (bug#14202).
18336 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
18338 Reformulate java imenu-generic-expression.
18339 The old expression contained ill formed regexps.
18341 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18342 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18343 (cc-imenu-java-method-arg-regexp): New defconsts.
18344 (cc-imenu-java-build-type-args-regex): New defun.
18345 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18346 handling of spaces in the regexp.
18348 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18350 * textmodes/ispell.el (ispell-command-loop): Remove
18351 flyspell highlight of a word when ispell accepts it (bug #14178).
18353 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
18355 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18356 uses code from the previous `ange-ftp-run-real-handler'.
18357 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18358 only in case that function exist. This is needed for proper
18359 unloading of Tramp.
18361 2013-04-15 Tassilo Horn <tsdh@gnu.org>
18363 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18365 * textmodes/reftex.el (reftex-compile-variables): Use it.
18367 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18369 * files.el (normal-mode): Only use default major-mode if no other mode
18372 * emacs-lisp/trace.el (trace-values): New function.
18374 * files.el: Allow : in local variables (bug#14089).
18375 (hack-local-variable-regexp): New var.
18376 (hack-local-variables-prop-line, hack-local-variables): Use it.
18378 2013-04-13 Roland Winkler <winkler@gnu.org>
18380 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18381 data before it gets modified by bibtex-beginning-of-entry.
18383 2013-04-13 Roland Winkler <winkler@gnu.org>
18385 * textmodes/bibtex.el (bibtex-url): Doc fix.
18387 2013-04-13 Roland Winkler <winkler@gnu.org>
18389 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18390 does not visit a BibTeX file, exclude it from the list of buffers
18391 returned by bibtex-initialize.
18393 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18395 * window.el (split-window): Remove interactive form, since as a
18396 command this function is a special case of split-window-below.
18397 Correct doc string.
18399 2013-04-12 Roland Winkler <winkler@gnu.org>
18401 * faces.el (read-face-name): Do not override value of arg default.
18402 Allow single faces and strings as default values. Remove those
18403 elements from return value that are not faces.
18404 (describe-face): Simplify.
18405 (face-at-point): New optional args thing and multiple so that this
18406 function can provide the same functionality previously provided by
18408 (make-face-bold, make-face-unbold, make-face-italic)
18409 (make-face-unitalic, make-face-bold-italic, invert-face)
18410 (modify-face, read-face-and-attribute): Use face-at-point.
18412 * cus-edit.el (customize-face, customize-face-other-window)
18413 * cus-theme.el (custom-theme-add-face)
18414 * face-remap.el (buffer-face-set)
18415 * facemenu.el (facemenu-set-face): Use face-at-point.
18417 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18419 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18421 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18423 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18424 off leading { and trailing } from field values.
18426 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18428 * emacs-lisp/timer.el (timer--check): New function.
18429 (timer--time, timer-set-function, timer-event-handler): Use it.
18430 (timer-set-idle-time): Simplify.
18431 (timer--activate): CSE.
18432 (timer-event-handler): Give more info in error message.
18433 (internal-timer-start-idle): New function, moved from C.
18435 * mpc.el (mpc-proc): Add `restart' argument.
18436 (mpc-proc-cmd): Use it.
18437 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18438 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18441 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18443 * progmodes/sh-script.el: Implement `sh-mode' own
18444 `add-log-current-defun-function' (bug#14112).
18445 (sh-current-defun-name): New function.
18446 (sh-mode): Use the function.
18448 2013-04-09 Bastien Guerry <bzg@gnu.org>
18450 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18452 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18454 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18456 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18459 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18461 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18464 2013-04-07 Leo Liu <sdl.web@gmail.com>
18466 * pcmpl-x.el: New file.
18468 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18470 Do not set x-display-name until X connection is established.
18471 This is needed to prevent from weird situation described at
18472 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18473 * frame.el (make-frame): Set x-display-name after call to
18474 window system initialization function, not before.
18475 * term/x-win.el (x-initialize-window-system): Add optional
18476 display argument and use it.
18477 * term/w32-win.el (w32-initialize-window-system):
18478 * term/ns-win.el (ns-initialize-window-system):
18479 * term/pc-win.el (msdos-initialize-window-system):
18480 Add compatible optional display argument.
18482 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18484 * files.el (normal-backup-enable-predicate): On MS-Windows and
18485 MS-DOS compare truenames of temporary-file-directory and of the
18486 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18487 don't fail comparison by compare-strings. Also, compare file
18488 names case-insensitively on MS-Windows and MS-DOS.
18490 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18492 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18493 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18495 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18497 * whitespace.el (whitespace-color-on, whitespace-color-off):
18498 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18500 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18502 * ispell.el (ispell-set-spellchecker-params):
18503 Really set `ispell-args' for all equivs.
18505 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * ido.el (ido-completions): Use extra elements of ido-decorations
18509 (ido-decorations): Update docstring.
18511 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18513 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18514 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18515 nil during initialization, in order not to miss changes since the
18516 file was opened. (Bug#14140)
18518 2013-04-05 Leo Liu <sdl.web@gmail.com>
18520 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18522 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18524 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18526 2013-04-04 Glenn Morris <rgm@gnu.org>
18528 * electric.el (electric-pair-inhibit-predicate): Add :version.
18530 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18532 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18533 when a package is required several times (bug#14082).
18535 2013-04-04 Roland Winkler <winkler@gnu.org>
18537 * faces.el (read-face-name): Behave as promised by the docstring.
18538 Assume that arg default is a list of faces.
18539 (describe-face): Call read-face-name with list of default faces.
18541 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18543 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18544 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18545 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18547 (bookmark-exit-hook-internal): Save even if list is empty.
18549 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18551 * emacs-lisp/package.el (package-pinned-packages): New var.
18552 (package--add-to-archive-contents): Obey it (bug#14118).
18554 2013-04-03 Alan Mackenzie <acm@muc.de>
18556 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18557 Also adapt to the new values of element 7 of a parse state.
18559 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18560 parameter `not-in-delimiter'. Handle being inside comment opener.
18561 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18562 character in case we're typing a '*' after a '/'.
18563 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18564 instead by passing the parameter to c-state-pp-to-literal.
18566 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18567 for elt. 7 of a parse state.
18569 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
18571 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18572 * international/latin1-disp.el, international/mule-util.el:
18573 * language/cyril-util.el, language/european.el, language/ind-util.el:
18574 * language/lao-util.el, language/thai.el, language/tibet-util.el:
18575 * language/tibetan.el, language/viet-util.el:
18576 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18578 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18580 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18581 (electric-pair-post-self-insert-function): Use it.
18582 (electric-pair-default-inhibit): New function, extracted from
18583 electric-pair-post-self-insert-function.
18585 2013-03-31 Roland Winkler <winkler@gnu.org>
18587 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18589 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18591 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18593 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
18595 Un-indent after "pass" and "return" statements (Bug#13888)
18596 * progmodes/python.el (python-indent-block-enders): New var.
18597 (python-indent-calculate-indentation): Use it.
18599 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
18601 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18602 defun. Defining it as defalias could introduce too eager
18603 byte-compiler optimization. (Bug#14030)
18605 2013-03-30 Chong Yidong <cyd@gnu.org>
18607 * iswitchb.el (iswitchb-read-buffer): Fix typo.
18609 2013-03-30 Leo Liu <sdl.web@gmail.com>
18611 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18612 (kmacro-execute-from-register): Pass the keyboard macro to
18613 kmacro-call-macro or repeating won't work correctly.
18615 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
18617 * progmodes/subword.el: Back to using `forward-symbol'.
18619 * subr.el (forward-whitespace, forward-symbol)
18620 (forward-same-syntax): Move from thingatpt.el.
18622 2013-03-29 Leo Liu <sdl.web@gmail.com>
18624 * kmacro.el (kmacro-to-register): New command.
18625 (kmacro-execute-from-register): New function.
18626 (kmacro-keymap): Bind to 'x'. (Bug#14071)
18628 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
18630 * mpc.el: Use defvar-local and setq-local.
18631 (mpc--proc-connect): Connection failures are not bugs.
18632 (mpc-mode-map): `follow-link' only applies to the buffer's content.
18633 (mpc-volume-map): Bind to the up-events.
18635 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
18637 * progmodes/subword.el (superword-mode): Use `forward-sexp'
18638 instead of `forward-symbol'.
18640 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
18642 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18643 (edebug--recursive-edit): Use it.
18644 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18645 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18647 2013-03-28 Leo Liu <sdl.web@gmail.com>
18649 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
18651 2013-03-27 Eli Zaretskii <eliz@gnu.org>
18653 * facemenu.el (list-colors-callback): New defvar.
18654 (list-colors-redisplay): New function.
18655 (list-colors-display): Install list-colors-redisplay as the
18656 revert-buffer-function. (Bug#14063)
18658 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
18660 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18661 and suffixes don't overlap (bug#14061).
18663 * case-table.el: Use lexical-binding.
18664 (case-table-get-table): New function.
18665 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18667 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18669 * progmodes/subword.el: Add `superword-mode' to do word motion
18670 over symbol_words (parallels and leverages `subword-mode' which
18671 does word motion inside MixedCaseWords).
18673 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18675 * eshell/em-unix.el: Move su and sudo to...
18676 * eshell/em-tramp.el: ...Eshell tramp module.
18678 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18680 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18681 Change return value to be a sexp. Delay `get-buffer' to after
18682 restoring the desktop (bug#13951).
18684 2013-03-26 Leo Liu <sdl.web@gmail.com>
18686 * register.el: Move semantic tag handling back to
18687 cedet/semantic/senator.el. (Bug#14052)
18689 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18691 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18692 into the prompt either (bug#13963).
18694 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18696 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18697 part of "(error-foo)".
18699 2013-03-24 Juri Linkov <juri@jurta.org>
18701 * replace.el (list-matching-lines-prefix-face): New defcustom.
18702 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18703 `occur-engine' if `face-differs-from-default-p' returns t.
18704 (occur-engine): Add `,' inside backquote construct to evaluate
18705 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18706 Pass `prefix-face' to the functions `occur-context-lines' and
18707 `occur-engine-add-prefix'.
18708 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18709 `prefix-face' and propertize the prefix with `prefix-face'.
18712 2013-03-24 Leo Liu <sdl.web@gmail.com>
18714 * nxml/rng-valid.el (rng-validate-while-idle)
18715 (rng-validate-quick-while-idle): Guard against deleted buffer.
18718 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18719 is the last entry in kill-buffer-hook.
18721 * files.el (kill-buffer-hook): Doc fix.
18723 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18725 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18726 Make it safe-local.
18728 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18730 2013-03-23 Leo Liu <sdl.web@gmail.com>
18732 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18735 * nxml/rng-valid.el (rng-validate-mode)
18736 (rng-after-change-function, rng-do-some-validation):
18737 * nxml/rng-maint.el (rng-validate-buffer):
18738 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18739 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18740 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18741 (nxml-extend-after-change-region): Use with-silent-modifications.
18743 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18746 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18747 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18748 timer-idle-list. (Bug#13999)
18750 2013-03-23 Juri Linkov <juri@jurta.org>
18752 * info.el (info-index-match): New face.
18753 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18754 main pattern and add text properties with the new face to matches
18755 in index entries relative to the beginning of the index entry.
18758 2013-03-21 Eric Ludlam <zappo@gnu.org>
18760 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18761 Inhibit read only while inserting objects.
18763 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
18765 * progmodes/cfengine.el: Update docs to mention
18766 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
18767 symbol motion. Remove "_" from the word syntax.
18769 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
18771 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18772 syntax for both `cfengine2-mode' and `cfengine3-mode'.
18774 2013-03-20 Juri Linkov <juri@jurta.org>
18776 * info.el (Info-next-reference-or-link)
18777 (Info-prev-reference-or-link): New functions.
18778 (Info-next-reference, Info-prev-reference): Use them.
18779 (Info-try-follow-nearest-node): Handle footnote navigation.
18780 (Info-fontify-node): Fontify footnotes. (Bug#13989)
18782 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
18784 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18785 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18787 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
18789 Suppress unnecessary non-ASCII chatter during build process.
18790 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18791 (batch-skkdic-convert): Suppress most of the chatter.
18792 It's not needed so much now that machines are faster,
18793 and its non-ASCII component was confusing; see Dmitry Gutov in
18794 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18796 2013-03-20 Leo Liu <sdl.web@gmail.com>
18798 * ido.el (ido-chop): Fix bug#10994.
18800 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18802 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18804 (whitespace-color-on, whitespace-color-off):
18805 Use `font-lock-fontify-buffer' (Bug#13817).
18807 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
18809 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18810 remapping in mode-line.
18811 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18813 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18815 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18816 value for `whitespace-line' face (Bug#13875).
18817 (whitespace-font-lock-keywords): Change description.
18818 (whitespace-color-on): Don't save `font-lock-keywords' value, save
18819 the constructed keywords instead.
18820 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18822 2013-03-19 Leo Liu <sdl.web@gmail.com>
18824 * progmodes/compile.el (compilation-display-error): New command.
18825 (compilation-mode-map, compilation-minor-mode-map): Bind it to
18828 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18830 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18832 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
18834 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18836 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
18838 * net/tramp-compat.el (tramp-compat-user-error): New defun.
18840 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18841 * net/tramp-gvfs.el (top):
18842 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18843 (tramp-handle-shell-command): Use it.
18844 (tramp-dissect-file-name): Raise an error when hostname is a
18845 method name, and neither method nor user is specified.
18847 * net/trampver.el: Update release number.
18849 2013-03-18 Leo Liu <sdl.web@gmail.com>
18851 Make sure eldoc can be turned off properly.
18852 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18854 (eldoc-display-message-p): Revert last change.
18855 (eldoc-display-message-no-interference-p)
18856 (eldoc-print-current-symbol-info): Tweak.
18858 2013-03-18 Tassilo Horn <tsdh@gnu.org>
18860 * doc-view.el (doc-view-new-window-function): Check the new window
18861 overlay's display property instead the char property of the
18862 buffer's first char. Use `with-selected-window' instead of
18863 `save-window-excursion' with `select-window'.
18864 (doc-view-document->bitmap): Check the current doc-view overlay's
18865 display property instead the char property of the buffer's first char.
18867 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18869 Automate the build of ja-dic.el (Bug#13984).
18870 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18871 from the input, rather than assume that it's been done for us by the
18872 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
18873 the current date into a ja-dic.el comment, as that complicates
18874 regression testing.
18876 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18878 * whitespace.el: Fix double evaluation.
18879 (whitespace-space, whitespace-hspace, whitespace-tab)
18880 (whitespace-newline, whitespace-trailing, whitespace-line)
18881 (whitespace-space-before-tab, whitespace-indentation)
18882 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18884 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18885 (whitespace-color-on): Use a single font-lock-add-keywords call.
18886 Fix double-evaluation of face variables.
18888 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
18890 * net/tramp-adb.el (tramp-adb-parse-device-names):
18891 Use `start-process' instead of `call-process'. Otherwise, the
18892 function might be blocked under MS Windows. (Bug#13299)
18894 2013-03-17 Leo Liu <sdl.web@gmail.com>
18896 Extend eldoc to display info in the mode-line. (Bug#13978)
18897 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18898 (eldoc-mode-line-string): New variable.
18899 (eldoc-minibuffer-message): New function.
18900 (eldoc-message-function): New variable.
18901 (eldoc-message): Use it.
18902 (eldoc-display-message-p)
18903 (eldoc-display-message-no-interference-p):
18904 Support eldoc-post-insert-mode.
18906 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18907 (eval-expression): Run it.
18909 2013-03-17 Roland Winkler <winkler@gnu.org>
18911 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18912 strings in the list of return values.
18914 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18916 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18917 radix before checking for HMS forms.
18919 2013-03-16 Leo Liu <sdl.web@gmail.com>
18921 * progmodes/scheme.el: Add indentation and font-locking for λ.
18924 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
18926 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18927 token before point (bug#13942).
18929 2013-03-16 Leo Liu <sdl.web@gmail.com>
18931 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
18933 2013-03-16 Eli Zaretskii <eliz@gnu.org>
18935 * startup.el (command-line-normalize-file-name): Fix handling of
18936 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
18937 <xfq.free@gmail.com> in
18938 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18940 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
18942 Sync with Tramp 2.2.7.
18944 * net/trampver.el: Update release number.
18946 2013-03-14 Tassilo Horn <tsdh@gnu.org>
18948 * doc-view.el: Fix bug#13887.
18949 (doc-view-insert-image): Don't modify overlay associated to
18950 non-live windows, and implement horizontal centering of image in
18951 case it's smaller than the window.
18952 (doc-view-new-window-function): Force redisplay of new windows on
18955 2013-03-13 Karl Fogel <kfogel@red-bean.com>
18957 * saveplace.el (save-place-alist-to-file): Don't sort
18958 `save-place-alist', just pretty-print it (bug#13882).
18960 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
18962 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18963 Check whether `default-file-name-coding-system' is bound.
18964 It isn't in XEmacs.
18966 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
18968 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18969 backquotes for `obsolete' (bug#13929).
18971 * international/mule.el (find-auto-coding): Include file name in
18972 obsolescence warning (bug#13922).
18974 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
18976 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18977 for CFEngine 3-specific indentation.
18978 (cfengine3-indent-line): Use it. Fix up category regex.
18979 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18981 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18983 * type-break.el (type-break-file-name):
18984 * textmodes/remember.el (remember-data-file):
18985 * strokes.el (strokes-file):
18986 * shadowfile.el (shadow-initialize):
18987 * saveplace.el (save-place-file):
18988 * ps-bdf.el (bdf-cache-file):
18989 * progmodes/idlwave.el (idlwave-config-directory):
18990 * net/quickurl.el (quickurl-url-file):
18991 * international/kkc.el (kkc-init-file-name):
18992 * ido.el (ido-save-directory-list-file):
18993 * emulation/viper.el (viper-custom-file-name):
18994 * emulation/vip.el (vip-startup-file):
18995 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18996 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18998 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
19000 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
19001 * language/thai-word.el: Switch to UTF-8.
19003 See ChangeLog.16 for earlier changes.
19005 ;; Local Variables:
19009 Copyright (C) 2011-2014 Free Software Foundation, Inc.
19011 This file is part of GNU Emacs.
19013 GNU Emacs is free software: you can redistribute it and/or modify
19014 it under the terms of the GNU General Public License as published by
19015 the Free Software Foundation, either version 3 of the License, or
19016 (at your option) any later version.
19018 GNU Emacs is distributed in the hope that it will be useful,
19019 but WITHOUT ANY WARRANTY; without even the implied warranty of
19020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19021 GNU General Public License for more details.
19023 You should have received a copy of the GNU General Public License
19024 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.