1 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
3 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4 (vc-svn-ignore): Use it. (Bug#18619)
6 2014-10-03 Martin Rudalics <rudalics@gmx.at>
8 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
9 In doc-string mention need of setting `frame-resize-pixelwise'.
11 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
14 similarly to Roger's 2010-06-12 change for the remote change
17 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19 New gui-selection-value consolidating x-selection-value.
20 * select.el (gui-selection-value-alist): New method.
21 (gui-selection-value): New function.
22 (x-selection-value): Make it an obsolete alias.
23 * simple.el (interprogram-paste-function): Default to
25 * w32-common-fns.el (w32-get-selection-value): Simplify.
26 (x-selection-value): Remove alias.
27 (interprogram-paste-function): Don't set.
28 (gui-selection-value): Define for w32.
29 * term/x-win.el (gui-selection-value): Define for x.
30 (x--selection-value): Rename from x--selection-value.
31 (interprogram-paste-function): Don't set.
32 * term/pc-win.el (w16-get-selection-value): Simplify.
33 (msdos-initialize-window-system): Don't set
34 interprogram-paste-function.
35 (gui-selection-value): Define for pc.
36 * term/ns-win.el (x-selection-value): Remove.
37 (gui-selection-value): Define for ns, instead.
38 * term/common-win.el (x-setup-function-keys): Don't set
39 interprogram-paste-function.
40 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
41 Use gui-selection-value.
43 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
45 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
47 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
49 * obsolete/lucid.el (read-number): Remove, redundant.
50 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
53 2014-10-02 Glenn Morris <rgm@gnu.org>
55 * emacs-lisp/package.el (package-import-keyring):
56 Create gnupg directory private. (Bug#17625#155)
58 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
60 * progmodes/python.el (python-shell-completion-get-completions):
61 Use python-shell--prompt-calculated-input-regexp from the
62 process buffer (bug#18582).
63 Don't assume that `line' comes from the process buffer.
65 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
67 * frame.el: Use lexical-binding (bug#18598).
68 (make-frame): Use t rather than nil for tty's window-system.
69 * startup.el (command-line): Use gui-method.
71 Consolidate management/ownership of selections.
72 * select.el (gui-get-selection-alist): New method.
73 (gui-get-selection): Use it. Rename from x-get-selection.
74 (x-get-selection): Define as obsolete alias.
75 (x-get-clipboard): Mark obsolete.
76 (gui-get-primary-selection): New function.
77 (x-get-selection-value): Mark obsolete.
78 (gui-own-selection-alist, gui-disown-selection-alist)
79 (gui-selection-owner-p-alist): New methods.
80 (gui-set-selection): Use them. Rename from x-set-selection.
81 (x-set-selection): Define as obsolete alias.
82 (gui--valid-simple-selection-p): Rename from
83 x-valid-simple-selection-p.
84 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
85 (gui-selection-owner-p, gui-get-selection): Define for w32.
86 (w32-get-selection-value): Rename from x-get-selection-value.
87 Use the new gui-last-selected-text.
88 * term/x-win.el (x-get-selection-value): Remove.
89 (x-clipboard-yank): Declare obsolete.
90 (gui-own-selection, gui-disown-selection, gui-get-selection)
91 (gui-selection-owner-p): Define for x.
92 * term/w32-win.el (w32-win-suspend-error): Rename from
94 * term/pc-win.el (w16-get-selection-value): Rename from
95 x-get-selection-value.
96 (w16-selection-owner-p): Rename from x-selection-owner-p.
97 (gui-own-selection, gui-disown-selection, gui-get-selection)
98 (gui-selection-owner-p): Define for pc.
99 (w16--select-text): New function.
100 * term/ns-win.el (gui-own-selection, gui-disown-selection)
101 (gui-get-selection, gui-selection-owner-p): Define for ns.
102 * term.el (term-mouse-paste):
103 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
105 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de> (tiny change)
107 * calc/calc-help.el (calc-describe-thing): Quote strings
108 which could look like regexps.
110 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
112 Consolidate x-select-text.
113 * frame.el (gui-method, gui-method-define, gui-method-declare)
114 (gui-call): New macros.
115 (gui-method--name): New function.
116 (frame-creation-function-alist): Use gui-method-declare.
117 (make-frame): Use gui-method.
118 * select.el (gui-select-enable-clipboard): Rename from
119 x-select-enable-clipboard and move here.
120 (x-select-enable-clipboard): Define as obsolete alias.
121 (gui-last-selected-text): New var, to replace x-last-selected-text.
122 (gui-select-text): New GUI method.
123 (gui-select-text): New function.
124 (x-select-text): Define as obsolete alias.
125 * term/common-win.el (x-select-enable-clipboard, x-select-text):
127 * simple.el (interprogram-cut-function): Change default to
129 (interprogram-paste-function): Change default to `ignore'.
130 * w32-common-fns.el (interprogram-cut-function): Don't modify.
131 * term/x-win.el (interprogram-cut-function): Don't modify.
132 (gui-select-text): Add method for x.
133 * term/w32-win.el (gui-select-text): Add method for w32.
134 * term/pc-win.el (x-last-selected-text): Remove, use
135 gui-last-selected-text instead.
136 (msdos-initialize-window-system): Don't set interprogram-cut-function.
137 (gui-select-text): Add method for pc.
138 * term/ns-win.el (ns-last-selected-text): Remove, use
139 gui-last-selected-text instead.
140 (gui-select-text): Add method for ns.
141 (x-setup-function-keys): Don't change interprogram-cut-function.
142 * loadup.el ("startup"): Load after "frame".
143 * subr.el (package--builtin-versions, package--description-file):
144 Move from startup.el.
145 * startup.el (package--builtin-versions, package--description-file):
147 (handle-args-function-alist, window-system-initialization-alist):
148 Use gui-method-declare.
149 (command-line): Use gui-method.
151 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
153 * subr.el (alist-get): New accessor.
154 * emacs-lisp/gv.el (alist-get): Provide expander.
155 * winner.el (winner-remember):
156 * tempo.el (tempo-use-tag-list):
157 * progmodes/gud.el (minor-mode-map-alist):
158 * international/mule-cmds.el (define-char-code-property):
159 * frameset.el (frameset-filter-params):
160 * files.el (dir-locals-set-class-variables):
161 * register.el (get-register, set-register):
162 * calc/calc-yank.el (calc-set-register): Use it.
163 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
164 * tooltip.el (tooltip-set-param): Mark as obsolete.
165 (tooltip-show): Use alist-get instead.
166 * ses.el (ses--alist-get): Remove. Use alist-get instead.
168 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
170 * net/newst-backend.el: Remove Time-stamp. Rename variable
171 `newsticker--download-logos' to `newsticker-download-logos' and
172 make it customizable.
173 (newsticker--sentinel-work): Move xml-workarounds to function
174 `newsticker--do-xml-workarounds', call unless libxml-parser is
175 used. Allow single quote in regexp for encoding.
176 Use libxml-parser if available, else fall back to `xml-parse-region'.
177 Take care of possibly missing namespace prefixes (like "RDF"
178 instead of "rdf:RDF") when checking xml nodes and attributes (as
179 libxml correctly removes the prefixes). Always use Atom 1.0 as
180 fallback feed type. Rename `newsticker--download-logos' to
181 `newsticker-download-logos'
182 (newsticker--unxml, newsticker--unxml-node)
183 (newsticker--unxml-attribute): New.
184 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
185 HTML code has become part of the xml parse tree.
186 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
187 of possibly missing namespace prefixes.
188 (newsticker--parse-generic-items): Code formatting. Typo.
189 (newsticker--images-dir): Add trailing slash.
190 (newsticker--image-get): Fix error message.
192 * net/newst-plainview.el: Remove Time-stamp.
194 * net/newst-reader.el: Remove Time-stamp.
195 (newsticker-download-logos): Rename variable
196 `newsticker--download-logos' to `newsticker-download-logos' and
197 make it customizable.
198 (newsticker--print-extra-elements): Add optional parameter
199 'htmlish for using html markup. Amend list of ignored elements.
200 (newsticker--do-print-extra-element): Add parameter 'htmlish for
203 * net/newst-ticker.el: Remove Time-stamp.
205 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
206 for formatting extra elements.
208 * net/newsticker.el: Remove Time-stamp, Version.
209 (newsticker-version): Make obsolete.
211 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
213 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
216 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
218 * emacs-lisp/package.el (package-check-signature): Default to nil if
219 GPG is not available.
220 (package-refresh-contents): Don't mess with the keyring if we won't
221 check the signatures anyway.
223 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
225 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
226 (ses-center, ses-center-span): Use them.
227 (ses-print-cell): Bind them while calling the printer.
228 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
229 (ses-dorange): Revert last change.
230 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
232 (ses-set-cell): Avoid `eval'.
233 (ses--time-check): Rename it from ses-time-check and turn it into
236 * ses.el (ses-setup): Don't assume modifying the iteration var of
237 dotimes affects the iteration (bug#18191).
239 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
241 * ses.el (ses-calculate-cell): Bind row and col dynamically to
242 their values with 'cl-progv'.
243 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
244 their values with 'cl-progv', also use non-interned symbols for
245 row, minrow, maxrow, mincol and maxcol.
246 (maxrow maxcol): New defvar, to make the compiler happy.
248 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
250 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
251 completion functions.
253 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
255 * ses.el (ses--letref): Quote value before it gets re-evaluated.
257 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
259 Font-lock `cl-flet*', too.
260 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
261 Add "flet*" to intermediate var `cl-lib-kw'.
263 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
265 * epg-config.el (epg-gpg-program): Use the plain program names rather
266 than their absolute file name.
268 * subr.el (track-mouse): New macro.
269 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
270 Remove track-mouse case.
271 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
273 2014-09-27 Leo Liu <sdl.web@gmail.com>
275 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
277 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
279 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
281 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
282 Handle the case where `match' is :pcase--succeed or :pcase--fail
285 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
286 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
287 (eldoc-schedule-timer): Obey it.
288 (eldoc-documentation-function): Default to nil.
289 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
290 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
291 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
292 (eldoc-last-data-store, eldoc-docstring-first-line)
293 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
294 (eldoc-beginning-of-sexp, eldoc-current-symbol)
295 (eldoc-function-argstring): Move to elisp-mode.el.
296 (eldoc-symbol-function): Remove, unused.
297 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
298 (elisp-completion-at-point): Rename from lisp-completion-at-point.
299 (elisp--preceding-sexp): Rename from preceding-sexp.
300 * loadup.el: Load new file progmodes/elisp-mode.
301 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
302 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
303 (lisp--local-variables-completion-table, lisp--expect-function-p)
304 (lisp--form-quoted-p, lisp--company-doc-buffer)
305 (lisp--company-doc-string, lisp--company-location)
306 (lisp-completion-at-point): Move to elisp-mode.el.
307 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
308 extracted from emacs-lisp-mode-syntax-table.
309 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
311 (lisp-imenu-generic-expression): Add comments to document what comes
312 from which Lisp dialect.
313 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
314 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
315 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
316 (emacs-lisp-byte-code-comment)
317 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
318 (lisp-interaction-mode-map, lisp-interaction-mode)
319 (eval-print-last-sexp, last-sexp-setup-props)
320 (last-sexp-toggle-display, prin1-char, preceding-sexp)
321 (eval-last-sexp-1, eval-last-sexp-print-value)
322 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
323 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
325 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
327 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
328 Do not match file names that end in '/', as they cannot be 'grep'
329 hits nowadays. This prevents confusion when 'grep -r' reports a
330 match in a file whose basename is ':12345:'. Conversely, do not
331 require exactly the same sequence of spaces and tabs after both
332 colons, and allow spaces or tabs before the second colon, as per
333 the POSIX spec for 'grep' output.
335 2014-09-26 Leo Liu <sdl.web@gmail.com>
337 Add cl-parse-integer based on parse-integer (Bug#18557)
338 * calendar/parse-time.el (parse-time-digits): Remove.
339 (digit-char-p, parse-integer) Moved to cl-lib.el.
340 (parse-time-tokenize, parse-time-rules, parse-time-string):
341 Use cl-parse-integer.
343 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
345 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
346 (cl-digit-char-p): New function.
348 2014-09-25 Juri Linkov <juri@jurta.org>
350 * vc/add-log.el (change-log-next-buffer): Don't create an empty
351 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
352 Return the current buffer if no files match the default pattern
353 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
355 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
357 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
358 the global vc-handled-backends (bug#18535).
360 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
362 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
363 Suggested by <lompik@voila.fr>.
365 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
367 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
368 Rename from `newsticker--treeview-do-get-node'.
369 (newsticker--treeview-get-node-by-id):
370 Rename from `newsticker--treeview-get-node'.
371 (newsticker--treeview-buffer-init)
372 (newsticker--treeview-buffer-init): Disable buffer undo.
373 (newsticker--treeview-unfold-node): Adapt to modified
374 `newsticker--group-find-parent-group'.
375 (newsticker--group-do-find-group):
376 Rename from `newsticker--group-do-find-group-for-feed'.
377 Now works for both, groups and feeds.
378 (newsticker--group-find-parent-group):
379 Rename from `newsticker--group-find-group-for-feed'.
380 Now works for both, groups and feeds.
381 (newsticker--group-do-get-parent-group)
382 (newsticker--group-get-parent-group): Remove.
383 (newsticker-group-add-group): Change interactive prompts.
384 (newsticker-group-add-group): Finally jump to added group.
385 (newsticker-group-delete-group): Finally jump to current feed.
386 (newsticker--group-do-rename-group, newsticker-group-rename-group)
387 (newsticker--get-group-names, newsticker--group-names): New.
388 (newsticker-group-move-feed): Finally jump to moved feed.
389 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
390 (newsticker-group-shift-group-down)
391 (newsticker-group-shift-group-up, newsticker--group-shift): New.
392 (newsticker-treeview-mode-map): New keybindings for new shift commands.
394 * net/newst-backend.el (newsticker--item-list)
395 (newsticker--item-position, newsticker--prev-message)
396 (newsticker--scrollable-text): Move to newst-ticker.el.
398 * net/newst-ticker.el (newsticker--item-list)
399 (newsticker--item-position, newsticker--prev-message)
400 (newsticker--scrollable-text): Move from newst-backend.el.
402 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
404 * window.el (fit-window-to-buffer): When counting buffer width,
405 count the whole visible buffer. Correctly convert the body-height
406 to pixel size for window-text-pixel-size (Bug#18498).
408 2014-09-22 Sam Steingold <sds@gnu.org>
410 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
411 (sql-execute): Use `special-mode'.
413 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
415 Add pcase-defmacro, as well as `quote' and `app' patterns.
416 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
417 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
418 (pcase--funcall, pcase--eval): New functions.
419 (pcase--u1): Use them for guard, pred, let, and app.
420 (\`): Use the new feature to generate better code for vector patterns.
421 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
422 (pcase--upat): Remove.
423 (pcase--macroexpand): Don't hardcode handling of `.
424 (pcase--split-consp, pcase--split-vector): Remove.
425 (pcase--split-equal): Disregard ` since it's expanded away.
426 (pcase--split-member): Optimize for quote rather than for `.
427 (pcase--split-pred): Optimize for quote rather than for `.
428 (pcase--u1): Remove handling of ` (and of `or' and `and').
429 Quote non-selfquoting values when passing them to `eq'.
430 Drop `app's let-binding if the variable is not used.
432 (`): Define as a pattern macro.
433 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
434 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
435 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
437 (pcase--split-match): Don't hoist or/and here any more.
438 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
439 (pcase--flip): New helper macro.
440 (pcase--u1): Optimize the memq case directly.
441 Don't handle neither self-quoting nor and/or patterns any more.
442 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
443 (pcase--macroexpand): New function.
444 (pcase--expand): Use it.
445 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
446 New optimization functions.
447 (pcase--u1): Add support for `quote' and `app'.
448 (pcase): Document them in the docstring.
450 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
452 Use lexical-bindin in Ibuffer.
453 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
454 (ibuffer-compile-format): Simplify.
455 (ibuffer-clear-summary-columns): Simplify.
456 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
457 elem of dotimes when we don't refer to the iteration var from it.
458 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
459 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
460 Silence byte-compiler.
462 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
464 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
465 expression for a list.
467 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
468 for functions with no arguments.
470 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
471 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
473 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
475 * simple.el (clone-indirect-buffer): Mention the return value
478 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
479 Text mode in docstring (bug#18464).
481 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
483 * progmodes/perl-mode.el (perl-syntax-propertize-function):
484 Accept underscores in identifiers after "sub" (bug#18502).
486 2014-09-21 Tassilo Horn <tsdh@gnu.org>
488 * textmodes/reftex-sel.el (reftex-select-label-mode)
489 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
490 from special-mode (instead of fundamental-mode) and propertize
491 with font-lock-face instead of just face. (Bug#18496)
493 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
495 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
497 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
498 `table-etc' when `end' is non-nil.
499 (lisp-completion-at-point): Move `end' back if it's after quote.
500 If in comment or string, only complete when after backquote.
502 (lisp-completion-at-point): Don't use
503 `lisp--local-variables-completion-table' in the
504 `lisp--form-quoted-p' case.
506 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
508 * emacs-lisp/lisp.el (lisp--expect-function-p)
509 (lisp--form-quoted-p): New functions.
510 (lisp-completion-at-point): Use them to see if we're completing a
511 variable reference, a function name, or just any symbol.
512 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
514 2014-09-18 Ivan Kanis <ivan@kanis.fr>
516 * net/shr.el, net/eww.el: Don't override `shr-width', but
517 introduce a new variable `shr-internal-width'. This allows users
518 to specify a width themselves.
520 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
522 * image-mode.el (image-toggle-display-image): If we have a
523 `fit-width' or a `fit-height', don't limit the size of the image
524 to the window size, because that doesn't preserve the aspect ratio.
525 * image-mode.el: Move defvars earlier to avoid a byte-compilation
528 2014-09-17 Reuben Thomas <rrt@sc3d.org>
530 * progmodes/js.el: Add interpreter-mode-alist support for various
531 JavaScript interpreters.
533 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
535 Don't assume 'grep' supports GREP_OPTIONS.
536 The GREP_OPTIONS environment variable is planned to be marked
537 obsolescent in GNU grep, due to problems in its use, so stop
539 * progmodes/grep.el (grep-highlight-matches): Document this.
540 (grep-process-setup): Do not set GREP_OPTIONS.
541 (grep-compute-defaults): Use an explicit --color option if supported.
543 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
545 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
546 Don't add outdated key-shortcut cache (bug#18482).
548 2014-09-15 Glenn Morris <rgm@gnu.org>
550 * image.el (image-multi-frame-p): Fix thinko - do not force
551 a delay if none was specified. (Bug#18334)
553 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
555 * window.el (fit-window-to-buffer): Doc fix.
557 2014-09-15 Ivan Shmakov <ivan@siamics.net>
559 * desktop.el (desktop-create-buffer): Check that buffers are still live
560 before burying them (bug#18373).
562 2014-09-15 Glenn Morris <rgm@gnu.org>
564 * calendar/diary-lib.el (diary-list-entries):
565 Restore 24.3 display behavior. (Bug#18381)
567 2014-09-15 Eli Zaretskii <eliz@gnu.org>
569 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
570 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
571 discrepancy between window-pixel-edges and mouse events, and
572 avoids moving mode line up when the mouse click is on the modeline
573 and no drag is attempted.
575 2014-09-14 Daniel Colascione <dancol@dancol.org>
577 * register.el (insert-register): Change default interactive
580 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
582 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
583 Suppress debug messages.
585 * net/tramp.el (tramp-file-name-handler):
586 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
589 2014-09-13 Christopher Schmidt <ch@ristopher.com>
591 * calendar/calendar.el (calendar-update-mode-line):
592 Do not overwrite mode-line-format if calendar-mode-line-format is
595 2014-09-13 Leo Liu <sdl.web@gmail.com>
597 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
598 (pcase--expand): Use it.
599 (pcase-exhaustive): New macro. (Bug#16567)
601 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
602 Add pcase-exhaustive.
604 2014-09-13 Eli Zaretskii <eliz@gnu.org>
606 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
607 using the specified transfer-encoding, if any, or 'undecided'.
608 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
609 broken at the window margin.
611 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
613 Support rendering of HTML parts in Rmail (bug#4258).
614 * mail/rmailmm.el (rmail-mime-process): Handle text/html
615 separately from other text/ types. Suppress tagline for
617 (rmail-mime-parse): Don't change visibility of tagline here.
618 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
619 Handle text/html specially.
620 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
621 (rmail-mime-insert-html, rmail-mime-render-html-shr)
622 (rmail-mime-render-html-lynx): New functions.
623 (rmail-mime-fix-inserted-faces): New function.
624 (rmail-mime-process-multipart): Find the best part to show
625 following rmail-mime-prefer-html if set.
626 (rmail-mime-searching): New variable.
627 (rmail-search-mime-message): Bind rmail-mime-searching to
628 suppress rendering while searching.
630 2014-09-12 Sam Steingold <sds@gnu.org>
632 * progmodes/sql.el (sql-product-alist): Add vertica.
633 (sql-vertica-program, sql-vertica-options)
634 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
635 New functions and variables to support Vertica.
636 Inspired by code by Roman Scherer <roman@burningswell.com>.
638 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
640 * ses.el (ses-file-format-extend-parameter-list): Rename from
641 ses-file-format-extend-paramter-list, to correct a misspelling.
644 2014-09-10 Alan Mackenzie <acm@muc.de>
646 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
647 gets loaded at run-time).
648 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
649 c-lang-const to c-make-no-parens-syntax-table and correct the
651 (c-no-parens-syntax-table): Correct the logic of the
654 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
656 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
658 * progmodes/cc-mode.el (c-basic-common-init):
659 Set open-paren-in-column-0-is-defun-start.
660 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
661 Remove declarations, unused.
662 (run-mode-hooks): Remove declaration.
663 (font-lock-defaults): Use plain `defvar' to declare.
664 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
665 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
666 (c-make-mode-syntax-table): Don't micro-optimize.
667 (c-keywords, c-keyword-member-alist): Simplify.
668 (c-kwds-lang-consts): Don't eval at compile-time.
669 (c-primary-expr-regexp): Comment out unused vars.
670 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
671 (c-font-byte-compile): New var.
672 (c--compile): New function. Use it instead of `byte-compile'.
673 (c-cpp-matchers): Quote the value returned by
674 `c-make-syntactic-matcher' in case it's not self-evaluating.
675 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
676 parentheses instead (in case MATCHER happens to be a list).
677 (c-font-lock-enum-tail): Remove unused var `start'.
678 (c-font-lock-objc-methods): Silence byte-compiler warnings.
679 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
680 test into an argument.
681 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
682 (c-get-char-property): Don't use `eval' just to unquote a constant.
683 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
685 (c-put-char-property-fun): Don't call `byte-compile' by hand.
686 (c-clear-char-property, c-clear-char-properties): Check that `property'
687 is a quoted constant.
688 (c-emacs-features): Remove `infodock', `syntax-properties', and
689 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
690 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
691 changing buffer, so we don't have to setq them again afterwards.
692 (c-lang-const): Remove redundant symbolp assertions.
693 (c-find-assignment-for-mode): Use `or'.
694 * Makefile.in (compile-one-process): Remove cc-mode dependency.
696 2014-09-09 Sam Steingold <sds@gnu.org>
698 * progmodes/sql.el (sql-default-directory): Fix type annotation.
700 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
702 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
703 Change doc comments into docstrings.
704 * Makefile.in: Remove cc-awk dependency.
706 2014-09-08 Sam Steingold <sds@gnu.org>
708 * progmodes/sql.el (sql-send-line-and-next): New command,
710 (sql-show-sqli-buffer): Display the buffer instead of its name and
711 bind the command to C-c C-z.
712 (sql-default-directory): New user option.
713 (sql-product-interactive): Bind `default-directory' to it to
714 enable remote connections using Tramp.
715 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
716 suitable buffer is available.
718 2014-09-08 Glenn Morris <rgm@gnu.org>
720 * calendar/calendar.el (calendar-basic-setup):
721 Fix calendar-view-holidays-initially-flag and fancy display.
722 * calendar/diary-lib.el (diary-live-p): Doc fix.
724 * calendar/calendar.el (calendar-basic-setup):
725 Avoid clobbering calendar with diary. (Bug#18381)
727 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
729 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
731 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
733 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
736 2014-09-08 Eli Zaretskii <eliz@gnu.org>
738 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
740 2014-09-06 Leo Liu <sdl.web@gmail.com>
742 * emacs-lisp/pcase.el (pcase): Doc fix.
743 (pcase--split-vector): New function.
744 (pcase--q1): Support vector qpattern. (Bug#18327)
746 2014-09-05 Sam Steingold <sds@gnu.org>
748 * textmodes/tex-mode.el (tex-print-file-extension): New user
750 (tex-print): Use it instead of the hard-coded string.
752 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
754 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
755 Expand `default-directory'.
757 2014-09-05 Martin Rudalics <rudalics@gmx.at>
759 * scroll-bar.el (horizontal-scroll-bars-available-p):
761 (horizontal-scroll-bar-mode): Rewrite using
762 horizontal-scroll-bars-available-p.
763 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
764 horizontal-scroll-bars-available-p.
766 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
768 * subr.el (call-process-shell-command, process-file-shell-command):
769 Make the `args' obsolete (bug#18409).
770 (start-process-shell-command, start-file-process-shell-command):
773 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
775 * calc/calc-forms.el (math-normalize-hms): Do a better check for
776 "negative" hms forms.
778 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
780 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
781 returns nil (bug#18391).
783 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
785 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
786 terminating paren (bug#18352).
787 (eldoc-last-data-store): Return cached data.
788 (eldoc-get-var-docstring): Avoid setq.
789 (eldoc-get-fnsym-args-string): Clarify data flow.
791 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
793 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
794 case where we're currently providing part of the &rest arg after some
795 &key args, as in define-ibuffer-op (bug#18048).
797 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
799 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
800 buffer-local setting of which-func-mode.
801 (which-func-mode): Use defvar-local.
802 (which-function-mode): Don't reset which-func-mode in each buffer since
803 it might have been set by someone else.
804 (which-func-update-ediff-windows): Check which-function-mode.
806 2014-09-03 Martin Rudalics <rudalics@gmx.at>
808 * frame.el (frame-initialize): Remove horizontal-scroll-bars
809 from frame-initial-frame-alist.
810 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
811 (horizontal-scroll-bar-mode-explicit)
812 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
813 (toggle-horizontal-scroll-bar): Remove.
814 (horizontal-scroll-bar-mode): Remove defcustom.
815 (horizontal-scroll-bar-mode): Fix doc-string.
816 (scroll-bar-toolkit-scroll)
817 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
819 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
821 * emacs-lisp/package.el (package-generate-description-file):
822 Properly quote the arguments (bug#18332). Change second arg.
823 (package--alist-to-plist-args): Rename from package--alist-to-plist and
825 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
826 the *-pkg.el file. Adjust to new calling convention of
827 package-generate-description-file.
829 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
830 (gud-gdb-completions): Remove obsolete workaround.
832 2014-09-03 Eli Zaretskii <eliz@gnu.org>
834 * subr.el (posn-col-row): Revert the change from commit
835 2010-11-13T21:07:58Z!eliz@gnu.org, which
836 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
837 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
838 introduced an off-by-one error in the reported row when there is a
839 header line. (Bug#18384)
841 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
843 * progmodes/python.el (python-indent-post-self-insert-function):
844 Avoid electric colon at beginning-of-defun. (Bug#18228)
846 2014-09-03 Glenn Morris <rgm@gnu.org>
848 * tutorial.el (tutorial--display-changes):
849 Fix 2014-08-01 change. (Bug#18382)
851 2014-09-03 Ken Brown <kbrown@cornell.edu>
853 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
854 the Cygwin-w32 build. (Bug#18347)
856 2014-09-03 Glenn Morris <rgm@gnu.org>
858 * tar-mode.el (tar--extract, tar-extract):
859 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
861 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
863 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
864 handle multiline elements (bug#18380).
866 2014-09-01 Eli Zaretskii <eliz@gnu.org>
868 * ls-lisp.el (ls-lisp-use-string-collate)
869 (ls-lisp-UCA-like-collation): New defcustoms.
870 (ls-lisp-string-lessp): Use them to control sorting by file
872 (ls-lisp-version-lessp): New function.
873 (ls-lisp-handle-switches): Use it to implement the -v switch of
875 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
877 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
879 * ibuffer.el: Replace mode-specific quit function with
880 `quit-window' via `special-mode'.
881 (ibuffer-mode-map): Use keybindings from special-mode-map instead
883 (ibuffer): Don't store previous windows configuration.
884 Let `quit-window' handle restoring.
885 (ibuffer-quit): Remove function. Use `quit-window' instead.
886 (ibuffer-restore-window-config-on-quit): Remove variable.
887 (ibuffer-prev-window-config): Remove variable.
889 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
891 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
892 name instead of variable name in hook docstring. (Bug#18349)
894 2014-08-29 Martin Rudalics <rudalics@gmx.at>
896 * window.el (display-buffer-at-bottom): Prefer bottom-left
897 window to other bottom windows. Reuse a bottom window if it
898 shows the buffer already. Suggested by Juri Linkov
899 <juri@jurta.org> in discussion of (Bug#18181).
901 2014-08-29 Leo Liu <sdl.web@gmail.com>
903 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
904 append to minibuffer-setup-hook. (Bug#18341)
906 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
908 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
910 (lookup-syntax-properties): Silence byte-compiler.
911 (c-lang-defconst): Quote the code with `lambda' rather than with
913 (c-lang-const): Avoid unneeded setq.
914 (c-lang-constants-under-evaluation): Add docstring.
915 (c-lang--novalue): New constant.
916 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
917 (c-get-lang-constant): Same here.
918 Get the mode's value using `funcall' now that the code is quoted
921 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
923 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
926 2014-08-28 Martin Rudalics <rudalics@gmx.at>
928 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
929 interpretation of `portion-whole'.
931 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
933 * net/tramp-adb.el: Spell author name correctly.
935 2014-08-28 João Távora <joaotavora@gmail.com>
937 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
938 use url-expand-file-name. (Bug#18310)
940 2014-08-28 Glenn Morris <rgm@gnu.org>
942 * emulation/cua-rect.el (cua--highlight-rectangle):
943 Avoid error at point-min. (Bug#18309)
945 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
947 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
948 executable-find (bug#18244).
950 * simple.el (self-insert-uses-region-functions): Defvar.
952 2014-08-28 Glenn Morris <rgm@gnu.org>
954 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
956 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
958 * startup.el (normal-top-level): Now use internal--top-level-message.
960 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
962 * startup.el (normal-top-level): Use top-level-message.
964 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
966 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
967 URLs containing spaces and the like.
969 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
971 * subr.el (remq): Fix docstring (Bug#18253).
973 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
975 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
977 2014-08-24 Alan Mackenzie <acm@muc.de>
979 Handle C++11's "auto" and "decltype" constructions.
980 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
981 and return 'decltype.
982 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
983 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
985 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
987 (c-font-lock-c++-new): Handle "decltype" constructions.
988 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
989 New c-lang-defconsts/defvars.
990 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
991 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
992 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
993 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
995 Make ">>" act as double template ender in C++ Mode.
996 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
997 off from c->-op-cont-re.
998 (c->-op-cont-tokens): Change to use the above.
999 (c->-op-without->-cont-regexp): New lang-const.
1000 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1001 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
1004 2014-08-23 Alan Mackenzie <acm@muc.de>
1006 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
1007 loop, bug #18306. The bug was introduced on 2014-08-02.
1009 2014-08-21 Eli Zaretskii <eliz@gnu.org>
1011 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
1012 Don't recognize a Top node if there are other sectioning commands
1013 earlier in the Texinfo file. This fixes a bug in
1014 texinfo-make-menu and avoids inflooping in
1015 texinfo-all-menus-update when they are invoked on texinfo.texi.
1017 2014-08-21 Martin Rudalics <rudalics@gmx.at>
1019 * window.el (window--side-window-p): New function.
1020 (split-window, window-splittable-p): Use window--side-window-p to
1021 determine whether WINDOW can be split (Bug#18304).
1022 * calendar/calendar.el (calendar-basic-setup): Fix one call of
1023 `window-splittable-p' and add another (Bug#18304).
1025 2014-08-20 Sam Steingold <sds@gnu.org>
1027 * progmodes/python.el (python-new-pythonpath): Extract from
1028 `python-shell-calculate-process-environment'.
1030 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1032 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
1033 for &key args (bug#18048).
1035 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1037 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
1038 (eldoc-function-argstring-format): Remove.
1039 (eldoc-function-argstring): Always return upcase args.
1040 Use help-make-usage. Don't add parens.
1041 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
1042 it's too late to do it right (bug#18048).
1044 2014-08-18 Eli Zaretskii <eliz@gnu.org>
1046 * scroll-bar.el (scroll-bar-horizontal-drag-1)
1047 (scroll-bar-toolkit-horizontal-scroll): When determining the
1048 paragraph direction, use the buffer of the window designated in
1051 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
1053 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
1054 context of unified diff.
1056 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
1058 Add dependencies to fix loaddefs race during parallel builds.
1059 Without this, for example, 'make -j bootstrap' can fail and report
1060 "Opening input file: no such file or directory,
1061 .../lisp/calendar/diary-loaddefs.el ... recipe for target
1062 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
1063 got confused because diary-loaddefs.el was being built in parallel.
1064 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
1065 Depend on $(CAL_DIR)/cal-loaddefs.el.
1066 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
1068 2014-08-16 Martin Rudalics <rudalics@gmx.at>
1070 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
1071 portion-whole for scrolling right-to-left text.
1073 2014-08-15 Leo Liu <sdl.web@gmail.com>
1075 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1076 elements from imenu.
1078 2014-08-15 Glenn Morris <rgm@gnu.org>
1080 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1082 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
1084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1085 Add Guile regexpses.
1087 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
1089 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
1090 add Guile debugger support for GUD.
1092 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
1095 (mouse-sel--ignore): New function.
1096 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
1097 (mouse-sel-original-interprogram-cut-function)
1098 (mouse-sel-original-interprogram-paste-function): Remove.
1100 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
1102 * vc/vc-git.el (vc-git-resolve-when-done): New function.
1103 Call "git add" when there are no longer conflict markers.
1105 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1107 * vc/vc-git.el (vc-git-find-file-hook): New function.
1108 Adds support for calling smerge (and resolve) on a conflicted file.
1109 (vc-git-conflicted-files): New function.
1110 Useful in itself and a step towards better smerge support.
1112 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
1115 to the first part if they're the same as the selection.
1117 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1119 * image-mode.el (image-transform-reset): New command and menu item.
1120 (image-mode-map): Rearrange the menu items to put presumably more
1121 obscure items at the end.
1123 2014-08-12 Juri Linkov <juri@jurta.org>
1125 * vc/vc-annotate.el (vc-annotate-background-mode):
1126 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
1128 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1130 * files.el (out-of-memory-warning-percentage): Turn it off by default.
1132 2014-08-11 Sam Steingold <sds@gnu.org>
1134 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
1135 the presence of known validators (tidy, (o)nsgmls).
1137 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
1139 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
1141 * net/newst-treeview.el (newsticker-treeview-date-format): New.
1142 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
1144 2014-08-11 Glenn Morris <rgm@gnu.org>
1146 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1147 chose coding system for writing before backing up, since it causes
1148 a more serious problem than the one it solves. (Closes Bug#18141,
1151 2014-08-11 Martin Rudalics <rudalics@gmx.at>
1153 * window.el (window-total-size): Make doc-string more self-contained.
1155 * window.el (display-buffer-below-selected): Restore original
1156 behavior if buffer is already displayed in the window below the
1157 selected one (Bug#18181).
1159 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
1161 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1164 2014-08-11 Eli Zaretskii <eliz@gnu.org>
1166 * info.el (info): Doc fix.
1168 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
1170 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1173 2014-08-11 Eli Zaretskii <eliz@gnu.org>
1175 * simple.el (default-line-height): A floating-point value of
1176 line-spacing means a fraction of the default frame font's height,
1177 not of the font currently used by the 'default' face.
1178 Truncate the pixel value, like the display engine does.
1179 (window-screen-lines): Use window-inside-pixel-edges for
1180 determining the window height in pixels. (Bug#18195)
1182 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
1184 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
1186 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
1188 Enumerate evaluated sexp diary entries (Bug#7911).
1189 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
1190 (icalendar-export-sexp-enumeration-days): New.
1191 (icalendar-export-region): Now `icalendar--convert-to-ical'
1192 returns a cons cell or a list of cons cells.
1193 (icalendar--convert-to-ical): Take care of
1194 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
1195 (icalendar--convert-ordinary-to-ical)
1196 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1197 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
1198 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
1199 (icalendar--convert-anniversary-to-ical): Return cons cell.
1200 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
1201 entries. Return (list of) cons cells.
1203 2014-08-09 Juri Linkov <juri@jurta.org>
1205 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
1206 to reevaluate `vc-annotate-color-map'. (Bug#18189)
1208 2014-08-09 Alan Mackenzie <acm@muc.de>
1210 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
1211 for top-level that can cause unacceptable slow-down in scrolling.
1212 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
1213 Antipov from 2013-10-14 in emacs-devel.
1215 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1217 * ibuffer.el (ibuffer-mode-map): Use toggle button for
1218 `ibuffer-auto-mode' menu entry.
1219 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
1221 2014-08-08 Matthias Meulien <orontee@gmail.com>
1223 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
1226 2014-08-07 Martin Rudalics <rudalics@gmx.at>
1228 * window.el (window--min-size-1): Explicitly set WINDOW arg in
1229 calls of window-min-pixel-height and window-min-pixel-width.
1231 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1233 * progmodes/ada-mode.el:
1234 * net/tramp.el (tramp-handle-file-symlink-p):
1235 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
1236 about VMS, which we no longer support.
1237 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
1238 and fix a FIXME, using convert-standard-filename in place of
1239 removed ada-convert-file-name.
1241 2014-08-07 Eli Zaretskii <eliz@gnu.org>
1243 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
1245 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1247 Refer to MS-DOS using the same name everywhere.
1248 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
1249 ``msdog'' become ``MS-DOS''.
1251 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
1253 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1254 Use cached "remote-copy-args" value, if available. (Bug#18199)
1256 2014-08-07 Leo Liu <sdl.web@gmail.com>
1258 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
1259 Revert change on 2014-03-22.
1261 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
1263 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
1264 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
1268 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1270 * image-mode.el (image-toggle-display-image): Always rescale images
1271 to not be bigger than the current window.
1273 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
1275 * net/eww.el (eww-bookmarks-directory): New variable.
1276 (eww-write-bookmarks): Use it.
1277 (eww-read-bookmarks): Ditto.
1279 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1281 * net/shr.el (shr-copy-url): Also copy the image URL.
1283 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
1285 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
1286 also for Tramp working buffers.
1288 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1290 * progmodes/python.el: Fix completions inside (i)pdb.
1291 (python-shell-completion-pdb-string-code): Make obsolete.
1292 (python-shell-completion-get-completions):
1293 Use python-shell-completion-string-code resending setup code
1294 continuously for (i)pdb.
1296 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
1298 * rect.el (rectangle--default-line-number-format): Rename
1299 from misspelled rectange--default-line-number-format (Bug#18045).
1302 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
1304 Don't mishandle year-9999 dates (Bug#18176).
1305 * calendar/parse-time.el (parse-time-rules):
1306 Allow years up to most-positive-fixnum.
1307 * calendar/time-date.el (date-to-time):
1308 Pass "Specified time is not representable" errors through.
1310 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1312 * progmodes/python.el: Completion code cleanups.
1313 (python-shell-completion-get-completions): Detect and send import
1314 statements directly to completion function.
1315 (python-shell-completion-at-point): Simplify prompt calculation
1316 and import vs input completion logic.
1318 2014-08-02 Alan Mackenzie <acm@muc.de>
1320 Fix confusion in C++ file caused by comma in "= {1,2},".
1322 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
1323 for a statement boundary marked by "}", check there's no "="
1325 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
1326 non-nil `comma-delim' argument.
1327 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
1328 initializer expression more accurately.
1330 Correct loop termination condition in c-syntactic-skip-backward.
1331 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
1332 the situation where, after moving back out of a literal,
1333 skip-chars-backward doesn't move further, yet checks have still to
1336 2014-08-01 Eli Zaretskii <eliz@gnu.org>
1338 * tutorial.el (tutorial--display-changes): Accept punctuation
1339 characters before the key binding. (Bug#18146)
1341 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
1343 * progmodes/python.el: Shell output capture enhancements.
1344 (python-shell-accept-process-output): New function.
1345 (inferior-python-mode)
1346 (python-shell-send-setup-code): Use it.
1348 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
1350 * calendar/icalendar.el (icalendar--decode-isodatetime):
1351 Use actual current-time-zone when converting to local time. (Bug#15408)
1353 2014-07-29 Martin Rudalics <rudalics@gmx.at>
1355 * window.el (window--state-put-2): Handle horizontal scroll
1358 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1360 * menu-bar.el (menu-bar-update-buffers): Update item list format
1361 in `buffers-menu' to confirm with changes to `get_keyelt'
1362 (r117463). (Bug#18016)
1364 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1366 * progmodes/python.el (inferior-python-mode): Make input prompts
1369 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
1371 * net/tramp-sh.el (tramp-get-remote-python): Also search for
1372 executables named "python2" or "python3".
1373 (tramp-get-remote-uid-with-python): Use parentheses around
1374 arguments to `print' to make it compatible with Python 3.
1375 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
1377 2014-07-28 Eli Zaretskii <eliz@gnu.org>
1379 * window.el (window--pixel-to-total): Use FRAME's root window, not
1380 that of the selected frame. (Bug#18112, Bug#16674)
1382 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
1384 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1387 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1389 * progmodes/python.el (inferior-python-mode): Doc fix.
1391 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1393 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1394 not a character, ignore it instead of raising an error.
1396 * calendar/todo-mode.el: Fix handling of marked items and make
1397 minor code improvements.
1398 (todo-edit-item): If there are marked items, ensure user can only
1399 invoke editing commands that work with marked items.
1400 (todo-edit-item--text): When there are marked items, make it a
1401 noop if invoked with point not on an item; otherwise, ensure it
1402 applies only to item at point.
1403 (todo-item-undone): If there are marked not-done items, return
1404 point to its original position before signaling user error.
1405 (todo--user-error-if-marked-done-item): New function.
1406 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1407 (todo-item-done): Use it.
1409 2014-07-28 Glenn Morris <rgm@gnu.org>
1411 * files.el (toggle-read-only): Re-add basic doc-string.
1412 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1414 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1415 Replace missing `switch-to-prolog' with `run-prolog'.
1416 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1418 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1420 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1421 of file-wide setting when changing category-wide setting.
1423 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1425 * doc-view.el (doc-view-open-text): Don't require that the
1426 document is saved in a file (e.g., email attachment).
1428 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1430 Parse completion input in a iPython friendly way. (Bug#18084)
1431 * progmodes/python.el
1432 (python-shell-completion-at-point): Rename from
1433 python-shell-completion-complete-at-point.
1434 (inferior-python-mode): Use it.
1435 (python-completion-at-point): Rename from
1436 python-completion-complete-at-point. Parse input up to first
1437 backward occurrence of whitespace, open-paren, close-paren or
1439 (python-mode): Use it.
1441 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1443 Prevent Python process shell buffer to pop twice.
1444 * progmodes/python.el (python-shell-switch-to-shell): Do not call
1447 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1449 * progmodes/python.el
1450 (python-shell-with-shell-buffer): New macro.
1451 (python-shell-font-lock-get-or-create-buffer)
1452 (python-shell-font-lock-kill-buffer)
1453 (python-shell-font-lock-with-font-lock-buffer)
1454 (python-shell-font-lock-cleanup-buffer)
1455 (python-shell-font-lock-toggle): Use it.
1456 (python-shell-font-lock-turn-on)
1457 (python-shell-font-lock-turn-off): Use it. Make command.
1459 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1461 Grab all Python process output before inferior-python-mode hooks.
1462 * progmodes/python.el (inferior-python-mode):
1463 Call accept-process-output and sit-for to ensure all output for process
1464 has been received before running hooks.
1465 (python-shell-internal-get-or-create-process):
1466 Cleanup accept-process-output and sit-for calls.
1468 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1470 More robust shell startup and code setup.
1471 * progmodes/python.el (python-shell-make-comint):
1472 Remove accept-process-output call.
1473 (python-shell-get-buffer): Return current buffer if major-mode is
1474 inferior-python-mode.
1475 (python-shell-get-or-create-process): Use it.
1476 (python-shell-send-setup-code): Send all setup code in one string,
1477 output success message and accept-process-output.
1479 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1481 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1482 Add rudimentary support for bidirectional text.
1484 2014-07-27 Martin Rudalics <rudalics@gmx.at>
1486 * frame.el (frame-notice-user-settings): Rewrite using
1487 frame-initial-frame-tool-bar-height.
1488 * menu-bar.el (menu-bar-horizontal-scroll-bar)
1489 (menu-bar-no-horizontal-scroll-bar): New functions.
1490 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1492 * scroll-bar.el (scroll-bar-lines)
1493 (set-horizontal-scroll-bar-mode)
1494 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1495 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1496 (scroll-bar-toolkit-horizontal-scroll): New functions.
1497 (horizontal-scroll-bar-mode)
1498 (previous-horizontal-scroll-bar-mode)
1499 (horizontal-scroll-bar-mode-explicit): New variables.
1500 (horizontal-scroll-bar-mode): New option.
1501 (toggle-horizontal-scroll-bar): Do something.
1502 (top-level): Bind horizontal-scroll-bar mouse-1.
1503 * startup.el (tool-bar-originally-present): Remove variable.
1504 (command-line): Don't set tool-bar-originally-present.
1505 * window.el (window-min-height): Update doc-string.
1506 (window--dump-frame): Dump horizontal scroll bar values.
1507 (window--min-size-1): Handle minibuffer window separately.
1508 Count in margins and horizontal scroll bar. Return safe value
1509 iff IGNORE equals 'safe.
1510 (frame-windows-min-size): New function (used by frame resizing
1512 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1514 (window--sanitize-window-sizes): New function.
1515 (window-split-min-size): Remove.
1516 (split-window): Count divider-width. Don't use
1517 `window-split-min-size' any more. Reword error messages.
1518 Sanitize windows sizes after splitting.
1520 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
1522 Use `defvar-local' more.
1523 * progmodes/hideshow.el
1524 (hs-c-start-regexp, hs-block-start-regexp)
1525 (hs-block-start-mdata-select, hs-block-end-regexp)
1526 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1527 remove corresponding `make-variable-buffer-local' top-level calls.
1529 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1531 Cleanup error signals. (Bug#18067)
1532 * progmodes/python.el
1533 (python-indent-shift-left): Use user-error instead.
1534 (python-shell-prompt-detect): Use lwarn with python group.
1535 (python-completion-complete-at-point)
1536 (python-eldoc--get-doc-at-point): Don't signal error.
1538 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1540 Support for packages in Python shell. (Bug#13570)
1541 * progmodes/python.el (python-shell--package-depth): New var.
1542 (python-shell-package-enable): New command.
1543 (python-util-list-directories, python-util-list-files)
1544 (python-util-list-packages): New functions.
1546 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1548 Faster comint output. (Bug#16875)
1549 * progmodes/python.el:
1550 (python-comint-output-filter-function): Make obsolete.
1551 (python-comint-postoutput-scroll-to-bottom): New function.
1552 (inferior-python-mode): Set comint-output-filter-functions to a
1555 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1557 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1558 Safeguard current point and undo history.
1560 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1562 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
1563 * progmodes/python.el:
1564 (python-shell-prompt-input-regexps): Add iPython block prompt.
1565 (python-shell-output-syntax-table): Delete var.
1566 (python-shell-font-lock-with-font-lock-buffer): New macro.
1567 (python-shell-font-lock-get-or-create-buffer)
1568 (python-shell-font-lock-kill-buffer)
1569 (python-shell-font-lock-cleanup-buffer)
1570 (python-shell-font-lock-post-command-hook)
1571 (python-shell-font-lock-turn-off): New functions.
1572 (python-shell-font-lock-turn-on): New function.
1573 (inferior-python-mode): Use it.
1574 (python-shell-font-lock-toggle): New command.
1575 (python-shell-font-lock-enable): Rename from
1576 python-shell-enable-font-lock.
1577 (run-python-internal): Use it.
1578 (python-shell-font-lock-comint-output-filter-function): New function.
1579 (python-shell-comint-end-of-output-p): New function.
1580 (python-shell-output-filter): Use it.
1581 (python-util-comint-last-prompt): New function.
1582 (python-util-text-properties-replace-name): New function.
1584 2014-07-25 Glenn Morris <rgm@gnu.org>
1586 * vc/ediff-init.el (ediff-toggle-read-only-function):
1587 * vc/ediff-util.el (ediff-toggle-read-only):
1588 Replace obsolete toggle-read-only with read-only-mode.
1590 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
1592 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1593 with `save-match-data'. (Bug#18095)
1595 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
1597 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1598 order to ensure that row and col are lexically bound inside the
1601 2014-07-21 Glenn Morris <rgm@gnu.org>
1603 * progmodes/hideif.el (hide-ifdef-mode-submap):
1604 Also substitute read-only-mode.
1605 * bindings.el (mode-line-toggle-read-only):
1606 * bs.el (bs-toggle-readonly):
1607 * buff-menu.el (Buffer-menu-toggle-read-only):
1608 * dired.el (dired-toggle-read-only):
1609 * files.el (view-read-only, find-file-read-only)
1610 (find-file-read-only-other-window)
1611 (find-file-read-only-other-frame):
1612 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1613 Doc fixes re toggle-read-only.
1615 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1617 * progmodes/python.el: Add comment about pipe buffering and
1618 solutions for missing/delayed output in inferior Python shells.
1621 * progmodes/python.el (python-mode): Don't set
1622 mode-require-final-newline. (Bug#17990)
1624 Make python.el work with IPython automatically. (Bug#15510)
1625 * progmodes/python.el:
1626 (python-shell-completion-setup-code): New value supporting iPython.
1627 (python-shell-completion-string-code): New value supporting iPython.
1628 (python-shell-completion-get-completions): Use them.
1629 (python-shell-completion-module-string-code): Make obsolete.
1630 (python-shell-prompt-input-regexps)
1631 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1632 (python-shell-output-filter): Fix comment typo.
1634 Fix Python shell prompts detection for remote hosts.
1635 * progmodes/python.el (python-shell-prompt-detect):
1636 Replace call-process with process-file and make it more robust.
1638 Autodetect Python shell prompts. (Bug#17370)
1639 * progmodes/python.el:
1640 (python-shell-interpreter-interactive-arg)
1641 (python-shell-prompt-detect-enabled)
1642 (python-shell-prompt-detect-failure-warning)
1643 (python-shell-prompt-input-regexps)
1644 (python-shell-prompt-output-regexps): New vars.
1645 (python-shell-prompt-calculated-input-regexp)
1646 (python-shell-prompt-calculated-output-regexp): New vars.
1647 (python-shell-get-process-name)
1648 (python-shell-internal-get-process-name)
1649 (python-shell-output-filter)
1650 (python-shell-completion-get-completions): Use them.
1651 (python-shell-prompt-detect)
1652 (python-shell-prompt-validate-regexps): New functions.
1653 (python-shell-prompt-set-calculated-regexps): New function.
1654 (inferior-python-mode): Use it. Also honor overriden
1655 python-shell-interpreter and python-shell-interpreter-args.
1656 (python-shell-make-comint): Honor overriden
1657 python-shell-interpreter and python-shell-interpreter-args.
1658 (python-shell-get-or-create-process): Make it testable by allowing
1659 to call run-python non-interactively.
1660 (python-util-valid-regexp-p): New function.
1661 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1662 (python-shell-prompt-output-regexp)
1663 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1665 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1667 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1669 (smie-config--guess): Use it.
1671 * emacs-lisp/edebug.el: Use nadvice.
1672 (edebug-original-read): Remove.
1673 (edebug--read): Rename from edebug-read and add `orig' arg.
1674 (edebug-uninstall-read-eval-functions)
1675 (edebug-install-read-eval-functions): Use nadvice.
1676 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1677 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1678 (edebug-read-string, edebug-read-function): Use just `read'.
1679 (edebug-original-debug-on-entry): Remove.
1680 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1682 (debug-on-entry): Override with nadvice.
1684 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1685 it also makes sense to bind it to a non-mouse event.
1687 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1689 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1694 * rect.el (rectangle--string-preview): Don't assume there
1695 a non-nil default (bug#17984).
1697 2014-07-16 Glenn Morris <rgm@gnu.org>
1699 * desktop.el (after-init-hook): Disable startup frame restoration
1700 in non-graphical situations. (Bug#17693)
1702 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1703 if it was "empty", or used for a different set of files. (Bug#17884)
1705 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1707 * bindings.el (mode-line-remote): If default-directory is not a
1708 string, don't call file-remote-p on it; instead state in the
1709 help-echo that it is nil. (Bug#17986)
1711 2014-07-14 Daniel Colascione <dancol@dancol.org>
1713 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1714 to `macroexpand-all'
1716 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1717 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1719 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1721 Fix bug: C-x v v discarded existing log message (Bug#17884).
1722 * vc/vc-dispatcher.el (vc-log-edit):
1723 Don't clobber an already-existing log message.
1725 2014-07-12 Glenn Morris <rgm@gnu.org>
1727 * vc/log-edit.el (log-edit-changelog-entries):
1728 Check for a visited-but-never-saved ChangeLog.
1730 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1733 a non-existing file (bug#17970).
1735 * faces.el (face-name): Undo last change.
1736 (x-resolve-font-name): Don't call face-name (bug#17956).
1738 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1740 Fix dedenters and electric colon handling. (Bug#15163)
1741 * progmodes/python.el
1742 (python-rx-constituents): Add dedenter and block-ender.
1743 (python-indent-dedenters, python-indent-block-enders): Delete.
1744 (python-indent-context): Return new case for dedenter-statement.
1745 (python-indent-calculate-indentation): Handle new case.
1746 (python-indent-calculate-levels): Fix levels calculation for
1747 dedenter statements.
1748 (python-indent-post-self-insert-function): Fix colon handling.
1749 (python-info-dedenter-opening-block-message): New function.
1750 (python-indent-line): Use it.
1751 (python-info-closing-block)
1752 (python-info-closing-block-message): Remove.
1753 (python-info-dedenter-opening-block-position)
1754 (python-info-dedenter-opening-block-positions)
1755 (python-info-dedenter-statement-p): New functions.
1757 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1759 * files.el (out-of-memory-warning-percentage): New defcustom.
1760 (warn-maybe-out-of-memory): Use it.
1762 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1764 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1765 when calling `read-string'. (Bug#17839)
1767 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1769 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1772 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1774 * files.el (warn-maybe-out-of-memory): New function.
1775 (find-file-noselect): Use it.
1777 2014-07-09 Sam Steingold <sds@gnu.org>
1779 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1780 `constant' like `bless', `return' &c
1782 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1787 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1789 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1790 the middle of a line (bug#17896).
1792 2014-07-09 Juri Linkov <juri@jurta.org>
1794 * startup.el (command-line): Append displaying the warning about
1795 the errors in the init file to the end of `after-init-hook'.
1798 * faces.el (face-name): Return input arg `face' as-is
1799 when it's not a symbol.
1800 (x-resolve-font-name): Don't check if the face is a symbol.
1803 * facemenu.el (list-colors-print): In help-echo format use %.2f
1804 instead of %d because now HSV values are floating-point components
1805 between 0.0 and 1.0.
1807 2014-07-09 Glenn Morris <rgm@gnu.org>
1809 * emulation/cua-rect.el (cua--activate-rectangle):
1810 Avoid setting cua--rectangle to nil. (Bug#17877)
1812 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1814 * calendar/todo-mode.el: Fix wrong-type-argument error when
1815 marking multiple consecutive items.
1816 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1817 end of the todo and done items sections. Note in doc string that
1818 items marked by passing a numeric prefix argument can include the
1819 last todo and first done items.
1820 (todo-mark-category): Don't try to mark the empty line between the
1821 todo and done items sections.
1823 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1826 proper Lisp quoting (bug#17934).
1828 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1829 require-final-newline since prog-mode already took care of it (bug#17947).
1831 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1833 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1834 refer to the Todo mode Info manual. Update the comment on
1836 (todo-find-filtered-items-file): Add todo-prefix overlays.
1837 (todo-filter-items): Reorder a let-bound variable to avoid a
1838 wrong-type-argument error on canceling the file choice dialog.
1840 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1842 * progmodes/octave.el (inferior-octave-mode):
1843 Set comint-input-ring-size to a number (bug#17912).
1845 2014-07-09 Juri Linkov <juri@jurta.org>
1847 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1848 and `isearch-mode' associated with nil. (Bug#17849)
1850 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * linum.el (linum--face-height): New function (bug#17813).
1853 (linum-update-window): Use it to adjust margin to linum's width.
1855 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1856 * eshell/em-smart.el (eshell-smart-scroll-window):
1857 Use with-selected-window.
1859 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1860 Remove also pointless window&mark manipulation.
1862 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1863 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1864 (perl-continuation-line-p): Don't skip over anything else than labels.
1865 Return the previous char.
1866 (perl-calculate-indent): Use syntax-ppss instead of parse-start
1867 and update callers accordingly. For continuation lines, check the
1868 the case of array hashes.
1869 (perl-backward-to-noncomment): Make it non-interactive.
1870 (perl-backward-to-start-of-continued-exp): Rewrite.
1872 2014-07-08 Sam Steingold <sds@gnu.org>
1874 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1877 2014-07-08 Juri Linkov <juri@jurta.org>
1879 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1880 (vc-annotate-color-map): Use less saturated colors (20%) for
1882 (vc-annotate-very-old-color): Add default value for background-mode.
1883 (vc-annotate-background): Set default value to nil since now text on
1884 the default backgrounds should be legible in light and dark modes.
1885 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
1888 2014-07-08 Juri Linkov <juri@jurta.org>
1890 * simple.el (transpose-chars): Don't move point into read-only area.
1893 2014-07-08 Juri Linkov <juri@jurta.org>
1895 * window.el (with-displayed-buffer-window): New macro.
1896 (with-temp-buffer-window, with-current-buffer-window):
1897 Use `macroexp-let2' to evaluate and bind variables
1898 in the same order as macro arguments.
1899 (display-buffer--action-function-custom-type):
1900 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1902 * minibuffer.el (minibuffer-completion-help): Replace
1903 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1904 with actions that display *Completions* at-bottom when called
1905 from the minibuffer, or below-selected in a normal buffer.
1906 Associate `window-height' with `fit-window-to-buffer'.
1907 Let-bind `pop-up-windows' to nil.
1909 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1910 instead of `with-current-buffer-window'. (Bug#17809)
1912 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1914 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1915 (hide-ifdef-env-backup): New variable.
1916 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1917 New customizable variables.
1918 (hif-clear-all-ifdef-defined): New defun.
1919 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1920 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1921 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1922 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1923 Fix bug to hide the correct #elif region(s).
1924 (hif-range-elif): New defun.
1925 (hif-recurse-level): New var.
1926 (hif-evaluate-region, hif-evaluate-macro): New defun.
1927 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1929 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1932 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1934 * net/dbus.el (dbus-peer-handler): New defun.
1935 (dbus-register-service): Register it. (Bug#17858)
1936 (dbus-managed-objects-handler): Fix docstring.
1938 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
1940 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1941 (narrow-to-defun): New arg include-comments, defaulting to it
1944 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1947 different calling convention to rectangle--unhighlight-for-redisplay.
1949 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1951 * net/tramp.el (tramp-call-process): Handle error strings.
1953 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1955 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1956 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1958 * net/trampver.el: Update release number.
1960 2014-07-03 Juri Linkov <juri@jurta.org>
1962 * desktop.el (desktop-save): Rename arg `auto-save' to
1963 `only-if-changed'. Doc fix. (Bug#17873)
1965 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1967 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1968 Use insert-for-yank (bug#17271).
1970 2014-07-03 Leo Liu <sdl.web@gmail.com>
1972 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1973 Support lexical-binding.
1975 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * vc/log-edit.el (log-edit-goto-eoh): New function.
1978 (log-edit--match-first-line): Use it (bug#17861).
1980 2014-07-03 Glenn Morris <rgm@gnu.org>
1982 * vc/log-edit.el (log-edit-hook): Add missing :version.
1984 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1986 * progmodes/python.el (python-indent-post-self-insert-function):
1987 Enhancements to electric indentation behavior inside
1990 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1992 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1993 buffer-invisibility-spec (bug#17867).
1995 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1997 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
2000 2014-07-03 Glenn Morris <rgm@gnu.org>
2002 * cus-edit.el (help):
2003 * finder.el (finder-known-keywords):
2004 * help.el (help-for-help-internal):
2005 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
2006 (ediff-redraw-registry-buffer):
2007 * vc/ediff-ptch.el (ediff-patch-file-internal):
2008 Doc fixes re "online" help. (Bug#17803)
2010 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
2011 (idlwave-mode): Doc URL update.
2013 2014-07-01 Juri Linkov <juri@jurta.org>
2015 * man.el: Display man pages immediately and use process-filter
2016 to format them asynchronously.
2017 (Man-width): Doc fix.
2019 (Man-start-calling): Use `with-selected-window' to get
2020 `frame-width' and `window-width'.
2021 (Man-getpage-in-background): Call `Man-notify-when-ready'
2022 immediately after creating a new buffer. Call `Man-mode' and set
2023 `mode-line-process' in the created buffer. Set process-filter to
2024 `Man-bgproc-filter' in start-process branch. In call-process branch
2025 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
2026 Use `Man-start-calling' inside `with-current-buffer'.
2027 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
2028 (Man-cleanup-manpage): Don't print messages.
2029 (Man-bgproc-filter): New function.
2030 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
2031 user moved it during asynchronous formatting. Move calls of
2032 `Man-fontify-manpage' and `Man-cleanup-manpage' to
2033 `Man-bgproc-filter'. Move the call of `Man-mode' to
2034 `Man-getpage-in-background'. Use `quit-restore-window'
2035 instead of `kill-buffer'. Use `message' instead of `error'
2036 because errors are caught by process sentinel.
2037 (Man-mode): Move calls of `Man-build-page-list',
2038 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
2039 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
2041 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
2042 for the message about the man page cleaned up.
2044 2014-07-01 Mario Lang <mlang@delysid.org>
2046 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
2047 cosutomization option `gnutls-verify-error'.
2049 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
2052 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
2054 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
2055 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
2056 is suspended (bug#17857).
2058 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
2060 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2061 Prefer utf-8 coding. (Bug#17859)
2063 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2065 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
2068 2014-06-30 Glenn Morris <rgm@gnu.org>
2070 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
2071 (autoload-ensure-default-file): Maybe make existing output writable.
2072 * Makefile.in (AUTOGEN_VCS): Remove.
2073 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
2075 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2077 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
2079 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2081 New if-let, when-let, thread-first and thread-last macros.
2083 * emacs-lisp/subr-x.el
2084 (internal--listify, internal--check-binding)
2085 (internal--build-binding-value-form, internal--build-binding)
2086 (internal--build-bindings): New functions.
2087 (internal--thread-argument, thread-first, thread-last)
2088 (if-let, when-let): New macros.
2090 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
2092 * net/rcirc.el (rcirc-buffer-process): Restore previous
2093 behaviour. (Bug#17772)
2095 2014-06-29 Alan Mackenzie <acm@muc.de>
2097 Don't call c-parse-state when c++-template-syntax-table is active.
2098 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
2099 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
2100 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
2102 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2104 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
2105 account for file-wide setting of todo-top-priorities-overrides.
2106 Make code a bit cleaner.
2108 2014-06-28 Glenn Morris <rgm@gnu.org>
2110 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
2112 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2114 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
2115 category-wide setting of todo-top-priorities-overrides, check for
2116 a file-wide setting and fontify accordingly.
2118 2014-06-28 Glenn Morris <rgm@gnu.org>
2120 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
2122 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
2126 2014-06-28 K. Handa <handa@gnu.org>
2130 * composite.el: Setup composition-function-table for dotted circle.
2131 (compose-gstring-for-dotted-circle): New function.
2133 * international/characters.el: Add category "^" to all
2134 non-spacing characters.
2136 2014-06-28 Glenn Morris <rgm@gnu.org>
2138 * Makefile.in (doit): Remove force rule.
2139 (custom-deps, finder-data, autoloads, update-subdirs)
2140 (compile-one-process): PHONY targets do not need force rules.
2142 * Makefile.in (compile-main, compile, compile-always):
2143 No need to explicitly pass variables to ourself in recursive calls.
2145 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
2149 2014-06-26 Glenn Morris <rgm@gnu.org>
2151 * Makefile.in (update-authors): Update for moved authors.el.
2153 2014-06-26 Leo Liu <sdl.web@gmail.com>
2155 * skeleton.el (skeleton-end-hook): Default to nil and move the
2156 work to skeleton-insert. (Bug#17850)
2158 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
2160 * calc/calc-alg.el (math-beforep):
2161 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
2162 Simplify because string-lessp can accept symbols as args.
2164 2014-06-26 Daiki Ueno <ueno@gnu.org>
2166 * emacs-lisp/package.el (package--check-signature):
2167 If package-check-signature is allow-unsigned, don't signal error when
2168 we can't verify signature because of missing public key
2171 2014-06-26 Glenn Morris <rgm@gnu.org>
2173 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
2174 Remove outdated declaration.
2176 * emacs-lisp/authors.el (authors-valid-file-names)
2177 (authors-renamed-files-alist): Additions.
2179 2014-06-26 Leo Liu <sdl.web@gmail.com>
2181 * textmodes/picture.el (picture-set-tab-stops):
2182 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
2183 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
2185 * progmodes/asm-mode.el (asm-calculate-indentation):
2186 Use indent-next-tab-stop.
2188 * indent.el (indent-accumulate-tab-stops): New function.
2190 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
2193 (package-desc-status): Obey it.
2195 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
2197 * calendar/todo-mode.el: Fix two bugs.
2198 (todo-insert-item--basic): If user cancels item insertion to
2199 another category before setting priority, show original category
2200 whether it is in the same or a different file.
2201 (todo-set-item-priority): After selecting category, instead of
2202 moving point to top, which extends an active region, restore it.
2204 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2206 * help-fns.el (describe-function-1): Check file-name is a string before
2207 calling help-fns--autoloaded-p (bug#17564).
2209 2014-06-26 Juri Linkov <juri@jurta.org>
2211 * desktop.el (desktop-auto-save-enable)
2212 (desktop-auto-save-disable): New functions.
2213 (desktop-save-mode, desktop-auto-save-timeout): Use them.
2214 (desktop-read): Disable the autosave before loading the desktop,
2215 and enable afterwards. (Bug#17351)
2217 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2219 Fix some indentation problem with \; and pipes (bug#17842).
2220 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
2221 (sh-smie--default-forward-token, sh-smie--default-backward-token):
2223 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
2224 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
2225 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
2227 2014-06-26 Glenn Morris <rgm@gnu.org>
2229 * emacs-lisp/find-func.el (find-function-C-source-directory):
2230 Use file-accessible-directory-p.
2232 * ps-samp.el: Make it slightly less awful.
2233 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
2234 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
2235 Only set local values.
2236 (ps-article-subject, ps-article-author): Use standard functions
2237 like mail-fetch-field.
2238 (ps-info-file, ps-info-node): Use match-string.
2239 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
2240 (ps-samp-ps-setup): ... new function.
2242 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
2243 Optimize away code unneeded on any modern Emacs.
2245 * emacs-lisp/authors.el: Move to ../admin.
2247 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
2249 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
2251 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
2252 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
2253 performance enhancements.
2254 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
2256 (hif-factor, hif-string-concatenation, intern-safe): Support string
2257 concatenation and argumented macro expansion.
2258 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
2259 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
2260 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
2261 (hif-canonicalize-tokens, hif-place-macro-invocation)
2262 (hif-parse-macro-arglist): Mostly new functions for supporting
2263 argumented macro expansion.
2264 (hif-string-concatenation, hif-stringify, hif-token-concat)
2265 (hif-token-stringification, hif-token-concatenation):
2266 Stringification and concatenation.
2267 (hif-find-next-relevant): Fix comments.
2268 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
2269 some cases involving #elif.
2270 (hif-find-define, hif-add-new-defines): New functions for automatically
2271 scanning of defined symbols.
2272 (hide-ifdef-guts): Fix for defined symbol auto scanning.
2273 (hide-ifdef-undef): Fix behavior to match CPP.
2275 2014-06-25 Glenn Morris <rgm@gnu.org>
2277 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
2278 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
2279 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
2280 files. They are not relevant to the original issue (bug#1004),
2281 and cause unnecessary recompilation (bug#2151).
2283 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * play/landmark.el: Use lexical-binding and avoid `intangible'.
2286 (landmark--last-pos): New var.
2287 (landmark--intangible-chars): New const.
2288 (landmark--intangible): New function.
2289 (landmark-mode, landmark-move): Use it.
2290 (landmark-mode): Remove properties.
2291 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
2292 (landmark-cross-qtuple):
2293 Don't worry about `intangible' any more.
2294 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
2295 (landmark-init-display): Don't set `intangible' and `point-entered'.
2296 (square): Remove. Inline it instead.
2297 (landmark--distance): Rename from `distance'.
2298 (landmark-calc-distance-of-robot-from): Rename from
2299 calc-distance-of-robot-from.
2300 (landmark-calc-smell-internal): Rename from calc-smell-internal.
2302 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
2304 * files.el (dir-locals-find-file, file-relative-name):
2305 * info.el (Info-complete-menu-item):
2306 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
2307 to compare-strings to avoid out-of-range errors.
2308 * subr.el (string-prefix-p): Adjust to match strict range
2309 checking in compare-strings.
2311 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
2313 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
2314 for comment lines non-greedy and stopping at newlines to fix stack
2315 overflows with large files.
2317 2014-06-24 Eli Barzilay <eli@barzilay.org>
2319 * calculator.el (calculator-last-input): Drop 'ascii-character property
2322 2014-06-24 Leo Liu <sdl.web@gmail.com>
2324 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
2325 tab-stop-list to nil. (Bug#16381)
2327 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
2328 (indent-rigidly-left-to-tab-stop)
2329 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
2330 (move-to-tab-stop): Change callers.
2332 2014-06-24 Eli Zaretskii <eliz@gnu.org>
2334 * skeleton.el (skeleton-insert): Yet another fix of the doc string
2335 wrt behavior of \n as the first/last element of a skeleton.
2337 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
2339 * net/tramp-adb.el (tramp-adb-handle-process-file):
2340 * net/tramp-sh.el (tramp-sh-handle-process-file):
2341 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
2342 the output buffer when DISPLAY is non-nil. (Bug#17815)
2344 2014-06-24 Glenn Morris <rgm@gnu.org>
2346 * play/landmark.el (landmark-move-down, landmark-move-up):
2347 Fix 2007-10-20 change - preserve horizontal position.
2349 2014-06-23 Sam Steingold <sds@gnu.org>
2351 * simple.el (kill-append): Remove undo boundary depending on ...
2352 (kill-append-merge-undo): New user option.
2354 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * simple.el (handle-shift-selection, exchange-point-and-mark)
2357 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
2358 (transient-mark-mode): Use&set the global value.
2359 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
2360 * emulation/edt.el (edt-emulation-off): Save&restore the global
2361 transient-mark-mode setting.
2362 * obsolete/pc-select.el (pc-selection-mode): Use the
2363 transient-mark-mode function.
2365 2014-06-23 Eli Zaretskii <eliz@gnu.org>
2367 * international/fontset.el (script-representative-chars):
2368 Add representative characters for scripts added in Unicode 7.0.
2369 (otf-script-alist): Synchronize with the latest registry of OTF
2372 * international/characters.el (char-script-table): Update for
2373 scripts added and codepoint ranges changed in Unicode 7.0.
2375 2014-06-23 Eli Barzilay <eli@barzilay.org>
2377 * calculator.el (calculator-standard-displayer): Fix bug in use of
2378 `calculator-groupize-number'.
2379 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
2380 `eval' code, so it works in v24.3.1 too.
2381 (calculator-last-input): Comment to clarify purpose.
2383 2014-06-22 Mario Lang <mlang@delysid.org>
2385 * textmodes/rst.el (rst-comment-region): From from -> from.
2387 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
2389 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2391 * electric.el (electric-layout-post-self-insert-function):
2392 * emacs-lisp/ert.el (ert--insert-infos):
2393 * obsolete/vi.el (vi-set-mark):
2394 * term.el (term-handle-scroll):
2395 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
2396 * wid-edit.el (widget-editable-list-value-create):
2397 Prefer point-marker to copy-marker of point.
2399 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2401 Fix completion retrieval parsing (bug#17209).
2402 * progmodes/python.el (python-mode):
2403 (python-util-strip-string): New function.
2404 (python-shell-completion-get-completions): Use it.
2406 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2408 * skeleton.el (skeleton-insert): Fix last change.
2410 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2412 Enhancements for outline integration (bug#17796).
2413 * progmodes/python.el (python-mode): Properly set
2414 outline-heading-end-regexp so that comments after colons for
2415 defuns are supported.
2417 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2419 * skeleton.el (skeleton-insert): Doc fix.
2421 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2423 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
2424 (smie-config-guess): Use smie-config-local so the rules are obeyed
2427 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
2428 since it's already done inside the loop (bug#17819).
2430 2014-06-21 Martin Rudalics <rudalics@gmx.at>
2432 * mouse.el (mouse-drag-line): Re-remove code initially removed
2433 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
2436 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
2439 align with the surrounding parent (bug#17721).
2441 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2443 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
2445 (texinfo-insert-block, texinfo-insert-@end)
2446 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
2447 local setting of skeleton-end-newline by adding an explicit \n to
2448 the skeletons where appropriate. (Bug#17801)
2450 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2452 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
2453 (smie-indent--hanging-p): Use it.
2454 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
2456 2014-06-21 Leo Liu <sdl.web@gmail.com>
2458 * simple.el (read-quoted-char): Don't let help chars pop up help
2461 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2463 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2466 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2467 Drop unknown events instead of burping.
2469 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2471 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2472 and later. (Bug#17790)
2474 2014-06-21 Juri Linkov <juri@jurta.org>
2476 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2477 to `soft'. (Bug#17554)
2479 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2484 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
2486 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2487 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
2489 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
2491 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2492 `unread-command-events'.
2494 2014-06-19 William Xu <william.xwl@gmail.com>
2496 * progmodes/hideif.el (hif-string-to-number): Don't return float for
2497 hex integer constants (bug#17807).
2499 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2501 * international/mule-util.el (truncate-string-ellipsis): New var.
2502 (truncate-string-to-width): Use it.
2504 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
2506 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2507 (lisp-string-in-doc-position-p): New function, extracted from
2508 lisp-font-lock-syntactic-face-function.
2509 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2511 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
2513 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2515 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2517 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2518 (bubbles--game-over): Don't add `intangible' properties since they
2521 2014-06-18 Juri Linkov <juri@jurta.org>
2523 * vc/ediff-init.el (ediff-current-diff-Ancestor)
2524 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2525 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2526 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2527 Add `min-colors 88' version with removed black/white foregrounds.
2530 2014-06-18 Juri Linkov <juri@jurta.org>
2532 * vc/diff-mode.el (diff-changed): Empty face definition to use
2533 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
2534 (diff-context): Use darker color on light background and
2535 lighter color on dark background.
2537 2014-06-18 Juri Linkov <juri@jurta.org>
2539 * vc/diff-mode.el (diff-refine-changed): Rename from
2540 `diff-refine-change' for consistency with `diff-changed'.
2541 (diff-refine-change): Add obsolete face alias. (Bug#10181)
2543 * vc/smerge-mode.el (smerge-refined-changed): Rename from
2544 `smerge-refined-change'.
2545 (smerge-refined-change): Add obsolete face alias.
2547 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2549 * rect.el (rectangle-preview): New custom.
2550 (rectangle): New group.
2551 (rectangle--pos-cols): Add `window' argument.
2552 (rectangle--string-preview-state, rectangle--string-preview-window):
2554 (rectangle--string-flush-preview, rectangle--string-erase-preview)
2555 (rectangle--space-to, rectangle--string-preview): New functions.
2556 (string-rectangle): Use them.
2557 (rectangle--inhibit-region-highlight): New var.
2558 (rectangle--highlight-for-redisplay): Obey it. Make sure
2559 `apply-on-region' uses the point-crutches of the right window.
2560 Use :align-to rather than multiple spaces.
2562 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
2564 * ruler-mode.el (ruler-mode-window-col)
2565 (ruler-mode-mouse-set-left-margin)
2566 (ruler-mode-mouse-set-right-margin): Fix calculation of column
2567 from mouse position (Bug#17768).
2569 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
2571 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2572 without varname or rhs causes crash.
2573 (dun-ftp): Fix bug where blank ftp password is allowed, making it
2574 impossible to win endgame.
2575 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2577 (dun-help): Bump version number; update contact info.
2579 2014-06-15 Eli Barzilay <eli@barzilay.org>
2581 * calculator.el (calculator-prompt, calculator-remove-zeros)
2582 (calculator-mode-hook, calculator-operators, calculator-stack)
2583 (calculator-mode): Tweak docstring.
2584 (calculator-user-operators): Tweak docstring, fix a bug in the last
2586 (calculator-displayer): `std' case has an optional boolean.
2587 (calculator-displayers): Use the new boolean to group in decimal mode.
2588 (calculator-mode-map, calculator, calculator-message)
2589 (calculator-op-arity, calculator-add-operators)
2590 (calculator-string-to-number, calculator-displayer-prev)
2591 (calculator-displayer-next, calculator-remove-zeros)
2592 (calculator-eng-display, calculator-number-to-string)
2593 (calculator-update-display, calculator-last-input)
2594 (calculator-clear-fragile, calculator-digit, calculator-decimal)
2595 (calculator-exp, calculator-saved-move, calculator-clear)
2596 (calculator-copy, calculator-put-value, calculator-help)
2597 (calculator-expt, calculator-truncate): Minor code improvements.
2598 (calculator-need-3-lines): New function pulling out code from
2600 (calculator-get-display): Rename from `calculator-get-prompt', and
2602 (calculator-push-curnum): Rename from `calculator-curnum-value', and
2603 extended for all uses of it. All callers changed.
2604 (calculator-groupize-number): New utility for splitting a number into
2606 (calculator-standard-displayer): Improve code, new optional argument to
2607 use comma-split groups, make second argument optional too to use with
2608 'left/'right inputs. All callers changed.
2609 (calculator-reduce-stack-once): New utility, doing the meat of what
2610 `calculator-reduce-stack' used to do, much improved (mostly using
2611 `pcase' for conciseness and clarity).
2612 (calculator-reduce-stack): Now doing just the reduction loop using
2613 `calculator-reduce-stack-once'.
2614 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2615 (calculator-last-input): Improve code, remove some old cruft.
2616 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2617 (calculator-integer-p): Remove.
2618 (calculator-fact): Improve code, make it work on non-integer values
2619 too (using truncated numbers).
2621 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2623 Sync with Tramp 2.2.10.
2625 * net/tramp.el (tramp-methods): Tweak docstring.
2626 (tramp-handle-file-accessible-directory-p): Check for
2627 `file-readable-p' instead of `file-executable-p'.
2628 (tramp-check-cached-permissions):
2629 Use `tramp-compat-file-attributes'.
2630 (tramp-call-process): Add new argument VEC. Adapt callees in all
2633 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2634 (tramp-adb-maybe-open-connection): Don't set
2635 `tramp-current-*' variables.
2637 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2638 file properties of temporary buffers.
2640 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2642 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2643 (tramp-gvfs-handle-delete-file): Flush file
2644 properties, not directory properties.
2645 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2646 reading "unix::mode".
2647 (tramp-gvfs-handle-file-name-all-completions):
2648 Use "-h" option for "gvfs-ls".
2649 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2650 (tramp-gvfs-send-command): Simplify traces.
2652 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2653 (vc-git-program, vc-hg-program): Declare.
2654 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2655 (tramp-methods) <nc>: Add new method.
2656 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2657 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2659 (tramp-default-user-alist): Add "nc".
2660 (top): Remove completion function for "sftp". Add completion
2661 functions for "nc" and "psftp".
2662 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2663 Implement support for "nc" method.
2664 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2665 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2667 (tramp-sh-handle-write-region): Tweak error message.
2668 (tramp-sh-handle-vc-registered): Remove backends when the remote
2669 binary does not exist.
2670 (tramp-find-inline-encoding): Do not raise an error.
2671 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2672 the "nc" case. Quote result also locally.
2674 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2675 (tramp-smb-handle-set-file-acl): Use `start-process'.
2676 (tramp-smb-handle-insert-directory): Use progress reporter.
2677 (tramp-smb-handle-rename-file): Flush also file properties of
2680 * net/trampver.el: Update release number.
2682 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2686 (ses-localvars): Remove ses--local-printer-list, unused.
2687 (ses--metaprogramming): New macro. Use it to defvar variables.
2688 (ses-set-localvars): Simplify.
2689 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2690 property-list into an alist.
2691 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2692 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2693 Remove; use defstruct accessors/setters instead.
2694 (ses-cell-formula-aset, ses-cell-printer-aset)
2695 (ses-cell-references-aset): Remove, use setf instead.
2696 (ses--alist-get): New function.
2697 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2698 Use an alist instead of a plist and don't do move-to-front since the
2699 list is always short.
2700 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2701 (ses-cell-property-set-fun, ses-cell-property-set)
2702 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2703 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2704 (ses--letref): New macro.
2705 (ses-cell-property-pop): Rewrite.
2706 (ses--cell): Rename from ses-cell and make it into a function.
2707 Make `formula' fallback on `value' if nil.
2708 (ses--local-printer): Rename from ses-local-printer and make it into
2710 (ses-set-cell): Turn it into a macro so finding the accessor from the
2711 field name is done at compile time.
2712 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2713 `ref' before adding `sym' to :ses-repair-reference.
2714 (ses-calculate-cell): Use ses--letref rather than
2715 ses-cell-property-get-handle.
2716 (ses-write-cells): Use a single prin1-to-string.
2717 (ses-setter-with-undo): New function.
2718 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2719 (ses-unset-with-undo): Remove.
2720 (ses-load): Prefer apply' over `eval'.
2721 (ses-read-printer, ses-set-column-width): Use standard "(default
2724 2014-06-15 Glenn Morris <rgm@gnu.org>
2726 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2728 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2729 Replace delete-duplicates and mapcan by cl- versions throughout.
2730 And cl-macroexpand-all by macroexpand-all.
2731 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2733 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2735 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2737 2014-06-15 Juri Linkov <juri@jurta.org>
2739 * bindings.el: Put `ascii-character' property on keypad keys
2740 mapped to characters. (Bug#17759)
2742 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2745 bumping forward into a closing paren (bug#17761).
2747 * term/xterm.el (xterm--version-handler): Work around for OSX
2748 Terminal.app (bug#17607).
2750 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2752 * play/dunnet.el (dun-describe-room, dun-mode):
2753 If a lamp is in the room, you won't be eaten by a grue.
2755 2014-06-13 Glenn Morris <rgm@gnu.org>
2757 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2758 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2759 (compile-always): GNU make automatically passes
2760 command-line arguments to sub-makes.
2762 * calendar/calendar.el (calendar-generate-window):
2763 Remove pointless call to font-lock-fontify-buffer.
2765 2014-06-13 Matthias Meulien <orontee@gmail.com>
2767 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2770 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * simple.el (set-mark-command): Simplify a bit.
2774 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2776 * help.el (help--key-binding-keymap): New function.
2777 (help--binding-locus): New function.
2778 (describe-key): Mention the keymap in which the binding was
2781 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * hippie-exp.el (he--all-buffers): New function.
2784 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2785 (try-expand-dabbrev-all-buffers): Use it.
2787 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2789 * hippie-exp.el (try-expand-line-all-buffers)
2790 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2791 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2792 original buffer, in case they're buffer-local.
2794 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2796 * ses.el (ses-initial-global-parameters-re): New defconst, a
2797 specific regexp is needed now that ses.el can handle both
2798 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2800 (ses-localvars): Add local variables needed for local printer handling.
2801 (ses-set-localvars): Handle hashmap initialisation.
2802 (ses-paramlines-plist): Add param-line for number of local printers.
2803 (ses-paramfmt-plist): New defconst, needed for code factorization
2804 between functions `ses-set-parameter' and
2805 `ses-file-format-extend-paramter-list'
2806 (ses-make-local-printer-info): New defsubst.
2807 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2808 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2809 (ses-cell-printer-aset): New defmacro.
2810 (ses-local-printer-compile): New defun.
2811 (ses-local-printer): New defmacro.
2812 (ses-printer-validate, ses-call-printer): Add support for local
2814 (ses-file-format-extend-paramter-list): New defun.
2815 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2817 (ses-load): Add support for local printer functions.
2818 (ses-read-printer): Update docstring and add support for local printer
2820 (ses-refresh-local-printer, ses-define-local-printer): New defun.
2821 (ses-safe-printer): Add support for local printer functions.
2823 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
2825 * ffap.el (ffap-lax-url): New var (bug#17723).
2826 (ffap-url-at-point): Use it.
2827 (ffap-file-at-point): Avoid returning just "/".
2829 2014-06-12 Matthias Meulien <orontee@gmail.com>
2831 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2832 (python-mode-map): Bind it.
2834 * progmodes/python.el (class skeleton): Don't erase last char of class
2837 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
2839 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2841 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
2843 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2846 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2848 * international/mule-cmds.el: Use lexical-binding.
2849 (ucs-names): Simplify.
2851 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
2853 * progmodes/python.el (run-python): Use read-shell-command.
2855 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2857 * rect.el: Make it possible to move bounds past EOL or into TABs.
2858 (operate-on-rectangle): Use apply-on-rectangle.
2859 (rectangle--mark-crutches): New var.
2860 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2861 (rectangle--crutches, rectangle--reset-crutches): New functions.
2862 (apply-on-rectangle): Obey crutches. Avoid setq.
2863 Fix missing final iteration if end is at EOB&BOL.
2864 (rectangle-mark-mode-map): Add remap bindings for
2865 exchange-point-and-mark and char/line movements.
2866 (rectangle--*-char): New function.
2867 (rectangle-exchange-point-and-mark, rectangle-right-char)
2868 (rectangle-left-char, rectangle-forward-char)
2869 (rectangle-backward-char, rectangle-next-line)
2870 (rectangle-previous-line): New commands.
2871 (rectangle--place-cursor): New function.
2872 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
2874 2014-06-08 Glenn Morris <rgm@gnu.org>
2876 * startup.el (initial-buffer-choice): Doc fix.
2877 Reset :version (adding an option does not merit a :version bump).
2879 * bookmark.el (bookmark-load):
2880 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2882 2014-06-08 Juri Linkov <juri@jurta.org>
2884 * desktop.el: Activate auto-saving on window configuration changes.
2885 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2886 `desktop-auto-save-set-timer' to/from
2887 `window-configuration-change-hook'.
2888 (desktop-auto-save-set-timer): Change REPEAT arg of
2889 `run-with-idle-timer' from t to nil.
2890 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2892 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
2894 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2895 vc-hg-command (bug#17570).
2897 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2902 2014-06-08 Glenn Morris <rgm@gnu.org>
2904 * startup.el (window-setup-hook): Doc fix.
2906 * emacs-lisp/package.el (package-check-signature)
2907 (package-unsigned-archives): Doc fixes.
2909 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2911 * window.el (display-buffer-use-some-window): Don't make window
2912 used smaller than it was before (Bug#17671).
2914 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2916 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2917 'redisplay' instead of '(sit-for 0)'.
2919 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2921 * net/tramp.el (tramp-ssh-controlmaster-options):
2922 Improve search regexp. (Bug#17653)
2924 2014-06-08 Glenn Morris <rgm@gnu.org>
2926 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2928 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2930 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2932 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2934 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2937 * vc/vc-hg.el (vc-hg-log-graph): New var.
2938 (vc-hg-print-log): Use it.
2939 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2940 graph output (bug#17515).
2942 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2945 even happened elsewhere.
2947 2014-06-06 Mario Lang <mlang@delysid.org>
2949 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2950 `recenter' if `current-buffer' is equal to `window-buffer'.
2952 2014-06-05 Leo Liu <sdl.web@gmail.com>
2954 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2956 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2958 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2959 New function which calls a callback on portions of the buffer that are
2960 outside of ignored environments.
2961 (tildify-build-regexp): Remove function since it is now
2962 incorporated in `tildify-foreach-region-outside-env' where it is
2963 optimised and simplified by the use of `mapconcat'.
2964 (tildify-tildify): Return number of substitutions made so that…
2965 (tildify-count): …can be removed.
2966 (tildify-find-env): Accept a new PAIRS argument which was
2967 previously looked up in `tildify-ignored-environments-alist' each
2968 time the function was called. With this change, the lookup is
2969 performed only once in `tildify-foreach-region-outside-env'.
2970 (tildify-region): Greatly simplify the function since now most of
2971 the work is done by `tildify-foreach-region-outside-env'.
2972 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2973 and instead using or.
2975 * textmodes/tildify.el (tildify-ignored-environments-alist):
2976 Optimise environments regexes
2978 Each time beginning of an environment to ignore is found,
2979 `tildify-find-env' needs to identify regexp for the ending
2980 of the environment. This is done by trying all the opening
2981 regexes on matched text in a loop, so to speed that up, this
2982 loop should have fewer things to match, which can be done by
2983 using alternatives in the opening regexes.
2985 Coincidentally, this should make matching of the opening
2986 regexp faster as well thanks to the use of `regexp-opt' and
2987 having common prefix pulled from many regexes.
2989 * textmodes/tildify.el (tildify-string-alist)
2990 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2991 of supported modes since `xml-mode' is no longer a thing but just
2992 an alias to the former. Also include comments and insides of tags
2993 in `tildify-ignored-environments-alist' for XML modes. Finally,
2994 since XML does not define “ ”[1], use a numeric reference for
2995 a no-break space (namely “ ”)
2997 [1] XML specification defines only a handful of predefined entities.
2998 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2999 and includes only <, >, &, ' and " (meaning <,
3000 >, &, ' and " respectively). This is in contrast to HTML and even
3001 XHTML which defined a whole bunch of entities including “ ”.
3003 * textmodes/tildify.el (tildify-pattern-alist)
3004 (tildify-string-alist, tildify-ignored-environments-alist):
3005 Improve defcustom's types by adding more tags explaining what each
3006 value means and replace “sexp” used in
3007 `tildify-ignored-environments-alist' with a full type declaration.
3009 * textmodes/tildify.el (tildify-find-env): Fix matched group
3010 indexes in end-regex building
3012 When looking for a start of an ignore-environment, the regex is built
3013 by concatenating regexes of all the environments configured in
3014 `tildify-ignored-environments-alist'. So for example, the following
3015 list could be used to match TeX's \verb and \verb* commands:
3017 (("\\\\verb\\(.\\)" . (1))
3018 ("\\\\verb\\*\\(.\\)" . (1)))
3020 This would result in the following regex being used to find the start
3021 of any of the variants of the \verb command:
3023 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
3025 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
3026 won't match anything, and thus (match-string 1) will be nil, which
3027 will cause building of the end-matching regex to fail.
3029 Fix this by using capture groups from the time when the opening
3030 regexes are matched individually.
3032 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
3033 in `tildify-find-env'
3035 The `tildify-ignored-environments-alist' allows the end-regex to
3036 be provided not as a static string but mix of strings and indexes
3037 of groups matched the begin-regex. For example, the “\verb!…!”
3038 TeX-command (where “!” is an arbitrary character) is handled
3041 ("\\\\verb\\*?\\(.\\)" . (1))
3043 In the same way, the following should be supported as well:
3045 ("open-\\(.\\)" . ("end-" 1))
3047 However the tildify-find-env function fails at
3050 (if (stringp (setq aux (car expression)))
3051 expression ; BUG: expression is a list
3052 (regexp-quote (match-string aux))))
3054 where the string part is handled incorrectly.
3056 The most trivial fix would be to replace `expression' in the
3057 true-part of the if-statement with `aux', but instead, this commit
3058 optimises `tildify-find-env' by changing it to use `mapconcat'
3059 rather than open-coded while-loop.
3061 2014-06-05 Mario Lang <mlang@delysid.org>
3063 * woman.el (woman-mapcan): Remove.
3064 (woman-parse-colon-path): Use cl-mapcan instead.
3066 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3068 * register.el: Add link to Emacs manual in Commentary.
3070 2014-06-02 Sam Steingold <sds@gnu.org>
3072 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
3073 (popup-menu): ...here.
3074 (menu-bar-open): Use it to avoid an error when `lookup-key'
3077 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
3079 * net/tramp.el (tramp-call-process): Add traces.
3080 (tramp-handle-unhandled-file-name-directory): Return "/".
3082 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
3084 Sync with upstream verilog-mode revision 3cd8144.
3085 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3086 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
3087 (verilog-type-font-keywords): Add nor.
3088 (verilog-batch-execute-func): Force reading of Local Variables.
3089 Fix printing "no changes to be saved" with verilog-batch.
3090 (verilog-auto-arg-ports): Doc fix.
3091 Add verilog-auto-arg-format to support newlines in AUTOARG.
3092 (verilog-auto-arg): Doc fix.
3094 2014-06-02 Glenn Morris <rgm@gnu.org>
3096 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
3097 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
3098 * emulation/ws-mode.el: Move to obsolete/.
3099 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
3101 2014-06-02 Eli Zaretskii <eliz@gnu.org>
3103 * simple.el (keyboard-quit): Force update of mode lines, to remove
3104 the "Def" indicator, if we were defining a macro. (Bug#17615)
3106 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * minibuffer.el (minibuffer-force-complete-and-exit):
3109 Obey minibuffer-default (bug#17545).
3111 * progmodes/js.el (js-indent-line): Don't mix columns and chars
3114 * subr.el (set-transient-map): Don't wait for some "nested"
3115 transient-map to finish if we're only supposed to be active for
3116 the next command (bug#17642).
3118 2014-06-02 Leo Liu <sdl.web@gmail.com>
3120 * emacs-lisp/gv.el (window-buffer, window-display-table)
3121 (window-dedicated-p, window-hscroll, window-point, window-start):
3122 Fix gv-expander. (Bug#17630)
3124 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
3129 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
3130 for the single comma, since ", " is *very* common in normal French text
3133 2014-06-02 Glenn Morris <rgm@gnu.org>
3135 * emacs-lisp/package.el (package-check-signature)
3136 (package-unsigned-archives): Fix :version.
3138 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3140 * subr.el (sit-for): Don't run input-methods (bug#15614).
3142 2014-06-02 Glenn Morris <rgm@gnu.org>
3144 * cus-start.el: Fix some :version numbers.
3146 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * simple.el (deactivate-mark): Set mark-active to nil even if
3149 deactivation is done via setting transient-mark-mode to nil,
3150 since one is buffer-local and the other is global.
3152 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
3153 there can't be more than 2 arguments (bug#17584).
3155 2014-06-02 Glenn Morris <rgm@gnu.org>
3157 * simple.el (filter-buffer-substring-functions)
3158 (filter-buffer-substring-function, buffer-substring-filters)
3159 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
3161 * minibuffer.el (completion-in-region-functions, completion-in-region)
3162 (completion--in-region): Doc fixes.
3164 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
3165 (expand-abbrev, abbrev--default-expand): Doc fixes.
3167 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
3169 Include sources used to create macuvs.h.
3170 * international/README: Refer to the Unicode Terms of Use rather
3171 than copying it bodily here, as that simplifies maintenance.
3173 2014-06-01 Glenn Morris <rgm@gnu.org>
3175 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
3177 2014-05-31 Glenn Morris <rgm@gnu.org>
3179 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
3181 2014-05-30 Glenn Morris <rgm@gnu.org>
3183 * loadup.el: Treat `command-line-args' more flexibly.
3185 2014-05-30 Alan Mackenzie <acm@muc.de>
3187 Guard (looking-at "\\s!") from XEmacs.
3188 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
3190 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
3192 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
3193 The argument COUNT is now optional, to be more backward-compatible.
3194 Doc fix. (Bug#17560)
3196 2014-05-29 Reuben Thomas <rrt@sc3d.org>
3198 * whitespace.el (whitespace-report-region):
3199 Simplify documentation.
3200 (whitespace-report-region): Allow report-if-bogus to take the
3201 value `never', for non-interactive use.
3202 (whitespace-report): Refer to whitespace-report-region's
3205 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3207 * whitespace.el: Use font-lock-flush. Minimize refontifications.
3208 Side benefit: it works without jit-lock.
3209 (whitespace-point--used): New buffer-local var.
3210 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
3211 (whitespace-color-off): Use font-lock-flush.
3212 (whitespace-point--used, whitespace-point--flush-used): New functions.
3213 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3214 (whitespace-empty-at-eob-regexp): Use them.
3215 (whitespace-post-command-hook): Rewrite.
3217 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
3218 (font-lock-fontify-buffer): Mark interactive-only.
3219 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
3221 (font-lock-specified-p): Remove redundant boundp check.
3222 (font-lock-flush-function, font-lock-ensure-function): New vars.
3223 (font-lock-turn-on-thing-lock): Set them.
3224 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
3225 (font-lock-after-change-function): Make `old-len' optional.
3226 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
3227 Call font-lock-flush, just in case.
3228 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
3230 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
3231 (vera-mode-map, vera-mode-menu): Remove bindings to it.
3232 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
3233 and with-syntax-table.
3234 * textmodes/conf-mode.el (conf-quote-normal):
3235 * progmodes/sh-script.el (sh-set-shell):
3236 * progmodes/prog-mode.el (prettify-symbols-mode):
3237 * progmodes/f90.el (f90-font-lock-n):
3238 * progmodes/cwarn.el (cwarn-mode):
3239 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
3240 * progmodes/compile.el (compilation-setup, compilation--unsetup):
3241 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
3242 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
3243 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
3244 font-lock-fontify-buffer-function and
3245 font-lock-unfontify-buffer-function.
3246 (rmail-unfontify-buffer-function, rmail-fontify-message):
3247 Use with-silent-modifications.
3248 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
3249 and font-lock-ensure.
3250 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
3252 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
3254 * emacs-lisp/package.el (package-generate-autoloads):
3255 Inhibit backup files.
3257 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3259 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
3262 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
3264 * textmodes/tildify.el (tildify-buffer, tildify-region):
3265 Add dont-ask option.
3267 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
3270 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
3272 * subr.el (internal--funcall-interactively): New.
3273 (internal--call-interactively): Remove.
3274 (called-interactively-p): Detect funcall-interactively instead of
3276 * simple.el (repeat-complex-command): Use funcall-interactively.
3277 (repeat-complex-command--called-interactively-skip): Remove.
3279 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * register.el (register-read-with-preview): Don't burp on
3282 frame switches (e.g. due to the frame we just popped).
3284 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
3285 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
3287 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
3289 * cus-face.el (custom-face-attributes): Add :distant-foreground.
3291 2014-05-26 Martin Rudalics <rudalics@gmx.at>
3293 * window.el (window--dump-frame): Remove interactive specification.
3295 2014-05-26 Glenn Morris <rgm@gnu.org>
3297 * hippie-exp.el (he-line-search-regexp):
3298 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
3300 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3302 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
3303 to avoid errors when trying to create or visit a file foo.todo
3304 located outside to todo-directory, and to allow having such files
3305 without them being tied to Todo mode (bug#17482).
3306 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
3307 (todo-archive-done-item, todo-find-filtered-items-file)
3308 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
3309 (todo-category-completions, todo-read-category): When visiting a
3310 Todo file, make sure we're in the right mode and the buffer local
3312 (todo-make-categories-list, todo-reset-nondiary-marker)
3313 (todo-reset-done-string, todo-reset-comment-string):
3314 After processing all Todo files, kill the buffers of those files that
3315 weren't being visited before the processing.
3316 (todo-display-as-todo-file, todo-add-to-buffer-list)
3317 (todo-visit-files-commands): Comment out.
3318 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
3319 (auto-mode-alist): Remove add-to-list calls making Todo file
3320 extensions unrestrictedly tied to Todo modes.
3322 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
3325 (advice-function-member-p): Tell it to check both names and functions
3327 (advice--add-function): Adjust call accordingly.
3329 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3331 * calendar/todo-mode.el: Miscellaneous bug fixes.
3332 (todo-delete-file): When deleting an archive but not its todo
3333 file, make sure to update the todo file's category sexp.
3334 (todo-move-category): Keep the moved category's name unless the
3335 file moved to already has a category with that name. If the
3336 numerically last category of the source file was moved, make the
3337 first category current to avoid selecting a nonexisting category.
3338 (todo-merge-category): Fix implementation to make merging to a
3339 category in another file work as documented. Eliminate now
3340 insufficient and unnecessary renaming of archive category, correct
3341 document string accordingly, and clarify it. If the numerically
3342 last category of the source file was merged, make the first
3343 category current to avoid selecting a nonexisting category.
3344 (todo-archive-done-item): When there are marked items and point
3345 happens to be on an unmarked item, ignore the latter. Don't leave
3346 point below last item after archiving marked items.
3347 (todo-unarchive-items): Fix logic to ensure unarchiving an item
3348 from an archive with only one category deletes the archive only
3349 when the category is empty after unarchiving. Make sure the todo
3350 file's category sexp is updated.
3351 (todo-read-file-name): Allow an existing file name even when it is
3352 not required (todo-move-category needs this to work as documented).
3353 (todo-add-file): Call todo-validate-name to reject the name of an
3354 existing todo file (needed due to fix in todo-read-file-name).
3355 (todo-reset-nondiary-marker): Also reset in filtered items files.
3356 (todo-reset-done-string, todo-reset-comment-string): Also reset in
3357 regexp filtered items files.
3358 (todo-reset-highlight-item): Also reset in filtered items files.
3359 Fix incorrect variable reference in document string.
3361 2014-05-26 Glenn Morris <rgm@gnu.org>
3363 * window.el (window--dump-frame): Avoid error in --without-x builds.
3365 2014-05-26 Glenn Morris <rgm@gnu.org>
3367 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
3369 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3371 * frame.el (set-frame-font): Doc fix.
3373 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
3375 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
3377 * emacs-lisp/package.el (package--download-one-archive):
3378 Use `write-region' instead of `save-buffer' to avoid running various
3380 (describe-package-1): Same. Insert newline at the end of the
3381 buffer if appropriate.
3383 2014-05-26 Juri Linkov <juri@jurta.org>
3385 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
3386 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
3387 Add more modifiers: meta, control, shift, hyper, super, alt.
3390 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
3391 to allow changing its value with `set-variable'.
3393 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3395 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
3397 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
3399 (scheme-mode-variables): Set syntax-propertize-function instead of
3400 font-lock-syntactic-face-function.
3401 (scheme-font-lock-syntactic-face-function): Delete.
3403 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
3405 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
3408 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3410 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
3411 for a temporary file name.
3413 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3415 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
3417 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3419 * net/dbus.el (dbus-init-bus, dbus-call-method)
3420 (dbus-call-method-asynchronously, dbus-send-signal)
3421 (dbus-method-return-internal, dbus-method-error-internal):
3422 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
3424 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3426 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
3427 methods which do not have a doc string. (Bug#17490)
3429 2014-05-25 Tassilo Horn <tsdh@gnu.org>
3431 * textmodes/reftex-ref.el (reftex-format-special): Make it work
3432 also for AMS Math's \eqref macro.
3434 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3436 Arrange to never byte-compile the generated -pkg.el file.
3438 * emacs-lisp/package.el (package-generate-description-file):
3439 Output first-line comment to set buffer-local var `no-byte-compile'.
3440 Suggested by Dmitry Gutov:
3441 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
3443 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3445 Fix bug: Properly quote args to generated -pkg.el `define-package'.
3447 * emacs-lisp/package.el (package-generate-description-file):
3448 Inline `package--alist-to-plist'; rewrite to selectively
3449 quote alist values that are not self-quoting.
3450 (package--alist-to-plist): Delete func.
3452 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
3454 * term/xterm.el (xterm-function-map): Add mapping for shifted
3457 2014-05-24 Daniel Colascione <dancol@dancol.org>
3459 * progmodes/subword.el (subword-find-word-boundary): Move point to
3460 correct spot before search. (Bug#17580)
3462 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3465 2014-05-24 Leo Liu <sdl.web@gmail.com>
3467 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
3469 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * minibuffer.el (completion--sreverse): Remove.
3472 (completion--common-suffix): Use `reverse' instead.
3473 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3475 2014-05-22 Glenn Morris <rgm@gnu.org>
3477 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3479 2014-05-21 Daniel Colascione <dancol@dancol.org>
3481 * files.el (interpreter-mode-alist): Add mksh.
3483 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3485 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3486 mksh. Improve custom spec; allow regular expressions.
3487 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3488 (sh-after-hack-local-variables): New function.
3489 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3490 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3492 (sh-canonicalize-shell): Rewrite to support regexes.
3494 2014-05-21 Leo Liu <sdl.web@gmail.com>
3496 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3498 2014-05-19 Leo Liu <sdl.web@gmail.com>
3500 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3502 2014-05-18 Glenn Morris <rgm@gnu.org>
3505 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3507 2014-05-14 Sam Steingold <sds@gnu.org>
3509 * progmodes/python.el (python-shell-get-or-create-process):
3510 Do not bind `current-prefix-arg' so that C-c C-z does not talk
3511 back unless requested.
3513 2014-05-14 Glenn Morris <rgm@gnu.org>
3515 * subr.el (with-file-modes): New macro.
3516 * printing.el (pr-save-file-modes): Make obsolete.
3517 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3518 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3519 Add with-file-modes.
3520 * doc-view.el (doc-view-make-safe-dir):
3521 * epg.el (epg--start):
3522 * files.el (locate-user-emacs-file, make-temp-file)
3523 (backup-buffer-copy, move-file-to-trash):
3524 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3525 * eshell/esh-util.el (eshell-with-private-file-modes)
3526 (eshell-make-private-directory):
3527 * net/browse-url.el (browse-url-mosaic):
3528 * obsolete/mailpost.el (post-mail-send-it):
3529 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3530 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3531 Use with-file-modes.
3533 * vc/emerge.el (emerge-make-temp-file): Simplify.
3535 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
3536 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3541 2014-05-14 Glenn Morris <rgm@gnu.org>
3543 * vc/emerge.el (emerge-temp-file-prefix):
3544 Make pointless option obsolete.
3545 (emerge-temp-file-mode): Make non-functional option obsolete.
3547 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
3549 * net/browse-url.el (browse-url):
3550 Use `unhandled-file-name-directory' when setting `default-directory',
3551 in order to circumvent stalled remote connections. (Bug#17425)
3553 2014-05-14 Glenn Morris <rgm@gnu.org>
3555 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3556 Optimize on Emacs, which has the relevant functions for ages.
3558 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * simple.el (undo-make-selective-list): Obey undo-no-redo.
3562 2014-05-12 Sam Steingold <sds@gnu.org>
3564 * calendar/time-date.el (seconds-to-string): New function to
3565 pretty print time delay in seconds.
3567 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3569 * mpc.el (mpc-format): Trim Date to the year.
3570 (mpc-songs-hashcons): Shorten the Date field.
3572 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3573 into autoloading just because of a silly indirection.
3575 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
3577 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
3579 2014-05-12 Glenn Morris <rgm@gnu.org>
3581 * emacs-lisp/find-gc.el: Move to ../admin.
3583 * printing.el (pr-version):
3584 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3586 * net/browse-url.el (browse-url-mosaic):
3587 Create /tmp/Mosaic.PID as a private file.
3589 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3592 (advice--member-p): If name is given, only compare the name.
3593 (advice--remove-function): Don't stop at the first match.
3594 (advice--normalize-place): New function.
3595 (add-function, remove-function): Use it.
3596 (advice--add-function): Pass the name, if any, to
3597 advice--remove-function.
3599 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3601 * electric.el (electric-indent-post-self-insert-function): Don't use
3602 `pos' after modifying the buffer (bug#17449).
3604 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
3606 * calendar/todo-mode.el (todo-insert-item-from-calendar):
3607 Correct argument list to conform to todo-insert-item--basic.
3609 2014-05-12 Glenn Morris <rgm@gnu.org>
3611 * files.el (cd-absolute): Test if directory is accessible
3612 rather than executable. (Bug#17330)
3614 * progmodes/compile.el (recompile):
3615 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3617 * net/browse-url.el (browse-url-mosaic):
3618 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3619 This is CVE-2014-3423.
3621 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * mouse.el: Use the normal toplevel loop while dragging.
3624 (mouse-set-point): Handle multi-clicks.
3625 (mouse-set-region): Handle multi-clicks for drags.
3626 (mouse-drag-region): Update call accordingly.
3627 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3628 Use the normal event loop instead of a local while/read-event loop.
3629 (global-map): Remove redundant bindings for double/triple-mouse-1.
3630 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3631 Generate synthetic down events when the protocol only sends up events.
3632 (xterm-mouse-last): Remove.
3633 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3634 terminal parameter instead.
3635 (xterm-mouse--set-click-count): New function.
3636 (xterm-mouse-event): Detect/generate double/triple clicks.
3637 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3639 * info.el (Info-quoted): New face.
3640 (Info-mode-font-lock-keywords): New var.
3641 (Info-mode): Use it.
3643 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3644 are a hindrance for C-x C-e.
3646 2014-05-11 Leo Liu <sdl.web@gmail.com>
3648 * net/rcirc.el (rcirc-sentinel): Fix last change.
3650 2014-05-08 Sam Steingold <sds@gnu.org>
3652 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3653 (rcirc-sentinel): Auto-reconnect to the server if
3654 `rcirc-reconnect-delay' is non-0 (but not more often than its
3655 value in case the host is off-line).
3657 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3659 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3661 2014-05-09 Glenn Morris <rgm@gnu.org>
3663 * files.el (file-expand-wildcards):
3664 * man.el (Man-support-local-filenames):
3665 * printing.el (pr-i-directory, pr-interface-directory):
3666 * progmodes/grep.el (lgrep, rgrep):
3667 * textmodes/ispell.el (ispell-call-process)
3668 (ispell-call-process-region, ispell-start-process)
3669 (ispell-init-process): Use file-accessible-directory-p.
3671 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3673 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3674 (xterm-mouse--read-event-sequence-1000): Return nil if something
3676 (xterm-mouse-event): Propagate it.
3677 (xterm-mouse-translate-1): Handle it.
3679 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3681 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3682 four slots of the parameter list are filled, make sure to pass it
3683 to the argument list of todo-insert-item--basic.
3685 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3688 Add optional `seen' argument to detect and break infinite loops.
3690 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3692 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3693 (trace-unsafe, trace-use-tree): Make parentheses style be
3694 according to Emacs style.
3696 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3698 * net/tramp-sh.el (tramp-remote-process-environment):
3699 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3701 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3702 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3703 extra "PSx=..." commands.
3704 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3707 (tramp-uudecode): Replace the hard-coded temporary file name by a
3709 (tramp-remote-coding-commands): Enhance docstring.
3710 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3712 This is CVE-2014-3424.
3714 2014-05-08 Glenn Morris <rgm@gnu.org>
3716 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3717 (find-gc-source-files): Update some names.
3718 (trace-call-tree): Simplify and update.
3719 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3720 This is CVE-2014-3422.
3722 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * minibuffer.el (completion--try-word-completion): Revert fix for
3725 Bug#15980 (bug#17375).
3727 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3728 Always store button numbers in the same way in xterm-mouse-last;
3729 Don't burp is xterm-mouse-last is not set as expected.
3730 Never return negative indices.
3732 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3734 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3735 Backtrack one char if the global/char-literal var matcher hits
3736 inside a string. The next char could be the beginning of an
3737 expression expansion.
3739 2014-05-08 Glenn Morris <rgm@gnu.org>
3741 * help-fns.el (describe-function-1): Test for an autoload before a
3742 macro, since `macrop' works on autoloads. (Bug#17410)
3744 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3748 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3749 Make sure the new point we return is within the new string (bug#17239).
3751 2014-05-05 Daniel Colascione <dancol@dancol.org>
3753 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3754 Port `gnu' pattern to rx.
3756 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3758 Remove unneeded prompt when closing a buffer with active
3759 emacsclient ("Buffer ... still has clients"), #16548.
3760 * server.el (server-start): Remove the only call to:
3761 (server-kill-buffer-query-function): Remove.
3763 2014-05-04 Leo Liu <sdl.web@gmail.com>
3765 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3766 Defvar to pacify compiler.
3768 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3770 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3772 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3774 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3775 Use nil rather than `default' for the "default" appearance (bug#17388).
3776 * vc/ediff-util.el (ediff-inferior-compare-regions)
3777 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3778 a misleading `default' value when it's really a boolean.
3779 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3780 overlay is not visible.
3782 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3784 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3785 (todo-menu): Uncomment and update.
3787 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3789 * calendar/todo-mode.el: Reimplement item editing to have the same
3790 basic user interface as item insertion, and make small UI and
3791 larger internal improvements to the latter.
3792 (todo-insert-item): Add reference to the Todo mode user manual to
3793 the documentation string.
3794 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3795 adjust all callers. Change signature to combine diary and
3796 nonmarking arguments. Incorporate functionality of deleted item
3797 copying command and add error checking. Remove detailed
3798 descriptions of the arguments from the documentation string, since
3799 this is treated in the Todo mode user manual.
3800 (todo-copy-item, todo-edit-multiline-item)
3801 (todo-edit-done-item-comment, todo-edit-item-header)
3802 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3803 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3804 (todo-edit-item-date-year, todo-edit-item-date-month)
3805 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3807 (todo-edit-item): Reimplement as wrapper command for
3808 todo-edit-item--next-key and make it distinguish done and not done
3810 (todo-edit-item--text): New function, replacing old command
3811 todo-edit-item and incorporating deleted commands
3812 todo-edit-multiline-item and todo-edit-done-item-comment.
3813 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3814 Use only numeric value of prefix argument. Remove detailed
3815 descriptions of the arguments from the documentation string, since
3816 this is treated in the Todo mode user manual.
3817 (todo-edit-item--diary-inclusion): New function, replacing old
3818 command todo-edit-item-diary-inclusion and incorporating and fixing
3819 functionality of deleted command todo-edit-item-diary-nonmarking,
3820 making sure to remove todo-nondiary-marker when adding
3821 diary-nonmarking-symbol.
3822 (todo-edit-category-diary-inclusion): Make sure to delete
3823 diary-nonmarking-symbol when adding todo-nondiary-marker.
3824 (todo-edit-category-diary-nonmarking): Fix indentation.
3825 (todo-insert-item--parameters): Group diary and nonmarking
3826 parameters together.
3827 (todo-insert-item--apply-args): Adjust to signature of
3828 todo-insert-item--basic and incorporate copy parameter.
3829 Make small code improvements.
3830 (todo-insert-item--next-param): Improve prompt and adjust it to
3831 new parameter grouping. Remove obsolete code.
3832 (todo-edit-item--param-key-alist)
3833 (todo-edit-item--date-param-key-alist)
3834 (todo-edit-done-item--param-key-alist): New defconsts.
3835 (todo-edit-item--prompt): New variable.
3836 (todo-edit-item--next-key): New function.
3837 (todo-key-bindings-t): Bind "e" to todo-edit-item.
3838 Remove bindings of deleted commands.
3840 2014-05-04 Leo Liu <sdl.web@gmail.com>
3842 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3844 2014-05-04 Glenn Morris <rgm@gnu.org>
3846 * allout-widgets.el (allout-widgets-tally)
3847 (allout-decorate-item-guides):
3848 * menu-bar.el (menu-bar-positive-p):
3849 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3850 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3851 * progmodes/js.el (js--inside-param-list-p)
3852 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3853 * progmodes/prolog.el (region-exists-p):
3854 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3855 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3856 Doc fixes (replace `iff').
3858 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3862 2014-05-04 Leo Liu <sdl.web@gmail.com>
3864 Support Chinese diary entries in calendar and diary. (Bug#17393)
3865 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3866 (calendar-chinese-from-absolute-for-diary)
3867 (calendar-chinese-to-absolute-for-diary)
3868 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3869 (diary-chinese-list-entries): New functions to list and mark
3870 Chinese diary entries in the calendar window.
3871 (diary-chinese-anniversary)
3872 (diary-chinese-insert-anniversary-entry)
3873 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3874 (diary-chinese-insert-yearly-entry): New commands to insert
3875 Chinese diary entries.
3877 * calendar/diary-lib.el (diary-font-lock-keywords):
3878 Support font-locking Chinese dates.
3880 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3881 inserting Chinese diary entries.
3883 * calendar/calendar.el (diary-chinese-entry-symbol):
3884 New customizable variable.
3885 (calendar-mode-map): Add bindings for inserting Chinese diary
3888 2014-05-03 Juri Linkov <juri@jurta.org>
3890 * dired.el (dired-check-switches, dired-switches-recursive-p):
3891 New functions. (Bug#17218)
3892 (dired-switches-escape-p, dired-move-to-end-of-filename):
3893 Use `dired-check-switches'.
3894 (dired-insert-old-subdirs, dired-build-subdir-alist)
3895 (dired-sort-R-check): Use `dired-switches-recursive-p'.
3897 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
3899 * simple.el (undo-make-selective-list): New algorithm fixes
3900 incorrectness of position adjustments when undoing in region.
3902 (undo-elt-crosses-region): Make obsolete.
3903 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3904 New functions to adjust positions using undo-deltas.
3906 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3908 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3909 the last consecutive closing paren (bug#17345).
3911 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3913 * dired.el (dired-mode): make terminology for eXpunge command
3914 consistent. (Bug#17276)
3916 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3918 * dired.el (dired-initial-position-hook, dired-initial-position):
3921 2014-04-30 Glenn Morris <rgm@gnu.org>
3923 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3925 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3927 * faces.el (face-spec-recalc): Apply X resources only after the
3928 defface spec has been applied. Thus, X resources are no longer
3929 overriden by the defface spec which also fixes issues on win32 where
3930 the toolbar coloring was wrong because it is set through X resources
3931 and was (wrongfully) overriden. (Bug#16694)
3933 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * textmodes/rst.el (electric-pair-pairs): Declare.
3936 (rst-mode): Set it (bug#17131).
3938 2014-04-30 Juri Linkov <juri@jurta.org>
3940 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3941 and `print-level' to nil. (Bug#17351)
3943 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3945 * battery.el (battery-update): Handle the case where battery
3946 status is "N/A" (bug#17319).
3948 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3951 to syntax-propertize.
3952 (ps-mode-auto-indent): Mark as obsolete.
3953 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3954 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3955 word regexp operators.
3956 (ps-mode-map): Move initialization into declaration. Remove binding
3957 for TAB, RET, >, ], and }.
3958 (ps-mode-syntax-table): Move initialization into declaration.
3959 Don't give word syntax to non-word chars.
3960 (ps-run-mode-map): Move initialization into declaration.
3961 (ps-mode-menu-main): Remove auto-indent entry.
3962 (ps-mode-smie-rules): New function.
3963 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3964 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3965 (ps-mode--string-syntax-table): New const.
3966 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3968 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3969 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3971 2014-04-27 Daniel Colascione <dancol@dancol.org>
3973 * term/xterm.el (xterm-paste): Use large finite timeout when
3974 reading event to avoid putting keys in this-command-keys.
3976 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3979 (perl-syntax-propertize-function): Use it. Extend handling of
3980 here-docs to the unquoted case.
3982 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3984 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3985 Use equal-including-properties to compare help-echo strings (bug#17331).
3987 2014-04-25 Leo Liu <sdl.web@gmail.com>
3989 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3990 Fix syntax for @. (Bug#17325)
3992 2014-04-25 Daniel Colascione <dancol@dancol.org>
3994 * emacs-lisp/cl.el (gv): Require gv early to break eager
3995 macro-expansion cycles.
3997 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * simple.el (region-active-p): Check there's a mark (bug#17324).
4001 * simple.el (completion-list-mode-map): Use choose-completion for the
4002 mouse binding as well (bug#17302).
4003 (completion-list-mode, completion-setup-function): Adjust docstring and
4004 echo area message accordingly.
4005 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
4006 calling convention of choose-completion.
4007 * comint.el (comint-dynamic-list-completions):
4008 * term.el (term-dynamic-list-completions): Accept choose-completion.
4010 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
4011 &, |, +, - and * can't be a division (bug#17317).
4013 * term/xterm.el (xterm--version-handler): Don't use modern xterm
4014 features on gnome-terminal (bug#16988).
4016 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
4018 Improve Scheme font-locking for (define ((foo ...) ...) ...).
4020 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
4021 the declared object, ignore zero or more parens, not zero or one.
4023 2014-04-24 Leo Liu <sdl.web@gmail.com>
4025 * progmodes/xscheme.el (xscheme-expressions-ring)
4026 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
4027 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
4028 (xscheme-allow-output-p, xscheme-prompt)
4029 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
4031 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
4032 Comment out unused functions.
4034 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * info.el: Use lexical-binding and cl-lib.
4037 Use defvar-local and setq-local instead of make-local-variable.
4038 (Info-apropos-matches): Avoid add-to-list.
4039 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
4041 2014-04-24 Daniel Colascione <dancol@dancol.org>
4043 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
4045 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4047 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
4049 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
4051 * dired.el (dired-insert-set-properties): Do not consider
4052 subdirectory headings and empty lines to be information that
4053 `dired-hide-details-mode' should hide. (Bug#17228)
4055 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4057 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4058 Remove test messages.
4059 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
4062 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
4065 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
4067 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
4069 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4071 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4072 Set "IFS=" when using read builtin, in order to preserve spaces in
4073 the file name. Add test messages for hunting a bug on hydra.
4074 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
4076 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4078 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4079 Don't prettify a word within a symbol.
4081 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4083 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
4086 2014-04-22 Daniel Colascione <dancol@dancol.org>
4088 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
4089 use defun to define `function-put'.
4091 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4093 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
4094 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
4095 (lisp-mode-variables): Set font-lock-extra-managed-props.
4097 * emacs-lisp/byte-run.el (function-put): New function.
4098 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
4099 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
4100 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
4103 2014-04-22 Daniel Colascione <dancol@dancol.org>
4105 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
4106 Add `full-p' parameter; when nil, call `macroexpand' instead of
4109 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4112 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4113 Use lambda function values, not quoted lambdas.
4114 (byte-compile-recurse-toplevel): Remove extraneous &optional.
4116 * emacs-lisp/cl-macs.el
4117 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
4118 (cl-struct-slot-value): Conditionally use aref or nth so that the
4119 compiler produces optimal code.
4121 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4123 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
4124 (inline): Don't inline cl--set-elt.
4125 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
4126 Define as inlinable instead.
4127 (cl-struct-set-slot-value): Remove.
4129 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
4130 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
4133 2014-04-21 Daniel Colascione <dancol@dancol.org>
4135 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
4136 last two parameters after all.
4137 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
4138 (cl--compiler-macro-assoc,cl-struct-slot-value)
4139 (cl-struct-set-slot-value): Stop using them.
4141 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
4144 entry in image-mode-winprops-alist.
4146 2014-04-21 Daniel Colascione <dancol@dancol.org>
4148 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
4149 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
4150 (byte-compile-toplevel-file-form): Use it.
4152 * emacs-lisp/cl-macs.el:
4153 (cl--loop-let): Properly destructure `while' clauses.
4155 2014-04-20 Daniel Colascione <dancol@dancol.org>
4157 * vc/vc.el (vc-root-dir): New public autoloaded function for
4158 generically finding the current VC root.
4159 * vc/vc-hooks.el (vc-not-supported): New error.
4160 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
4162 2014-04-20 Daniel Colascione <dancol@dancol.org>
4164 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
4166 (cl--const-expr-val): cl--const-expr-val should macroexpand its
4167 argument in case we're inside a symbol-macrolet.
4168 (cl--do-arglist, cl--compiler-macro-typep)
4169 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
4170 environment to `cl--const-expr-val'.
4171 (cl-struct-sequence-type,cl-struct-slot-info)
4172 (cl-struct-slot-offset, cl-struct-slot-value)
4173 (cl-struct-set-slot-value): New functions.
4175 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
4178 assignments such as "case=hello" (bug#17297).
4180 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
4182 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
4184 (tramp-file-name-handler, tramp-completion-file-name-handler):
4185 Revert patch from 2014-04-10, it isn't necessary anymore.
4186 (tramp-autoload-file-name-handler)
4187 (tramp-register-autoload-file-name-handlers): New defuns.
4188 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
4189 (tramp-register-file-name-handlers): Remove also
4190 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
4191 Do not autoload its invocation, but eval it after loading of 'tramp.
4193 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
4195 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
4197 2014-04-17 Daniel Colascione <dancol@dancol.org>
4199 Add support for bracketed paste mode; add infrastructure for
4200 managing terminal mode enabling and disabling automatically.
4203 (xterm-mouse-mode): Simplify.
4204 (xterm-mouse-tracking-enable-sequence)
4205 (xterm-mouse-tracking-disable-sequence): New constants.
4206 (turn-on-xterm-mouse-tracking-on-terminal)
4207 (turn-off-xterm-mouse-tracking-on-terminal):
4208 Use tty-mode-set-strings and tty-mode-reset-strings terminal
4209 parameters instead of random hooks.
4210 (turn-on-xterm-mouse-tracking)
4211 (turn-off-xterm-mouse-tracking): Delete.
4213 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
4214 (xterm-paste-ending-sequence): New constant.
4215 (xterm-paste): New command used for bracketed paste support.
4217 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
4218 (terminal-init-xterm-bracketed-paste-mode): New function.
4219 (terminal-init-xterm): Call it.
4220 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
4221 and tty-mode-reset-strings instead of random hooks.
4222 (xterm-turn-on-modify-other-keys)
4223 (xterm-turn-off-modify-other-keys)
4224 (xterm-remove-modify-other-keys): Delete obsolete functions.
4226 * term/screen.el: Rewrite to just use the xterm code.
4227 Add copyright notice. Mention tmux.
4229 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
4231 * image-mode.el (image-mode-window-put): Also update the property of
4232 the "default window".
4233 * doc-view.el (doc-view-new-window-function): If no window
4234 exists, move to the last known page.
4236 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4238 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
4239 here-documents (bug#17262).
4241 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4243 * term/pc-win.el (x-list-fonts, x-get-selection-value):
4244 Provide doc strings, as required by snarf-documentation.
4246 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4248 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
4249 arg of overlays-at. Use `invisible-p'.
4251 * obsolete/lucid.el (extent-at):
4252 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
4254 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
4256 2014-04-16 João Távora <joaotavora@gmail.com>
4258 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
4261 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4263 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4264 Use mapc to loop over a vector. (Bug#17257).
4266 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
4268 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
4269 patch, there are new problems with file names containing spaces.
4270 Get rid of backticks. (Bug#17238)
4272 2014-04-16 João Távora <joaotavora@gmail.com>
4274 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
4277 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4279 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
4280 (blink-cursor-mode): Mention customization variables and the
4281 effect of 'blink-cursor-blinks'.
4283 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
4285 * simple.el (undo): Prevent insertion of identity mapping into
4286 undo-equiv-table so as undo-only does not inf loop in the presence
4287 of consecutive nils in undo list.
4289 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
4291 * faces.el (make-face): Deprecate optional argument as it is no
4292 longer needed/used since the conditional X resources handling
4293 has been pushed down to make-face-x-resource-internal itself.
4294 (make-empty-face): Don't pass optional argument to make-face.
4296 2014-04-16 Karl Fogel <kfogel@red-bean.com>
4298 * savehist.el (savehist-save): Remove workaround for a read-passwd
4299 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
4300 noticing that the shim was still present.
4302 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
4306 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
4308 * faces.el (face-set-after-frame-default): Remove unused local variable.
4310 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4312 * progmodes/grep.el: Use lexical-binding.
4313 (grep-expand-template): Pass explicit lexical env to `eval'.
4314 (zrgrep): Let-bind grep-find-template explicitly.
4316 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
4317 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
4319 2014-04-12 Eli Zaretskii <eliz@gnu.org>
4321 * international/characters.el <standard-case-table>: Add entries
4322 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
4323 Set category of Coptic characters be 'g' (Greek).
4325 2014-04-12 Leo Liu <sdl.web@gmail.com>
4327 * progmodes/octave.el (completion-table-with-cache):
4328 Define if not available.
4329 (octave-goto-function-definition, octave-sync-function-file-names)
4330 (octave-find-definition-default-filename):
4331 Backquote upattern for compatibility.
4333 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
4335 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
4336 name twice due to backticks. (Bug#17238)
4338 2014-04-12 Glenn Morris <rgm@gnu.org>
4340 * term/w32-win.el (x-win-suspend-error):
4341 * term/x-win.el (x-win-suspend-error): Sync docs.
4343 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
4345 * faces.el (make-face): Remove deprecated optional argument.
4346 The conditional application of X resources is handled directly by
4347 make-face-x-resource-internal since Emacs 24.4.
4348 (make-empty-face): Don't pass optional argument to make-face.
4350 2014-04-11 Glenn Morris <rgm@gnu.org>
4352 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
4354 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4356 Ediff's overlay priorities cause more trouble than they solve.
4357 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
4358 (ediff-highest-priority): Remove function (bug#17234).
4359 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
4360 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
4361 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
4364 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
4366 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
4367 entry; use symbol boundaries to avoid mis-matches.
4369 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
4371 * net/tramp.el (tramp-file-name-handler)
4372 (tramp-completion-file-name-handler): Avoid recursive loading.
4374 * net/tramp-sh.el (tramp-make-copy-program-file-name):
4375 Quote result also locally.
4377 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
4380 Remove left-over code.
4382 * newcomment.el (comment-indent-new-line): Sink code where it's used.
4383 Reuse the previous comment's indentation unconditionally if it's on its
4386 2014-04-09 Daniel Colascione <dancol@dancol.org>
4388 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
4389 `no-syntax-crossing' arguments. Forward to `up-list'.
4390 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
4391 Implement logic for escaping from strings. Use narrowing to deal
4394 2014-04-09 Leo Liu <sdl.web@gmail.com>
4396 * net/rcirc.el (rcirc-connection-info): New variable.
4397 (rcirc-connect): Use it to store connection info.
4398 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
4400 (rcirc-cmd-reconnect): New command. (Bug#17045)
4401 (rcirc-mode, set-rcirc-encode-coding-system)
4402 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
4404 2014-04-09 Daniel Colascione <dancol@dancol.org>
4406 * emacs-lisp/cl-indent.el: Add comment claiming
4407 facility is also good for elisp.
4408 (lisp-indent-find-method): New function.
4409 (common-lisp-indent-function): Recognize cl-loop.
4410 (common-lisp-indent-function-1): Recognize cl constructs; use
4411 `lisp-indent-find-method' instead of `get' directly.
4412 (if): Use else-body style for elisp.
4414 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
4416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4417 Module methods. (Bug#17216)
4419 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * help.el (describe-bindings): Fix buffer handling (bug#17210).
4422 (describe-bindings-internal): Mark obsolete.
4424 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4426 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
4427 buffer-file-name, and buffer-file-truename any more.
4429 2014-04-08 Leo Liu <sdl.web@gmail.com>
4431 Use lexical-binding and require cl-lib.
4432 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
4433 (rcirc-handler-generic, rcirc-fill-paragraph)
4434 (rcirc-format-response-string, rcirc-target-buffer)
4435 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
4436 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
4437 (rcirc-ctcp-sender-PING, rcirc-browse-url)
4438 (rcirc-markup-timestamp, rcirc-markup-attributes)
4439 (rcirc-markup-my-nick, rcirc-markup-urls)
4440 (rcirc-markup-bright-nicks, rcirc-markup-fill)
4441 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
4442 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
4443 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
4444 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
4445 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
4446 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
4447 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
4448 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
4449 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
4450 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
4453 2014-04-07 João Távora <joaotavora@gmail.com>
4455 * elec-pair.el (electric-pair--syntax-ppss):
4456 When inside comments parse from comment beginning.
4457 (electric-pair--balance-info): Fix typo in comment.
4458 (electric-pair--in-unterminated-string-p): Delete.
4459 (electric-pair--unbalanced-strings-p): New function.
4460 (electric-pair-string-bound-function): New var.
4461 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4462 according to `electric-pair--in-unterminated-string-p'
4464 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4465 Inhibit quote pairing if point-max is inside an unterminated string.
4466 (electric-pair--looking-at-unterminated-string-p): Delete.
4467 (electric-pair--in-unterminated-string-p): New function.
4469 2014-04-07 Glenn Morris <rgm@gnu.org>
4471 * shell.el (shell-directory-tracker):
4472 Go back to just ignoring failures. (Bug#17159)
4474 2014-04-07 João Távora <joaotavora@gmail.com>
4476 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4477 backspace. (bug#16981)
4478 * elec-pair.el (electric-pair-backward-delete-char): Delete.
4479 (electric-pair-backward-delete-char-untabify): Delete.
4480 (electric-pair-mode-map): Bind backspace to a menu item filtering
4481 a new `electric-pair-delete-pair' command.
4482 (electric-pair-delete-pair): New command.
4484 * progmodes/python.el (python-electric-pair-string-delimiter):
4485 Fix triple-quoting electricity. (Bug#17192)
4487 * elec-pair.el (electric-pair-post-self-insert-function):
4488 Don't skip whitespace when `electric-pair-text-pairs' and
4489 `electric-pair-pairs' were used. syntax to
4490 electric-pair--skip-whitespace. (Bug#17183)
4492 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4494 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4497 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4500 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4502 2014-04-07 Glenn Morris <rgm@gnu.org>
4504 * help.el (view-lossage): Doc tweak.
4506 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
4508 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4509 only when inhibit-x-resources is nil, and do that earlier in the
4510 function. Doc fix. (Bug#16694)
4511 (face-spec-choose): Accept additional optional argument, whose
4512 value is returned if no matching attributes are found.
4513 (face-spec-recalc): Use the new optional argument when calling
4514 face-spec-choose. (Bug#16378)
4515 (make-face-x-resource-internal): Do nothing when
4516 inhibit-x-resources is non-nil. Don't touch the default face if
4517 reversed video is given--as was done in previous versions of Emacs.
4518 (face-set-after-frame-default): Don't call
4519 make-face-x-resource-internal here. (Bug#16434)
4521 2014-04-07 Tassilo Horn <tsdh@gnu.org>
4523 * doc-view.el (doc-view-bookmark-jump):
4524 Use `bookmark-after-jump-hook' to jump to the right page after the
4525 buffer is shown in a window. (bug#16090)
4527 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4529 * international/characters.el (mirroring): Fix last change:
4530 instead of loading uni-mirrored.el explicitly, do that implicitly
4531 by creating the 'mirroring' uniprop table. This avoids announcing
4532 the loading of uni-mirrored.el.
4534 2014-04-07 Glenn Morris <rgm@gnu.org>
4536 * files.el (buffer-stale--default-function)
4537 (buffer-stale-function, revert-buffer--default):
4538 * autorevert.el (auto-revert-buffers): Doc tweaks.
4540 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4542 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4544 2014-04-07 Glenn Morris <rgm@gnu.org>
4546 * files.el (make-backup-file-name-function)
4547 (make-backup-file-name, make-backup-file-name--default-function)
4548 (make-backup-file-name-1, find-backup-file-name)
4549 (revert-buffer-function, revert-buffer-insert-file-contents-function)
4550 (buffer-stale--default-function, buffer-stale-function)
4551 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4552 (revert-buffer, revert-buffer--default)
4553 (revert-buffer-insert-file-contents--default-function):
4554 Doc fixes related to defaults no longer being nil.
4555 (make-backup-file-name-function): Bump :version.
4556 Restore nil as a valid but deprecated custom type.
4558 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4561 Handle $' used as a variable (bug#17174).
4563 * progmodes/perl-mode.el (perl-indent-new-calculate):
4564 Handle forward-sexp failure (bug#16985).
4565 (perl-syntax-propertize-function): Add "foreach" and "for" statement
4566 modifiers introducing expressions (bug#17116).
4568 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
4570 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4572 2014-04-05 Leo Liu <sdl.web@gmail.com>
4574 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4575 Add define-compilation-mode.
4577 2014-04-04 João Távora <joaotavora@gmail.com>
4579 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4580 parse from comment beginning.
4581 (electric-pair--balance-info): Fix typo in comment.
4582 (electric-pair--in-unterminated-string-p): Delete.
4583 (electric-pair--unbalanced-strings-p): New function.
4584 (electric-pair-string-bound-function): New var.
4585 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4586 according to `electric-pair--in-unterminated-string-p'.
4588 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4590 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4591 Move declaration before first use.
4592 (reftex-move-to-next-arg): Silence compiler warning.
4594 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
4596 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4597 Use `window-total-width' instead of `window-width'.
4599 2014-04-03 Daniel Colascione <dancol@dancol.org>
4601 * subr.el (set-transient-map): Remove rms's workaround entirely;
4602 use new `suspicious-object' subr to mark our lambda for closer
4605 2014-04-02 Richard Stallman <rms@gnu.org>
4607 * subr.el (set-transient-map): Comment out previous change.
4609 2014-04-02 Glenn Morris <rgm@gnu.org>
4611 * menu-bar.el (menu-bar-file-menu):
4612 * vc/ediff.el (ediff-current-file):
4613 Update for revert-buffer-function no longer being nil by default.
4615 * simple.el (command-execute): Respect nil disabled-command-function.
4617 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4619 * simple.el (command-execute): Do not execute the command when it
4620 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4622 2014-04-02 Juri Linkov <juri@jurta.org>
4624 * dired-aux.el (dired-compress-file): Don't use string-match-p
4625 because its match data is used afterwards.
4627 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4632 2014-04-02 João Távora <joaotavora@gmail.com>
4634 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4635 Inhibit quote pairing if point-max is inside an unterminated string.
4636 (electric-pair--looking-at-unterminated-string-p):
4638 (electric-pair--in-unterminated-string-p): New function.
4640 2014-04-01 Daniel Colascione <dancol@dancol.org>
4642 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4643 when trying to complete the prompt.
4645 2014-03-31 Leo Liu <sdl.web@gmail.com>
4647 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4648 Refactor out eldoc-documentation-function-default.
4649 (eldoc-documentation-function-default): New function.
4650 (eldoc-documentation-function): Change value.
4652 2014-03-31 Glenn Morris <rgm@gnu.org>
4654 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4656 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4657 (vhdl-compose-components-package, vhdl-compose-configuration):
4658 Abbreviate default-directory (missing from some previous upstream sync).
4660 2014-03-31 Reto Zimmermann <reto@gnu.org>
4662 Sync with upstream vhdl mode v3.35.2.
4663 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4664 (top-level): No longer require assoc.
4665 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4666 New functions. Use throughout to replace aget etc.
4667 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4668 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4669 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4670 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4671 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4672 except `vhdl-compiler'.
4673 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4676 2014-03-31 Glenn Morris <rgm@gnu.org>
4678 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4679 Revert 2014-03-26 merge goof; go back to using defalias.
4681 2014-03-30 Daniel Colascione <dancol@dancol.org>
4683 * comint.el (comint-send-input):
4684 Deactivate completion-in-region-mode before we send comint input.
4687 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4690 2014-03-29 Glenn Morris <rgm@gnu.org>
4692 * textmodes/reftex.el: Manage most autoloads automatically.
4693 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4694 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4695 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4696 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4697 * textmodes/reftex-toc.el: Set generated-autoload-file,
4698 and add autoload cookies for reftex.el.
4699 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4701 2014-03-28 Glenn Morris <rgm@gnu.org>
4703 * cus-start.el (report-emacs-bug-address): Set custom properties.
4704 * mail/emacsbug.el (report-emacs-bug-address):
4705 Variable is now defined in emacs.c.
4707 * mail/emacsbug.el (report-emacs-bug):
4708 Include system-configuration-features.
4710 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4712 * simple.el (cycle-spacing): Never delete spaces on first run by
4713 default, but do so in a new 'fast mode and if there are already
4714 N spaces (the previous behavior).
4715 Compare N with its value in previous invocation so that changing
4716 prefix argument restarts `cycle-spacing' sequence.
4717 The idea is that with this change, binding M-SPC to
4718 `cycle-spacing' should not introduce any changes in behavior of
4719 the binding so long as users do not type M-SPC twice in a raw with
4720 the same prefix argument or lack thereof.
4722 2014-03-28 Glenn Morris <rgm@gnu.org>
4724 * faces.el (term-file-aliases): New variable.
4725 (tty-run-terminal-initialization): Respect term-file-aliases.
4726 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4727 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4728 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4730 2014-03-27 Glenn Morris <rgm@gnu.org>
4732 * startup.el (inhibit-startup-hooks): Doc tweak.
4733 (normal-top-level): Simplify running of hooks.
4734 For window-setup-hook, respect inhibit-startup-hooks.
4735 (command-line-1): Don't set window-setup-hook to nil.
4737 Allow selective autoloading from obsolete/ directory.
4738 * Makefile.in (obsolete-autoloads): New rule.
4739 (autoloads): Run obsolete-autoloads.
4740 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4741 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4743 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4745 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4746 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4748 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4749 Don't propertize `?' or `!' as symbol constituent when after
4752 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4754 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4755 which is no longer needed and causes trouble in GTK builds (bug#17046).
4757 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4758 Use url-insert-file-contents; package-handle-response no longer exists.
4760 2014-03-26 Daniel Colascione <dancol@dancol.org>
4762 * simple.el (process-menu-mode-map): New variable.
4763 (process-menu-delete-process): New command.
4765 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4767 * emacs-lisp/package.el: Fix bug#16733 (again).
4768 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4769 (url-http-target-url): Remove unused declarations.
4770 (package-handle-response): Remove.
4771 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4772 (package--download-one-archive): Use current-buffer instead of
4773 dynamic binding of `buffer'.
4774 (describe-package-1): Do not decode readme-string.
4776 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4778 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4780 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4781 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4782 `remote-file-name-inhibit-cache' to nil in the second pass.
4783 (tramp-find-executable): Do not call "which" on SunOS.
4784 (tramp-send-command-and-check): Fix docstring.
4785 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4786 check whether source directory has set the sticky bit.
4788 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4790 * simple.el (primitive-undo): Only process marker adjustments
4791 validated against their corresponding (TEXT . POS). Issue warning
4792 for lone marker adjustments in undo history. (Bug#16818)
4793 (undo-make-selective-list): Add marker adjustments to selective
4794 undo list based on whether their corresponding (TEXT . POS) is in
4795 the region. Remove variable adjusted-markers, which was unused
4796 and only non nil during undo-make-selective-list.
4797 (undo-elt-in-region): Return nil when passed a marker adjustment
4798 and explain in function doc.
4800 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4802 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4804 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4806 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4807 Match special global variables without curlies, too.
4808 (ruby-font-lock-keywords): Simplify the matcher for special global
4809 variables. Don't require a non-word character after the variable.
4812 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4814 * simple.el (redisplay-highlight-region-function): Increase priority of
4815 overlay to make sure boundaries are visible (bug#15899).
4817 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4819 * frameset.el (frameset--initial-params): Fix typo in parameter name.
4820 (frameset-restore): Compare display strings with equal.
4822 * frame.el (make-frame): Don't quote display name in error message,
4823 it is already a string.
4825 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4827 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4830 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4832 * emacs-lisp/package.el (package--add-to-archive-contents):
4833 Include already installed and built-in packages in
4834 `package-archive-contents'.
4835 (package-install): Don't include already installed packages in the
4836 options during interactive invocation. (Bug#16762)
4837 (package-show-package-list): If the buffer is already displayed in
4838 another window, switch to that window.
4840 2014-03-26 Reto Zimmermann <reto@gnu.org>
4842 Sync with upstream vhdl mode v3.35.1.
4843 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4844 (vhdl-compiler-alist): Doc fix.
4845 (vhdl-goto-line): Remove.
4846 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4847 (vhdl-mode) <paragraph-start>: Fix value.
4848 (vhdl-fix-statement-region): Not `for' in wait-statement.
4849 (vhdl-beautify-region): Also (un)tabify.
4850 (vhdl-get-visible-signals):
4851 Scan declarative part of generate statements.
4852 (vhdl-template-record): Fix indentation for record type declaration.
4853 (vhdl-expand-abbrev, vhdl-expand-paren):
4854 Revert to using fset again rather than defalias.
4855 (vhdl-scan-directory-contents): Tweak.
4856 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4857 (vhdl-compose-components-package):
4858 Replace vhdl-goto-line with forward-line.
4859 (top-level): Tweak speedbar frame selection.
4860 (vhdl-generate-makefile-1): Support for compilers with no
4861 unit-to-file name mapping (create directory with dummy files).
4863 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
4865 Sync with upstream verilog-mode revision 702457d.
4866 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4867 (create-lockfiles): Declare.
4868 (verilog-read-decls): Fix module header imports, bug709.
4869 Reported by Victor Lau.
4870 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
4871 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4872 interface-only modules, bug721. Reported by Dean Hoyt.
4874 2014-03-26 Glenn Morris <rgm@gnu.org>
4876 * obsolete/gulp.el: Move here from emacs-lisp/.
4878 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4879 Remove fallback aliases, since they are always defined now.
4881 2014-03-24 Daniel Colascione <dancol@dancol.org>
4883 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4884 instead of cl-loop search function.
4886 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4888 * calendar/parse-time.el (parse-time-iso8601-regexp)
4889 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4892 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4894 * net/dns.el (network-interface-list): Define for XEmacs.
4896 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
4898 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4899 the network interfaces changed.
4900 (dns-query): Use it to flush the data.
4902 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4904 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4906 2014-03-23 Daniel Colascione <dancol@dancol.org>
4908 Change subword-mode to use `find-word-boundary-function-table' and
4909 replace `capitalized-words-mode'. Also, convert to lexical binding.
4910 * progmodes/cap-words.el: Delete now-obsolete file.
4911 * progmodes/subword.el: Reimplement using
4912 `find-word-boundary-function-table'.
4913 (subword-mode-map): Hollow out.
4914 (capitalized-words-mode): Define as obsolete alias for
4916 (subword-mode, superword-mode): Tweak documentation to reflect new
4917 implementation; call `subword-setup-buffer'.
4918 (subword-forward, subword-capitalize): Add underscore to indicate
4920 (subword-find-word-boundary-function-table): New constant.
4921 (subword-empty-char-table): New constant.
4922 (subword-setup-buffer): New function.
4923 (subword-find-word-boundary): New function.
4925 2014-03-23 Daniel Colascione <dancol@dancol.org>
4927 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4928 list to look for keyword arguments instead of `memq', fixing
4929 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4930 Please make bootstrap.
4932 2014-03-22 Glenn Morris <rgm@gnu.org>
4934 * dired.el (dired-read-regexp): Make obsolete.
4935 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4936 (dired-flag-files-regexp):
4937 * dired-aux.el (dired-mark-read-regexp):
4938 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4940 * startup.el (fancy-startup-text):
4941 * help.el (describe-gnu-project): Visit online info about GNU project.
4943 * help-fns.el (help-fns--interactive-only): New function.
4944 (help-fns-describe-function-functions): Add the above function.
4945 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4946 (next-line, previous-line): Remove hand-written interactive-only
4947 information from doc strings, it is auto-generated now.
4948 * bookmark.el (bookmark-write):
4949 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4950 (epa-mail-import-keys): Mark interactive-only,
4951 and remove hand-written interactive-only information from doc strings.
4952 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4953 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4954 * files.el (not-modified):
4955 * simple.el (mark-whole-buffer): Mark interactive-only.
4957 * emacs-lisp/byte-run.el (defun-declarations-alist):
4958 Add interactive-only. Doc tweak.
4959 (macro-declarations-alist): Doc tweak.
4960 * subr.el (declare): Doc tweak (add xref to manual).
4961 * comint.el (comint-run):
4962 * files.el (insert-file-literally, insert-file):
4963 * replace.el (replace-string, replace-regexp):
4964 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4965 (delete-forward-char, goto-line, insert-buffer, next-line)
4966 (previous-line): Set interactive-only via declare.
4968 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4970 * emacs-lisp/package.el (package-desc): Use the contents of the
4971 quoted form, not its cdr. (Bug#16873)
4973 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4975 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4976 benefit of doc.c; change parameter profile to match the X function.
4978 2014-03-22 Leo Liu <sdl.web@gmail.com>
4980 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4981 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4983 2014-03-21 Richard Stallman <rms@gnu.org>
4985 * battery.el (battery-linux-sysfs): Search for each field
4986 from the beginning of the buffer.
4988 * subr.el (set-transient-map): Clear out function and value
4989 of the temporary symbol when we're done with it.
4991 * mail/rmailsum.el (rmail-summary-delete-forward):
4992 Optimize case of reaching end and handling count.
4993 (rmail-summary-mark-deleted): Optimize when N is current msg.
4994 Don't create new summary line.
4995 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4996 (rmail-summary-undelete-many): Rewrite for speed.
4997 (rmail-summary-msg-number): New function.
4999 * mail/rmail.el (rmail-delete-message): Update summary.
5000 (rmail-undelete-previous-message): Handle repeat count arg.
5001 (rmail-delete-backward, rmail-delete-forward): Likewise.
5003 2014-03-21 Daniel Colascione <dancol@dancol.org>
5005 * mail/emacsbug.el (report-emacs-bug): Include memory usage
5006 information in bug reports.
5008 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
5010 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
5011 and `tramp-copy-env'.
5013 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
5014 (tramp-maybe-open-connection): Handle `tramp-login-env'.
5016 2014-03-21 Glenn Morris <rgm@gnu.org>
5018 * electric.el (electric-indent-post-self-insert-function): Add doc.
5020 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
5022 * emacs-lisp/package.el (package-compute-transaction):
5023 Use `version-list-<=' to compare the requirement version against
5024 the version of package already to be installed. Update the error
5025 message. (Bug#16826)
5027 * progmodes/ruby-mode.el (ruby-smie-rules):
5028 Add indentation rule for ` @ '. (Bug#17050)
5030 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
5032 * align.el (align-regexp): Remove superfluous backslash.
5034 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
5035 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
5036 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
5037 Fix docstring typos.
5038 (ffap-next): Use C-u in docstring.
5039 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
5040 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
5041 Remove superfluous backslashes.
5042 (ffap-string-at-point): Reflow docstring.
5044 * server.el (server-host): Reflow docstring.
5045 (server-unload-function): Fix docstring typo.
5046 (server-eval-at): Remove superfluous backslash.
5048 * skeleton.el (skeleton-insert): Remove superfluous backslash.
5049 (skeleton-insert): Doc fix.
5050 (skeleton-insert): Reflow docstring.
5052 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
5053 (tty-color-approximate, tty-color-by-index, tty-color-values)
5054 (tty-color-desc): Remove superfluous backslashes.
5056 2014-03-21 Glenn Morris <rgm@gnu.org>
5058 * cus-start.el (history-length): Bump :version.
5060 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5061 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5062 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5063 Don't set `make-backup-files'.
5065 * info.el (info--prettify-description): New function,
5066 to give info-finder descriptions consistent case, punctuation.
5067 (Info-finder-find-node): Use it. Sort packages.
5068 Refer to "description" rather than "commentary".
5070 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
5072 * frameset.el (frameset--print-register): New function.
5073 (frameset-to-register): Use it.
5075 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
5077 * progmodes/hideif.el (hif-string-to-number): New function.
5078 (hif-tokenize): Use it to understand non-decimal floats.
5080 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
5082 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
5084 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5086 * electric.el (electric-newline-and-maybe-indent): New command.
5087 Bind it globally to C-j.
5088 (electric-indent-mode): Don't mess with the global map any more.
5089 Don't drop the post-self-insert-hook is some buffer is still using it
5092 * bindings.el (global-map): Remove C-j binding.
5094 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
5095 the docstring of functions advised before dumping (bug#16993).
5097 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
5099 * ps-print.el (ps-generate-postscript-with-faces):
5100 Explicitly deactivate the mark (bug#16866).
5101 * simple.el (deactivate-mark): Update region highlight.
5103 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
5105 * emacs-lisp/package.el (describe-package-1):
5106 Decode commentary (bug#16733).
5108 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
5110 * custom.el (defcustom): Doc fix: recommend avoiding destructive
5111 modification of the value argument of :set (bug#16755).
5113 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * simple.el (newline-and-indent): Do autofill (bug#17031).
5117 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
5119 * newcomment.el (comment-normalize-vars): Only add escaping check
5120 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
5121 (comment-beginning): Use `narrow-to-region' instead of moving back
5123 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
5124 (comment-start-skip): Update the docstring.
5126 2014-03-18 Richard Stallman <rms@gnu.org>
5128 * dired.el (dired-display-file): Force use of other window.
5130 2014-03-18 Daniel Colascione <dancol@dancol.org>
5132 * startup.el (tty-handle-args): Remove debug message from 2007.
5134 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
5137 (advice--make-interactive-form): Use it to avoid (auto)loading function.
5138 (advice--make-1, advice-add, advice-remove):
5139 Remove braindead :advice-pending hack.
5141 2014-03-17 Glenn Morris <rgm@gnu.org>
5143 * calendar/calendar.el (calendar-generate-month): Apply weekend
5144 face to the right days; fixes 2013-08-06 change. (Bug#17028)
5146 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
5148 * net/tramp.el (tramp-action-out-of-band): Read pending output.
5149 (tramp-call-process): Trace also DESTINATION.
5151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5152 Quote file names when they are local. Remove superfluous trace.
5154 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
5156 * newcomment.el (comment-beginning): If `comment-start-skip'
5157 doesn't match, move back one char and try again. (Bug#16971)
5159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5160 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
5161 Set `comment-start-skip' to a simpler value that doesn't try to
5162 check if the semicolon is escaped (this is handled by
5163 `syntax-ppss' now). (Bug#16971)
5165 * progmodes/scheme.el (scheme-mode-variables): Same.
5167 2014-03-16 Martin Rudalics <rudalics@gmx.at>
5169 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
5170 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
5171 current (Bug#16816, Bug#17007).
5172 (with-current-buffer-window): New macro doing the same as
5173 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
5174 * help.el (help-print-return-message): Warn in doc-string to not
5175 use this in `with-help-window'.
5176 (describe-bindings-internal): Call `describe-buffer-bindings'
5177 from within help buffer. See Juanma's scenario in (Bug#16816).
5178 (with-help-window): Update doc-string.
5179 * dired.el (dired-mark-pop-up):
5180 * files.el (save-buffers-kill-emacs):
5181 * register.el (register-preview): Use `with-current-buffer-window'
5182 instead of `with-temp-buffer-window'.
5184 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
5186 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
5187 Implement inserting into current buffer, documented in their docstrings.
5188 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
5189 (rst-section-tree-point, rst-forward-section, rst-indent)
5190 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
5191 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
5192 (rst-font-lock-handle-adornment-pre-match-form)
5193 (rst-repeat-last-character): Reflow docstrings.
5194 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
5195 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
5196 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
5197 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
5198 Fix docstring typos.
5199 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
5200 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
5201 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
5203 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
5205 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
5206 for compatibility with other ports.
5207 (ns-initialize-window-system): Use it. It is set in term/common-win.el
5208 from the -xrm command line argument, but in the Nextstep port its value
5209 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
5211 * progmodes/python.el (defconst, python-syntax-count-quotes)
5212 (python-indent-region, python-indent-shift-right)
5213 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
5214 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
5215 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
5216 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
5217 (inferior-python-mode, python-shell-make-comint, run-python-internal)
5218 (python-shell-buffer-substring, python-shell-send-buffer)
5219 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
5220 (python-completion-complete-at-point, python-fill-docstring-style)
5221 (python-eldoc-function, python-imenu-format-item-label)
5222 (python-imenu-format-parent-item-label)
5223 (python-imenu-format-parent-item-jump-label)
5224 (python-imenu--build-tree, python-imenu-create-index)
5225 (python-imenu-create-flat-index): Fix docstring typos.
5226 (python-indent-context, python-shell-prompt-regexp, run-python):
5227 Remove superfluous backslashes.
5228 (python-indent-line, python-nav-beginning-of-defun)
5229 (python-shell-get-buffer, python-shell-get-process)
5230 (python-info-current-defun, python-info-current-line-comment-p)
5231 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
5232 (python-indent-post-self-insert-function, python-shell-send-file)
5233 (python-shell-completion-get-completions)
5234 (python-shell-completion-complete-or-indent)
5235 (python-eldoc--get-doc-at-point): Reflow docstrings.
5237 2014-03-14 Glenn Morris <rgm@gnu.org>
5239 * emacs-lisp/package.el (package-menu-mode-map):
5240 Replace use of obsolete function alias. Tweak menu item text.
5242 * info.el (Info-finder-find-node):
5243 Ignore the `emacs' metapackage. (Bug#10813)
5245 * finder.el (finder-list-matches): Include unversioned packages
5246 in the result of a keyword search.
5248 * finder.el (finder--builtins-descriptions): New constant.
5249 (finder-compile-keywords): Use finder--builtins-descriptions.
5251 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
5253 * simple.el (blink-matching-paren): Describe the new value,
5254 `jump', enabling the old behavior.
5255 (blink-matching-open): Use that value. (Bug#17008)
5257 2014-03-14 Glenn Morris <rgm@gnu.org>
5259 * finder.el (finder-no-scan-regexp): Add leim-list.
5260 (finder-compile-keywords):
5261 Don't skip files with same basename. (Bug#14010)
5262 * Makefile.in (setwins_finder): New, excluding leim.
5263 (finder-data): Use setwins_finder.
5265 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
5266 (help-function-arglist, help-make-usage): Move from here...
5267 * help.el (help-split-fundoc, help-add-fundoc-usage)
5268 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
5269 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
5271 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
5273 * net/socks.el (socks, socks-override-functions)
5274 (socks-find-services-entry):
5275 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
5276 (hif-find-ifdef-block):
5277 * progmodes/modula2.el (m2-indent): Fix docstring typos.
5279 * net/tls.el (tls-program): Reflow docstring.
5281 * progmodes/pascal.el (pascal-mode-abbrev-table)
5282 (pascal-imenu-generic-expression, pascal-auto-endcomments)
5283 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
5284 (pascal-outline-mode): Fix docstring typos.
5285 (pascal-mode): Let define-derived-mode document mode hook.
5286 (pascal-uncomment-area): Reflow.
5287 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
5289 * progmodes/opascal.el (opascal-compound-block-indent)
5290 (opascal-case-label-indent): Fix docstring typos.
5291 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
5293 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
5295 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5296 Fontify multiple adjacent negation chars. (Bug#17004)
5298 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
5300 * emacs-lisp/package.el (package--prepare-dependencies):
5301 Accept requirements without explicit version (bug#14941).
5303 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5305 * register.el (register-separator, copy-to-register): Doc fixes.
5306 (register-preview-default): Remove unnecessary call to concat.
5308 * frameset.el (frameset-restore): When checking for a visible frame,
5309 use the action map instead of calling visible-frame-list.
5311 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
5313 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
5315 2014-03-12 Martin Rudalics <rudalics@gmx.at>
5317 * window.el (fit-frame-to-buffer): Get maximum width from
5318 display's width instead of height.
5320 2014-03-12 Glenn Morris <rgm@gnu.org>
5322 * desktop.el (desktop-restore-frames)
5323 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
5324 (desktop-restore-reuses-frames): Doc tweaks.
5326 * electric.el (electric-indent-mode): Doc fix.
5328 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5330 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
5331 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5332 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
5333 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
5334 (cvs-dired-use-hook): Fix docstring typos.
5335 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
5338 * vc/pcvs-defs.el (cvs-auto-remove-handled)
5339 (cvs-auto-remove-directories, cvs-default-ignore-marks)
5340 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
5341 (cvs-execute-single-dir): Fix docstring typos.
5343 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
5344 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
5346 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
5348 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
5349 Fix docstring typos.
5351 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5353 * frameset.el (frameset--jump-to-register): Add autoload; it could be
5354 called from jump-to-register after unloading the frameset package.
5356 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5358 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
5359 (bug#16975). Deactivate the mark before setting it to nil.
5360 (activate-mark): Do nothing if region is already active.
5362 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5364 * frameset.el (frameset--target-display): Remove definition; declare.
5365 (frameset-save, frameset-restore): Let-bind frameset--target-display.
5367 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
5370 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5371 when the advice is pending.
5372 (advice-remove): Remove this marker when not needed any more.
5374 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5376 * frameset.el: Separate options for reusing frames and cleaning up.
5377 (frameset--reuse-list): Remove definition; declare.
5378 (frameset--action-map): Declare.
5379 (frameset--find-frame-if): Doc fix.
5380 (frameset--restore-frame): Cache frame action.
5381 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
5382 how to clean up the frame list after restoring. Remove cleaning
5383 options from REUSE-FRAMES. Change all keyword values to symbols.
5384 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
5386 * desktop.el (desktop-restore-forces-onscreen)
5387 (desktop-restore-reuses-frames): Use non-keyword values.
5388 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
5390 2014-03-10 Glenn Morris <rgm@gnu.org>
5392 * files.el (find-file): Doc fix: update info node name.
5394 * emacs-lisp/advice.el (ad-add-advice, defadvice):
5395 Doc fix: remove references to deleted info nodes.
5397 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
5399 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5400 Do not add nil to the environment, when there's no remote `locale'.
5401 (tramp-find-inline-encoding): Check, that the remote host has
5402 installed perl, before sending scripts.
5404 2014-03-10 Leo Liu <sdl.web@gmail.com>
5406 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5407 Clear eldoc-last-message. (Bug#16920)
5409 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
5414 2014-03-09 Juri Linkov <juri@jurta.org>
5416 * ansi-color.el (ansi-color-names-vector): Copy default colors
5417 from `xterm-standard-colors' that look well on the default white
5418 background (and also on the black background) to avoid illegible
5419 color combinations like yellow-on-white and white-on-white.
5420 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
5422 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
5424 * frameset.el (frameset-restore): When no frame is visible, do not
5425 generate a list of frames, just make visible the selected one.
5427 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
5429 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
5430 it only contains the repository root. (Bug#16897)
5432 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
5434 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
5435 only when `remote-file-name-inhibit-cache' is nil.
5436 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
5438 2014-03-06 Martin Rudalics <rudalics@gmx.at>
5440 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
5442 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
5443 fit-frame-to-buffer variable. Fix doc-string.
5444 (fit-window-to-buffer): Set ONLY argument in call of
5445 fit-frame-to-buffer. Fix doc-string.
5447 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
5449 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
5450 (tramp-action-password): Clear password cache if needed.
5451 (tramp-read-passwd): Do not clear password cache.
5453 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
5454 cache unless it is the first password request.
5456 2014-03-06 Glenn Morris <rgm@gnu.org>
5458 * simple.el (newline): Doc tweak.
5460 * emacs-lisp/shadow.el (load-path-shadows-find):
5461 Ignore dir-locals. (Bug#12357)
5463 2014-03-05 Glenn Morris <rgm@gnu.org>
5465 * files.el (interpreter-mode-alist):
5466 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5468 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5470 * frameset.el (frameset--initial-params): Filter out null entries.
5472 2014-03-05 Martin Rudalics <rudalics@gmx.at>
5474 * window.el (window-min-height, window-min-width):
5475 Rewrite doc-strings.
5476 (window-body-size): Add PIXELWISE argument to make it consistent
5479 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5481 * finder.el (finder-mode-map, finder-mode-syntax-table):
5482 Revert part of 2014-02-28 change.
5484 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
5486 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5487 (eww-setup-buffer): Clear next/prev/etc more reliably.
5488 (eww-textarea-map): [tab] doesn't work on tty.
5489 Reported by Mario Lang.
5491 * net/shr.el (shr-map): Ditto.
5493 2014-03-04 Glenn Morris <rgm@gnu.org>
5495 * minibuffer.el (completion-hilit-commonality):
5496 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5498 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5500 * hilit-chg.el (hilit-chg-unload-function): New function.
5501 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5502 (hilit-chg-map-changes): Prefer cardinal number to digit.
5503 (hilit-chg-display-changes): Reflow docstring.
5504 (highlight-changes-rotate-faces): Remove superfluous backslash.
5506 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
5508 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5509 `tramp-send-command-and-check'.
5511 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5513 * hexl.el (hexl-address-region, hexl-ascii-region)
5514 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5515 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5516 (hexl-forward-word, hexl-previous-line, hexl-next-line):
5517 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5518 (hexl-mode): Doc fix.
5519 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5520 (hexl-mode-ruler): Fix typos in docstrings.
5522 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5523 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5524 Remove superfluous backslashes.
5525 (strokes-last-stroke, strokes-global-map, strokes-mode):
5527 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5528 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5529 (strokes-distance-squared, strokes-global-set-stroke)
5530 (strokes-global-set-stroke-string): Doc fixes.
5531 (strokes-help): Fix typos; reflow docstring.
5533 2014-03-04 Martin Rudalics <rudalics@gmx.at>
5535 * window.el (window-in-direction): Fix doc-string.
5537 2014-03-04 Glenn Morris <rgm@gnu.org>
5539 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5540 Explicit error if no grammar.
5541 (smie-config-save): Doc fix. Fix quote typo.
5543 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
5545 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5546 electric-indent-mode-hook if we obey electric-indent-mode.
5547 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5548 decide whether we obey electric-indent-mode.
5549 (c-change-set-fl-decl-start, c-extend-after-change-region):
5551 (c-electric-indent-mode-hook): Assume we do want to obey
5552 electric-indent-mode.
5554 * electric.el (electric-indent-mode-has-been-called): Remove.
5555 (electric-indent-mode): Fix accordingly.
5557 * files.el (hack-local-variables): Mention file name in warning.
5559 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5561 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
5563 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5564 * simple.el (delete-forward-char): Mark as interactive-only.
5566 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
5568 * icomplete.el (icomplete-completions):
5569 Follow-up to 2014-03-01 change.
5571 * icomplete.el: Miscellaneous doc fixes.
5572 Use Icomplete everywhere instead of icomplete for consistency.
5573 (icomplete-max-delay-chars): Fix typo.
5574 (icomplete-mode): Use \[].
5575 (icomplete-tidy, icomplete-exhibit): Reflow.
5576 (icomplete-minibuffer-setup-hook, icomplete-completions):
5577 Remove superfluous backlashes.
5579 * ido.el: Miscellaneous doc fixes.
5580 Use Ido everywhere instead of ido or `ido' for consistency.
5581 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5582 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5583 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5584 (ido-separator): Extract obsolescence info from docstring and declare
5585 with make-obsolete-variable.
5586 (ido-minibuffer-setup-hook): Simplify example.
5587 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5588 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5589 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5590 (ido-everywhere): Reflow docstring.
5591 (ido-toggle-vc): Doc fix.
5592 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5593 of long list of keybindings.
5595 2014-03-03 Glenn Morris <rgm@gnu.org>
5597 * frame.el (display-pixel-height, display-pixel-width)
5598 (display-mm-dimensions-alist, display-mm-height)
5599 (display-mm-width): Doc tweaks.
5601 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
5603 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5604 case of undo in region.
5606 2014-03-02 Martin Rudalics <rudalics@gmx.at>
5608 * window.el (fit-window-to-buffer): Fix argument in window-size
5609 call when window is horizontally combined.
5611 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5613 * icomplete.el (icomplete-completions): Use string-width.
5614 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5616 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5618 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5619 Highlight regexp options. (Bug#16914)
5621 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5623 * window.el (window--max-delta-1): Round down when calculating
5624 how many lines/columns we can get from a window.
5626 2014-03-01 Glenn Morris <rgm@gnu.org>
5628 * isearch.el (search-invisible): Doc fix.
5630 * minibuffer.el (completion-hilit-commonality):
5631 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5632 * comint.el (comint-dynamic-list-completions): Doc fix.
5633 * comint.el (comint-dynamic-list-completions):
5634 * filecache.el (file-cache-minibuffer-complete):
5635 * tempo.el (tempo-display-completions):
5636 * eshell/em-hist.el (eshell-list-history):
5637 Replace use of obsolete argument of display-completion-list.
5639 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5641 * icomplete.el (icomplete-completions):
5642 Revert back to using "..." when ?… cannot be displayed.
5644 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5646 * finder.el (finder-unload-function): New function.
5648 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5650 * dframe.el (dframe-detach):
5651 * find-dired.el (find-dired, find-name-dired):
5652 * finder.el (finder-mode-map, finder-mode-syntax-table)
5653 (finder-headmark, finder-select, finder-mouse-select):
5654 Fix docstring typos.
5656 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5658 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5659 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5660 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5661 Fix doc-string based on a suggestion by Nicolas Richard
5662 <theonewiththeevillook@yahoo.fr>.
5663 * help.el (with-help-window): Fix doc-string.
5665 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5667 * net/shr.el (shr-image-animate): New option.
5668 (shr-put-image): Respect shr-image-animate.
5670 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5672 * net/tramp-adb.el (tramp-adb-parse-device-names):
5673 Use `accept-process-output'.
5674 (tramp-adb-handle-file-truename): Cache the localname only.
5675 (tramp-adb-handle-make-directory)
5676 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5677 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5678 modes cannot be changed.
5680 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5681 file properties of symlinks.
5683 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5685 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5686 required/optional fields to match development biblatex. (Bug#16781)
5688 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5690 * saveplace.el (toggle-save-place):
5691 Fix argument handling. (Bug#16673)
5693 2014-02-28 Glenn Morris <rgm@gnu.org>
5695 * minibuffer.el (completions-first-difference)
5696 (completions-common-part, completion-hilit-commonality): Doc fixes.
5698 2014-02-28 Karl Berry <karl@gnu.org>
5700 * info.el (Info-mode-map): Add H for describe-mode,
5701 to synchronize with standalone Info.
5703 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5705 * progmodes/sql.el (sql-interactive-mode):
5706 Avoid setting global comint-input-ring-separator. (Bug#16814)
5708 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5710 * net/dbus.el (dbus--init-bus): Declare function.
5711 (dbus-path-local, dbus-interface-local): New defconst.
5712 (dbus-init-bus): Use them.
5713 (dbus-return-values-table): Extend doc.
5714 (dbus-handle-bus-disconnect): Extend error message.
5716 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5718 * subr.el (y-or-n-p): Fix double space issue in message.
5720 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5722 * net/tramp.el (tramp-call-process): Improve trace message.
5723 (tramp-handle-insert-file-contents): Trace error case.
5725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5726 <insert-directory>: Use `tramp-handle-insert-directory'.
5727 (tramp-adb-handle-insert-directory): Remove function.
5728 (tramp-adb-send-command-and-check): New defun, replacing
5729 `tramp-adb-command-exit-status'. Change all callees.
5730 (tramp-adb-handle-file-attributes)
5731 (tramp-adb-handle-directory-files-and-attributes): Use it.
5732 (tramp-adb-ls-output-name-less-p):
5733 Use `directory-listing-before-filename-regexp'.
5734 (tramp-adb-handle-delete-directory): Flush also file properties of
5735 the truename of directory.
5736 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5737 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5738 (tramp-adb-handle-write-region): Implement APPEND.
5739 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5740 properties correctly.
5741 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5742 variables. Check for connected devices only when needed.
5744 2014-02-27 Glenn Morris <rgm@gnu.org>
5746 * minibuffer.el (completion-table-dynamic)
5747 (completion-table-with-cache): Doc fixes.
5749 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5750 (completing-read-multiple): Doc fixes.
5752 2014-02-27 Daniel Colascione <dancol@dancol.org>
5754 * minibuffer.el (completion--nth-completion): Fix indentation.
5756 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5757 explicit tramp path is empty.
5759 2014-02-27 Glenn Morris <rgm@gnu.org>
5761 * emacs-lisp/crm.el (completing-read-multiple):
5762 Empower help-enable-auto-load.
5764 2014-02-26 Glenn Morris <rgm@gnu.org>
5766 * startup.el (command-line): Don't init the tty in daemon mode.
5768 Avoid calling tty-setup-hook twice, eg if a term file
5769 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5770 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5771 (tty-create-frame-with-faces): Use it.
5772 * startup.el (command-line): Pass run-hook argument
5773 to tty-run-terminal-initialization.
5775 * dired.el (dired-restore-desktop-buffer): Demote errors;
5776 eg in case a glob match fails. (Bug#16884)
5778 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5780 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5781 error from `read-from-string'. (Bug#16850)
5783 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5784 result of `completing-read' in the interactive form. (Bug#16854)
5786 2014-02-25 Glenn Morris <rgm@gnu.org>
5788 * image.el (image-animate, image-animate-timeout):
5789 Stop animating images in dead buffers. (Bug#16878)
5791 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5793 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5795 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5796 * term/sun.el (sun-raw-prefix-hooks):
5797 Use tty-setup-hook instead of term-setup-hook.
5798 (terminal-init-sun): Construct message from bytecomp plist.
5799 * term/wyse50.el (enable-arrow-keys): Doc fix.
5801 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5803 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5804 Fix docstring typos.
5806 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
5808 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5810 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5812 * minibuffer.el (completion--try-word-completion):
5813 Fix error when completing M-x commands (bug#16808).
5815 2014-02-24 Leo Liu <sdl.web@gmail.com>
5817 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5819 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5821 * apropos.el (apropos-print): Avoid formatting error when
5822 apropos-do-all and apropos-compact-layout are both t.
5824 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5826 * apropos.el (apropos-property, apropos-all-words-regexp)
5827 (apropos-true-hit, apropos-variable, apropos-print):
5828 Fix docstring typos, and remove obsolete comment.
5830 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
5832 * net/tramp-sh.el (tramp-sh-handle-file-truename):
5833 Preserve trailing "/". (Bug#16851)
5835 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
5837 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5838 after `=>' (bug#16811).
5839 (ruby-smie-rules): Handle the inconsistent second element of the
5840 list returned by `smie-indent--parent'.
5841 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5844 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5846 * elec-pair.el (electric-pair-text-syntax-table)
5847 (electric-pair-syntax-info, electric-pair--syntax-ppss)
5848 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5849 (electric-pair--looking-at-unterminated-string-p): Doc fix.
5850 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
5852 2014-02-22 Glenn Morris <rgm@gnu.org>
5854 * imenu.el (imenu--generic-function): Doc fix.
5856 * register.el (frame-configuration-to-register): Make obsolete.
5858 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
5860 * desktop.el (desktop-save-buffer-p): Do not fail when
5861 desktop-files-not-to-save is nil. Return t for true result
5864 2014-02-22 Daniel Colascione <dancol@dancol.org>
5866 * net/secrets.el (secrets-create-item, secrets-search-items):
5867 Check that attribute values are strings, avoiding the construction
5868 of invalid dbus messages.
5870 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5872 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5873 defun-declarations-alist.
5875 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
5877 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5880 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5882 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5883 (whitespace-newline, whitespace-trailing, whitespace-line)
5884 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5885 (whitespace-space-after-tab): Fix typo in docstrings.
5887 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
5889 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5891 * electric.el (electric-indent-functions-without-reindent):
5892 Add `yaml-indent-line'.
5894 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5896 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5897 It has done nothing for years; should be removed after the release.
5899 * simple.el (choose-completion): Fix docstring typo.
5900 (read-quoted-char-radix): Remove unneeded * in docstring.
5901 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5902 Don't escape parentheses unnecessarily in docstrings.
5904 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5906 Fix handling of window-min-height/-width (Bug#16738).
5907 * window.el (window--dump-window, window--dump-frame):
5909 (window--min-size-1): Account for window dividers.
5910 When window-resize-pixelwise is nil, delay rounding till after the
5911 sum of the window components has been calculated.
5912 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5913 nil make sure at least one text line and two text columns remain
5915 (window-resize): Signal an error when window-resize-apply fails.
5916 (window--resize-child-windows): Fix calculation of by how many
5917 pixels a window can still be shrunk via window-new-normal.
5918 (adjust-window-trailing-edge): Call window--resizable with
5919 correct TRAIL argument.
5921 (with-temp-buffer-window): Don't evaluate BODY within
5922 with-current-buffer (Bug#16816).
5924 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5926 * net/tramp.el (tramp-check-cached-permissions):
5927 Call `file-attributes' with `suffix' being a symbol but a string.
5929 2014-02-21 Daniel Colascione <dancol@dancol.org>
5931 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5932 (dbus-init-bus): New function: call into dbus-init-bus-1
5933 and installs a handler for the disconnect signal.
5934 (dbus-call-method): Rewrite to look for result in cons.
5935 (dbus-call-method-handler): Store result in cons.
5936 (dbus-check-event): Recognize events with nil sender as valid.
5937 (dbus-handle-bus-disconnect): New function. React to bus
5938 disconnection signal by synthesizing dbus error for each
5939 pending synchronous or asynchronous call.
5940 (dbus-notice-synchronous-call-errors): New function.
5941 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5942 is true, not all the time.
5944 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5946 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5947 Remove obsolescence declarations, these variables do not exist anymore.
5949 * savehist.el (savehist-save-minibuffer-history)
5950 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5951 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5952 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5953 mostly, refer to "Savehist mode" when talking about the mode,
5954 and not the function.
5956 * saveplace.el (save-place): Remove redundant info in docstring.
5957 (save-place-forget-unreadable-files, toggle-save-place)
5958 (save-place-forget-unreadable-files, save-place-dired-hook):
5959 Fix typos and remove unneeded backslashes.
5961 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5963 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5964 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5967 <insert-directory>: Use `tramp-handle-insert-directory'.
5968 (tramp-gvfs-handle-insert-directory): Remove function.
5970 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5971 Call `tramp-handle-insert-directory'.
5973 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5975 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5976 before the start of buffer/region (bug#16799).
5978 2014-02-20 Glenn Morris <rgm@gnu.org>
5980 * isearch.el (search-invisible): Doc fix.
5982 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5984 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5987 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5989 * frameset.el (frameset-restore): Delay removing an old frame's
5990 duplicate id until the new frame has been correctly created.
5992 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5994 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5995 (tramp-check-cached-permissions): Call `file-attributes' if the
5998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5999 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6001 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6002 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6003 (tramp-gvfs-maybe-open-connection): Set always connection
6004 properties, even if target is mounted already.
6006 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
6007 Set tramp-autoload cookie.
6008 (tramp-get-remote-touch): New defun.
6009 (tramp-sh-handle-set-file-times): Use it.
6010 (tramp-sh-handle-directory-files-and-attributes):
6011 Use `tramp-handle-directory-files-and-attributes' if neither stat
6012 nor perl are available on the remote host.
6014 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
6015 "/". Write long listing only when "l" belongs to the switches.
6017 * net/trampver.el: Update release number.
6019 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
6021 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
6023 2014-02-19 Martin Rudalics <rudalics@gmx.at>
6025 * window.el (window-state-put): Allow WINDOW to refer to an
6026 internal window (Bug#16793).
6028 2014-02-19 Glenn Morris <rgm@gnu.org>
6030 * textmodes/remember.el: Move provide statement to end.
6031 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
6032 (remember-notes): Doc fixes.
6034 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6036 * delsel.el (delete-char): Restore incorrectly erased property
6039 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
6041 * frameset.el (frameset--restore-frame): When a frame is being reused
6042 and its root window is not alive, delete all the frame's windows before
6043 restoring the window state. This works around the issue in bug#16793.
6045 2014-02-18 Glenn Morris <rgm@gnu.org>
6047 * textmodes/remember.el (remember-data-directory)
6048 (remember-directory-file-name-format, remember-store-in-files)
6049 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
6050 (remember-notes-save-and-bury-buffer)
6051 (remember-notes--kill-buffer-query): Doc fixes.
6053 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
6055 2014-02-17 Alan Mackenzie <acm@muc.de>
6057 Connect electric-indent-mode up with CC Mode. Bug #15478.
6058 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
6059 to electric-indent-{,local-}-mode.
6060 (c-basic-common-init): Set electric-indent-inhibit.
6061 Initialise c-electric-flag from electric-indent-mode.
6062 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
6063 New hook functions which propagate electric-indent-mode to CC mode.
6065 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
6066 hit, toggle electric-indent-local-mode.
6068 * electric.el (electric-indent-mode-has-been-called):
6071 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
6073 * frameset.el (frameset-cfg-id): New function.
6074 (frameset--reuse-frame, frameset-restore): Use it.
6075 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
6077 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
6079 * ido.el (ido-file-internal): Remove unused var `d'.
6080 Use \` for to match BoS. Fit within 80n columns.
6082 2014-02-17 Daniel Colascione <dancol@dancol.org>
6084 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
6085 dbus-call-method check for completion using a busy-wait loop with
6088 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
6090 Sync with Tramp 2.2.9.
6092 * net/trampver.el: Update release number.
6094 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
6096 * ido.el (ido-file-internal): Don't add the name of an existing
6097 directory twice. (Bug#16747)
6099 2014-02-16 Glenn Morris <rgm@gnu.org>
6101 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
6102 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
6104 2014-02-15 Michael R. Mauger <michael@mauger.com>
6106 * progmodes/sql.el: Version 3.4
6107 (sql-oracle-options): New default value ("-L").
6108 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
6109 (sql-placeholders-filter): Correct placeholder pattern.
6110 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
6111 (sql-login-delay): New variable.
6112 (sql-product-interactive): Use it.
6114 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
6116 * frameset.el (frameset--jump-to-register): Check that buffer is live
6119 2014-02-15 Glenn Morris <rgm@gnu.org>
6121 * info.el (info-initialize): Revert 2014-01-10 change.
6123 2014-02-14 Glenn Morris <rgm@gnu.org>
6125 * replace.el (map-query-replace-regexp)
6126 (read-regexp-defaults-function, read-regexp): Doc fixes.
6128 * dired.el (dired-read-regexp):
6129 * faces.el (list-faces-display):
6130 * misearch.el (multi-isearch-read-matching-buffers)
6131 (multi-isearch-read-matching-files):
6132 * play/cookie1.el (cookie-apropos):
6133 * progmodes/grep.el (grep-read-regexp): Doc fixes.
6135 * textmodes/remember.el (remember): Use frameset-to-register
6136 rather than frame-configuration-to-register.
6138 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
6140 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
6141 incorrect keybinding.
6143 2014-02-13 Daniel Colascione <dancol@dancol.org>
6145 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
6146 when adding overlays so that line numbers from compiler match line
6149 2014-02-13 Glenn Morris <rgm@gnu.org>
6151 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
6153 * jit-lock.el (jit-lock-mode): Doc fix.
6155 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
6157 * apropos.el (apropos-read-pattern): When the user passes an empty
6158 string, give a more helpful error message than "Wrong type
6159 argument: stringp, nil".
6161 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
6165 2014-02-13 Glenn Morris <rgm@gnu.org>
6167 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
6169 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
6171 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
6172 shift-select commands.
6174 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
6176 * progmodes/js.el (js-indent-line): Don't widen.
6177 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
6179 2014-02-12 Glenn Morris <rgm@gnu.org>
6181 * icomplete.el (icomplete): Add info-link to defgroup.
6182 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
6183 (icomplete-minibuffer-map, icomplete-mode)
6184 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
6186 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
6187 (package-menu-filter): Rename from package-menu-filter-interactive.
6190 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
6192 * frameset.el (frameset--jump-to-register): Select the required
6193 window and buffer before restoring position (bug#16696).
6195 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
6197 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
6199 2014-02-10 Glenn Morris <rgm@gnu.org>
6201 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
6203 2014-02-10 Eli Zaretskii <eliz@gnu.org>
6205 * w32-common-fns.el (x-get-selection): Doc fix.
6206 * select.el (x-get-selection): Doc fix. (Bug#15109)
6208 * face-remap.el (face-remap-add-relative)
6209 (face-remap-remove-relative, face-remap-reset-base)
6210 (face-remap-set-base): Call force-mode-line-update to redisplay
6211 the current buffer due to potential change in faces. (Bug#16709)
6213 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
6215 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
6216 script more robustly.
6218 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6220 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
6222 * simple.el (choose-completion): Doc fix (bug#14160).
6224 * subr.el (event-start): Say what a nil EVENT value means.
6226 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
6229 * progmodes/grep.el (find-program): Doc fix (bug#14289).
6231 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
6233 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
6235 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
6236 predicate function (bug#15455).
6238 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
6240 * ielm.el (inferior-emacs-lisp-mode): Instead of
6241 `comment-use-global-state', set `comment-use-syntax'.
6243 2014-02-10 Glenn Morris <rgm@gnu.org>
6245 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
6247 2014-02-09 Alan Mackenzie <acm@muc.de>
6249 Fix c-invalidate-state-cache on narrowed buffers.
6250 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
6251 Widen when setting and clearing the CPP delimiter properties.
6253 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
6255 * help.el (describe-bindings): Doc fix (bug#9888).
6257 * files.el (save-buffer): Use ARG as the parameter name for
6258 consistency (bug#10346).
6259 (save-buffer): Clarify the 0 argument (bug#10346).
6261 * cus-edit.el (customize-apropos): Fix error string.
6262 (custom-buffer-create): Doc fix (bug#11122).
6263 (custom-sort-items): Doc fix (bug#11121).
6265 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
6267 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
6268 (icomplete-simple-completing-p): Mention the previous variable.
6270 * font-lock.el (font-lock-value-in-major-mode): Clarify the
6271 meaning of the parameter (bug#12282).
6273 * files.el (find-file-noselect): Clarify prompt when changing
6274 readedness (bug#13261).
6275 (locate-file): Suffixes aren't returned, so don't say that they
6277 (backup-inhibited): Doc clarification (bug#12525).
6279 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
6280 before we actually start to delete things (bug#16331).
6282 * subr.el (event-start): Doc fix (bug#14228).
6285 2014-02-09 Glenn Morris <rgm@gnu.org>
6287 * emacs-lisp/warnings.el (lwarn):
6288 Empower help-enable-auto-load. (Bug#15940)
6290 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6292 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
6295 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
6297 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6298 Insert output at end of buffer. (Bug#16120)
6300 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6302 * simple.el (choose-completion-string-functions): Document new
6303 calling convention (bug#14153).
6304 (execute-extended-command): Clarify doc string (bug#13373).
6306 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
6308 * find-dired.el (find-name-dired): Doc fix (bug#14290).
6309 (find-grep-dired): Doc fix (bug#14288).
6311 2014-02-08 Juri Linkov <juri@jurta.org>
6313 * isearch.el (isearch-quote-char): Check character validity
6314 like in `quoted-insert' (bug#16677).
6316 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6318 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
6320 * isearch.el (isearch-hide-immediately): Doc clarification
6323 * simple.el (line-move): Document utility function used many
6324 places in the Emacs sources (bug#14843).
6326 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
6327 (dired-prev-marked-file): Doc fix (bug#14855).
6328 (dired-up-directory): Doc fix (bug#14848).
6330 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
6332 * files.el (file-relative-name): Doc fix (bug#15159).
6334 * fringe.el (fringe-styles): Doc fix (bug#15239).
6336 * isearch.el (isearch-filter-predicate): Documentation typo fix
6339 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
6341 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6343 * replace.el (replace-match-maybe-edit): Doc clarification
6346 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
6348 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
6350 2014-02-08 Glenn Morris <rgm@gnu.org>
6352 * help-fns.el (describe-variable):
6353 Check {file,dir}-local-variables-alist, and buffer-file-name,
6354 in the correct buffer.
6356 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
6358 * help-fns.el (describe-variable): Fix the case where
6359 a value is directory-local with no dir-locals file. (Bug#16635)
6361 2014-02-08 Glenn Morris <rgm@gnu.org>
6363 * abbrev.el (edit-abbrevs-mode):
6364 Derive from fundamental-mode. (Bug#16682)
6366 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
6368 * simple.el (quoted-insert): Check character validity (bug#16677).
6370 2014-02-07 Juri Linkov <juri@jurta.org>
6372 * desktop.el (desktop-read): Claim the lock when the owner is not
6373 the current process. (Bug#16157)
6375 2014-02-07 Juri Linkov <juri@jurta.org>
6377 * desktop.el (desktop-buffers-not-to-save): Change default from nil
6378 to "\\` ". (Bug#16651)
6380 2014-02-07 Juri Linkov <juri@jurta.org>
6382 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
6383 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
6384 (desktop-auto-save-cancel-timer): New function with some code from
6385 `desktop-auto-save-set-timer'.
6386 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
6387 Instead of setting `desktop-save-mode' to nil, call
6388 `desktop-save-mode' with arg 0. (Bug#16630)
6390 2014-02-07 Glenn Morris <rgm@gnu.org>
6392 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
6393 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
6394 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
6396 * obsolete/iswitchb.el: Move to obsolete/.
6397 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
6398 since obsolete/ is not scanned for autoloads.
6399 * emacs-lisp/authors.el (authors-valid-file-names):
6402 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
6403 Disable now non-functional find-file-hook.
6405 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
6407 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
6408 instead of ";" in order to avoid additional prompts. Let heredoc
6409 scripts read from tty. (Bug#16582)
6410 (tramp-send-command): No special handling of heredocs, it isn't
6413 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
6416 with a space (bug#16664). Limit the symbols considered to the ones
6417 that are bound or fbound (bug#16646).
6419 2014-02-06 Glenn Morris <rgm@gnu.org>
6421 * epa.el (epa-mail-aliases): Doc fix.
6423 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
6425 * emacs-lisp/lisp.el (lisp-completion-at-point):
6426 Use `completion-table-merge' instead of `completion-table-in-turn'
6429 * minibuffer.el (completion-table-merge): New function.
6431 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
6433 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
6434 (tramp-sh-handle-set-file-acl)
6435 (tramp-sh-handle-start-file-process)
6436 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
6437 (tramp-find-executable, tramp-send-command): Use it.
6439 2014-02-05 Glenn Morris <rgm@gnu.org>
6441 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
6443 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6445 * progmodes/python.el (python-shell-send-string)
6446 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
6448 2014-02-04 Anders Lindgren <andlind@gmail.com>
6450 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
6451 the names (bug#16620).
6453 2014-02-03 Martin Rudalics <rudalics@gmx.at>
6455 * faces.el (window-divider): New default value. Rewrite doc-string.
6456 (window-divider-first-pixel, window-divider-last-pixel): New faces.
6458 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
6460 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6461 `protected' and `public' can also be called without arguments.
6463 2014-02-03 Glenn Morris <rgm@gnu.org>
6465 * register.el (window-configuration-to-register)
6466 (frame-configuration-to-register): Unadvertise unused argument.
6467 * frameset.el (frameset-to-register): Remove unused argument.
6469 * frameset.el (frameset-to-register):
6470 * kmacro.el (kmacro-to-register):
6471 * register.el (increment-register):
6472 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6473 (calc-append-to-register, calc-prepend-to-register):
6474 * play/gametree.el (gametree-layout-to-register)
6475 (gametree-apply-register-layout):
6476 * textmodes/picture.el (picture-clear-rectangle-to-register)
6477 (picture-yank-rectangle-from-register):
6478 * vc/emerge.el (emerge-combine-versions-register):
6479 Use register-read-with-preview to read registers.
6481 2014-02-03 João Távora <joaotavora@gmail.com>
6483 * elec-pair.el (electric-pair-backward-delete-char): Don't error
6484 when at beginning of (possibly narrowed) buffer.
6486 2014-02-02 Daniel Colascione <dancol@dancol.org>
6488 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6489 Also try to display local help from just before point.
6491 2014-02-02 Alan Mackenzie <acm@muc.de>
6493 c-parse-state. Don't "append-lower-brace-pair" in certain
6494 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
6495 recognised as a comment.
6497 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6498 as well as normal comment starter.
6499 (c-parse-state-get-strategy): Extra return possibility
6501 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6502 return value list to indicate replacement of a brace-pair cons
6504 (c-parse-state-1): With 'back-and-forward, only call
6505 c-append-lower-brace-pair-to state-cache when cons-separated.
6507 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
6509 * term/ns-win.el (ns-suspend-error): New function.
6510 (ns-initialize-window-system): Add ns-suspend-error to
6511 suspend-hook (Bug#16612).
6513 2014-02-02 Daniel Colascione <dancol@dancol.org>
6515 * progmodes/cc-defs.el (c-find-assignment-for-mode):
6516 Make loading cc-mode silent.
6518 2014-02-02 Daniel Colascione <dancol@dancol.org>
6520 * comint.el (comint-prompt-read-only): Change doc to suggest
6523 2014-02-02 Glenn Morris <rgm@gnu.org>
6525 * register.el (register-read-with-preview, point-to-register)
6526 (window-configuration-to-register, frame-configuration-to-register)
6527 (jump-to-register, number-to-register, view-register, insert-register)
6528 (copy-to-register, append-to-register, prepend-to-register)
6529 (copy-rectangle-to-register): Doc fixes.
6531 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
6533 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6534 * emacs-lisp/find-func.el (find-function-C-source): Idem.
6535 * emacs-lisp/nadvice.el (advice--cd*r): New function.
6536 * help-fns.el (describe-function-1): Use it.
6538 2014-02-02 Glenn Morris <rgm@gnu.org>
6540 * register.el (register-preview-default): New function,
6541 split from register-preview.
6542 (register-preview-function): Rename from register-preview-functions,
6544 (register-preview): Use register-preview-function.
6545 (register-read-with-preview): Error on non-character event. (Bug#16595)
6547 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
6549 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6550 `:' before binary operators (bug#16609). Don't check for `:'
6551 before `[' and `(', or their syntax status. A percent literal
6552 can't end with either.
6553 (ruby-font-lock-keywords): For built-ins that require arguments,
6554 check that they're followed by something that looks like argument
6557 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
6559 * subr.el (butlast): Document what an omitted N means (bug#13437).
6562 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
6564 * net/shr.el (shr-generic): Make into a defsubst to make the stack
6565 depth shallower (bug#16587).
6566 (shr-tag-svg): Respect `shr-inhibit-images'.
6567 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6569 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
6571 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6572 (ruby-smie-grammar): Make "." right-associative. Make its priority
6573 lower than the ternary and all binary operators.
6574 (ruby-smie-rules): Indent "(" relative to the first non-"."
6575 parent, or the first "." parent at indentation.
6576 Use `ruby-align-chained-calls' for indentation of "." tokens.
6579 2014-01-31 Juri Linkov <juri@jurta.org>
6581 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6582 from `make-hash-table'.
6584 * textmodes/ispell.el (ispell-init-process): Change message format
6585 to be consistent with other messages.
6587 2014-01-31 Glenn Morris <rgm@gnu.org>
6589 * delsel.el (delete-selection-mode): Doc fix.
6591 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6592 (trace-function-background): Doc fixes.
6594 * ido.el (ido-use-virtual-buffers): Doc fix.
6595 Reset :version, since the default value has not changed.
6597 * register.el (register-preview-delay, register-read-with-preview):
6600 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6601 do not mess with mail-buffer position (fixes 2009-11-03 change).
6602 * progmodes/cc-mode.el (c-submit-bug-report):
6603 Check auto-fill-mode is bound. (Bug#16592)
6605 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
6607 * startup.el (fancy-splash-image-file): New function,
6608 split from fancy-splash-head.
6609 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6610 so that we are both using the same image. (Bug#16574)
6612 2014-01-30 Glenn Morris <rgm@gnu.org>
6614 * simple.el (eval-expression): Doc fix.
6616 * hexl.el (hexl-mode-hook):
6617 * ielm.el (ielm-mode-hook):
6618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6619 (lisp-interaction-mode-hook):
6620 * progmodes/cfengine.el (cfengine3-documentation-function):
6621 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6623 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6625 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6626 is a symbol (bug#16584).
6628 2014-01-30 Glenn Morris <rgm@gnu.org>
6630 * help.el (help-for-help-internal): Add "P" to text.
6632 2014-01-29 Glenn Morris <rgm@gnu.org>
6634 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6636 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6638 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6641 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6643 * progmodes/hideif.el: Extend to full CPP expression syntax.
6644 (hif-token-alist): Add missing tokens.
6645 (hif-token-regexp): Add support for float/octal/hex immediates.
6646 (hif-string-literal-regexp): New const.
6647 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6648 (hif-exprlist): New function.
6649 (hif-parse-if-exp): Use it.
6650 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6651 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6652 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6653 (hif-logxor, hif-comma): New functions.
6655 2014-01-28 Glenn Morris <rgm@gnu.org>
6657 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6659 * indent.el (tab-stop-list): Doc fix. Add :version.
6661 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6662 (cvs-append-to-ignore): Add compatibility alias.
6664 2014-01-27 Glenn Morris <rgm@gnu.org>
6666 * dired.el (dired-hide-details-mode): Don't autoload it,
6667 since it cannot be used outside Dired buffers anyway.
6669 * emulation/cua-base.el (cua-mode): Doc fix.
6671 * dired.el (dired-hide-details-hide-symlink-targets)
6672 (dired-hide-details-hide-information-lines)
6673 (dired-hide-details-mode): Doc fixes.
6675 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6676 * strokes.el (strokes-file): Doc fix. Bump :version.
6677 (strokes-help): Doc fix.
6678 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6679 * emulation/viper.el (viper): Doc fix for custom group.
6680 (top-level): Remove oh-so-no-longer-relevant text about vip.
6681 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6683 * ido.el (ido-save-directory-list-file):
6684 * saveplace.el (save-place-file):
6685 * calendar/timeclock.el (timeclock-file):
6686 * net/quickurl.el (quickurl-url-file):
6687 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6688 * progmodes/idlwave.el (idlwave-config-directory):
6689 * textmodes/remember.el (remember-data-file):
6692 2014-01-26 Glenn Morris <rgm@gnu.org>
6694 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6695 Doc fix. Make obsolete.
6696 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6698 * sort.el (delete-duplicate-lines): Doc fix.
6700 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6702 * progmodes/ada-mode.el (ada):
6703 * woman.el (woman): Link to info manual and Commentary section.
6705 * progmodes/flymake.el (flymake):
6706 * nxml/nxml-mode.el (nxml):
6708 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6709 * htmlfontify.el (htmlfontify):
6712 * ido.el (ido): Link to info manual.
6714 2014-01-25 Leo Liu <sdl.web@gmail.com>
6716 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6718 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6720 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6723 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6725 * net/eww.el (eww-download-callback):
6726 Fix reference to eww-download-directory.
6728 * emacs-lisp/bytecomp.el (byte-compile-file):
6729 Remove unused local variable `file-name'.
6731 2014-01-24 Glenn Morris <rgm@gnu.org>
6733 * woman.el (woman-default-faces, woman-monochrome-faces):
6734 Fix obsolescence specification.
6736 * subr.el (with-demoted-errors): Doc fix.
6738 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6741 (cl--macroexp-fboundp): New function.
6742 (cl--make-type-test): Use it.
6744 2014-01-23 Glenn Morris <rgm@gnu.org>
6746 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6747 * simple.el (eval-expression): Doc fixes.
6749 2014-01-22 Glenn Morris <rgm@gnu.org>
6751 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6753 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6755 * emacs-lisp/package.el: Write files silently.
6756 (package-autoload-ensure-default-file, package--write-file-no-coding)
6757 (package-generate-description-file, package--download-one-archive)
6758 (package-install-from-archive): Tell `write-region' to stay quiet.
6759 (package-menu-mode, package-menu--print-info): Omit the Archive column
6760 if there's only one archive.
6761 (package-all-keywords, package--has-keyword-p): Remove dead code.
6763 2014-01-22 Glenn Morris <rgm@gnu.org>
6765 * version.el (emacs-bzr-version-bzr): Fix typo.
6767 * version.el (emacs-repository-get-version):
6768 Check either .bzr or .git, but not both.
6769 Make the git case actually use the DIR argument, and return nil
6770 rather than the empty string.
6771 Avoid error if .git exists but the git executable is not found.
6773 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6775 Fixes in window size functions around Bug#16430 and Bug#16470.
6776 * window.el (window-total-size, window-size): New argument ROUND.
6777 (window--min-delta-1, window-min-delta, window--max-delta-1):
6778 Be more conservative when calculating the numbers of lines or
6779 columns a window can shrink (Bug#16430).
6780 (fit-window-to-buffer): Simplify code.
6781 * term.el (term-window-width): Call window-body-width again.
6783 2014-01-22 Glenn Morris <rgm@gnu.org>
6785 * image.el (image-format-suffixes): Doc fix.
6787 * international/quail.el (quail-define-package): Doc fix.
6789 * emacs-lisp/authors.el (authors-valid-file-names)
6790 (authors-renamed-files-alist): Additions.
6792 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6793 reverts 2014-01-09 change. (Bug#16422)
6795 * calc/calc-embed.el (thing-at-point-looking-at):
6796 * emacs-lisp/map-ynp.el (x-popup-dialog):
6797 * obsolete/lmenu.el (x-popup-dialog):
6798 * emacs-lisp/package.el (url-recreate-url):
6799 * mail/mailclient.el (clipboard-kill-ring-save):
6800 * subr.el (x-popup-dialog): Update declaration.
6801 * mail/rmail.el (rmail-mime-message-p):
6802 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6804 2014-01-21 Daniel Colascione <dancol@dancol.org>
6806 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6807 Correctly detect when we're inside an arithmetic expansion form
6808 containing nested parenthesis.
6809 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6810 to detect cases where we shouldn't expand "<<" to a heredoc
6813 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6816 (eldoc--message-command-p): New function.
6817 (eldoc-display-message-p): Use it.
6818 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6819 message is not automatically erased for us.
6820 (eldoc-print-current-symbol-info): Erase previous message, if any.
6822 2014-01-21 Tassilo Horn <tsdh@gnu.org>
6824 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6825 specify it's an interactive function.
6827 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6828 Fix regex used for scanning for citation keys which failed for
6829 citations with optional arguments.
6831 2014-01-21 Leo Liu <sdl.web@gmail.com>
6833 * simple.el (read--expression): Don't enable eldoc-mode.
6835 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
6837 * simple.el (move-beginning-of-line): Make sure we don't move forward
6840 2014-01-20 Juri Linkov <juri@jurta.org>
6842 * saveplace.el (toggle-save-place, save-place-to-alist)
6843 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6844 'dired-mode) before checking for dired-directory. (Bug#16477)
6846 2014-01-20 Juri Linkov <juri@jurta.org>
6848 * indent.el (indent-line-to): Use backward-to-indentation
6849 instead of back-to-indentation. (Bug#16461)
6851 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
6853 Revert some of the CANNOT_DUMP fix (Bug#16494).
6854 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6855 but fixing this can wait until after the next release.
6856 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6858 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
6860 * eshell/esh-mode.el (eshell-password-prompt-regexp):
6861 Use `password-word-equivalents'.
6862 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6863 to t. (Bug#5664, Bug#13124)
6865 2014-01-19 Alan Mackenzie <acm@muc.de>
6867 Bind open-paren-in-column-0-is-defun-start to nil at some entry
6869 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6870 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6871 * progmodes/cc-mode.el (c-before-change, c-after-change)
6872 (c-font-lock-fontify-region): Bind it here.
6874 2014-01-19 Martin Rudalics <rudalics@gmx.at>
6876 * term.el (term-window-width): Call window-text-width instead of
6877 window-width (Bug#16470).
6879 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
6881 * simple.el (password-word-equivalents): Remove duplicates.
6882 Sort, to make this easier next time.
6883 Downcase. Omit ": " after "jelszó".
6885 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
6887 * term/common-win.el (saved-region-selection): Defvar it.
6888 (x-select-text): Set saved-region-selection (Bug#16382).
6890 2014-01-18 Glenn Morris <rgm@gnu.org>
6892 * emacs-lisp/authors.el (authors-aliases)
6893 (authors-renamed-files-alist): Add some entries.
6895 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
6897 * net/tramp.el (tramp-password-prompt-regexp):
6898 Use `password-word-equivalents' if available.
6899 (tramp-action-password, tramp-process-one-action)
6900 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6902 2014-01-17 Chong Yidong <cyd@gnu.org>
6904 * simple.el (password-word-equivalents): New defcustom.
6905 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6907 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6910 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6912 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6913 (ruby-align-to-stmt-keywords): Change the default value.
6914 Use `ruby-alignable-keywords' to generate the possible customization
6916 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6917 keywords, check against the value of `ruby-alignable-keywords'
6918 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6920 2014-01-17 Glenn Morris <rgm@gnu.org>
6922 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6924 Make M-x authors return zero *Authors Errors* from current logs.
6925 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6926 (authors-ignored-files): Add some entries, remove others.
6927 (authors-ambiguous-files, authors-valid-file-names):
6929 (authors-renamed-files-alist): Add, remove, and adjust entries.
6930 (authors-renamed-files-regexps): Add some entries.
6931 Remove some very broad ones. Make some entries `lax'.
6932 (authors-lax-changelogs): New constant.
6933 (authors-disambiguate-file-name): Treat top-level specially.
6934 (authors-lax-changelog-p): New function.
6935 (authors-canonical-file-name): Check file as written against
6936 authors-valid-file-names. Do not special-case etc/.
6937 Handle `lax' logs and authors-renamed-files-regexps elements.
6939 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6941 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6942 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6945 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6947 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6948 Assume we're already in the proper buffer.
6949 Inspired by Anders Lindgren <andlind@gmail.com>.
6950 (follow-post-command-hook): Call it from the right buffer.
6951 (follow-comint-scroll-to-bottom): Adjust call.
6952 (follow-all-followers): Use get-buffer-window-list.
6954 2014-01-15 Daniel Colascione <dancol@dancol.org>
6956 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6957 `buffer-file-name' in interactive-form so that we don't leave
6958 pathless file names in `file-name-history'.
6960 2014-01-15 Juri Linkov <juri@jurta.org>
6962 * indent.el (indent-rigidly): Set deactivate-mark to nil
6963 in transient indentation mode. (Bug#16438)
6965 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6967 * emacs-lisp/package.el (package-desc-keywords): New function
6969 (describe-package-1, package-all-keywords)
6970 (package--has-keyword-p): Use it.
6972 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6974 * simple.el (define-alternatives): When creating the
6975 COMMAND-alternatives variable, assign COMMAND as its definition
6976 name so that `describe-variable' can relocate it.
6978 2014-01-14 Matthew Leach <matthew@mattleach.net>
6980 * font-lock.el (font-lock-keywords): Fix typo in docstring
6983 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6985 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6986 line instead of wrongly reset `add-coment' (bug#13577).
6988 2014-01-14 Daiki Ueno <ueno@gnu.org>
6990 * epa-file.el (epa-file-write-region): Encode the region according
6991 to `buffer-file-format'. Problem reported at:
6992 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6994 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6997 so it applies in the right buffer (bug#16410).
6999 2014-01-13 Daniel Colascione <dancol@dancol.org>
7001 * textmodes/rst.el (rst-define-key): Provide deprecated
7002 keybindings through named functions instead of anonymous ones so
7003 that "??" doesn't appear in describe-mode output.
7005 2014-01-13 Bastien Guerry <bzg@gnu.org>
7007 * simple.el (define-alternatives): Call the selected command
7008 interactively. When setting `COMMAND--implementation' for the
7009 first time, tell the user how to chose another implementation.
7010 Enhance the docstring.
7012 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
7015 (log-edit--match-first-line): New function.
7016 (log-edit-font-lock-keywords): Use it.
7017 (log-edit-mode): Make jit-lock-defer-multiline work.
7019 2014-01-13 Bastien Guerry <bzg@gnu.org>
7021 * rect.el (rectangle-mark-mode): When the region is not active,
7022 display a message saying that the mark as been set and that
7023 rectangle mode is in use.
7024 (rectangle--highlight-for-redisplay): Only put an overlay with a
7025 visible vertical bar when (display-graphic-p) is non-nil.
7026 This partially fixes Bug#16403.
7028 2014-01-13 Juri Linkov <juri@jurta.org>
7030 * info.el (Info-find-file): Go to DIR before displaying the error
7031 about a nonexistent file if no previous Info file is visited.
7032 Use `user-error' instead of `error' for "Info file %s does not exist".
7033 (Info-find-node-2): In case of a nonexistent node in unwind forms
7034 go to the Top node if there is no previous node to revert to.
7037 2014-01-13 Martin Rudalics <rudalics@gmx.at>
7039 fit-frame/window-to-buffer code fixes including one for Bug#14096.
7040 * window.el (fit-frame-to-buffer): Fix doc-string.
7041 Respect window-min-height/-width. Fit pixelwise when
7042 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
7043 when avoiding that frame goes partially off-screen.
7044 (fit-window-to-buffer): Respect window-min-height/-width
7047 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
7049 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
7050 after an empty line.
7052 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
7054 * net/shr.el (shr-render-region): Autoload.
7056 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
7058 * net/eww.el (eww-download-directory): Rename from
7059 `eww-download-path' (Bug#16419).
7061 2014-01-12 Leo Liu <sdl.web@gmail.com>
7063 * dired-x.el (dired-mode-map): Fix last change.
7065 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
7067 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
7070 * emacs-lisp/generic.el (generic--normalize-comments):
7071 Rename from generic--normalise-comments. All uses changed.
7072 * play/bubbles.el (bubbles--neighborhood-score)
7073 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
7074 (bubbles--neighborhood-available)
7075 (bubbles--update-neighborhood-score):
7076 Rename from names with 'neighbourhood'. All uses changed.
7078 2014-01-12 Leo Liu <sdl.web@gmail.com>
7080 Re-implement the feature of showing eldoc info after editing.
7081 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
7082 (eldoc-edit-message-commands): New function.
7083 (eldoc-print-after-edit): New variable.
7084 (eldoc-pre-command-refresh-echo-area): Emit message only by
7085 eldoc-message-commands.
7086 (eldoc-mode): Restrict eldoc-message-commands to editing commands
7087 if eldoc-print-after-edit is set. (Bug#16346)
7088 * simple.el (read--expression): Enable eldoc-mode.
7089 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
7091 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
7092 Eric S. Raymond <esr@thyrsus.com>
7094 * version.el (emacs-repository-get-version): Enhance so the
7095 function works correctly in either a Bazaar or Git repo.
7097 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
7099 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
7100 Goes with removal of the joke manpages from /etc.
7102 2014-01-10 Kenichi Handa <handa@gnu.org>
7104 * mail/rmail.el (rmail-get-coding-system):
7105 Check rmail-get-coding-function before "funcall"ing it.
7107 2014-01-10 Glenn Morris <rgm@gnu.org>
7109 * emacs-lisp/authors.el (authors-fixed-entries):
7110 Update for files that no longer exist.
7112 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
7114 * version.el (emacs-bzr-get-version): Restore compatibilty with
7117 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
7119 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
7122 2014-01-10 Eli Zaretskii <eliz@gnu.org>
7124 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
7126 2014-01-10 Chong Yidong <cyd@gnu.org>
7128 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
7130 2014-01-10 Anders Lindgren <andlind@gmail.com>
7132 * follow.el (follow-cache-command-list): Include right-char and
7135 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
7138 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
7139 * woman.el (woman-mark-horizontal-position):
7140 Rename from woman-mark-horizonal-position. Use changed.
7142 2014-01-10 Glenn Morris <rgm@gnu.org>
7144 * info.el (info-initialize): If running uninstalled, ensure our
7145 own info files are always found first, even if INFOPATH is set.
7147 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
7149 2014-01-09 David Engster <deng@randomsample.de>
7151 * emacs-lisp/eieio-custom.el:
7152 * emacs-lisp/eieio-opt.el: Set generated autoload file to
7153 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
7154 * emacs-lisp/eieio.el: Regenerate autoloads.
7156 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
7158 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
7159 following renames. (Bug#8756)
7161 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
7165 (activate-mark): Add `no-tmm' argument.
7166 (set-mark, push-mark-command): Use it instead of running
7167 activate-mark-hook by hand.
7169 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
7171 In preparation for the move to git, sanitize out some
7172 Bazaar-specific names.
7174 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
7176 * version.el (emacs-bzr-version): Name changed to
7177 emacs-repository-version. Obsolete-variable alias made.
7178 * loadup.el: Follow through on this name change.
7179 * mail/emacsbug.el (report-emacs-bug): Factor out any
7180 assumption about the version control system in use.
7182 2014-01-08 David Engster <deng@randomsample.de>
7184 * help-fns.el (help-fns-describe-function-functions):
7185 New variable to call functions for augmenting help buffers.
7186 (describe-function-1): Remove explicit calls to
7187 `help-fns--compiler-macro', `help-fns--parent-mode' and
7188 `help-fns--obsolete'. Put them in above new variable instead, and
7189 call them through `run-hook-with-args'.
7190 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
7191 `eieio-describe-class'. Not meant for interactive use anymore,
7192 but to augment existing help buffers. Remove optional second
7193 argument. Create proper button for file location.
7194 Rewrite function to use `insert' instead of `princ' and `prin1' where
7196 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
7197 (eieio-method-def, eieio-class-def): Move further up.
7198 (describe-method, describe-generic, eieio-describe-method):
7200 (eieio-help-constructor, eieio-help-generic): Rename from
7201 `eieio-describe-constructor' and `eieio-describe-generic', resp.
7202 Rewrite to use `insert' in the current buffer and use proper help
7204 (eieio-help-find-method-definition)
7205 (eieio-help-find-class-definition): Also accept symbols as
7207 (eieio-help-mode-augmentation-maybee): Remove.
7208 (eieio-describe-class-sb): Use `describe-function'.
7209 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
7210 Add `eieio-help-generic' and `eieio-help-constructor'.
7212 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
7215 * language/china-util.el (hz-ascii-designation):
7216 Rename from hz-ascii-designnation.
7217 (hz-ascii-designation): Rename from hz-ascii-designnation.
7220 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
7222 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
7225 2014-01-08 Bastien Guerry <bzg@gnu.org>
7227 * emacs-lisp/package.el (package-delete):
7228 Correctly delete the package from package-alist.
7230 2014-01-08 Daiki Ueno <ueno@gnu.org>
7232 * emacs-lisp/package.el (url-recreate-url): Declare.
7233 (url-http-target-url): Declare.
7234 (package-handle-response): Include requested URL in the error message.
7235 (package--check-signature): Don't re-signal errors from
7236 package--with-work-buffer. Suggested by Stefan Monnier.
7238 2014-01-07 Bastien Guerry <bzg@gnu.org>
7240 * minibuffer.el (completion--try-word-completion): When both a
7241 hyphen and a space are possible candidates for the character
7242 following a word, display both candidates. (Bug#15980)
7244 2014-01-07 Martin Rudalics <rudalics@gmx.at>
7246 * window.el (balance-windows-2): While rounding don't give a
7247 window more than the remainder. Bug#16351, bug#16383.
7249 2014-01-07 Glenn Morris <rgm@gnu.org>
7251 * menu-bar.el (menu-bar-help-extra-packages): Remove.
7252 (menu-bar-help-menu): Use view-external-packages instead.
7254 2014-01-07 Bastien Guerry <bzg@gnu.org>
7256 * emacs-lisp/package.el (package-delete): Also delete the package
7257 name from `package-alist', not its description only.
7259 2014-01-07 Glenn Morris <rgm@gnu.org>
7261 * help.el (view-external-packages):
7262 * menu-bar.el (menu-bar-help-extra-packages):
7263 Visit efaq.info rather than etc/MORE.STUFF.
7265 2014-01-07 Juri Linkov <juri@jurta.org>
7267 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
7268 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
7270 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
7271 that shadows RET. (Bug#16342)
7273 2014-01-07 Chong Yidong <cyd@gnu.org>
7275 * isearch.el (isearch-yank-char, isearch-yank-word)
7276 (isearch-yank-line): Doc fix.
7278 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
7281 * emacs-lisp/elint.el (elint-find-builtins):
7282 * emacs-lisp/eldoc.el (eldoc-symbol-function):
7283 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
7284 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
7285 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7286 * apropos.el (apropos-safe-documentation):
7287 * subr.el (symbol-file): Remove redundant fboundp.
7288 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
7290 2014-01-06 Bastien Guerry <bzg@gnu.org>
7292 * hl-line.el (global-hl-line-overlay): Make a local variable.
7293 (global-hl-line-overlays): New variable to store all overlays.
7294 (global-hl-line-mode): Don't delete overlays from the current
7295 buffer when `global-hl-line-sticky-flag' is non-nil.
7296 (global-hl-line-highlight): Add new overlays to
7297 `global-hl-line-overlays'.
7298 (global-hl-line-unhighlight-all): New function to delete all
7299 overlays when turning off `global-hl-line-mode'.
7300 This fixes Bug#16183.
7302 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7304 * subr.el (set-transient-map): Fix nested case and docstring.
7306 2014-01-06 Tassilo Horn <tsdh@gnu.org>
7308 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
7311 2014-01-06 Daniel Colascione <dancol@dancol.org>
7313 Fix defun navigation in vc log view.
7315 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
7316 like `beginning-of-defun'.
7317 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
7318 log-view-end-of-defun to log-view-end-of-defun-1. Replace
7319 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
7320 (log-view-extract-comment): Call `log-view-current-entry' directly
7321 instead of relying on broken `log-view-beginning-of-defun' behavior.
7323 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
7326 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
7327 * emacs-lisp/debug.el (cancel-debug-on-entry):
7328 * epg.el (epg-error-to-string):
7329 * files.el (recover-file):
7330 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
7331 * mail/emacsbug.el (report-emacs-bug-hook):
7332 * mail/sendmail.el (mail-recover):
7333 * ses.el (ses-yank-resize):
7334 * term/ns-win.el (ns-print-buffer):
7335 Spelling fixes in diagnostics, mostly for "canceled" with one L.
7336 * epg.el (epg-key-capability-alist): Rename from misspelled version.
7338 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
7340 2014-01-06 Leo Liu <sdl.web@gmail.com>
7342 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
7343 to avoid shadowing global key. (Bug#16354)
7345 2014-01-06 Daniel Colascione <dancol@dancol.org>
7347 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
7350 2014-01-05 Martin Rudalics <rudalics@gmx.at>
7352 * window.el (balance-windows): Add mising t to fix Bug#16351.
7354 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7356 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
7358 (shr-insert): If we have a word that's longer than `shr-width',
7359 break after it anyway. Otherwise we'll do no breaking once we get
7362 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7364 * net/eww.el (eww): Support single/double quote for search.
7365 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
7366 (eww-history-quit): Delete and use quit-window.
7367 (eww-history-kill): Delete, because it doesn't work well and
7369 (eww-history-mode-map): Delete some keys and add easy-menu.
7371 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
7373 Fix misspelling of 'chinese' in rx (Bug#16237).
7374 * emacs-lisp/rx.el (rx-categories): Correct spelling of
7377 Change subword regexps back to vars (Bug#16296).
7378 * progmodes/subword.el (subword-forward-regexp)
7379 (subword-backward-regexp): Change these back to variables.
7381 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7383 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
7384 syntax-begin-function (bug#16247).
7386 2014-01-03 Chong Yidong <cyd@gnu.org>
7388 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
7389 (advice--docstring): Delete variable.
7390 (advice--make-1): Leave the docstring empty.
7391 (advice-add): Use function-documentation for advised docstring.
7393 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
7394 Ignore function-documentation property when getting documentation.
7395 (ad-activate-advised-definition): Use function-documentation
7396 generate the docstring.
7397 (ad-make-advised-definition): Don't call
7398 ad-make-advised-definition-docstring.
7399 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7402 * progmodes/sql.el (sql-help): Use function-documentation instead
7403 of dynamic-docstring-function property. No need to autoload now.
7404 (sql--help-docstring): New variable.
7405 (sql--make-help-docstring): Use it.
7407 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * ielm.el (ielm-tab): Retarget.
7410 (ielm-map): Use ielm-tab for tab.
7411 (ielm-complete-filename): Use comint-filename-completion.
7412 (ielm-complete-symbol): Remove.
7413 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
7414 remove ielm-tab from completion-at-point-functions (bug#16224).
7416 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
7417 Beware signals raised by predicates (bug#16201).
7419 2014-01-02 Richard Stallman <rms@gnu.org>
7421 * dired-aux.el (dired-do-print): Handle printer-name.
7423 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
7424 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
7425 (rmail-epa-decrypt): Turn off mime processing.
7427 * mail/rmail.el (rmail-make-in-reply-to-field):
7428 Add parens in message-id.
7430 * mail/rmail.el (rmail-get-coding-function): Variable.
7431 (rmail-get-coding-system): Use it.
7433 2013-12-31 Eli Zaretskii <eliz@gnu.org>
7435 * international/mule-conf.el: Unify the charset indian-is13194.
7436 (indian-is13194): Specify unify-map.
7438 2013-12-31 Leo Liu <sdl.web@gmail.com>
7440 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
7442 2013-12-30 Daniel Colascione <dancol@dancol.org>
7444 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
7445 of printing a useless when we resume from sleep.
7447 * progmodes/sh-script.el
7448 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
7449 in indentation code. (Bug#16233)
7451 2013-12-28 João Távora <joaotavora@gmail.com>
7453 * elec-pair.el (electric-pair-post-self-insert-function):
7454 Don't open extra newlines at beginning of buffer. (Bug#16272)
7456 2013-12-28 Eli Zaretskii <eliz@gnu.org>
7458 * frame.el (window-system-for-display): Don't allow to create a
7459 GUI frame from a -nw session on MS-Windows. (Bug#14739)
7461 2013-12-28 Glenn Morris <rgm@gnu.org>
7463 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7466 * apropos.el (apropos-match-face):
7467 * calculator.el (calculator-displayer):
7468 * dabbrev.el (dabbrev-search-these-buffers-only):
7469 * face-remap.el (buffer-face-mode-face):
7470 * simple.el (yank-handled-properties):
7471 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7472 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7473 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7474 (hashcash-double-spend-database):
7475 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7476 (ruby-deep-indent-paren-style):
7477 * textmodes/flyspell.el (flyspell-auto-correct-binding):
7478 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7479 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7480 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7481 Specify custom types.
7483 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7484 * bookmark.el (bookmark-bmenu-use-header-line):
7485 * doc-view.el (doc-view-scale-internally):
7486 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7487 * register.el (register-preview-delay):
7488 * net/shr.el (shr-bullet):
7489 * progmodes/cfengine.el (cfengine-cf-promises)
7490 (cfengine-parameters-indent):
7491 * progmodes/octave.el (inferior-octave-error-regexp-alist):
7492 * textmodes/reftex-vars.el (reftex-label-regexps):
7493 * vc/log-edit.el (log-edit-setup-add-author): Add version.
7495 * net/tls.el (tls-certtool-program): Fix default value.
7497 * desktop.el (desktop-restore-in-current-display):
7498 * newcomment.el (comment-empty-lines):
7499 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7500 (idlwave-pad-keyword):
7501 * progmodes/tcl.el (tcl-tab-always-indent):
7502 * textmodes/reftex-vars.el (reftex-index-default-tag):
7503 * elec-pair.el (electric-pair-skip-whitespace):
7504 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7506 * emacs-lisp/authors.el (authors-ignored-files)
7507 (authors-valid-file-names, authors-renamed-files-alist): Additions.
7509 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7511 * shell.el (shell-dynamic-complete-command): Doc fix.
7512 (shell--command-completion-data): Shell completion now matches
7513 executable filenames from the current buffer's directory, on
7514 systems in which this behavior is the default (windows-nt, ms-dos).
7516 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7518 * net/shr.el (shr-insert): Don't infloop if the width is zero.
7520 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7525 * electric.el: Move all electric-pair-* to elec-pair.el.
7526 * elec-pair.el: New file, split from electric.el.
7528 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7530 * net/shr.el (shr-find-fill-point): Don't try to fill if the
7531 indentation level is larger than the width, because that will
7533 (shr-insert): Fill repeatedly long texts, so that Japanese is
7534 formatted correctly (bug#16263).
7535 (shr-find-fill-point): Off by one error in comparison with the
7538 2013-12-26 João Távora <joaotavora@gmail.com>
7540 * electric.el (electric-pair-mode): More flexible engine for skip-
7541 and inhibit predicates, new options for pairing-related functionality.
7542 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7543 if that keeps or improves their balance in buffers.
7544 (electric-pair-delete-adjacent-pairs): Delete the pair when
7545 backspacing over adjacent matched delimiters.
7546 (electric-pair-open-extra-newline): Open extra newline when
7547 inserting newlines between adjacent matched delimiters.
7548 (electric--sort-post-self-insertion-hook):
7549 Sort post-self-insert-hook according to priority values when
7550 minor-modes are activated.
7551 * simple.el (newline-and-indent): Call newline with interactive
7553 (blink-paren-post-self-insert-function): Set priority to 100.
7554 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7555 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7556 comments. Locally set electric-pair-skip-whitespace to 'chomp and
7557 electric-pair-open-newline-between-pairs to nil.
7559 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7561 * progmodes/python.el: Use lexical-binding.
7562 (python-nav-beginning-of-defun): Stop searching ASAP.
7564 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
7566 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7567 Fix interactive spec. Doc fix. (Bug#15754)
7569 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7571 * emacs-lisp/byte-run.el (eval-when-compile):
7572 * progmodes/cc-defs.el (cc-eval-when-compile):
7573 Fix edebug spec (bug#16184).
7575 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7577 * net/shr.el (shr-visit-file): Remove debugging function.
7578 (shr-insert): Don't infloop if we can't find a good place to break
7579 the line (bug#16256).
7581 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
7583 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7584 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
7585 python-nav-lisp-forward-sexp-safe.
7586 (python-nav--forward-sexp): New argument SAFE allows switching
7587 forward sexp movement behavior for parens.
7588 (python-nav-forward-sexp): Throw errors on unterminated parens
7590 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7591 (python-nav-backward-sexp-safe): New functions.
7592 (python-shell-buffer-substring):
7593 Use `python-nav-forward-sexp-safe'.
7595 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7597 * net/shr.el (shr-find-fill-point): Don't break lines before a
7599 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7600 (shr-find-fill-point): Remove the special checks for the quotation
7601 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7603 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7605 * net/eww.el (eww-form-textarea): Use a different face for
7606 textareas than text input since they have different keymaps
7609 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7611 * progmodes/python.el (python-nav-beginning-of-statement):
7612 Speed up (Bug#15295).
7614 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7616 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7617 the window configuration.
7619 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7621 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7622 we run on MS-Windows or MS-DOS.
7624 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7626 * window.el (balance-windows-area): Call window-size instead of
7627 window-height and window-width. Bug#16241.
7629 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7631 * net/eww.el (eww-bookmark-quit): Remove.
7632 (eww-bookmark-browse): Restore the window configuration when you
7633 choose a bookmark (bug#16144).
7635 2013-12-24 Daniel Colascione <dancol@dancol.org>
7637 * icomplete.el: Remove redundant :group arguments to `defcustom'
7639 (icomplete-show-matches-on-no-input): New customizable variable.
7640 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7641 we have something to show.
7642 (icomplete-exhibit): Compute completions even if we have no user input.
7644 2013-12-23 Daniel Colascione <dancol@dancol.org>
7646 * icomplete.el: Move `provide' to end of file.
7648 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7650 * net/gnutls.el (gnutls-verify-error): Add version tag.
7652 2013-12-23 Chong Yidong <cyd@gnu.org>
7654 * subr.el (set-transient-map): Rename from
7655 set-temporary-overlay-map. Doc fix.
7657 * face-remap.el (text-scale-adjust):
7658 * indent.el (indent-rigidly):
7659 * kmacro.el (kmacro-call-macro):
7660 * minibuffer.el (minibuffer-force-complete):
7661 * repeat.el (repeat):
7662 * simple.el (universal-argument--mode):
7663 * calendar/todo-mode.el (todo-insert-item--next-param):
7664 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7666 * indent.el (indent-rigidly): Use substitute-command-keys.
7668 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7670 * net/eww.el (eww-tag-select): Add text-property to jump to next
7672 (eww): Add non-supported ftp error.
7674 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7676 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7677 comments. Handle electric indent after typing `?' and `!'.
7679 2013-12-22 Chong Yidong <cyd@gnu.org>
7681 * faces.el (face-spec-recalc): If the theme specs are not
7682 applicable to a frame, fall back on the defface spec.
7683 This prevents themes from obliterating faces on low-color terminals.
7685 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7687 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7688 after `{'. We need it after block openers, and it doesn't seem
7689 to hurt after hash openers.
7691 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7693 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7694 extracted from `ruby-smie-rules'.
7695 (ruby--electric-indent-chars): New variable.
7696 (ruby--electric-indent-p): New function.
7697 (ruby-mode): Use `electric-indent-functions' instead of
7698 `electric-indent-chars'.
7700 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7702 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7704 (ruby-smie-rules): Indent plus one level after `=>'.
7706 2013-12-21 Richard Stallman <rms@gnu.org>
7708 * simple.el (newline): Doc fix.
7710 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7712 * net/eww.el (eww-list-histories, eww-list-histories)
7713 (eww-history-browse, eww-history-quit, eww-history-kill)
7714 (eww-history-mode-map, eww-history-mode): New command and
7715 functions to list browser histories.
7716 (eww-form-text): Support text form with disabled
7717 and readonly attributes.
7718 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7720 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7722 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7723 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7724 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7725 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7727 (eww-bookmark-mode-map): Add menu.
7728 (eww-render, eww-mode): Use `setq-local'.
7729 (eww-tool-bar-map): New variable.
7730 (eww-mode): Set `tool-bar-map'.
7731 (eww-view-source): Check for `html-mode' with `fboundp'.
7733 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7735 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7736 elements with text inside. Also remove debugging.
7738 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7740 * cus-start.el (all): Add ns-use-srgb-colorspace.
7742 2013-12-21 Chong Yidong <cyd@gnu.org>
7744 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7745 undefined. Thus, theme settings for undefined faces do not take
7746 effect until the faces are defined with defface, the same as with
7749 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7750 (face-spec-reset-face): Don't assign extra properties in temacs.
7751 (face-spec-recalc): Apply X resources too.
7753 2013-12-21 Chong Yidong <cyd@gnu.org>
7755 * faces.el (face-spec-set):
7756 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7757 * custom.el (defface): Doc fixes (Bug#16203).
7759 * indent.el (indent-rigidly-map): Add docstring, and move commands
7760 into named functions.
7761 (indent-rigidly-left, indent-rigidly-right)
7762 (indent-rigidly-left-to-tab-stop)
7763 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7764 indentation direction based on bidi direction, and accumulate
7765 sequential commands in a single undo boundary.
7766 (indent-rigidly--pop-undo): New utility function.
7768 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7770 * faces.el (read-face-name): Require crm.el when using crm-separator.
7772 2013-12-20 Daniel Colascione <dancol@dancol.org>
7774 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7775 so that we don't reflow comments into the shebang line.
7777 2013-12-20 Juri Linkov <juri@jurta.org>
7779 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7780 a position when `dired-directory' is non-nil. Check integer
7781 positions with `integerp'.
7782 (toggle-save-place, save-places-to-alist): Add check for
7784 (save-place-find-file-hook): Check integer positions with
7786 (save-place-dired-hook): Use `dired-goto-file' when
7787 `dired-filename' is found in the assoc list. Check integer
7788 positions with `integerp'.
7789 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7791 * dired.el (dired-initial-position-hook): Rename back from
7792 `dired-initial-point-hook'.
7793 (dired-initial-position): Rename `dired-initial-point-hook' to
7794 `dired-initial-position-hook'.
7795 (dired-file-name-at-point): Doc fix. (Bug#15329)
7797 2013-12-20 Juri Linkov <juri@jurta.org>
7799 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7800 (read-regexp-suggestions): New function.
7801 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7802 Use `read-regexp-suggestions'. Add non-empty default to history
7804 (occur-read-regexp-defaults-function): Remove function.
7805 (occur-read-primary-args): Use `regexp-history-last' instead of
7806 `occur-read-regexp-defaults-function'.
7808 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7809 (hi-lock-line-face-buffer, hi-lock-face-buffer)
7810 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7811 `hi-lock-read-regexp-defaults-function'. Doc fix.
7812 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7813 with `find-tag-default-as-symbol-regexp'. Doc fix.
7814 (hi-lock-read-regexp-defaults): Remove function.
7815 (hi-lock-regexp-okay): Add check for null.
7817 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7818 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
7820 * subr.el (find-tag-default-as-symbol-regexp): New function.
7821 (find-tag-default-as-regexp): Move symbol regexp formatting to
7822 `find-tag-default-as-symbol-regexp'.
7824 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
7826 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7829 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7831 * calendar/todo-mode.el: New implementation of item insertion
7832 commands and key bindings.
7833 (todo-key-prompt): New face.
7834 (todo-insert-item): New command.
7835 (todo-insert-item--parameters): New defconst, replacing defvar
7836 todo-insertion-commands-args-genlist.
7837 (todo-insert-item--param-key-alist): New defconst, replacing
7838 defvar todo-insertion-commands-arg-key-list.
7839 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7840 (todo-insert-item--argsleft, todo-insert-item--apply-args)
7841 (todo-insert-item--next-param): New functions.
7842 (todo-insert-item--args, todo-insert-item--argleft)
7843 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7845 (todo-key-bindings-t): Change binding of "i" from
7846 todo-insertion-map to todo-insert-item.
7847 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7848 (todo-insertion-command-name, todo-insertion-commands-names)
7849 (todo-define-insertion-command, todo-insertion-commands)
7850 (todo-insertion-key-bindings, todo-insertion-map): Remove.
7852 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7854 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7855 (todo-toggle-item-highlighting): Use eval-and-compile instead of
7857 (todo-move-category): Allow choosing a non-existing todo file to
7858 move the category to, and create that file.
7859 (todo-default-priority): New user option.
7860 (todo-set-item-priority): Use it.
7861 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7862 (desktop-restore-file-buffer): Declare.
7863 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7864 (todo-modes-set-2): Locally set desktop-save-buffer to
7865 todo-desktop-save-buffer.
7866 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7867 (auto-mode-alist): Add autoload cookie.
7869 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
7871 * emacs-lisp/subr-x.el: Renamed from helpers.el.
7872 helpers.el was a poor choice of name.
7873 (string-remove-prefix): New function.
7874 (string-remove-suffix): New function.
7876 2013-12-20 Martin Rudalics <rudalics@gmx.at>
7878 Fix assignment for new window total sizes.
7879 * window.el (window--pixel-to-size): Remove function.
7880 (window--pixel-to-total-1, window--pixel-to-total):
7881 Fix calculation of new total sizes.
7883 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
7885 * comint.el (comint-output-filter): Fix rear-nonsticky property
7886 placement (Bug#16010).
7888 2013-12-20 Chong Yidong <cyd@gnu.org>
7890 * faces.el (read-color): Minor fix for completion function.
7892 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
7894 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7895 New option. (Bug#16182)
7896 (ruby-smie--indent-to-stmt-p): Use it.
7897 (ruby-smie-rules): Revert the logic in the handling of `when'.
7898 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7899 (ruby-deep-arglist, ruby-deep-indent-paren)
7900 (ruby-deep-indent-paren-style): Update docstrings to note that the
7901 vars don't have any effect with SMIE.
7903 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7905 * calc/calc.el (calc-enter, calc-pop): Use the variable
7906 `calc-context-sensitive-enter'.
7908 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7910 * net/shr.el (shr-insert): Protect against infloops in degenerate
7913 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7915 * progmodes/octave.el (octave): Add link to manual and octave
7917 (octave-mode-menu): Link to octave-mode manual.
7919 2013-12-20 Leo Liu <sdl.web@gmail.com>
7921 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7922 insertion using skeleton-end-newline. (Bug#16138)
7924 2013-12-20 Juri Linkov <juri@jurta.org>
7926 * replace.el (occur-engine): Use `add-face-text-property'
7927 to add the face property to matches and titles. (Bug#14645)
7929 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7930 the palette of other hi-lock colors.
7931 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7933 2013-12-19 Juri Linkov <juri@jurta.org>
7935 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7936 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7937 (minibuffer-history-symbol): Move variable declaration closer to
7940 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7943 2013-12-19 Juri Linkov <juri@jurta.org>
7945 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7947 (log-edit-hook): Add it to :options. (Bug#16170)
7949 2013-12-19 Juri Linkov <juri@jurta.org>
7951 * simple.el (eval-expression-print-format): Don't check for
7952 command names and the last command. Always display additional
7953 formats of the integer result in the echo area, and insert them
7954 to the current buffer only with a zero prefix arg.
7955 Display character when char-displayable-p is non-nil.
7956 (eval-expression): With a zero prefix arg, set `print-length' and
7957 `print-level' to nil, and insert the integer values from
7958 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7960 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7961 `eval-last-sexp-arg-internal'. Doc fix.
7962 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7963 `eval-last-sexp-print-value'. Doc fix.
7964 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7965 Set `print-length' and `print-level' to nil when arg is zero.
7966 (eval-last-sexp): Doc fix.
7967 (eval-defun-2): Print the integer values from
7968 `eval-expression-print-format' at the end.
7970 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7971 values from `eval-expression-print-format' at the end.
7973 * ielm.el (ielm-eval-input): Print the integer
7974 values from `eval-expression-print-format' at the end.
7976 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7978 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7979 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7981 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7983 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7984 (hl-line-highlight, global-hl-line-highlight): Use it.
7985 (hl-line-overlay): Use defvar-local.
7987 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7989 * term/ns-win.el: Require dnd.
7990 (global-map): Remove drag items.
7991 (ns-insert-text, ns-set-foreground-at-mouse)
7992 (ns-set-background-at-mouse):
7993 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7994 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7997 2013-12-19 Glenn Morris <rgm@gnu.org>
7999 * emacs-lisp/ert.el (ert-select-tests):
8000 Fix string/symbol mixup. (Bug#16121)
8002 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8004 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
8005 keywords to their parent.
8007 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8009 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
8010 first arg to be a string (fixed dead code), or an operator symbol.
8011 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
8013 (ruby-smie-rules): Remove parent token check in the `.' clause, it
8014 did nothing. Don't respond to `(:after ".")', it will be called
8015 with :before anyway. Remove the ` @ ' rule, it didn't seem to
8016 change anything. Only return indentation for binary operators
8017 when they are hanging. De-dent opening paren when its parent is
8018 `.', otherwise it looks bad when the dot is not at bol or eol
8021 2013-12-19 Juri Linkov <juri@jurta.org>
8023 * replace.el (query-replace-read-args): Split a non-negative arg
8024 and a negative arg into separate elements.
8025 (query-replace, query-replace-regexp, replace-string)
8026 (replace-regexp): Add arg `backward'. Doc fix.
8027 (replace-match-maybe-edit): When new arg `backward' is non-nil,
8028 move point to the beginning of the match.
8029 (replace-search, replace-highlight): Use new arg `backward'
8030 to set the value of `isearch-forward'.
8031 (perform-replace): Add arg `backward' and use it to perform
8032 replacement backward. (Bug#14979)
8034 * isearch.el (isearch-query-replace): Use a negative prefix arg
8035 to call `perform-replace' with a non-nil arg `backward'.
8037 2013-12-18 Juri Linkov <juri@jurta.org>
8039 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
8040 to the default list. Move `log-edit-show-files' to the end.
8041 Add more available functions to options.
8042 (log-edit): Move default specific settings to
8043 `log-edit-insert-message-template'. Don't move point.
8044 (log-edit-insert-message-template): New function.
8045 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
8048 2013-12-18 Juri Linkov <juri@jurta.org>
8050 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
8051 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
8053 2013-12-18 Leo Liu <sdl.web@gmail.com>
8055 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
8058 2013-12-18 Eli Zaretskii <eliz@gnu.org>
8060 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
8061 formats for displaying file sizes when the -s switch is given.
8062 Instead, compute a separate format for displaying the size in
8063 blocks, which is displayed in addition to the "regular" size.
8064 When -h is given in addition to -s, produce size in blocks in
8065 human-readable form as well. (Bug#16179)
8067 2013-12-18 Tassilo Horn <tsdh@gnu.org>
8069 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8070 Reference tables with ~\ref{...} instead of only \ref{...}.
8072 2013-12-18 Chong Yidong <cyd@gnu.org>
8074 * cus-edit.el (custom-magic-alist): Fix "themed" description
8077 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
8078 is non-nil, do not create a new entry in the symbol's theme-value
8079 or theme-face property; update theme-settings only (Bug#14664).
8080 (custom-available-themes): Doc fix.
8082 * cus-theme.el (custom-new-theme-mode-map): Add bindings
8085 * replace.el (occur-engine): Avoid infloop (Bug#7593).
8087 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
8089 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
8092 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
8094 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
8096 2013-12-18 Glenn Morris <rgm@gnu.org>
8098 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
8099 * cus-start.el (load-prefer-newer): New option.
8101 2013-12-18 Le Wang <l26wang@gmail.com>
8103 * comint.el (comint-previous-matching-input-from-input):
8104 Retain point (Bug#13404).
8106 2013-12-18 Chong Yidong <cyd@gnu.org>
8108 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
8110 2013-12-18 Glenn Morris <rgm@gnu.org>
8112 * mail/emacsbug.el (report-emacs-bug):
8113 Only mention enable-multibyte-characters if non-standard.
8115 2013-12-17 Juri Linkov <juri@jurta.org>
8117 * arc-mode.el (archive-extract-by-file): Check if directory exists
8118 before deletion to not show irrelevant errors if it doesn't exist.
8120 2013-12-17 Juri Linkov <juri@jurta.org>
8122 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
8125 * net/eww.el (browse-web): Add alias to `eww'.
8126 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
8127 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
8129 * net/browse-url.el (browse-url-browser-function): Move `eww'
8130 closer to similar functions.
8132 * startup.el (fancy-startup-screen, fancy-about-screen):
8133 Set browse-url-browser-function to eww-browse-url locally.
8136 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * window.el (window--pixel-to-total): Remove unused `mini' var.
8139 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
8140 (split-window): Remove unused `new' var.
8141 (window--display-buffer): Remove unused `frame' and `delta' vars.
8142 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
8145 2013-12-17 Martin Rudalics <rudalics@gmx.at>
8147 * dired.el (dired-mark-pop-up):
8148 * register.el (register-preview): Don't bind
8149 split-height-threshold here since it's now done in
8150 display-buffer-below-selected.
8152 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
8154 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
8155 xterm-rgb-convert-to-16bit.
8156 (rxvt-register-default-colors): Standardize with
8157 xterm-register-default-colors (Bug#14078).
8159 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
8161 * simple.el (kill-region): Pass mark first, then point, so that
8162 kill-append works right (Bug#12819).
8163 (copy-region-as-kill, kill-ring-save): Likewise.
8165 2013-12-17 Leo Liu <sdl.web@gmail.com>
8167 * net/rcirc.el (rcirc-add-face):
8168 * eshell/em-prompt.el (eshell-emit-prompt):
8169 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
8172 2013-12-17 Chong Yidong <cyd@gnu.org>
8174 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
8175 Suggested by Xue Fuqiao.
8177 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
8179 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
8181 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8183 * net/shr.el (shr-insert-document): Remove unused var
8184 `shr-preliminary-table-render'.
8185 (shr-rescale-image): Remove unused arg `force'.
8186 (shr-put-image): Update calls accordingly.
8187 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
8189 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
8191 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
8192 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
8193 :close-all, to see which indentation method to use (Bug#16116).
8194 (smie-rules-function): Document the method :close-all.
8196 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8198 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
8200 * net/eww.el (eww-display-html): If we can't find the anchor we're
8201 looking for, then go to point-min.
8203 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
8205 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
8206 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
8207 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
8208 Expand dir too, in case it's relative.
8210 2013-12-16 Juri Linkov <juri@jurta.org>
8212 * desktop.el (desktop-auto-save-timeout): Change default to
8213 `auto-save-timeout'. Doc fix.
8214 (desktop-save): Skip the timestamp in desktop-saved-frameset
8215 when checking for auto-save changes.
8216 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
8217 `desktop-auto-save' is called repeatedly by the idle timer.
8218 (desktop-auto-save-set-timer): Replace `run-with-timer' with
8219 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
8222 2013-12-16 Juri Linkov <juri@jurta.org>
8224 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
8226 (isearch-pre-command-hook): Check `this-command' for symbolp.
8228 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
8232 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
8234 * progmodes/cfengine.el (cfengine3--current-word): Remove.
8235 (cfengine3--current-function): Bring in the current-function
8236 functionality from `cfengine3--current-word'.
8237 (cfengine3-completion-function): Bring in the
8238 bounds-of-current-word functionality from
8239 `cfengine3--current-word'.
8241 2013-12-16 Martin Rudalics <rudalics@gmx.at>
8243 * window.el (display-buffer-below-selected):
8244 Bind split-height-threshold to 0 as suggested by Juri Linkov.
8246 2013-12-16 Leo Liu <sdl.web@gmail.com>
8248 * progmodes/compile.el (compile-goto-error): Do not push-mark.
8249 Remove NOMSG arg and all uses changed.
8251 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
8254 (cua--deactivate-rectangle): Don't deactivate the mark.
8255 (cua-set-rectangle-mark): Don't set mark-active since
8256 cua--activate-rectangle already does it for us.
8257 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
8258 non-rectangular region.
8260 * emulation/cua-base.el (cua-repeat-replace-region):
8261 Use with-current-buffer.
8263 * net/gnutls.el: Use cl-lib.
8264 (gnutls-negotiate): `mapcan' -> cl-mapcan.
8266 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8268 * emacs-lisp/package.el (package-built-in-p): Support both
8269 built-in and the package.el converted package descriptions.
8270 (package-show-package-list): Allow keywords.
8271 (package-keyword-button-action): Use it instead of
8272 `finder-list-matches'.
8273 (package-menu-filter-interactive): Interactive filtering (by
8275 (package-menu--generate): Support keywords and change keymappings
8276 and headers when they are given.
8277 (package--has-keyword-p): Helper function.
8278 (package-menu--refresh): Use it.
8279 (package--mapc): Helper function.
8280 (package-all-keywords): Use it.
8281 (package-menu-mode-map): Set up menu items and keybindings to
8282 provide a filtering UI.
8284 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8286 * net/gnutls.el (gnutls-verify-error): New defcustom to control
8287 the behavior when a certificate fails validation. Defaults to
8288 old behavior: never abort, just warn.
8289 (gnutls-negotiate): Use it.
8291 2013-12-14 Martin Rudalics <rudalics@gmx.at>
8293 * window.el (display-buffer-below-selected): Never split window
8294 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
8296 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
8298 * emacs-lisp/package.el (package--prepare-dependencies): New function.
8299 (package-buffer-info): Use it (bug#15108).
8301 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
8303 * icomplete.el (icomplete-completions): Make sure the prefix is already
8304 displayed elsewhere before hiding it (bug#16219).
8306 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
8308 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
8309 open-paren tokens when preceded by a open-paren, too.
8310 (ruby-smie-rules): Handle virtual indentation after open-paren
8311 tokens specially. If there is code between it and eol, return the
8312 column where is starts (Bug#16118).
8314 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8316 * progmodes/cfengine.el: Fix `add-hook' doc.
8317 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
8318 (cfengine3--current-word): Fix parameters.
8319 (cfengine3-make-syntax-cache): Simplify further.
8320 (cfengine3-completion-function, cfengine3--current-function):
8321 Use `assq' for symbols.
8322 (cfengine3--current-function): Fix `cfengine3--current-word' call.
8324 2013-12-13 Glenn Morris <rgm@gnu.org>
8326 * loadup.el (load-path): Warn if site-load or site-init changes it.
8327 No more need to reset it when bootstrapping.
8329 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8331 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
8332 locations for cf-promises.
8333 (cfengine-mode-syntax-functions-regex): New caching variable.
8334 (cfengine3-fallback-syntax): Fallback syntax for cases where
8335 cf-promises doesn't run.
8336 (cfengine3--current-word): Reimplement using
8337 `cfengine-mode-syntax-functions-regex'.
8338 (cfengine3-completion-function, cfengine3--current-function):
8339 Use `cfengine3-make-syntax-cache' directly.
8340 (cfengine3-clear-syntax-cache): New function.
8341 (cfengine3-make-syntax-cache): Simplify and create
8342 `cfengine-mode-syntax-functions-regex' on demand.
8343 (cfengine3-format-function-docstring): Don't call
8344 `cfengine3-make-syntax-cache' explicitly.
8346 2013-12-13 Martin Rudalics <rudalics@gmx.at>
8348 Fix windmove-find-other-window broken after pixelwise resizing
8350 * windmove.el (windmove-other-window-loc): Revert change from
8352 (windmove-find-other-window): Call window-in-direction.
8353 * window.el (window-in-direction): New arguments SIGN, WRAP and
8354 MINI to emulate original windmove-find-other-window behavior.
8356 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
8358 * simple.el (blink-matching--overlay): New variable.
8359 (blink-matching-open): Instead of moving point, highlight the
8360 matching paren with an overlay
8361 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
8363 * faces.el (paren-showing-faces, show-paren-match)
8364 (show-paren-mismatch): Move from paren.el.
8366 2013-12-13 Leo Liu <sdl.web@gmail.com>
8368 * indent.el (indent-region): Disable progress reporter in
8369 minibuffer. (Bug#16108)
8371 * bindings.el (visual-order-cursor-movement): Fix version.
8373 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8375 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
8376 Also match after beginning of line.
8377 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
8378 files. Thanks to Russell Sim. (Bug#15378)
8380 2013-12-13 Juri Linkov <juri@jurta.org>
8382 * simple.el <Keypad support>: Remove key bindings duplicated
8383 with bindings.el. (Bug#14397)
8385 2013-12-13 Juri Linkov <juri@jurta.org>
8387 * comint.el (comint-mode-map): Replace `delete-char' with
8388 `delete-forward-char'. (Bug#16109)
8390 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8392 * progmodes/python.el (python-indent-calculate-indentation):
8393 Fix de-denters cornercase. (Bug#15731)
8395 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
8398 (advice--make): Pay attention to `depth'.
8399 (advice--make-1): Don't autoload commands eagerly.
8400 * emacs-lisp/elp.el (elp-instrument-function):
8401 * emacs-lisp/trace.el (trace-function-internal):
8402 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
8404 * iswitchb.el (iswitchb-mode): Don't belittle ido.
8406 2013-12-12 Eli Zaretskii <eliz@gnu.org>
8408 * term/w32-win.el (w32-handle-dropped-file):
8409 * startup.el (normal-top-level):
8410 * net/browse-url.el (browse-url-file-url):
8411 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
8412 decode file names using 'utf-8' rather than
8413 file-name-coding-system.
8415 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8417 * progmodes/python.el (python-indent-context)
8418 (python-indent-calculate-indentation): Fix auto-identation
8419 behavior for comment blocks. (Bug#15916)
8421 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8423 * progmodes/python.el (python-indent-calculate-indentation):
8424 When determining indentation, don't treat "return", "pass", etc., as
8425 operators when they are just string constituents. (Bug#15812)
8427 2013-12-12 Juri Linkov <juri@jurta.org>
8429 * uniquify.el (uniquify-buffer-name-style): Change default to
8430 `post-forward-angle-brackets'.
8432 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
8433 `uniquify'. Change default to `post-forward-angle-brackets'.
8435 2013-12-11 Glenn Morris <rgm@gnu.org>
8437 * emacs-lisp/package.el (finder-list-matches):
8438 Autoload rather than falsely declaring.
8440 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8442 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
8443 (eww-mode-map): Use them.
8445 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8447 * window.el (display-buffer-in-side-window): Fix doc-string
8450 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
8452 * vc/vc-git.el: Silence byte-compiler warnings.
8453 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
8454 (log-edit-set-header): Declare.
8456 2013-12-11 Eli Zaretskii <eliz@gnu.org>
8458 * Makefile.in (custom-deps, finder-data): Run output file names
8459 through unmsys--file-name. (Bug#16099)
8461 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8464 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8466 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8467 instead of deleting the selection "by hand" (bug#16098).
8468 Rely on insert-for-yank to yank rectangles.
8469 (cua-highlight-region-shift-only): Mark obsolete.
8470 (cua-mode): Don't enable/disable transient-mark-mode,
8471 shift-select-mode (cua-mode works both with and without them), and
8472 pc-selection-mode (obsolete).
8473 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8474 (cua--deactivate-rectangle): Deactivate it.
8476 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8477 (delete-selection-helper): Make sure yank starts at the top of the
8479 (minibuffer-keyboard-quit): Use region-active-p.
8481 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8483 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8484 to `delete' (bug#16109).
8486 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8488 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8489 info manual and show keybindings and set `:group' keyword.
8491 2013-12-11 Juri Linkov <juri@jurta.org>
8493 * delsel.el (delete-active-region): Let-bind `this-command'
8494 to prevent `kill-region' from changing its original value.
8495 (delete-selection-helper): Handle `overwrite-mode' for the type
8496 `kill' exactly the same way as for the type `t'.
8497 (insert-char, quoted-insert, reindent-then-newline-and-indent):
8498 Support more commands. (Bug#13312)
8500 2013-12-11 Juri Linkov <juri@jurta.org>
8502 * bindings.el: Map kp keys to non-kp keys systematically
8503 with basic modifiers control, meta and shift. (Bug#14397)
8505 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8507 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8508 "Close browser" menu items. Fix wrong function of "List
8511 2013-12-11 Juri Linkov <juri@jurta.org>
8513 * misearch.el (multi-isearch-buffers): Set the value of
8514 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8515 arg of isearch-forward to t.
8516 (multi-isearch-buffers-regexp): Set the value of
8517 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8518 arg of isearch-forward-regexp to t.
8519 (multi-isearch-files): Set the value of
8520 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8521 arg of isearch-forward to t.
8522 (multi-isearch-files-regexp): Set the value of
8523 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8524 arg of isearch-forward-regexp to t. (Bug#16035)
8526 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8527 arg of isearch-forward to t.
8528 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8529 arg of isearch-forward-regexp to t.
8530 (dired-isearch-filter-filenames): Remove unnecessary check for
8531 `dired-isearch-filenames'.
8533 * comint.el (comint-history-isearch-backward):
8534 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8535 (comint-history-isearch-backward-regexp):
8536 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8538 2013-12-10 Eli Zaretskii <eliz@gnu.org>
8540 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8541 unmsys--file-name. (Bug#16099)
8543 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
8545 * emacs-lisp/package.el (package-keyword-button-action):
8546 Remove finder.el require dependency.
8548 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
8550 * emacs-lisp/package.el: Require finder.el.
8551 (describe-package-1): Add keyword buttons.
8552 (package-make-button): New convenience function.
8553 (package-keyword-button-action): Keyword button action using
8554 `finder-list-matches'.
8556 2013-12-09 Eli Zaretskii <eliz@gnu.org>
8558 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8561 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
8563 * autorevert.el (auto-revert-notify-add-watch): Do not handle
8566 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8569 after the end of a percent literal.
8571 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
8573 * progmodes/ruby-mode.el (ruby-forward-string): Document.
8574 Handle caret-delimited strings (Bug#16079).
8576 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8578 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8579 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8580 `ruby-parse-partial' (Bug#16078).
8582 2013-12-09 Leo Liu <sdl.web@gmail.com>
8584 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
8586 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
8588 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8589 (js-switch-indent-offset): New option.
8590 (js--proper-indentation): Use it. And handle the case when
8591 "default" is actually a key in an object literal.
8592 (js--same-line): New function.
8593 (js--multi-line-declaration-indentation): Use it.
8594 (js--indent-in-array-comp, js--array-comp-indentation):
8596 (js--proper-indentation): Use them, to handle array comprehension
8599 2013-12-08 Leo Liu <sdl.web@gmail.com>
8601 * progmodes/flymake.el (flymake-highlight-line): Re-write.
8602 (flymake-make-overlay): Remove arg MOUSE-FACE.
8603 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8605 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8607 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8609 (redisplay-highlight-region-function): Use it.
8611 * emulation/cua-base.el (cua--explicit-region-start)
8612 (cua--last-region-shifted): Remove.
8613 (cua--deactivate): Use deactivate-mark.
8614 (cua--pre-command-handler-1): Don't handle shift-selection.
8615 (cua--post-command-handler-1): Don't change transient-mark-mode.
8616 (cua--select-keymaps): Use region-active-p rather than
8617 cua--explicit-region-start or cua--last-region-shifted.
8618 (cua-mode): Enable shift-select-mode.
8620 2013-12-08 Leo Liu <sdl.web@gmail.com>
8622 * progmodes/flymake.el (flymake-popup-current-error-menu):
8623 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8624 (flymake-posn-at-point-as-event, flymake-popup-menu)
8625 (flymake-make-emacs-menu): Remove. (Bug#16077)
8627 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8629 * rect.el (rectangle-mark-mode): Activate mark even if
8630 transient-mark-mode is off (bug#16066).
8631 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8632 is > mark and at bolp.
8634 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8635 (region-extract-function): Use it.
8636 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8637 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8639 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8640 kill-ring-save, kill-region, delete-char, delete-forward-char.
8641 Ignore self-insert-iso.
8643 * emulation/cua-gmrk.el (cua--init-global-mark):
8644 Ignore `self-insert-iso'.
8646 * emulation/cua-base.el (cua--prefix-copy-handler)
8647 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8648 checking cua--rectangle.
8649 (cua-delete-region): Use region-extract-function.
8650 (cua-replace-region): Delete function.
8651 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8652 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8653 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8654 (cua--init-keymaps): Don't remap delete-selection commands.
8655 (cua-mode): Use delete-selection-mode instead of rolling our own
8658 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8659 Obey region-extract-function.
8661 Make registers and delete-selection-mode work on rectangles.
8662 * register.el (describe-register-1): Don't modify the register's value.
8663 (copy-to-register): Obey region-extract-function.
8664 * delsel.el (delete-active-region): Obey region-extract-function.
8666 2013-12-08 Leo Liu <sdl.web@gmail.com>
8668 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8669 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8670 (flymake-compilation-prevents-syntax-check)
8671 (flymake-start-syntax-check-on-newline)
8672 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8673 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8674 (flymake-xml-program, flymake-master-file-dirs)
8675 (flymake-master-file-count-limit)
8676 (flymake-allowed-file-name-masks): Relocate.
8677 (flymake-makehash, flymake-float-time)
8678 (flymake-replace-regexp-in-string, flymake-split-string)
8679 (flymake-get-temp-dir): Remove.
8680 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8681 (flymake-current-row, flymake-selected-frame)
8682 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8683 related functions. (Bug#16077)
8685 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8687 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8689 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8691 * help-fns.el (describe-function-1): Use new advice-* functions
8692 rather than old ad-* functions. Fix function type description and
8693 source links for advised functions and subrs.
8695 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8697 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8699 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8701 * progmodes/compile.el (compilation-start):
8702 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8704 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8705 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8707 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8709 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8710 Touch up the last change.
8712 2013-12-06 Leo Liu <sdl.web@gmail.com>
8714 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8715 (inferior-octave-startup): Always use "octave> " for prompt.
8716 (octave-goto-function-definition)
8717 (octave-sync-function-file-names)
8718 (octave-find-definition-default-filename): Remove redundant backquotes.
8720 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8722 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8724 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8725 where appropriate already.
8726 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8727 end of method names (Bug#15874).
8729 2013-12-06 Juri Linkov <juri@jurta.org>
8731 * isearch.el (isearch--saved-overriding-local-map):
8732 New internal variable.
8733 (isearch-mode): Set it to the initial value of
8734 `overriding-terminal-local-map'.
8735 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8736 with `isearch--saved-overriding-local-map'. (Bug#16035)
8738 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8740 * progmodes/octave.el (inferior-octave-completion-table):
8741 Turn back into function, use `completion-table-with-cache'
8742 (Bug#11906). Update all references.
8744 * minibuffer.el (completion-table-with-cache): New function.
8746 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8748 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8750 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8752 * net/eww.el (eww-current-source): New variable to store page
8754 (eww-display-html, eww-mode, eww-save-history)
8755 (eww-restore-history): Use it.
8756 (eww-view-source): New command to view page source.
8757 Opportunistically uses `html-mode' to highlight the buffer.
8758 (eww-mode-map): Install it.
8760 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8762 * net/dbus.el (dbus-unregister-service)
8763 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8765 (dbus-unregister-service): Skip :serial entries in
8766 `dbus-registered-objects-table'.
8767 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8769 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8771 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8772 around keywords with extra `split-string' argument.
8774 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8776 * windmove.el (windmove-other-window-loc): Handle navigation
8777 between windows (excluding the minibuffer window - Bug#16017).
8779 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8781 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8782 in D-Bus type syntax.
8783 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8784 preserve unibyte strings. (Bug#16048)
8786 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8788 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8789 Call force-mode-line-update is the proper buffer (bug#16042).
8791 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8793 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8794 `log-edit-remember-comment', make argument optional. Adjust all
8796 (log-edit-mode): Add `log-edit-remember-comment' to
8797 `kill-buffer-hook' locally.
8798 (log-edit-kill-buffer): Don't remember comment explicitly since
8799 the buffer is killed anyway.
8801 2013-12-04 Juri Linkov <juri@jurta.org>
8803 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8804 add-hook and remove-hook for multi-buffer search. (Bug#16035)
8806 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
8808 * notifications.el (notifications-close-notification): Call the
8809 D-Bus method with ID being a `:uint32'. (Bug#16030)
8811 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
8813 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8815 2013-12-03 Juri Linkov <juri@jurta.org>
8817 * progmodes/compile.el (compilation-start): Rename window alist
8818 entry `no-display-ok' to `allow-no-window'.
8820 * simple.el (shell-command): Add window alist entry
8821 `allow-no-window' to `display-buffer'.
8822 (async-shell-command): Doc fix.
8824 * window.el (display-buffer-no-window): New action function.
8825 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
8827 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8829 * vc/log-edit.el (log-edit-set-header): Extract from
8830 `log-edit-toggle-header'.
8831 (log-edit-extract-headers): Separate the summary, when extracted
8832 from header, from the rest of the message with an empty line.
8834 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8835 line, if present, to the Summary header.
8837 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8840 in current-buffer (bug#16029).
8842 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
8844 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8845 (debugger-mode-map): Bind it.
8846 (debugger--backtrace-base): New function.
8847 (debugger-eval-expression): Use it.
8848 (debugger-frame-number): Skip local vars when present.
8849 (debugger--locals-visible-p, debugger--insert-locals)
8850 (debugger--show-locals, debugger--hide-locals): New functions.
8852 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
8854 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8856 (tramp-get-remote-locale): New defun.
8857 (tramp-open-connection-setup-interactive-shell): Use it.
8859 2013-12-02 Leo Liu <sdl.web@gmail.com>
8861 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
8863 * progmodes/sh-script.el (sh-shell-process):
8864 * progmodes/octave.el (inferior-octave-process-live-p):
8865 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8866 (gdb-inferior-io-sentinel):
8867 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8869 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8871 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8872 `save-selected-window' to `log-edit-hide-buf'. This makes
8873 `log-edit-show-files' idempotent.
8874 (log-edit-show-files): Mark the new window as dedicated.
8876 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8878 * vc/log-edit.el (log-edit-mode-map): Add binding for
8879 `log-edit-kill-biffer'.
8880 (log-edit-hide-buf): Add a FIXME comment.
8881 (log-edit-add-new-comment): New function, extracted from
8883 (log-edit-done, log-edit-add-to-changelog): Use it.
8884 (log-edit-kill-buffer): New command.
8886 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8888 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8889 instead of killing the buffer.
8891 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8893 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8895 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8897 * net/eww.el (eww-form-checkbox-selected-symbol)
8898 (eww-form-checkbox-symbol): New customizable variable.
8899 (eww-form-checkbox, eww-toggle-checkbox):
8900 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8902 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8903 (shr--get-media-pref, shr--extract-best-source): New function.
8904 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8905 no :src tag was specified.
8907 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8908 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8909 Use \\` to match beginning of string instead of ^.
8910 (eww-browse-with-external-browser): Provide optional URL parameter.
8911 (eww-render): Set `eww-current-title' back to "".
8913 * net/shr.el (shr-tag-video): Display content for video if no
8914 poster is available.
8915 (shr-tag-audio): Add support for <audio> tag.
8917 * net/eww.el (eww-text-input-types): New const.
8918 (eww-process-text-input): Treat input types in
8919 `eww-text-input-types' as text.
8921 * net/shr.el (shr-tag-table): Fix comment typo.
8923 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8925 * net/eww.el (eww-follow-link): New command to avoid reloading
8926 pages when we follow #target links (bug#15243).
8927 (eww-quit): Special mode buffers shouldn't query before exiting.
8929 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8931 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8934 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8936 * net/eww.el (eww-restore-history): Update the window title after
8937 moving in the history.
8938 (eww-current-dom): New variable used to save the current DOM.
8940 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8942 * vc/log-edit.el (log-edit-mode-map): Add binding for
8943 `log-edit-beginning-of-line'.
8944 (log-edit-setup-add-author): New user option.
8945 (log-edit-beginning-of-line): New command.
8946 (log-edit): Move major mode call above the contents setup so that
8947 the local variable values are already applied.
8948 (log-edit): Only insert "Author: " when
8949 `log-edit-setup-add-author' is non-nil.
8950 (log-edit): When SETUP is non-nil, position point after ": "
8951 instead of point-min.
8953 2013-12-01 Glenn Morris <rgm@gnu.org>
8955 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8957 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8959 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8960 redisplay to make sure the initial frame gets a chance to become
8961 visible. (Bug#16014)
8963 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8965 Support resizing frames and windows pixelwise.
8966 * cus-start.el (frame-resize-pixelwise)
8967 (window-resize-pixelwise): New entries.
8968 * emacs-lisp/debug.el (debug): Use window-total-height instead
8969 of window-total-size.
8970 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8971 * help.el (describe-bindings-internal): Use help-buffer as
8972 argument for with-help-window.
8973 (temp-buffer-max-width): New option.
8974 (resize-temp-buffer-window, help-window-setup)
8975 (with-help-window): Rewrite.
8976 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8978 * window.el (frame-char-size, window-min-pixel-height)
8979 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8980 (window-min-pixel-width, window-safe-min-pixel-size)
8981 (window-combination-p, window-safe-min-size)
8982 (window-resizable-p, window--size-to-pixel)
8983 (window--pixel-to-size, window--resize-apply-p): New functions.
8984 (window-safe-min-height): Fix doc-string.
8985 (window-size, window-min-size, window--min-size-1)
8986 (window-sizable, window-sizable-p, window--min-delta-1)
8987 (window-min-delta, window--max-delta-1, window-max-delta)
8988 (window--resizable, window--resizable-p, window-resizable)
8989 (window-full-height-p, window-full-width-p, window-at-side-p)
8990 (window--in-direction-2, window-in-direction)
8991 (window--resize-reset-1, window--resize-mini-window)
8992 (window-resize, window-resize-no-error)
8993 (window--resize-child-windows-normal)
8994 (window--resize-child-windows, window--resize-siblings)
8995 (window--resize-this-window, window--resize-root-window)
8996 (window--resize-root-window-vertically)
8997 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8998 (maximize-window, minimize-window, delete-window)
8999 (quit-restore-window, window-split-min-size, split-window)
9000 (balance-windows-2, balance-windows)
9001 (balance-windows-area-adjust, balance-windows-area)
9002 (window--state-get-1, window-state-get, window--state-put-1)
9003 (window--state-put-2, window-state-put)
9004 (display-buffer-record-window, window--display-buffer):
9005 Make functions handle pixelwise sizing of windows.
9006 (display-buffer--action-function-custom-type)
9007 (display-buffer-fallback-action):
9008 Add display-buffer-in-previous-window.
9009 (display-buffer-use-some-window): Resize window to height it had
9011 (fit-window-to-buffer-horizontally): New option.
9012 (fit-frame-to-buffer): Describe new values.
9013 (fit-frame-to-buffer-bottom-margin): Replace with
9014 fit-frame-to-buffer-margins.
9015 (window--sanitize-margin): New function.
9016 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
9017 using window-text-pixel-size.
9019 2013-11-30 Glenn Morris <rgm@gnu.org>
9021 * emacs-lisp/bytecomp.el (byte-compile-form):
9022 Make the `interactive-only' warning like the `obsolete' one.
9023 * comint.el (comint-run):
9024 * files.el (insert-file-literally, insert-file):
9025 * replace.el (replace-string, replace-regexp):
9026 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9027 (goto-line, insert-buffer, next-line, previous-line):
9028 Tweak `interactive-only' spec.
9030 Stop keeping (most) generated cedet grammar files in the repository.
9031 * Makefile.in (semantic): New.
9032 (compile-main): Depend on semantic.
9034 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9036 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
9037 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
9039 * uniquify.el (uniquify-buffer-name-style): Change default.
9041 * loadup.el: Preload "uniquify".
9043 * time.el (display-time-update): Update all mode lines (bug#15999).
9045 * electric.el (electric-indent-mode): Enable by default.
9046 * loadup.el: Preload "electric".
9048 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
9050 * emacs-lisp/helpers.el (string-empty-p): New function.
9051 (string-blank-p): New function.
9053 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
9055 * imenu.el (imenu--index-alist): Add missing dot to the docstring
9058 2013-11-29 Andreas Politz <politza@fh-trier.de>
9059 * imenu.el (imenu--subalist-p): Don't error on non-conses and
9060 allow non-lambda lists as functions.
9061 (imenu--in-alist): Don't recurse into non-subalists.
9062 (imenu): Don't pass function itself as an argument (Bug#14029).
9064 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9066 * progmodes/python.el (python-mode-map): Remove binding for ":".
9067 (python-indent-electric-colon): Remove command.
9068 (python-indent-post-self-insert-function): Integrate the previous code
9069 of python-indent-electric-colon. Make it conditional on
9070 electric-indent-mode.
9071 (python-mode): Add ?: to electric-indent-chars.
9072 Move python-indent-post-self-insert-function to the end of
9073 post-self-insert-hook.
9075 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9077 * doc-view.el (doc-view-goto-page): Update mode-line.
9079 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
9081 2013-11-27 Glenn Morris <rgm@gnu.org>
9083 * international/charprop.el, international/uni-bidi.el:
9084 * international/uni-category.el, international/uni-combining.el:
9085 * international/uni-comment.el, international/uni-decimal.el:
9086 * international/uni-decomposition.el, international/uni-digit.el:
9087 * international/uni-lowercase.el, international/uni-mirrored.el:
9088 * international/uni-name.el, international/uni-numeric.el:
9089 * international/uni-old-name.el, international/uni-titlecase.el:
9090 * international/uni-uppercase.el:
9091 Remove generated files from VCS repository.
9093 2013-11-27 Eli Zaretskii <eliz@gnu.org>
9095 * filenotify.el (file-notify-add-watch): Don't special-case
9096 w32notify when computing the directory to watch.
9098 2013-11-27 Glenn Morris <rgm@gnu.org>
9100 Make bootstrap without generated uni-*.el files possible again.
9101 * loadup.el: Update command-line-args checking for unidata-gen.
9102 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
9103 * composite.el, international/characters.el:
9104 Handle unicode tables being undefined.
9106 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
9107 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
9108 (compile-main): Depend on leim rule.
9110 * loadup.el: Move leim-list.el to leim/ subdirectory.
9111 * startup.el (normal-top-level): No more leim directory.
9112 * international/ja-dic-cnv.el (skkdic-convert):
9113 Disable version-control and autoloads in output files.
9114 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
9115 Disable version-control and autoloads in output files.
9116 * leim/quail: Move here from ../leim.
9117 * leim/quail/hangul.el (hangul-input-method-activate):
9118 Add autoload cookie.
9119 (generated-autoload-load-name): Set file-local value.
9120 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
9121 (generated-autoload-load-name): Set file-local value.
9123 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
9125 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
9126 (eww-add-bookmark): Ask confirmation when add to bookmarks.
9127 (eww-quit): Ask confirmation before quitting eww.
9129 2013-11-26 Eli Zaretskii <eliz@gnu.org>
9131 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
9132 reading output from Diff on MS-Windows and MS-DOS.
9134 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
9136 * emacs-lisp/helpers.el (string-reverse): New function.
9138 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
9140 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
9141 names on MS Windows, like "/[::1]:".
9143 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
9146 2013-11-26 Glenn Morris <rgm@gnu.org>
9148 * progmodes/python.el (python-indent-guess-indent-offset):
9149 Avoid corner-case error. (Bug#15975)
9151 Preload leim-list.el. (Bug#4789)
9152 * loadup.el: Load leim-list.el when found.
9153 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
9155 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
9157 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
9159 * emacs-lisp/helpers.el (string-join): New function.
9161 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
9163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9164 Mark as obsolete and replace it with a symbol property.
9165 (byte-compile-form): Use new 'interactive-only property.
9166 * comint.el, files.el, replace.el, simple.el:
9167 Apply new 'interactive-only properly.
9169 2013-11-25 Martin Rudalics <rudalics@gmx.at>
9171 * window.el (display-buffer-at-bottom): Make sure that
9172 split-window-sensibly creates the new window on bottom
9175 2013-11-23 David Kastrup <dak@gnu.org>
9177 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
9178 on the conflict markers when available.
9179 (smerge--get-marker): New function.
9180 (smerge-end-re, smerge-base-re): Add subgroup.
9182 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * frame.el (handle-focus-in, handle-focus-out): Add missing
9187 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
9189 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9190 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
9192 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9194 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
9195 (gomoku--last-pos): New var.
9196 (gomoku--intangible-chars): New const.
9197 (gomoku--intangible): New function.
9198 (gomoku-mode): Use it. Derive from special-mode.
9199 (gomoku-move-up): Adjust line count.
9200 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
9201 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
9202 Simplify accordingly.
9204 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
9205 Remove blink-cursor code.
9206 (blink-cursor-timer-function, blink-cursor-suspend):
9207 Don't special-case GUIs.
9208 (blink-cursor-mode): Use focus-in/out-hook.
9210 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
9212 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
9213 work when annotation is invisible (Bug#13886).
9215 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
9217 * json.el (json-alist-p): Only return non-nil if the alist has
9218 simple keys (Bug#13518).
9220 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
9222 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
9223 when control-statement is the first statement in a buffer (Bug#15956).
9225 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
9227 * imenu.el (imenu-generic-skip-comments-and-strings):
9228 New option (Bug#15560).
9229 (imenu--generic-function): Use it.
9231 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
9233 * minibuffer.el (completion--in-region-1): Scroll the correct window.
9236 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
9238 * emacs-lisp/helpers.el: Add some string helpers.
9239 (string-trim-left): Removes leading whitespace.
9240 (string-trim-right): Removes trailing whitespace.
9241 (string-trim): Removes leading and trailing whitespace.
9243 * subr.el (string-suffix-p): New function.
9245 2013-11-23 Glenn Morris <rgm@gnu.org>
9247 * progmodes/python.el (python-shell-send-file):
9248 Add option to delete file when done. (Bug#15647)
9249 (python-shell-send-string, python-shell-send-region): Use it.
9251 2013-11-23 Ivan Shmakov <ivan@siamics.net>
9253 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
9254 to set buffer-read-only to t, never to nil. (Bug#15938)
9256 * textmodes/tex-mode.el (latex-noindent-environments):
9257 Add safe-local-variable property. (Bug#15936)
9259 2013-11-23 Glenn Morris <rgm@gnu.org>
9261 * textmodes/enriched.el (enriched-mode): Doc fix.
9262 * emacs-lisp/authors.el (authors-renamed-files-alist):
9263 Add enriched.doc -> enriched.txt.
9265 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
9267 2013-11-22 Leo Liu <sdl.web@gmail.com>
9269 * progmodes/octave.el (inferior-octave-startup): Spit out error
9272 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
9274 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9277 (ruby-encoding-magic-comment-style): Add :version.
9279 2013-11-22 Leo Liu <sdl.web@gmail.com>
9281 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
9283 (octave-help-mode): Adapt to change to help-mode-finish to use
9284 derived-mode-p on 2013-09-17.
9285 (inferior-octave-prompt): Also match octave-gui.
9286 (octave-kill-process): Don't ask twice. (Bug#10564)
9288 2013-11-22 Leo Liu <sdl.web@gmail.com>
9290 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
9291 (inferior-octave-startup, inferior-octave-check-process)
9292 (inferior-octave-track-window-width-change)
9293 (octave-completion-at-point, octave-eldoc-function): Use it.
9294 (octave-kill-process): Provide confirmation. (Bug#10564)
9296 2013-11-21 Leo Liu <sdl.web@gmail.com>
9298 * progmodes/octave.el (octave-mode, inferior-octave-mode):
9299 Fix obsolete variable comment-use-global-state.
9301 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9303 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
9304 Add `octave-source-file'.
9305 (octave-source-file): New function. (Bug#15935)
9307 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
9309 * net/eww.el (eww-local-regex): New variable.
9310 (eww): Use it to detect localhost and similar.
9312 2013-11-21 Leo Liu <sdl.web@gmail.com>
9314 Add completion for command `ag'.
9315 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
9316 (pcomplete/ag): New function.
9317 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
9319 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9321 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
9323 (make-obsolete): Remove interactive spec.
9325 2013-11-21 Glenn Morris <rgm@gnu.org>
9327 * startup.el (command-line-1): Use path-separator with -L.
9329 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
9331 * emacs-lisp/package.el (describe-package-1): Add package archive
9334 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
9336 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9337 Change default to "# encoding: %s" to differentiate it from the
9338 default Ruby encoding comment template.
9340 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
9342 * ses.el (ses-mode): Doc fix. (Bug#14748)
9344 2013-11-20 Leo Liu <sdl.web@gmail.com>
9346 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
9348 2013-11-19 Dan Nicolaescu <dann@gnu.org>
9350 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
9351 when rebase or bisect are in progress.
9353 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
9355 * filenotify.el (file-notify-add-watch): Doc fix.
9357 2013-11-19 Leo Liu <sdl.web@gmail.com>
9359 * obsolete/rcompile.el: Mark obsolete.
9361 * progmodes/compile.el (compilation-start)
9362 (compilation-goto-locus, compilation-find-file):
9363 Pass no-display-ok and handle nil value from display-buffer.
9366 * window.el (display-buffer-alist, display-buffer): Document the
9367 new parameter no-display-ok. Return either a window or nil
9368 but never a non-window value.
9370 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * electric.el (electric-indent-mode-map): Remove.
9373 (electric-indent-mode): Change the global-map instead (bug#15915).
9375 * textmodes/text-mode.el (paragraph-indent-minor-mode):
9378 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
9380 * emacs-lisp/nadvice.el (remove-function): Align with
9381 add-function's behavior.
9383 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
9384 (gdb--string-regexp): New constant.
9385 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
9386 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
9387 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
9389 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
9390 Adjust use accordingly.
9391 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
9393 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
9395 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
9396 interpolation curlies (Bug#15914).
9398 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
9400 * calc/calc.el (calc-context-sensitive-enter): New variable.
9401 (calc-enter): Use `calc-context-sensitive-enter'.
9403 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
9405 * progmodes/cfengine.el: Version bump.
9406 (cfengine-cf-promises): New defcustom to locate cf-promises.
9407 (cfengine3-vartypes): Add new "data" type.
9408 (cfengine3--current-word): New function to get current name-like
9410 (cfengine3--current-function): New function to look up a CFEngine
9411 function's definition.
9412 (cfengine3-format-function-docstring): New function.
9413 (cfengine3-make-syntax-cache): New function.
9414 (cfengine3-documentation-function): New function: ElDoc glue.
9415 (cfengine3-completion-function): New function: completion glue.
9416 (cfengine3-mode): Set `compile-command',
9417 `eldoc-documentation-function', and add to
9418 `completion-at-point-functions'.
9420 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
9422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9423 `tramp-current-connection'.
9425 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
9427 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
9428 nil/self/true/false with "end of symbol".
9430 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
9432 * subr.el (version-regexp-alist): Fix a typo.
9434 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
9436 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
9437 "en_US.utf8" and "LC_CTYPE" to "".
9438 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
9439 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
9441 2013-11-15 Leo Liu <sdl.web@gmail.com>
9443 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
9445 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * progmodes/gud.el (ctl-x-map):
9448 Remove C-x SPC binding. (Bug#12342)
9449 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
9451 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
9453 * subr.el (version-regexp-alist):
9454 Recognize hg, svn and darcs versions as snapshot versions.
9456 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
9457 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
9458 (ruby--encoding-comment-required-p): Extract from
9459 `ruby-mode-set-encoding'.
9460 (ruby-mode-set-encoding): Add the ability to always insert an
9461 utf-8 encoding comment. Fix and simplify coding comment update
9464 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
9466 * net/tramp-gvfs.el (top): Run init code only when
9467 `tramp-gvfs-enabled' is not nil.
9468 (tramp-gvfs-enabled): Check also :system bus.
9470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9472 Sync with upstream verilog-mode revision 78e66ba.
9473 * progmodes/verilog-mode.el (verilog-end-of-defun)
9474 (verilog-type-completion, verilog-get-list): Remove unused funcs.
9475 (verilog-get-end-of-defun): Remove unused argument.
9476 (verilog-comment-depth): Remove unused local `e'.
9477 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9478 Don't pass arg to verilog-get-end-of-defun.
9480 2013-11-14 Glenn Morris <rgm@gnu.org>
9482 * obsolete/assoc.el (aget): Prefix dynamic variable.
9484 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9486 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9488 * widget.el, hfy-cmap.el: Remove bogus package version number.
9490 2013-11-13 Glenn Morris <rgm@gnu.org>
9492 * replace.el (replace-eval-replacement):
9493 Try to give more helpful error message. (Bug#15836)
9495 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9496 (archive-7z-update): Avoid custom type mismatches.
9498 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9500 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
9502 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9503 address can be empty.
9505 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9506 Accept nil SWITCHES.
9507 (tramp-gvfs-handle-write-region): Implement APPEND.
9509 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
9511 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9512 binary "|" operator and closing block args delimiter.
9513 Remove FIXME comment referring to Ruby 1.8-only syntax.
9514 (ruby-smie--implicit-semi-p): Not after "|" operator.
9515 (ruby-smie--closing-pipe-p): New function.
9516 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9517 (ruby-smie-rules): Indent after "|".
9519 2013-11-12 Glenn Morris <rgm@gnu.org>
9521 * ps-print.el (ps-face-attribute-list):
9522 Handle anonymous faces. (Bug#15827)
9524 2013-11-12 Martin Rudalics <rudalics@gmx.at>
9526 * window.el (display-buffer-other-frame): Fix doc-string.
9529 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9531 * subr.el (force-mode-line-update): Delete, move to buffer.c.
9533 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
9535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9536 (tramp-sh-handle-file-local-copy): Don't write a message when
9537 saving temporary files.
9539 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9540 both directories are remote.
9541 (tramp-smb-handle-directory-files): Do not return double entries.
9542 Do not expand full file names.
9543 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9544 (tramp-smb-handle-write-region): Implement APPEND.
9545 (tramp-smb-get-stat-capability): Fix a stupid bug.
9547 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9549 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9551 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9553 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9554 throwing error over malformed let/let* (bug#15814).
9556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * iswitchb.el (iswitchb-mode): Mark obsolete.
9560 2013-11-11 Glenn Morris <rgm@gnu.org>
9562 * international/uni-bidi.el, international/uni-category.el:
9563 * international/uni-name.el, international/uni-numeric.el:
9564 Regenerate for Unicode 6.3.0.
9566 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
9568 * net/tramp.el (tramp-methods):
9569 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9570 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
9572 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
9574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9575 Force highlighting text after Summary keyword in doc face for rpm.
9577 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
9579 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9580 available and the word has no wildcards, append one to the grep pattern.
9581 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9582 (ispell-complete-word): Call `ispell-lookup-words' with the value
9583 independent of `ispell-look-p'.
9585 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9589 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9592 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9594 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
9595 (ruby-font-lock-keywords): Use backquote.
9597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9599 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9600 (ruby-smie--backward-token): Only consider full-string matches.
9602 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
9604 * faces.el (describe-face): Add distant-foreground.
9606 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
9608 * progmodes/ruby-mode.el: Improve encoding comment handling.
9609 (ruby-encoding-magic-comment-style): New option.
9610 (ruby-custom-encoding-magic-comment-template): New option.
9611 (ruby--insert-coding-comment, ruby--detect-encoding):
9612 New functions extracted from `ruby-mode-set-encoding'.
9613 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9614 to control the style of the auto-inserted encoding comment.
9616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9618 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9619 Use `smie-backward-sexp' with token argument.
9621 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9623 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9624 Remove instrumentation code.
9626 2013-11-08 Glenn Morris <rgm@gnu.org>
9628 * progmodes/autoconf.el (autoconf-mode):
9629 Tweak comment-start-skip. (Bug#15822)
9631 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9634 at bobp (bug#15826).
9635 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9637 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9639 * man.el (Man-start-calling): New macro, extracted from
9640 Man-getpage-in-background.
9641 (Man-getpage-in-background): Use it.
9642 (Man-update-manpage): New command.
9643 (Man-mode-map): Bind it.
9645 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9647 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9648 of "and", "or", "&&" and "||".
9649 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9650 argument. Prohibit opening curly brace because it could only be a
9651 block opener in that position.
9652 (ruby-smie--forward-token, ruby-smie--backward-token):
9653 Separate "|" from "&" or "*" going after it. That can happen in block
9655 (ruby-smie--indent-to-stmt): New function, seeks the end of
9656 previous statement or beginning of buffer.
9657 (ruby-smie-rules): Use it.
9658 (ruby-smie-rules): Check if there's a ":" before a curly block
9659 opener candidate; if there is, it's a hash.
9661 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9663 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9664 (cl--block-wrapper): Fix last accidental change.
9666 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9668 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9669 Instrument, in order to hunt failure on hydra.
9671 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9673 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9674 malformed bindings form (bug#15814).
9676 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9678 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9679 "." compared to " @ ". This incidentally fixes some indentation
9681 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9682 (ruby-smie-grammar): New tokens: "and" and "or".
9683 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9684 Exclude "and" and "or". Remove "do" in order to work around token
9686 (ruby-smie-rules): Add all infix tokens. Handle the case of
9687 beginning-of-buffer.
9689 2013-11-06 Glenn Morris <rgm@gnu.org>
9691 * Makefile.in (setwins_almost, setwins_for_subdirs):
9692 Avoid accidental matches.
9694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9696 * menu-bar.el (popup-menu): Use key-binding.
9698 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9700 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9701 menus, support also the menus produced by minor modes.
9704 2013-11-06 Leo Liu <sdl.web@gmail.com>
9706 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9707 DISTANCE to bound the search. All uses changed. (Bug#15808)
9709 2013-11-06 Glenn Morris <rgm@gnu.org>
9711 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9712 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9713 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9715 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * electric.el (electric-indent-just-newline): New command.
9718 (electric-indent-mode-map): New keymap.
9719 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9720 Re-add :group which weren't redundant.
9722 * electric.el (electric-indent-local-mode): New minor mode.
9723 (electric-indent-functions-without-reindent): New var.
9724 (electric-indent-post-self-insert-function): Use it.
9725 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9727 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9729 * international/quail.el (quail-help): Be more explicit about the
9730 meaning of the labels shown on the keys. (Bug#15800)
9732 * startup.el (normal-top-level): Load the subdirs.el files before
9733 setting the locale environment. (Bug#15805)
9735 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9738 via arguments so as to get the right ones (bug#15418).
9740 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9742 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9744 Fix problems found while writing a test suite.
9746 * net/tramp-compat.el (tramp-compat-load): New defun.
9747 * net/tramp.el (tramp-handle-load): Use it.
9749 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9750 "(numberp ok-if-already-exists)" correctly.
9752 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9754 * international/characters.el (glyphless-char-display-control):
9757 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9759 * progmodes/python.el (python-mode):
9760 * progmodes/scheme.el (scheme-mode):
9761 * progmodes/prolog.el (prolog-mode):
9762 * progmodes/ruby-mode.el (ruby-mode):
9763 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9764 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9768 * rect.el (rectangle--highlight-for-redisplay):
9769 * emacs-lisp/smie.el (smie--next-indent-change):
9770 Use buffer-chars-modified-tick.
9772 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9774 * electric.el (electric-indent-post-self-insert-function):
9775 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9777 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9779 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9781 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9783 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9786 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9790 * progmodes/python.el: Fix up last change.
9791 (python-shell--save-temp-file): New function.
9792 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9793 `string' comes from the current buffer.
9794 (python-shell-send-string-no-output): Remove `msg' arg.
9795 (python--use-fake-loc): New var.
9796 (python-shell-buffer-substring): Obey it. Try to compensate for the
9797 extra coding line added by python-shell--save-temp-file.
9798 (python-shell-send-region): Use python-shell--save-temp-file and
9799 python-shell-send-file directly. Add `nomain' argument.
9800 (python-shell-send-buffer): Use python-shell-send-region.
9801 (python-electric-pair-string-delimiter): New function.
9802 (python-mode): Use it.
9804 2013-11-04 Eli Zaretskii <eliz@gnu.org>
9806 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9807 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9808 environment and decoding all of the default-directory's to here
9810 (command-line): Decode also argv[0].
9812 * loadup.el: Error out if default-directory is a multibyte string
9813 when we are dumping.
9815 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
9817 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
9819 * emacs-lisp/package.el (package-menu-mode)
9820 (package-menu--print-info, package-menu--archive-predicate):
9821 Add Archive column to package list.
9823 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
9825 Fix problems found while writing a test suite.
9827 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9828 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9829 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9830 to nil when running original file name handler. Otherwise,
9831 there are problems with constructs like "$$FOO".
9833 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9836 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
9838 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9840 * subr.el (version<, version<=, version=):
9841 Update docstrings with information for snapshot versions.
9843 * helpers.el: New library for misc helper functions.
9844 (hash-table-keys): New function returning a list of hash keys.
9845 (hash-table-values): New function returning a list of hash values.
9847 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
9849 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9850 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9852 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
9854 * textmodes/fill.el (fill-single-char-nobreak-p): New function
9855 checking whether point is after a 1-letter word.
9857 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9859 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9860 Don't infloop when expanding region over `multiline' syntax-type that
9861 begins a line (bug#15778).
9863 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9866 Make it into a proper minor mode.
9867 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9868 (rectangle-mark-mode-map): New keymap.
9869 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9871 2013-11-04 Glenn Morris <rgm@gnu.org>
9873 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9875 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
9877 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9878 (ruby-smie-rules): Use smie-rule-parent instead.
9880 * emacs-lisp/smie.el (smie-rule-parent): Always call
9881 smie-indent-virtual rather than only for hanging tokens.
9882 (smie--next-indent-change): New helper command.
9884 2013-11-03 Glenn Morris <rgm@gnu.org>
9886 * Makefile.in (abs_srcdir): Remove.
9887 (emacs): Unset EMACSLOADPATH.
9889 2013-11-02 Glenn Morris <rgm@gnu.org>
9891 * Makefile.in (EMACS): Use a relative filename.
9892 (abs_top_builddir): Remove.
9893 (custom-deps, finder-data, autoloads): Use --chdir.
9895 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9897 Use relative filenames in TAGS files.
9898 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9899 (lisptagsfiles4, TAGS): Use relative file names.
9900 (TAGS-LISP): Remove.
9901 (maintainer-clean): No more TAGS-LISP file.
9903 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9904 (lisptagsfiles4): Use absolute filenames again.
9905 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9906 Remove all *loaddefs files, not just the first. Remove esh-groups.
9907 (maintainer-clean): Delete TAGS, TAGS-LISP.
9909 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9911 * emacs-lisp/package.el (package-version-join):
9912 Recognize snapshot versions.
9914 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9916 * subr.el (version-regexp-alist): Add support for snapshot versions.
9918 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9920 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9921 New function, replacement for `smie-rule-parent' for when we want to
9922 skip over our direct parent if it's an assignment token..
9923 (ruby-smie-rules): Use it.
9925 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9927 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9928 unconditionally. Remove now unnecessary forward declarations.
9929 Remove XEmacs-specific setup.
9930 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9931 (ruby-font-lock-syntactic-keywords)
9932 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9933 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9934 (ruby-here-doc-end-syntax): Remove.
9935 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9936 defined as function.
9938 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9940 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9942 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9944 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9945 table and abbrev table, `define-derived-mode' does that for us
9948 2013-11-01 Glenn Morris <rgm@gnu.org>
9950 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9951 files is atomic for some time, so no parallel compilation issues).
9953 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9955 * faces.el (face-x-resources): Add :distant-foreground.
9956 (region): Use :distant-foreground for gtk and ns.
9958 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9960 Allow multiple bibliographies when BibLaTeX is used rather than
9962 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9963 (reftex-locate-bibliography-files): Us it.
9965 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9967 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9968 allow comments in pbm files.
9970 * term/w32-win.el (dynamic-library-alist): Support newer versions
9971 of libjpeg starting with v7: look only for the DLL from the
9972 version against which Emacs was built.
9973 Support versions of libpng beyond 1.4.x.
9974 Support libtiff v4.x.
9976 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9978 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9979 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9981 (ruby-deep-arglist): Add property :type.
9983 2013-10-31 Glenn Morris <rgm@gnu.org>
9985 * Makefile.in (custom-deps, finder-data): No need to setq the target
9986 variables, we are in the right directory and the defaults work fine.
9988 2013-10-30 Glenn Morris <rgm@gnu.org>
9990 * Makefile.in (autoloads): Do not use abs_lisp.
9992 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9993 `newline' does not respect `standard-output', so use `princ'.
9995 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9997 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9998 * buff-menu.el (Buffer-menu--unmark): New function.
9999 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
10001 2013-10-30 Glenn Morris <rgm@gnu.org>
10003 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
10005 * emacs-lisp/package.el (lm-homepage): Declare.
10007 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
10010 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
10012 * Makefile.in (finder-data, autoloads, update-subdirs)
10013 (compile-main, compile-clean, compile-always, bootstrap-clean):
10014 Check return value of cd.
10015 (compile-calc): Remove.
10017 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
10021 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
10022 (byte-compile-and-folded): New function.
10023 (=, <, >, <=, >=): Use it.
10025 * dos-w32.el (minibuffer-history-case-insensitive-variables)
10026 (path-separator, null-device, buffer-file-coding-system)
10027 (lpr-headers-switches): Check system-type before modifying them.
10028 (find-buffer-file-type-coding-system): Mark obsolete.
10029 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
10030 find-file-not-found-set-buffer-file-coding-system.
10031 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
10032 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
10033 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
10034 (w32-direct-print-region-helper, w32-direct-print-region-function)
10035 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
10036 * startup.el (normal-top-level-add-subdirs-to-load-path):
10037 * ps-print.el (ps-print-region-function):
10038 * lpr.el (print-region-function): Use new name.
10040 * subr.el (custom-declare-variable-early): Remove function.
10041 (custom-declare-variable-list): Remove var.
10042 (error, user-error): Remove `while' loop.
10043 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
10044 (user-emacs-directory-warning, locate-user-emacs-file):
10046 * simple.el (read-quoted-char-radix, read-quoted-char):
10047 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
10049 * custom.el (custom-declare-variable-list): Don't process
10050 custom-declare-variable-list.
10052 * progmodes/python.el (python-shell-get-buffer): New function.
10053 (python-shell-get-process): Use it.
10054 (python-shell-send-string): Always use utf-8 and add a cookie to tell
10055 Python which encoding was used. Don't split-string since we only care
10056 about the first line. Return the temp-file, if applicable.
10057 (python-shell-send-region): Tell compile.el how to turn locations in
10058 the temp-file into locations in the source buffer.
10060 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10062 * subr.el (undefined): Add missing behavior from the C code for
10065 * rect.el: Use lexical-binding. Add new rectangular region support.
10066 (rectangle-mark): New command.
10067 (rectangle--region): New var.
10068 (deactivate-mark-hook): Reset rectangle--region.
10069 (rectangle--extract-region, rectangle--insert-for-yank)
10070 (rectangle--highlight-for-redisplay)
10071 (rectangle--unhighlight-for-redisplay): New functions.
10072 (region-extract-function, redisplay-unhighlight-region-function)
10073 (redisplay-highlight-region-function): Use them to handle
10074 rectangular region.
10075 * simple.el (region-extract-function): New var.
10076 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
10077 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
10078 (kill-region): Replace obsolete `yank-handler' arg with `region'.
10079 (copy-region-as-kill, kill-ring-save): Add `region' argument.
10080 (redisplay-unhighlight-region-function)
10081 (redisplay-highlight-region-function): New vars.
10082 (redisplay--update-region-highlight): New function.
10083 (pre-redisplay-function): Use it.
10084 (exchange-point-and-mark): Don't deactivate the mark before
10085 reactivate-it anyway.
10086 * comint.el (comint-kill-region): Remove yank-handler argument.
10087 * delsel.el (delete-backward-char, backward-delete-char-untabify)
10088 (delete-char): Remove property, since it's now part of their
10090 (self-insert-iso): Remove property since this command doesn't exist.
10092 * emacs-lisp/package.el (package--download-one-archive)
10093 (describe-package-1): Don't query the user about final newline.
10095 2013-10-29 Daniel Colascione <dancol@dancol.org>
10097 * net/tramp.el (tramp-methods): Document new functionality.
10098 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
10099 tramp-hostname-checker if method provides one instead of scanning
10100 argument list for "%h" to decide hostname acceptability.
10102 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
10104 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10105 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10106 Handle COPY-CONTENTS. (Bug#15737)
10108 2013-10-28 Daiki Ueno <ueno@gnu.org>
10110 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
10111 Document that this option has no effect with GnuPG 2.0 (bug#15552).
10113 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
10115 * image.el (defimage, image-load-path): Doc fixes.
10117 2013-10-27 Alan Mackenzie <acm@muc.de>
10119 Indent statements in macros following "##" correctly.
10120 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10121 Modify the "#" arm of a cond form to handle "#" and "##" operators.
10123 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10125 * linum.el (linum-update-window): Fix boundary test (bug#13446).
10127 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
10129 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
10130 after `=' is probably a new expression.
10132 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10134 * man.el (man-imenu-title): New option.
10135 (Man-mode-map): Add menu. (Bug#15722)
10136 (Man-mode): Add imenu to menu.
10138 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
10140 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
10141 specific in what the first arg can be: a non-keyword word,
10142 string/regexp/percent literal opener, opening paren, or unary
10143 operator followed directly by word.
10145 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
10148 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
10149 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
10150 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
10151 Remove vars, they do not apply any more.
10152 (prolog-mode-abbrev-table): Remove redundant declaration.
10153 (prolog-upper-case-string, prolog-lower-case-string): Remove.
10154 (prolog-use-smie): Remove.
10155 (prolog-smie-rules): Add indentation rule for the if-then-else layout
10156 supported by prolog-electric-if-then-else-flag.
10157 (prolog-mode-variables, prolog-menu): Use setq-local.
10158 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
10159 Remove binding to `Backspace' since this key doesn't exist anyway.
10160 Remove bindings for electric self-inserting keys.
10161 (prog-mode): Assume it's defined.
10162 (prolog-post-self-insert): New function.
10163 (prolog-mode): Use it.
10164 (prolog-indent-line, prolog-indent-level)
10165 (prolog-find-indent-of-matching-paren)
10166 (prolog-indentation-level-of-line, prolog-goto-comment-column)
10167 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
10168 (prolog-goto-next-paren, prolog-in-string-or-comment)
10169 (prolog-tokenize, prolog-inside-mline-comment)
10170 (prolog-find-start-of-mline-comment): Remove functions.
10171 (prolog-find-unmatched-paren, prolog-clause-end)
10172 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
10173 (prolog-electric--if-then-else): Rename from
10174 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
10175 (prolog-tokenize-searchkey): Remove const.
10176 (prolog-clause-info): Use forward-sexp.
10177 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
10178 (prolog-electric-if-then-else): Remove commands.
10179 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
10180 for use in post-self-insert-hook.
10181 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
10182 for use in post-self-insert-hook.
10183 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
10184 for use in post-self-insert-hook.
10185 (prolog-electric--underscore): Rename from prolog-electric--underscore;
10186 adapt it for use in post-self-insert-hook.
10188 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
10190 * emacs-lisp/ert.el (ert-run-tests-interactively):
10191 Use `completing-read'. (Bug#9756)
10193 2013-10-25 Eli Zaretskii <eliz@gnu.org>
10195 * simple.el (line-move): Call line-move-1 instead of
10196 line-move-visual when the current window hscroll is zero, but
10197 temporary-goal-column indicates we will need to hscroll as result
10198 of the movement. (Bug#15712)
10200 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
10202 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
10203 capitalization. Use :visible instead of :active.
10204 Fix `ruby-indent-exp' reference. Add menu items for the generic
10205 commands that are used with SMIE.
10206 (ruby-do-end-to-brace): Insert space after `{'.
10208 2013-10-25 John Anthony <john@jo.hnanthony.com>
10210 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
10212 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
10214 2013-10-25 Glenn Morris <rgm@gnu.org>
10216 * vc/vc.el (vc-print-log): Don't use a working revision unless
10217 one was explicitly specified. (Bug#15322)
10219 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * subr.el (add-to-list): Preserve return value in compiler-macro
10224 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10226 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
10227 result. Ask user to retry using '-all' flag. (Bug#15701)
10229 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10231 * emacs-lisp/smie.el: New smie-config system.
10232 (smie-config): New defcustom.
10233 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
10234 (smie-config-guess, smie-config-save): New commands.
10235 (smie-config--mode-local, smie-config--buffer-local)
10236 (smie-config--trace, smie-config--modefuns): New vars.
10237 (smie-config--advice, smie-config--mode-hook)
10238 (smie-config--setter, smie-config-local, smie-config--get-trace)
10239 (smie-config--guess-value, smie-config--guess): New functions.
10240 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
10241 text properties. Treat "string fence" syntax like string syntax.
10243 * progmodes/sh-script.el (sh-use-smie): Change default.
10244 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
10245 (sh-var-value): Simplify by CSE.
10246 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
10247 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
10249 (sh-guess-basic-offset): Use cl-incf.
10250 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
10252 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
10254 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
10257 2013-10-24 Glenn Morris <rgm@gnu.org>
10259 * Makefile.in (abs_top_srcdir): Remove.
10260 (update-subdirs): Use relative path to update-subdirs.
10262 2013-10-24 Eli Zaretskii <eliz@gnu.org>
10264 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10265 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10266 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10267 Call unmsys--file-name before expand-file-name, not after it.
10269 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
10271 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
10272 (ert-test-skipped): New error.
10273 (ert-skip, ert-stats-skipped): New defuns.
10274 (ert--skip-unless): New macro.
10275 (ert-test-skipped): New struct.
10276 (ert--run-test-debugger, ert-test-result-type-p)
10277 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
10278 (ert--stats-set-test-and-result, ert-char-for-test-result)
10279 (ert-string-for-test-result, ert-run-tests-batch)
10280 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
10281 Handle skipped tests. (Bug#9803)
10283 2013-10-24 Glenn Morris <rgm@gnu.org>
10285 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
10287 * Makefile.in (abs_top_srcdir): New, set by configure.
10288 (update-subdirs): Correct build-aux location.
10290 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
10292 * vc/vc.el (vc-print-root-log): Always set `default-directory'
10293 value, whether we could auto-deduce `backend', or not.
10295 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
10296 with parameters" example. Simplify the "is it block or is it
10297 hash" check, but also make it more thorough.
10299 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
10301 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
10303 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10305 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
10306 { if it is hanging.
10308 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
10311 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
10313 * progmodes/compile.el (compilation-directory-matcher)
10314 (compilation-page-delimiter):
10315 Support GNU Make-4.0 directory quoting. (Bug#15678)
10317 2013-10-23 Leo Liu <sdl.web@gmail.com>
10319 * ido.el (ido-tidy): Handle read-only text.
10321 2013-10-23 Glenn Morris <rgm@gnu.org>
10323 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
10324 (emacs, compile, compile-always):
10325 Quote entities that might contain whitespace.
10326 (custom-deps, finder-data, autoloads): Use abs_lisp.
10327 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10328 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10329 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10331 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
10333 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
10334 Use `following-char'.
10336 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10338 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
10339 * progmodes/ruby-mode.el (ruby-smie-rules):
10340 Remove corresponding workaround. Fix indentation rule of ";" so it
10341 also applies when ";" is the parent.
10343 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
10345 * frame.el (display-screens, display-pixel-height)
10346 (display-pixel-width, display-mm-width, display-backing-store)
10347 (display-save-under, display-planes, display-color-cells)
10348 (display-visual-class, display-monitor-attributes-list):
10349 Mention the optional ‘display’ argument in doc strings.
10351 2013-10-22 Michael Gauland <mikelygee@amuri.net>
10353 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
10354 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
10356 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10358 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
10359 TODO. Add "." after " @ ".
10360 (ruby-smie--at-dot-call): New function. Checks if point at method
10361 call with explicit target.
10362 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
10363 to the method name tokens when it precedes them.
10364 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
10365 (ruby-smie-rules): Add rule for indentation before and after "."
10368 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10370 * textmodes/remember.el (remember-diary-extract-entries):
10373 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
10376 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10378 * progmodes/ruby-mode.el (ruby-smie-grammar):
10379 Add (almost) all infix operators.
10380 (ruby-smie--implicit-semi-p): Add new operator chars.
10382 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10384 (ruby-smie--args-separator-p): Check that there's no newline
10385 between method call and its arguments.
10387 2013-10-20 Alan Mackenzie <acm@muc.de>
10389 Allow comma separated lists after Java "implements".
10391 * progmodes/cc-engine.el (c-backward-over-enum-header):
10393 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
10394 from a "disallowed" list in enum fontification.
10396 2013-10-20 Johan Bockgård <bojohan@gnu.org>
10398 * startup.el (default-frame-background-mode): Remove unused defvar.
10400 * progmodes/verilog-mode.el (verilog-mode): Don't set
10401 comment-indent-function globally.
10403 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
10405 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
10406 Move Info menu item creation to ns-win.el.
10408 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
10411 * menu-bar.el: Move GNUstep specific menus...
10413 * term/ns-win.el (ns-initialize-window-system): ... to here.
10415 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * simple.el (newline): Only run post-self-insert-hook when
10418 called interactively.
10420 2013-10-19 Johan Bockgård <bojohan@gnu.org>
10422 * icomplete.el (icomplete-with-completion-tables): Add :version.
10424 2013-10-19 Alan Mackenzie <acm@muc.de>
10426 Fix fontification bugs with constructors and const.
10428 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
10429 CASE 2) Remove the check for the absence of a suffix construct
10430 after a function declaration with only types (no identifiers) in
10431 the parentheses. Also, accept a function declaration with just a
10432 type inside the parentheses, if this type can be positively
10433 recognised as such, or if a prefix keyword like "explicit" nails
10434 down the construct as a declaration.
10436 2013-10-19 Eli Zaretskii <eliz@gnu.org>
10438 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
10439 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
10440 the problem whereby selecting a menu item that leads to a
10441 minibuffer prompt moves the cursor out of the minibuffer window,
10442 making it hard to type at the prompt. Suggested by Stefan Monnier
10443 <monnier@iro.umontreal.ca>.
10445 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
10447 * menu-bar.el: Don't make Services menu.
10449 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10451 * ffap.el: Handle "/usr/include/c++/<version>" directories.
10452 (ffap-alist): Use ffap-c++-mode for c++-mode.
10453 (ffap-c++-path): New variable.
10454 (ffap-c++-mode): New function.
10456 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
10458 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
10460 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
10462 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10463 introduced on 2013-09-08, which results in an infinite loop
10464 requesting a password.
10466 2013-10-18 Glenn Morris <rgm@gnu.org>
10468 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10470 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
10472 Sync with upstream verilog-mode revision 1a6ecec7.
10473 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10474 (verilog-mode-release-date): Remove.
10475 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10476 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10477 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10478 (verilog-auto-tieoff-ignore-regexp)
10479 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10480 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10481 (verilog-signals-with, verilog-dir-cache-preserving)
10482 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10484 (verilog-case-fold): New option, to control case folding in
10485 regexp searches, bug597.
10486 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10487 (verilog-string-match-fold, verilog-in-paren-count)
10488 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10489 (verilog-at-close-struct-p): New functions.
10490 (verilog-beg-block-re-ordered, verilog-extended-case-re)
10491 (verilog-forward-sexp, verilog-set-auto-endcomments)
10492 (verilog-leap-to-case-head): Handle "unique0" case.
10493 (verilog-in-constraint-re): New constant.
10494 (verilog-keywords, verilog-type-font-keywords):
10495 Add some SystemVerilog 1800-2012 keywords.
10496 (verilog-label-be): Remove unimplemented argument, bug669.
10497 (verilog-batch-execute-func): When batch expanding clear
10498 create-lockfiles to prevent spurious user locks when a file ends
10500 (verilog-calculate-indent, verilog-calc-1)
10501 (verilog-at-close-constraint-p, verilog-at-constraint-p)
10502 (verilog-do-indent): Fix indentation of nested constraints
10504 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10505 (verilog-auto-inst-param): Use verilog-string-match-fold.
10506 (verilog-read-inst-module-matcher):
10507 Fix AUTOINST on gate primitives with #1.
10508 (verilog-read-decls): Fix double-declaring user-defined typed signals.
10509 Reads all user-defined typed variables.
10510 (verilog-read-defines): Fix reading definitions inside comments, bug647.
10511 (verilog-signals-matching-regexp)
10512 (verilog-signals-not-matching-regexp, verilog-auto):
10513 Respect verilog-case-fold.
10514 (verilog-diff-report): Fix line count.
10515 (verilog-auto-assign-modport): Remove unused local `modi'.
10516 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10517 better handle multidimensional arrays.
10518 Fix packed array ports misadding bit index in AUTOINST, bug637.
10519 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10520 to not double-declare existing outputs and inputs, respectively.
10521 (verilog-template-map): Bind U to verilog-sk-uvm-component.
10522 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10523 (verilog-sk-uvm-component): New skeleton.
10524 (verilog-submit-bug-report): Add verilog-case-fold,
10525 remove verilog-mode-release-date.
10527 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
10529 * subr.el (sit-for): Call (input-pending-p t) so as to behave
10532 2013-10-18 Reuben Thomas <rrt@sc3d.org>
10534 * textmodes/remember.el (remember): Set buffer-offer-save in
10535 remember buffers (bug#13566).
10537 2013-10-18 Daniel Colascione <dancol@dancol.org>
10539 When evaluating forms in ielm, direct standard output to ielm
10540 buffer. Add new ielm-return-for-effect command. Remove trailing
10541 whitespace throughout.
10543 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10544 (ielm-return-for-effect): New command.
10545 (ielm-send-input): Accept optional `for-effect' parameter.
10546 (ielm-eval-input): Accept optional `for-effect' parameter.
10547 Bind `standard-output' to stream we create using
10548 `ielm-standard-output-impl'. Suppress printing result when
10550 (ielm-standard-output-impl): New function.
10551 (inferior-emacs-lisp-mode): Explain new features in documentation.
10553 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
10557 * net/tramp.el (tramp-debug-message): Do not check for connection
10559 (tramp-message): Use "vector" connection property.
10561 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10562 (tramp-equal-remote, tramp-eshell-directory-change)
10563 * net/tramp-adb.el (tramp-adb-handle-copy-file)
10564 (tramp-adb-handle-rename-file)
10565 * net/tramp-cmds.el (tramp-list-remote-buffers)
10566 (tramp-cleanup-connection, tramp-cleanup-this-connection)
10567 * net/tramp-compat.el (tramp-compat-process-running-p)
10568 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10569 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10570 (tramp-gvfs-handle-rename-file)
10571 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10572 (tramp-set-file-uid-gid)
10573 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10574 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10575 of `file-remote-p'.
10577 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10578 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10579 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10580 (tramp-gw-open-network-stream): Suppress unrelated traces.
10582 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10583 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10584 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10585 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10586 connection property.
10588 * net/tramp-cache.el (top): Suppress traces when reading
10591 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10592 Refactor common code. Improve debug message.
10593 (tramp-maybe-open-connection)
10594 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10595 connection buffer too early.
10597 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10598 from `tramp-smb-actions-with-acl'.
10599 (tramp-smb-actions-set-acl): New defconst.
10600 (tramp-smb-handle-copy-directory)
10601 (tramp-smb-action-get-acl): New defun, renamed from
10602 `tramp-smb-action-with-acl'.
10603 (tramp-smb-action-set-acl): New defun.
10604 (tramp-smb-handle-set-file-acl): Rewrite.
10606 2013-10-17 Glenn Morris <rgm@gnu.org>
10608 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10610 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10612 * skeleton.el (skeleton-newline): Remove.
10613 (skeleton-internal-1): Use (insert "\n") instead.
10615 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10618 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10619 forward-sexp-function while we redo its job (bug#15613).
10621 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10623 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10624 represented by lists.
10626 2013-10-16 Glenn Morris <rgm@gnu.org>
10628 * tmm.el (tmm--history): New dynamic variable.
10629 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10631 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10633 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10634 (tramp-smb-errors): Add error messages.
10635 (tramp-smb-actions-with-acl): New defconst.
10636 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10637 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10638 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10639 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10640 (tramp-smb-get-stat-capability): Fix tests.
10642 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10644 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10647 2013-10-16 Glenn Morris <rgm@gnu.org>
10649 * ansi-color.el (ansi-color-drop-regexp):
10650 Add 1J, 1K, 2K. (Bug#15617)
10652 * files.el (hack-local-variables--warned-lexical): New.
10653 (hack-local-variables):
10654 Warn about misplaced lexical-binding. (Bug#15616)
10656 * net/eww.el (eww-render): Always set eww-current-url,
10657 and update header line. (Bug#15622)
10658 (eww-display-html): ... Rather than just doing it here.
10660 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10662 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10663 menu navigations commands.
10665 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10667 * progmodes/subword.el (subword-capitalize): Be careful when
10668 the search for [[:alpha:]] fails (bug#15580).
10670 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10672 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10673 to commands that scroll the menu.
10675 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10677 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10678 Handle methods ending with `?' and `!'.
10680 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10682 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10683 `japanese-cp932' to `cp932' to fix the problem where saving a
10684 source file written in Shift_JIS twice would end up having
10685 `coding: japanese-cp932' which Ruby could not recognize.
10686 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10687 in `ruby-encoding-map'.
10688 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10689 doesn't need to be explicitly declared in magic comment.
10690 (ruby-encoding-map): Add type declaration for better customize UI.
10692 2013-10-13 Glenn Morris <rgm@gnu.org>
10694 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10695 Occur buffers are read-only. http://bugs.debian.org/720775
10697 * emacs-lisp/authors.el (authors-fixed-entries):
10698 Comment out old alpha stuff.
10700 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10702 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10703 to `after-save-hook' instead of `before-save-hook'.
10704 (ruby-mode-set-encoding): Use the value of coding system used to
10705 write the file. Call `basic-save-buffer-1' after modifying the
10708 2013-10-13 Alan Mackenzie <acm@muc.de>
10710 Fix indentation/fontification of Java enum with
10711 "implements"/generic.
10713 * progmodes/cc-engine.el (c-backward-over-enum-header):
10714 Extracted from the three other places and enhanced to handle generics.
10715 (c-inside-bracelist-p): Uses new function above.
10716 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10718 (c-font-lock-enum-tail): Uses new function above.
10720 2013-10-13 Kenichi Handa <handa@gnu.org>
10722 * international/mule-cmds.el (select-safe-coding-system): Remove a
10723 superfluous condition in chekcing whether a coding system is safe
10726 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10728 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10730 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10732 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10734 2013-10-13 Glenn Morris <rgm@gnu.org>
10736 * menu-bar.el (menu-bar-update-buffers):
10737 Unify Buffers menu prompt string. (Bug#15576)
10739 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10741 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10743 (authors-fixed-entries): Use accented form of name.
10745 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10748 method calls (bug#15594).
10749 (ruby-smie--args-separator-p): New function.
10750 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10751 recognize paren-free method calls.
10753 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10754 internals of universal-argument.
10756 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10758 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10759 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10760 dropped menu on second mouse click on the menu bar.
10762 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10764 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10765 (explicit-shell-file-name): Declare.
10766 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10767 (sh-completion-at-point-function): New function.
10769 (sh-smie--keyword-p): Remove unused argument.
10770 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10772 (sh-set-shell): Always setup SMIE, even if we use the
10773 old indentation code.
10775 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10777 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10779 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10780 predicate would return nil are almost non-existent.
10781 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10783 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10784 cache also after commands that modify the buffer but don't move
10787 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * env.el (substitute-env-in-file-name): New function.
10790 (substitute-env-vars): Extend the meaning of the optional arg.
10792 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10794 * term/w32-win.el (dynamic-library-alist): Define separate lists
10795 of GIF DLLs for versions before and after 5.0.0 of giflib.
10798 2013-10-10 João Távora <joaotavora@gmail.com>
10800 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10801 not locked, use last revision and current source as
10802 defaults. (Bug#15569)
10804 2013-10-10 Masatake YAMATO <yamato@redhat.com>
10806 * menu-bar.el (menu-bar-open): Don't use popup-menu if
10807 menu-bar is hidden.
10809 2013-10-10 Martin Rudalics <rudalics@gmx.at>
10811 * window.el (pop-to-buffer-same-window): Fix doc-string.
10814 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10818 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
10820 * calendar/icalendar.el (icalendar-import-file):
10821 Fix interactive spec. (Bug#15482)
10823 2013-10-10 Glenn Morris <rgm@gnu.org>
10825 * desktop.el (desktop-save): Default to saving in .emacs.d,
10826 since PWD is no longer in desktop-path by default. (Bug#15319)
10828 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10829 now that text mode has a menu with the same entry.
10830 (menu-bar-text-mode-auto-fill): Remove now unused func.
10831 * textmodes/text-mode.el (text-mode-map):
10832 Use auto-fill help text from menu-bar.el.
10834 2013-10-10 John Anthony <john@jo.hnanthony.com>
10836 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
10838 2013-10-09 Juri Linkov <juri@jurta.org>
10840 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10841 instead of this-command-keys. Add universal-argument-more and
10842 universal-argument-minus to the list of prefix commands. (Bug#15568)
10844 2013-10-09 Glenn Morris <rgm@gnu.org>
10846 * vc/vc-svn.el (vc-svn-create-repo):
10847 Expand paths in file://... url. (Bug#15446)
10849 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10851 (authors): Remove unused local variables.
10853 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * profiler.el: Create a more coherent calltree from partial backtraces.
10856 (profiler-format): Hide the tail with `invisible' so that C-s can still
10857 find the hidden elements.
10858 (profiler-calltree-depth): Don't recurse so enthusiastically.
10859 (profiler-function-equal): New hash-table-test.
10860 (profiler-calltree-build-unified): New function.
10861 (profiler-calltree-build): Use it.
10862 (profiler-report-make-name-part): Indent the calltree less.
10863 (profiler-report-mode): Add visibility specs for profiler-format.
10864 (profiler-report-expand-entry, profiler-report-toggle-entry):
10865 Expand the whole subtree when provided with a prefix arg.
10867 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
10869 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10871 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10872 hanging iuwu-mod token.
10873 (ruby-smie--forward-token): Do not include a dot after a token in
10875 (ruby-smie--backward-token): Likewise.
10877 2013-10-08 Juri Linkov <juri@jurta.org>
10879 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10880 to isearch-other-control-char.
10881 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10882 and isearch-post-command-hook to post-command-hook.
10883 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10884 and isearch-post-command-hook from post-command-hook.
10885 (isearch-unread-key-sequence)
10886 (isearch-reread-key-sequence-naturally)
10887 (isearch-lookup-scroll-key, isearch-other-control-char)
10888 (isearch-other-meta-char): Remove functions.
10889 (isearch-pre-command-hook, isearch-post-command-hook):
10890 New functions based on isearch-other-meta-char rewritten
10891 relying on the new behavior of overriding-terminal-local-map
10892 that does not replace the local keymaps any more. (Bug#15200)
10894 2013-10-08 Eli Zaretskii <eliz@gnu.org>
10896 Support menus on text-mode terminals.
10897 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10900 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10902 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10903 Move here from mouse.el.
10904 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10906 (tty-menu-navigation-map): New map for TTY menu navigation.
10908 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10910 * frame.el (display-mouse-p): Report text-mode mouse as available
10912 (display-popup-menus-p): Report availability if mouse is
10913 available; don't condition on window-system.
10915 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10916 (tty-menu-selected-face): New faces.
10918 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10921 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10922 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10923 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10925 (lisp-mode-variables): New `elisp' argument.
10926 (emacs-lisp-mode): Use it.
10927 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10928 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10930 * indent.el: Use lexical-binding.
10931 (indent-region): Add progress reporter.
10932 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10934 (indent--next-tab-stop): New function to implement this behavior.
10935 (tab-to-tab-stop, move-to-tab-stop): Use it.
10937 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10939 * indent.el (indent-rigidly--current-indentation): New function.
10940 (indent-rigidly-map): New var.
10941 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10943 2013-10-08 Bastien Guerry <bzg@gnu.org>
10945 * register.el (insert-register): Fix 2013-10-07 change.
10947 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * progmodes/perl-mode.el: Use lexical-binding.
10950 Remove redundant :group args.
10951 (perl-nochange): Change default to be closer to other major modes's
10953 (perl-indent-line): Don't consider text on current line as a
10954 valid beginning of function from which to indent.
10956 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10957 with more than one argument (bug#15538).
10959 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10961 * vc/pcvs.el: Use lexical-binding.
10962 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10963 environment of `eval'.
10964 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10965 than a list of expressions. Adjust callers.
10966 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10968 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10970 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10971 case of the dot in a chained method call being on the following line.
10973 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * electric.el (electric-indent-inhibit): New var.
10976 (electric-indent-post-self-insert-function): Use it.
10977 * progmodes/python.el (python-mode): Set it.
10979 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10982 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10984 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10985 (css-mode): Use electric-indent-chars.
10987 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10988 (font-lock-beg, font-lock-end): Move before first use.
10989 (nxml-mode): Use syntax-propertize-function.
10990 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10991 (nxml-extend-after-change-region): Remove.
10992 * nxml/xmltok.el: Use lexical-binding.
10993 (xmltok-save): Use `declare'.
10994 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10995 * nxml/nxml-util.el: Use lexical-binding.
10996 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10998 * nxml/nxml-ns.el: Use lexical-binding.
10999 (nxml-ns-save): Use `declare'.
11000 (nxml-ns-prefixes-for): Avoid add-to-list.
11001 * nxml/rng-match.el: Use lexical-binding.
11002 (rng--ipattern): Use cl-defstruct.
11003 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
11004 (rng-cons-group-after, rng-subst-group-after)
11005 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
11006 Use closures instead of `(lambda...).
11008 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
11010 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
11013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11014 Use `tramp-handle-insert-file-contents'.
11015 (tramp-gvfs-handle-insert-file-contents): Remove function.
11017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11018 Use `save-restriction' in order to keep markers.
11020 * net/trampver.el: Update release number.
11022 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11024 * progmodes/compile.el (compilation-parse-errors):
11025 Use compilation--put-prop.
11026 (compilation--ensure-parse): Check compilation-multiline.
11028 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
11030 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
11033 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
11035 * progmodes/ruby-mode.el: Fix recently added tests.
11036 (ruby-smie-grammar): Add - and +.
11037 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
11038 (ruby-smie--backward-id): New functions.
11039 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
11040 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
11043 2013-10-07 Leo Liu <sdl.web@gmail.com>
11045 * register.el (register-preview-delay)
11046 (register-preview-functions): New variables.
11047 (register-read-with-preview, register-preview)
11048 (register-describe-oneline): New functions.
11049 (point-to-register, window-configuration-to-register)
11050 (frame-configuration-to-register, jump-to-register)
11051 (number-to-register, view-register, insert-register)
11052 (copy-to-register, append-to-register, prepend-to-register)
11053 (copy-rectangle-to-register): Use register-read-with-preview to
11054 read register. (Bug#15525)
11056 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
11058 * net/network-stream.el (network-stream-open-starttls): Don't add
11059 --insecure if it's already present, because that gnutls-cli
11060 rejects getting that parameter twice.
11062 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
11064 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
11067 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
11069 * newcomment.el (comment-use-global-state): Change default value
11070 to t, mark obsolete (Bug#15251).
11071 (comment-beginning): In addition to `comment-to-syntax', check the
11072 value of `comment-use-global-state'.
11074 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11076 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
11077 (ruby-comment-column): Follow the global default, by default.
11078 (ruby-smie-grammar): Add assignment syntax.
11079 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
11080 open-paren, a comma, or a \.
11081 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
11082 and line continuations.
11083 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
11084 followed by implicit semi-colons. Add rule for string concatenation
11085 and for indentation at BOB.
11086 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
11088 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
11089 calling next-sexp, since next-token may have skipped chars which
11090 next-sexp doesn't know should be skipped!
11092 2013-10-05 Leo Liu <sdl.web@gmail.com>
11094 * progmodes/octave.el (octave-send-region):
11095 Call compilation-forget-errors.
11097 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
11099 * vc/vc-svn.el (vc-svn-find-admin-dir):
11100 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
11101 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
11102 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
11103 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
11105 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11107 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
11109 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11111 * subr.el (read-passwd): Hide chars even when called within a context
11112 where after-change-functions is disabled (bug#15501).
11113 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
11114 until we removed ourself from overriding-terminal-local-map.
11116 2013-10-04 Leo Liu <sdl.web@gmail.com>
11118 * progmodes/octave.el (inferior-octave-mode):
11119 Call compilation-forget-errors.
11121 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
11123 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
11125 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
11127 * net/secrets.el (secrets-create-collection): Add optional
11128 argument ALIAS. Use proper Label keyword. Append ALIAS as
11129 dbus-call-method argument. (Bug#15516)
11131 2013-10-04 Leo Liu <sdl.web@gmail.com>
11133 * progmodes/octave.el (inferior-octave-error-regexp-alist)
11134 (inferior-octave-compilation-font-lock-keywords): New variables.
11135 (compilation-error-regexp-alist)
11136 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
11137 (inferior-octave-mode): Use compilation-shell-minor-mode.
11139 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
11141 * minibuffer.el (completion--replace): Be careful that `end' might be
11144 2013-10-03 Daiki Ueno <ueno@gnu.org>
11146 Add support for package signature checking.
11147 * emacs-lisp/package.el (url-http-file-exists-p)
11148 (epg-make-context, epg-context-set-home-directory)
11149 (epg-verify-string, epg-context-result-for)
11150 (epg-signature-status, epg-signature-to-string)
11151 (epg-check-configuration, epg-configuration)
11152 (epg-import-keys-from-file): Declare.
11153 (package-check-signature): New user option.
11154 (package-unsigned-archives): New user option.
11155 (package-desc): Add `signed' field.
11156 (package-load-descriptor): Set `signed' field if .signed file exists.
11157 (package--archive-file-exists-p): New function.
11158 (package--check-signature): New function.
11159 (package-install-from-archive): Check package signature.
11160 (package--download-one-archive): Check archive signature.
11161 (package-delete): Remove .signed file.
11162 (package-import-keyring): New command.
11163 (package-refresh-contents): Import default keyring.
11164 (package-desc-status): Add "unsigned" status.
11165 (describe-package-1, package-menu--print-info)
11166 (package-menu-mark-delete, package-menu--find-upgrades)
11167 (package-menu--status-predicate): Support "unsigned" status.
11169 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11171 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
11172 the new compilation scheme using the new byte-codes.
11174 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
11175 (byte-pophandler): New byte codes.
11176 (byte-goto-ops): Adjust accordingly.
11177 (byte-compile--use-old-handlers): New var.
11178 (byte-compile-catch): Use new byte codes depending on
11179 byte-compile--use-old-handlers.
11180 (byte-compile-condition-case--old): Rename from
11181 byte-compile-condition-case.
11182 (byte-compile-condition-case--new): New function.
11183 (byte-compile-condition-case): New function that dispatches depending
11184 on byte-compile--use-old-handlers.
11185 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
11188 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
11189 Optimize under `condition-case' and `catch' if
11190 byte-compile--use-old-handlers is nil.
11191 (disassemble-offset): Handle new bytecodes.
11193 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11195 * subr.el (error): Use `declare'.
11196 (decode-char, encode-char): Use advertised-calling-convention instead
11197 of the docstring to discourage use of the `restriction' arg.
11199 2013-10-03 Daiki Ueno <ueno@gnu.org>
11201 * epg.el (epg-verify-file): Add a comment saying that it does not
11202 notify verification error as a return value nor a signal.
11203 (epg-verify-string): Ditto.
11205 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
11207 * progmodes/compile.el (compilation-start): Try globbing the arg to
11210 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
11212 Sync with Tramp 2.2.8.
11214 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
11215 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
11216 * net/trampver.el: Update release number.
11218 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
11220 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11221 and default-process-coding-system for darwin only.
11223 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
11225 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
11227 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
11229 * vc/vc-git.el (vc-git-grep): Disable pager.
11231 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
11233 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
11234 Use :url instead of :homepage, as per
11235 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
11237 * newcomment.el (comment-beginning): When `comment-use-syntax' is
11238 non-nil, use `syntax-ppss' (Bug#15251).
11240 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11242 * progmodes/octave.el (inferior-octave-startup-file):
11243 Prefer ~/.emacs.d/init_octave.m.
11245 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
11247 * emacs-lisp/package.el (package-desc-from-define):
11248 Accept additional arguments as plist, convert them to an alist and store
11249 them in the `extras' slot.
11250 (package-generate-description-file): Convert extras alist back to
11251 plist and append to the `define-package' form arguments.
11252 (package--alist-to-plist): New function.
11253 (package--ac-desc): Add `extras' slot.
11254 (package--add-to-archive-contents): Check if the archive-contents
11255 vector is long enough, and if it is, pass its `extras' slot value
11256 to `package-desc-create'.
11257 (package-buffer-info): Call `lm-homepage', pass the returned value
11258 to `package-desc-from-define'.
11259 (describe-package-1): Render the homepage button (Bug#13291).
11261 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11262 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
11264 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
11266 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11267 and default-process-coding-system to utf-8-unix (Bug#15402).
11269 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
11271 * subr.el (looking-back): Do not recommend using looking-back.
11273 2013-09-28 Alan Mackenzie <acm@muc.de>
11275 Fix indentation/fontification of Java enum with "implements".
11277 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
11278 regexp which matches "implements", etc., in Java.
11279 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
11280 specifier clauses coming after "enum".
11281 * progmodes/cc-fonts.el (c-font-lock-declarations)
11282 (c-font-lock-enum-tail): Check for extra specifier clauses coming
11285 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
11287 * faces.el (region): Change ns_selection_color to
11288 ns_selection_fg_color, add ns_selection_bg_color.
11290 2013-09-28 Leo Liu <sdl.web@gmail.com>
11292 * progmodes/octave.el (inferior-octave-completion-table)
11293 (inferior-octave-completion-at-point): Minor tweaks.
11295 * textmodes/ispell.el (ispell-lookup-words): Rename from
11296 lookup-words. (Bug#15460)
11297 (lookup-words): Obsolete.
11298 (ispell-complete-word, ispell-command-loop): All uses changed.
11300 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11302 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
11303 (octave-mode-menu): Add octave-send-buffer.
11304 (octave-send-buffer): New function.
11306 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11308 * progmodes/octave.el (octave-mode-map): Add key binding for
11310 (octave-mode-menu): Add octave-lookfor.
11311 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
11313 (octave-lookfor): New function.
11315 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11317 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
11318 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
11320 (cl--loop-set-iterator-function): New function.
11321 (cl-loop): Adjust accordingly, so as not to use cl-subst.
11322 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
11323 Bind `it' with `let' instead of substituting it with `cl-subst'.
11324 (cl--unused-var-p): New function.
11325 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
11326 Eliminate some unused variable warnings (bug#15326).
11328 2013-09-27 Tassilo Horn <tsdh@gnu.org>
11330 * doc-view.el (doc-view-scale-reset): Rename from
11331 `doc-view-reset-zoom-level'.
11332 (doc-view-scale-adjust): New command.
11333 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
11334 `doc-view-scale-adjust'.
11336 2013-09-26 Tassilo Horn <tsdh@gnu.org>
11338 * doc-view.el (doc-view-reset-zoom-level): New command.
11339 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
11340 zoom commands (bug#15466).
11342 2013-09-26 Kenichi Handa <handa@gnu.org>
11344 * international/quail.el (quail-help): Make it not a command.
11346 2013-09-26 Leo Liu <sdl.web@gmail.com>
11348 * minibuffer.el (completion-all-sorted-completions): Make args
11349 optional as they are.
11351 2013-09-25 Daniel Colascione <dancol@dancol.org>
11353 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
11354 specs are and that they're not evaluated.
11356 2013-09-24 Sam Steingold <sds@gnu.org>
11358 * midnight.el (clean-buffer-list-kill-regexps)
11359 (clean-buffer-list-kill-buffer-names): Update for the new Man
11360 buffer naming which includes the object name.
11362 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11364 * eshell/esh-cmd.el (eshell--sep-terms): New var.
11365 (eshell-parse-command, eshell-parse-pipeline): Use it since
11366 eshell-separate-commands requires a dynamic scoped var.
11367 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
11369 2013-09-23 Leo Liu <sdl.web@gmail.com>
11371 * autoinsert.el (auto-insert-alist): Make the value of
11372 lexical-binding match its file setting.
11374 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
11376 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
11378 * autoarg.el (autoarg-kp-digit-argument):
11379 * electric.el (Electric-command-loop):
11380 * kmacro.el (kmacro-step-edit-insert):
11381 Do not set universal-argument-num-events.
11383 2013-09-22 Leo Liu <sdl.web@gmail.com>
11385 * files.el (interpreter-mode-alist): Add octave.
11387 2013-09-21 Alan Mackenzie <acm@muc.de>
11389 C++: fontify identifier in declaration following "public:" correctly.
11390 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
11391 to match "public", etc.
11392 (c-decl-prefix-re): Add ":" into the C++ value.
11393 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
11394 bit. Add a check for a ":" preceded by "public", etc.
11396 2013-09-21 Eli Zaretskii <eliz@gnu.org>
11398 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
11399 recognized by GDB 7.5 and later.
11401 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
11403 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
11405 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * subr.el (internal--call-interactively): New const.
11408 (called-interactively-p): Use it (bug#3984).
11410 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
11412 * vc/pcvs.el (cvs-mode-ignore):
11413 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
11414 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
11416 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11418 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
11419 (eshell-ls-orig-insert-directory): Remove.
11420 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
11421 (eshell-ls-use-in-dired): Use advice-add/remove.
11422 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
11423 Add `orig-fun' arg for use in :around advice.
11424 Make it check (redundantly) eshell-ls-use-in-dired.
11426 2013-09-19 Glenn Morris <rgm@gnu.org>
11428 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
11430 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
11432 * emacs-lisp/eieio.el (class-parent): Undo previous change.
11434 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
11436 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
11437 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
11438 (tramp-get-remote-python): New defuns.
11439 (tramp-get-remote-uid-with-perl)
11440 (tramp-get-remote-gid-with-perl): New defuns. Perl code
11441 contributed by yary <not.com@gmail.com> (tiny change).
11442 (tramp-get-remote-uid-with-python)
11443 (tramp-get-remote-gid-with-python): New defuns. Python code
11444 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
11445 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
11447 2013-09-19 Glenn Morris <rgm@gnu.org>
11449 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
11451 * eshell/em-unix.el (eshell-remove-entries):
11452 Rename argument to avoid name-clash with global `top-level'.
11454 * eshell/esh-proc.el (eshell-kill-process-function):
11455 Remove eshell-reset-after-proc from eshell-kill-hook if present.
11456 (eshell-reset-after-proc): Remove unused arg `proc'.
11458 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
11459 (directory-files-and-attributes): Mark unused arg.
11461 * eshell/em-unix.el (eshell-remove-entries):
11462 Remove unused arg `path'. Update callers.
11464 * eshell/em-hist.el (eshell-hist-parse-arguments):
11465 Remove unused arg `silent'. Update callers.
11467 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11468 Fix (f)boundp mix-up.
11470 * eshell/em-smart.el (eshell-smart-scroll-window)
11471 (eshell-disable-after-change):
11472 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11474 2013-09-18 Alan Mackenzie <acm@muc.de>
11476 Fix fontification of type when followed by "const".
11477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11478 "known" types from fontification.
11480 2013-09-18 Glenn Morris <rgm@gnu.org>
11482 * emacs-lisp/chart.el (x-display-color-cells): Declare.
11483 (chart-face-list): Drop Emacsen without display-color-p.
11485 * net/eww.el (libxml-parse-html-region): Declare.
11486 (eww-display-html): Explicit error if no libxml2 support.
11488 * doc-view.el (doc-view-mode): Silence --without-x compilation.
11490 * image.el (image-type-from-buffer, image-multi-frame-p):
11491 Remove --without-x warning/error.
11493 * mouse.el (mouse-yank-primary):
11494 * term.el (term-mouse-paste):
11495 Reorder to silence --without-x compilation.
11497 * mpc.el (doc-view-mode): Silence --without-x compilation.
11499 * mail/rmailmm.el (rmail-mime-set-bulk-data):
11500 Silence --without-x compilation.
11502 * progmodes/gud.el (gud-find-file, gud-mode):
11503 Silence --without-x compilation.
11504 (tooltip-mode): Declare.
11506 * wdired.el (dired-backup-overwrite): Remove declaration.
11507 (wdired-mode-map): Add doc string.
11509 * custom.el (x-get-resource): Declare.
11511 * eshell/em-glob.el (ange-cache):
11512 * eshell/em-unix.el (ange-cache): Declare.
11514 * faces.el (x-display-list, x-open-connection, x-get-resource):
11517 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11518 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11521 * frame.el (x-display-grayscale-p, x-display-name): Declare.
11523 * net/gnutls.el (gnutls-log-level): Declare.
11525 * net/shr.el (image-size, image-animate): Declare.
11527 * simple.el (font-info): Declare.
11529 * subr.el (x-popup-dialog): Declare.
11531 * term/common-win.el (x-select-enable-primary)
11532 (x-last-selected-text-primary, x-last-selected-text-clipboard):
11535 * term/ns-win.el (x-handle-args): Declare.
11537 * term/x-win.el (x-select-enable-clipboard): Declare.
11539 * term/w32-win.el (create-default-fontset): Declare.
11541 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11544 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11545 (fit-frame-to-buffer): Explicit error if --without-x.
11546 (mouse-autoselect-window-select): Silence compiler.
11548 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11550 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11551 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11552 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11553 * eshell/esh-util.el (eshell-sublist):
11554 Remove unused local variables.
11556 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11558 * textmodes/two-column.el: Make 2C-split work for --without-x.
11559 (scroll-bar-columns): Autoload.
11560 (top-level): Require fringe when compiling.
11562 2013-09-18 Leo Liu <sdl.web@gmail.com>
11564 * subr.el (add-hook): Robustify to handle closure as well.
11566 2013-09-17 Glenn Morris <rgm@gnu.org>
11568 * simple.el (messages-buffer-mode-map): Unbind "g".
11570 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * help-mode.el (help-mode-finish): Use derived-mode-p.
11573 Remove obsolete highlighting.
11575 * play/life.el (life-mode): Use define-derived-mode. Derive from
11577 (life): Let-bind inhibit-read-only.
11578 (life-setup): Avoid `setq'. Use `life-mode'.
11580 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11581 which should not be needed any more.
11582 (package-menu-refresh, package-menu-describe-package): Use user-error.
11584 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11585 (eshell-post-rewrite-command-hook): Make obsolete.
11586 (eshell-parse-command): Simplify.
11587 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11588 (eshell--cmd): Declare.
11589 (eshell-parse-pipeline): Remove unused var `final-p'.
11590 Pass a dynvar to eshell-post-rewrite-command-hook.
11591 Implement the new eshell-post-rewrite-command-function.
11592 (eshell-invoke-directly): Remove unused arg `input'.
11593 * eshell/esh-io.el (eshell-io-initialize):
11594 Use eshell-post-rewrite-command-function (bug#15399).
11595 (eshell--apply-redirections): Rename from eshell-apply-redirections;
11596 adjust to new calling convention.
11597 (eshell-create-handles): Rename args to avoid clashing with dynvar
11600 2013-09-17 Glenn Morris <rgm@gnu.org>
11602 * simple.el (messages-buffer-mode): New major mode.
11603 (messages-buffer): New function.
11604 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11605 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11606 (ert-run-test): Use `messages-buffer' function.
11607 (ert--force-message-log-buffer-truncation): Ignore read-only.
11608 * help.el (view-echo-area-messages): Use `messages-buffer' function.
11609 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11611 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11615 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11617 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11619 * icomplete.el (icomplete-in-buffer): New var.
11620 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11621 vars and replace them with functions.
11622 (icomplete-minibuffer-setup): Adjust accordingly.
11623 (icomplete--completion-table, icomplete--completion-predicate)
11624 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11626 (icomplete-forward-completions, icomplete-backward-completions)
11627 (icomplete-simple-completing-p, icomplete-exhibit)
11628 (icomplete-completions): Use them.
11629 (icomplete--in-region-buffer): New var.
11630 (icomplete--in-region-setup): New function.
11631 (icomplete-mode): Use it.
11633 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11635 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11636 return args and options.
11637 (eshell-eval-using-options): Use the new return value of
11638 eshell--do-opts to set the options's vars in their scope.
11639 (eshell--set-option): Rename from eshell-set-option.
11640 Add arg `opt-vals'.
11641 (eshell--process-option): Rename from eshell-process-option.
11642 Add arg `opt-vals'.
11643 (eshell--process-args): Use an `opt-vals' alist to store the options's
11644 values during their processing and return them additionally to the
11647 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11649 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11650 continuation character an operator, as far as indentation is
11651 concerned (Bug#15369).
11653 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11655 * window.el (window--state-put-2): Don't process buffer state
11656 when buffer doesn't exist any more (Bug#15382).
11658 2013-09-15 Glenn Morris <rgm@gnu.org>
11660 * eshell/em-unix.el (eshell/rm):
11661 Make -f ignore missing files. (Bug#15373)
11663 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11664 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11665 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11667 2013-09-14 Glenn Morris <rgm@gnu.org>
11669 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11671 2013-09-13 Glenn Morris <rgm@gnu.org>
11673 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11674 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11676 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11678 * frame.el (x-focus-frame): Mark as declared in frame.c.
11680 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11682 * ls-lisp.el: Use advice-add.
11683 (original-insert-directory): Remove.
11684 (ls-lisp--insert-directory): Rename from insert-directory; add
11685 `orig-fun' argument.
11686 (insert-directory): Advise.
11688 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11690 * term.el (term-emulate-terminal): Decode the command string
11691 before passing it to term-command-hook. (Bug#15337)
11693 2013-09-13 Glenn Morris <rgm@gnu.org>
11695 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11697 * eshell/esh-ext.el (eshell-search-path): Declare.
11699 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11700 Otherwise an error occurs if eshell-dirs module not loaded.
11702 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11704 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11706 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11707 `tramp-check-proper-host'. Check for a valid method name.
11709 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11710 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11711 * net/tramp-sh.el (tramp-maybe-open-connection):
11712 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11714 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11715 also for hash values.
11717 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * term/ns-win.el (parameters): Don't declare as dynamic.
11720 (before-make-frame-hook): Don't add ineffective function.
11722 * eshell/*.el: Use lexical-binding (bug#15231).
11724 2013-09-12 Kenichi Handa <handa@gnu.org>
11726 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11728 2013-09-12 Glenn Morris <rgm@gnu.org>
11730 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11731 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11733 * subr.el (do-after-load-evaluation): Also give compiler warnings
11734 when obsolete files are used (except by obsolete files).
11736 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11737 in the status output, assume `filename' is the first. (Bug#15322)
11739 * vc/vc.el (vc-deduce-fileset): Doc fix.
11741 * calc/calc-help.el (Info-goto-node):
11742 * progmodes/cperl-mode.el (Info-find-node):
11743 * vc/ediff.el (Info-goto-node): Update declarations.
11745 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11747 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11748 (vc-bzr-pull): Require vc-dispatcher.
11749 * vc/vc-git.el (vc-compilation-mode): Declare.
11750 (vc-git-pull): Require vc-dispatcher.
11752 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11754 * progmodes/octave.el (help-button-action): Declare.
11756 * shell.el (shell-directory-tracker): Output error as a message
11757 rather than just returning it as a string.
11758 (shell-process-pushd): Remove useless use of message.
11760 * dframe.el (dframe-timer-fn):
11761 * files.el (dir-locals-read-from-file):
11762 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11764 * reveal.el (reveal-post-command):
11765 * saveplace.el (load-save-place-alist-from-file):
11766 * shell.el (shell-resync-dirs):
11767 * w32-common-fns.el (x-get-selection-value):
11768 * emacs-lisp/copyright.el (copyright-find-copyright):
11769 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11770 * emulation/tpu-edt.el (tpu-copy-keyfile):
11771 * play/bubbles.el (bubbles--mark-neighbourhood):
11772 * progmodes/executable.el
11773 (executable-make-buffer-file-executable-if-script-p):
11774 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11776 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11778 Cleanup Eshell to rely less on dynamic scoping.
11779 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11780 last-value, and ext-command here. Bind `args' closer to `body'.
11781 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11782 (eshell--args): Declare new dynamic var.
11783 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11784 last-value, and ext-command. Pass `args' to `body'.
11785 (eshell-process-args): Bind eshell--args.
11786 (eshell-set-option): Use eshell--args.
11787 * eshell/eshell.el (eshell): Use derived-mode-p.
11788 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11789 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11790 (eshell-glob-function): Declare.
11791 * eshell/esh-util.el: Require cl-lib.
11792 (eshell-read-hosts-file): Avoid add-to-list.
11793 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11795 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11797 (eshell/diff): Remove unused var `err'.
11798 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11800 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11801 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11803 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11804 Move declaration before first use.
11805 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11806 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11809 2013-09-12 Glenn Morris <rgm@gnu.org>
11811 * term/ns-win.el (global-map): Remove binding for ispell-next,
11812 deleted 1999-05-29. (Bug#15357)
11814 2013-09-11 Glenn Morris <rgm@gnu.org>
11816 * echistory.el (electric-command-history): Remove call to deleted func.
11818 * play/landmark.el (landmark-mode): Fix typos.
11820 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11821 Check cvs-sort-ignore-file is bound.
11823 * savehist.el: No need for cl when compiling on Emacs.
11825 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11827 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11829 (eshell-self-insert-command, eshell-send-invisible):
11830 Remove unused argument.
11831 (eshell-handle-control-codes): Remove unused var `orig'.
11832 Avoid delete-backward-char.
11834 * files.el (set-auto-mode): Simplify a bit further.
11836 2013-09-11 Glenn Morris <rgm@gnu.org>
11838 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11839 (set-auto-mode): Don't regexp-quote elements.
11840 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11841 * progmodes/cc-mode.el (interpreter-mode-alist):
11842 * progmodes/ruby-mode.el (interpreter-mode-alist):
11843 Revert previous change.
11845 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11847 * play/snake.el (snake-mode):
11848 * play/mpuz.el (mpuz-mode):
11849 * play/landmark.el (lm-mode):
11850 * play/blackbox.el (blackbox-mode):
11851 * play/5x5.el (5x5-mode):
11852 * obsolete/options.el (Edit-options-mode):
11853 * net/quickurl.el (quickurl-list-mode):
11854 * net/newst-treeview.el (newsticker-treeview-mode):
11855 * mail/rmailsum.el (rmail-summary-mode):
11856 * mail/mspools.el (mspools-mode):
11857 * locate.el (locate-mode):
11858 * ibuffer.el (ibuffer-mode):
11859 * emulation/ws-mode.el (wordstar-mode):
11860 * emacs-lisp/debug.el (debugger-mode):
11861 * array.el (array-mode):
11862 * net/eudc.el (eudc-mode): Use define-derived-mode.
11863 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11864 Move initialization into declaration.
11865 (mairix-searches-mode): Use define-derived-mode.
11866 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11867 (eudc-edit-hotlist): Use dolist.
11868 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11869 (Man-mode): Use define-derived-mode.
11870 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11871 (Info-edit-mode): Use define-derived-mode.
11872 (Info-cease-edit): Use Info-mode.
11873 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11875 (eshell-mode): Use define-derived-mode.
11876 * chistory.el (command-history-mode-map): Rename from
11877 command-history-map.
11878 (command-history-mode): Use define-derived-mode.
11879 (Command-history-setup): Remove function.
11880 * calc/calc.el (calc-trail-mode-map): New var.
11881 (calc-trail-mode): Use define-derived-mode.
11882 (calc-trail-buffer): Set calc-main-buffer manually.
11883 * bookmark.el (bookmark-insert-annotation): New function.
11884 (bookmark-edit-annotation): Use it.
11885 (bookmark-edit-annotation-mode): Make it a proper major mode.
11886 (bookmark-send-edited-annotation): Use derived-mode-p.
11887 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11888 closer to its ideal place. Use \' to match EOS.
11890 * profiler.el (profiler-calltree-find): Use function-equal.
11892 2013-09-10 Glenn Morris <rgm@gnu.org>
11894 * files.el (interpreter-mode-alist): Convert to regexps.
11895 (set-auto-mode): Adapt for this. (Bug#15306)
11896 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11897 Comment out unused variable.
11898 * progmodes/cc-mode.el (interpreter-mode-alist):
11899 * progmodes/python.el (interpreter-mode-alist):
11900 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11901 * progmodes/sh-script.el (sh-set-shell):
11902 No longer use interpreter-mode-alist to get list of shells.
11904 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11906 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11908 * simple.el: Use set-temporary-overlay-map for universal-argument.
11909 (universal-argument-map): Don't use default-bindings (bug#15317).
11910 Bind switch-frame explicitly. Replace universal-argument-minus with
11911 a conditional binding.
11912 (universal-argument-num-events, saved-overriding-map): Remove.
11913 (restore-overriding-map): Remove.
11914 (universal-argument--mode): Rename from save&set-overriding-map,
11916 (universal-argument, universal-argument-more, negative-argument)
11917 (digit-argument): Adjust accordingly.
11918 (universal-argument-minus): Remove.
11919 (universal-argument-other-key): Remove.
11921 * subr.el (with-demoted-errors): Add `format' argument.
11923 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11925 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11926 `tramp-cleanup-connection'.
11928 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11929 parameters KEEP-DEBUG and KEEP-PASSWORD.
11931 * net/tramp.el (tramp-file-name-handler):
11932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11933 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11934 (tramp-maybe-open-connection):
11935 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11936 Use `tramp-cleanup-connection'.
11938 * net/tramp-sh.el (tramp-maybe-open-connection):
11939 Catch 'uname-changed inside the progress reporter.
11941 2013-09-10 Glenn Morris <rgm@gnu.org>
11943 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11945 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11946 returns "alternate access method" in mode (eg "-rw-r--r--.").
11948 2013-09-08 Glenn Morris <rgm@gnu.org>
11950 * saveplace.el (load-save-place-alist-from-file):
11951 Demote errors. (Bug#15305)
11953 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11955 Improve compatibility with older Emacsen, and XEmacs.
11957 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11958 only if it is bound. It isn't for XEmacs.
11959 (with-tramp-progress-reporter): Do not let-bind `result'.
11960 This yields to scoping errors in XEmacs.
11961 (tramp-handle-make-auto-save-file-name): New function, moved from
11964 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11965 for `make-auto-save-file-name'.
11966 (tramp-adb--gnu-switches-to-ash):
11967 Use `tramp-compat-replace-regexp-in-string'.
11969 * net/tramp-cache.el (tramp-cache-print): Call
11970 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11972 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11973 bound. It isn't for XEmacs.
11975 * net/tramp-compat.el (tramp-compat-copy-file):
11976 Catch `wrong-number-of-arguments' error.
11977 (tramp-compat-replace-regexp-in-string): New defun.
11979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11980 for `make-auto-save-file-name'.
11981 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11983 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11984 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11985 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11987 * net/tramp-gw.el (tramp-gw-open-network-stream):
11988 Use `tramp-compat-replace-regexp-in-string'.
11990 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11991 Call `tramp-handle-make-auto-save-file-name'.
11992 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11993 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11994 (tramp-sh-file-inotifywait-process-filter):
11995 Use `tramp-compat-replace-regexp-in-string'.
11996 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11999 for `make-auto-save-file-name'.
12000 (tramp-smb-handle-copy-directory):
12001 Call `tramp-compat-replace-regexp-in-string'.
12002 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
12003 (tramp-smb-handle-copy-file): Improve error message.
12004 (tramp-smb-handle-rename-file): Rename directly only in case
12005 `newname' does not exist yet. This is a restriction of smbclient.
12006 (tramp-smb-maybe-open-connection): Rerun the function only when
12007 `auth-sources' is non-nil.
12009 2013-09-08 Kenichi Handa <handa@gnu.org>
12011 * international/characters.el: Set category "^" (Combining) for
12014 2013-09-07 Alan Mackenzie <acm@muc.de>
12016 Correctly fontify Java class constructors.
12017 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
12019 (c-recognize-typeless-decls): Set the Java value to t.
12020 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12021 While handling a "(", add a check for, effectively, Java, and handle a
12022 "typeless" declaration there.
12024 2013-09-07 Roland Winkler <winkler@gnu.org>
12026 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
12027 field subtitle for entry type book.
12029 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12031 * minibuffer.el: Make minibuffer-complete call completion-in-region
12032 rather than other way around.
12033 (completion--some, completion-pcm--find-all-completions):
12034 Don't delay signals when debugging.
12035 (minibuffer-completion-contents): Beware fields within the
12036 minibuffer contents.
12037 (completion-all-sorted-completions): Use defvar-local.
12038 (completion--do-completion, completion--cache-all-sorted-completions)
12039 (completion-all-sorted-completions, minibuffer-force-complete):
12040 Add args `beg' and `end'.
12041 (completion--in-region-1): New fun, extracted from minibuffer-complete.
12042 (minibuffer-complete): Use completion-in-region.
12043 (completion-complete-and-exit): New fun, extracted from
12044 minibuffer-complete-and-exit.
12045 (minibuffer-complete-and-exit): Use it.
12046 (completion--complete-and-exit): Rename from
12047 minibuffer--complete-and-exit.
12048 (completion-in-region--single-word): New function, extracted from
12049 minibuffer-complete-word.
12050 (minibuffer-complete-word): Use it.
12051 (display-completion-list): Make `common-substring' argument obsolete.
12052 (completion--in-region): Call completion--in-region-1 instead of
12053 minibuffer-complete.
12054 (completion-help-at-point): Pass boundaries to
12055 minibuffer-completion-help as args rather than via an overlay.
12056 (completion-pcm--string->pattern): Use `any-delim'.
12057 (completion-pcm--optimize-pattern): New function.
12058 (completion-pcm--pattern->regex): Handle `any-delim'.
12059 * icomplete.el (icomplete-forward-completions)
12060 (icomplete-backward-completions, icomplete-completions):
12061 Adjust calls to completion-all-sorted-completions and
12062 completion--cache-all-sorted-completions.
12063 (icomplete-with-completion-tables): Default to t.
12064 * emacs-lisp/crm.el (crm--current-element): Rename from
12065 crm--select-current-element. Don't put an overlay but return the
12066 boundaries instead.
12067 (crm--completion-command): Take two new args to bind to the boundaries.
12068 (crm-completion-help): Adjust accordingly.
12069 (crm-complete): Use completion-in-region.
12070 (crm-complete-word): Use completion-in-region--single-word.
12071 (crm-complete-and-exit): Use completion-complete-and-exit.
12073 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12075 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
12078 2013-09-06 Juri Linkov <juri@jurta.org>
12080 * info.el (Info-display-images-node): When image file doesn't exist
12081 display text version of the image if it's provided in the Info file.
12082 Otherwise, display the location of missing image from SRC attribute.
12083 Add help-echo text property from ALT attribute. (Bug#15279)
12085 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
12088 (edit-abbrevs-mode): Use define-derived-mode.
12090 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
12091 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
12093 (epa-key-list-mode, epa-key-mode, epa-info-mode):
12094 Use define-derived-mode.
12096 * epg.el (epg-start-encrypt): Minor CSE simplification.
12098 2013-09-06 William Xu <william.xwl@gmail.com>
12100 * arc-mode.el: Add support for 7za (bug#15264).
12101 (archive-7z-program): New var.
12102 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
12103 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
12104 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
12106 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
12110 * net/tramp.el (tramp-syntax, tramp-prefix-format)
12111 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
12112 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
12113 (tramp-postfix-host-format, tramp-file-name-regexp)
12114 (tramp-completion-file-name-regexp)
12115 (tramp-completion-dissect-file-name)
12116 (tramp-handle-substitute-in-file-name): Remove 'url case.
12117 (tramp-file-name-regexp-url)
12118 (tramp-completion-file-name-regexp-url): Remove constants.
12120 2013-09-06 Glenn Morris <rgm@gnu.org>
12122 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
12124 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
12126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
12127 keywords" below "here-doc beginnings" (Bug#15270).
12129 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
12131 * subr.el (pop): Use `car-safe'.
12132 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
12133 to detect unused `pop' return value.
12135 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
12136 var `block-regexp'.
12137 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
12138 (python-fill-string): Remove unused var `marker'.
12139 (python-skeleton-add-menu-items): Remove unused var `items'.
12141 * international/mule-cmds.el: Require CL.
12142 (find-coding-systems-for-charsets): Avoid add-to-list.
12143 (sanitize-coding-system-list): New function, extracted from
12144 select-safe-coding-system-interactively.
12145 (select-safe-coding-system-interactively): Use it.
12146 (read-input-method-name): Accept symbols for `default'.
12148 * emacs-lisp/advice.el (defadvice): Add indent rule.
12150 2013-09-05 Daniel Hackney <dan@haxney.org>
12154 * net/browse-url.el:
12157 * net/eudcb-ldap.el:
12161 * vc/ediff-diff.el:
12162 * vc/ediff-init.el:
12163 * vc/ediff-merg.el:
12164 * vc/ediff-mult.el:
12165 * vc/ediff-util.el:
12166 * vc/ediff-wind.el:
12170 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
12171 byte compiler. Remove some unused let-bound variables.
12173 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
12175 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
12176 a "ref-cell", since it gets better optimized (bug#14883).
12178 2013-09-05 Glenn Morris <rgm@gnu.org>
12180 * progmodes/cc-awk.el (c-forward-sws): Declare.
12182 2013-09-04 Glenn Morris <rgm@gnu.org>
12184 * generic-x.el [rul-generic-mode]: Require cc-mode.
12185 (c++-mode-syntax-table): Declare.
12186 (rul-generic-mode-syntax-table): Init in the defvar.
12188 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
12190 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
12191 (vc-do-command, vc-set-async-update):
12192 * vc/vc-mtn.el (vc-mtn-dir-status):
12193 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
12194 (vc-hg-pull, vc-hg-merge-branch):
12195 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
12196 (vc-git-merge-branch):
12197 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
12198 (vc-cvs-dir-status-files):
12199 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
12200 (vc-bzr-dir-status-files):
12201 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
12202 * vc/vc-annotate.el: Use lexical-binding.
12203 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
12204 (vc-sentinel-movepoint): Declare.
12205 (vc-annotate): Don't use `goto-line'.
12206 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
12207 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
12208 (vc-sentinel-movepoint): Declare.
12209 * vc/vc-svn.el: Use lexical-binding.
12210 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
12212 * vc/vc-rcs.el: Use lexical-binding.
12214 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
12215 `deleted'. Don't drop errors silently.
12217 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
12219 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
12221 * vc/vc.el (vc-ignore): Rewrite.
12222 (vc-default-ignore): New function.
12223 (vc-default-ignore-completion-table): Use find-ignore-file.
12225 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
12226 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
12227 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
12228 Remove. Most code moved to vc.el.
12230 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
12232 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
12233 * net/tramp-smb.el (tramp-smb-get-file-entries):
12234 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
12235 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
12237 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
12239 (eww-change-select): Remove unused var `properties'.
12240 (eww-make-unique-file-name): Remove unused var `base'.
12242 * finder.el (finder-compile-keywords): Don't mess with windows.
12244 * calculator.el (calculator-funcall): Fix typo in last change.
12246 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
12248 * emacs-lisp/package.el (package-activate-1): Don't let a missing
12249 <pkg>-autoloads.el file stop us.
12251 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
12252 warnings, and factor out common code.
12254 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
12256 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
12257 two-character operators and whether the character preceding them
12258 changes their meaning (Bug#15208).
12260 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12262 Format code sent to Python shell for robustness.
12263 * progmodes/python.el (python-shell-buffer-substring):
12265 (python-shell-send-region, python-shell-send-buffer): Use it.
12267 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
12269 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
12270 * net/tramp.el (tramp-user-error): ... here.
12271 (tramp-find-method, tramp-check-proper-host)
12272 (tramp-dissect-file-name, tramp-debug-message)
12273 (tramp-handle-shell-command):
12274 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
12277 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
12279 2013-09-02 Martin Rudalics <rudalics@gmx.at>
12281 * avoid.el (mouse-avoidance-point-position)
12282 (mouse-avoidance-too-close-p): Handle case where posn-at-point
12285 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12287 * progmodes/python.el (python-shell-completion-get-completions):
12288 Drop use of deleted `comint-last-prompt-overlay'.
12289 (python-nav-if-name-main): New command.
12291 2013-09-01 Glenn Morris <rgm@gnu.org>
12293 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12294 Avoid leading space in $wins. Otherwise the sed command used by
12295 eg compile-main ends up containing "/*.el". (Bug#15170)
12297 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
12299 2013-08-30 Glenn Morris <rgm@gnu.org>
12301 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12302 Fix is-this-a-directory logic. (Bug#15220)
12304 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12306 * textmodes/css-mode.el: Use SMIE.
12307 (css-smie-grammar): New var.
12308 (css-smie--forward-token, css-smie--backward-token)
12309 (css-smie-rules): New functions.
12310 (css-mode): Use them.
12311 (css-navigation-syntax-table): Remove var.
12312 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
12313 (css-indent-calculate, css-indent-line): Remove functions.
12315 Misc changes to reduce use of `(lambda...); and other cleanups.
12316 * cus-edit.el: Use lexical-binding.
12317 (customize-push-and-save, customize-apropos)
12318 (custom-buffer-create-internal): Use closures.
12319 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
12320 * progmodes/ada-xref.el: Use setq.
12321 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
12322 * dframe.el: Use lexical-binding.
12323 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
12324 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
12325 * descr-text.el: Use lexical-binding.
12326 (describe-text-widget, describe-text-sexp, describe-property-list):
12328 * comint.el (comint-history-isearch-push-state): Use a closure.
12329 * calculator.el: Use lexical-binding.
12330 (calculator-number-to-string): Make it work with lexical-binding.
12331 (calculator-funcall): Same and use cl-letf.
12333 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
12334 (lisp--company-doc-string, lisp--company-location): New functions.
12335 (lisp-completion-at-point): Use them to improve Company support.
12337 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
12338 params of lambda expressions.
12339 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
12340 (ruby-smie--opening-pipe-p): New function.
12341 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
12342 symbols and matched |...| for formal params.
12343 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
12344 from being treated as hanging. Handle "rescue".
12346 2013-08-29 Glenn Morris <rgm@gnu.org>
12348 * progmodes/cc-engine.el (c-pull-open-brace):
12349 Move definition before use.
12351 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12353 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
12354 are immutable. Don't use `unsafe' any more.
12355 (cl--defsubst-expand): Don't substitute at the same time as keeping
12356 a residual unused let-binding. Don't use `unsafe' any more.
12358 2013-08-29 Glenn Morris <rgm@gnu.org>
12360 * calendar/cal-china.el (calendar-chinese-year-cache):
12363 * nxml/nxml-util.el (nxml-debug-clear-inside):
12364 Use cl-loop rather than loop.
12366 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
12368 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
12370 2013-08-28 Glenn Morris <rgm@gnu.org>
12372 * progmodes/antlr-mode.el: No need to require cc-mode twice.
12374 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
12376 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
12378 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12380 * simple.el (repeat-complex-command--called-interactively-skip):
12382 (repeat-complex-command): Use it (bug#14136).
12384 * progmodes/cc-mode.el: Minor cleanup of var declarations.
12385 (c-define-abbrev-table): Add `doc' argument.
12386 (c-mode-abbrev-table, c++-mode-abbrev-table)
12387 (objc-mode-abbrev-table, java-mode-abbrev-table)
12388 (idl-mode-abbrev-table, pike-mode-abbrev-table)
12389 (awk-mode-abbrev-table): Use it.
12390 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
12391 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
12392 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
12393 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
12394 Move initialization into the declaration; and remove any
12397 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
12398 and dynamic let binding.
12400 * vc/smerge-mode.el: Remove redundant :group args.
12402 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
12405 2013-08-28 Juri Linkov <juri@jurta.org>
12407 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
12408 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
12409 (isearch-other-meta-char): Handle an undefined shifted printing
12410 character by downshifting it. (Bug#15200)
12412 2013-08-28 Juri Linkov <juri@jurta.org>
12414 * isearch.el (isearch-search): Change regexp error message for
12415 non-regexp searches. (Bug#15166)
12417 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
12419 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
12420 for portability to hosts where /bin/sh has problems.
12422 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12424 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
12426 2013-08-27 Juri Linkov <juri@jurta.org>
12428 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
12429 in the keyboard macro. (Bug#15126)
12431 2013-08-27 Juri Linkov <juri@jurta.org>
12433 * isearch.el (isearch-quote-char): Comment out converting unibyte
12434 to multibyte, thus syncing with its `quoted-insert' counterpart.
12437 2013-08-27 Martin Rudalics <rudalics@gmx.at>
12439 * window.el (display-buffer-use-some-window): Add missing
12440 argument in call of get-largest-window (Bug#15185).
12441 Reported by Stephen Leake.
12443 2013-08-27 Glenn Morris <rgm@gnu.org>
12445 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12447 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
12449 * progmodes/python.el (python-font-lock-keywords): Don't return nil
12450 from a matcher-function unless there's no more matches (bug#15161).
12452 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12454 * minibuffer.el: Revert change from 2013-08-20.
12456 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
12457 with text property `tramp-default', if appropriate.
12458 (tramp-check-proper-host): New defun.
12459 (tramp-dissect-file-name): Do not check hostname. Revert change
12461 (tramp-backtrace): Make VEC-OR-PROC optional.
12463 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12465 * net/tramp-sh.el (tramp-maybe-open-connection):
12466 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12467 Apply `tramp-check-proper-host'.
12469 2013-08-26 Tassilo Horn <tsdh@gnu.org>
12471 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12472 lambda expression in order to have `describe-variable' display it.
12474 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12476 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12477 BUF can be optional. (Bug#15186)
12479 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
12481 * progmodes/flymake.el (flymake-get-real-file-name-function):
12482 Fix broken customization. (Bug#15184)
12484 2013-08-25 Alan Mackenzie <acm@muc.de>
12486 Improve indentation of bracelists defined by macros (without "=").
12488 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12489 expansion begins with "{", regard it as bracelist when it doesn't
12492 Parse C++ inher-intro when there's a template split over 2 lines.
12494 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12495 rigorously the search for "class" etc. followed by ":".
12497 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12498 random languages a regexp which never matches rather than nil.
12500 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12502 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12503 (c-awk-regexp-one-line-possibly-open-char-list-re)
12504 (c-awk-one-line-possibly-open-regexp-re)
12505 (c-awk-one-line-non-syn-ws*-re): Remove.
12506 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12507 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12508 (c-awk-space*-unclosed-regexp-/-re): New constants.
12509 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12510 aren't regexp delimiters.
12512 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12513 handling for a rare situation in AWK Mode involving unterminated
12516 2013-08-23 Glenn Morris <rgm@gnu.org>
12518 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12520 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12522 * files.el (create-file-buffer): If the result would begin with
12523 spaces, prepend a "|" instead of removing them. (Bug#15162)
12525 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12527 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12528 text-properties (bug#15155).
12530 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12532 (calc-keypad-redraw): Remove unused var `pad'.
12533 (calc-keypad-press): Remove unused var `menu'.
12535 2013-08-23 Martin Rudalics <rudalics@gmx.at>
12537 * window.el (display-buffer-pop-up-frame):
12538 Call pop-up-frame-function with BUFFER current so `make-frame' will
12539 use it as the new frame's buffer (Bug#15133).
12541 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12543 * calendar/timeclock.el: Minor cleanups.
12544 (timeclock-ask-before-exiting, timeclock-use-display-time):
12546 (timeclock-modeline-display): Define as alias before the
12548 (timeclock-mode-line-display): Use define-minor-mode.
12549 (timeclock-day-list-template): Make it a function, add an argument.
12550 (timeclock-day-list-required, timeclock-day-list-length)
12551 (timeclock-day-list-debt, timeclock-day-list-span)
12552 (timeclock-day-list-break): Adjust calls accordingly.
12554 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12557 Use read--expression so that completion works again.
12559 2013-08-21 Sam Steingold <sds@gnu.org>
12561 Add rudimentary inferior shell interaction
12562 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12563 (sh-set-shell): Reset it.
12564 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12565 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12567 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
12569 * align.el: Use lexical-binding.
12570 (align-region): Simplify accordingly.
12572 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
12574 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12576 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12577 `non-essential' up.
12579 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
12582 * net/tramp-adb.el:
12583 * net/tramp-cmds.el:
12584 * net/tramp-ftp.el:
12585 * net/tramp-gvfs.el:
12587 * net/tramp-sh.el: Don't wrap external variable declarations by
12588 `eval-when-compile'.
12590 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12592 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12593 now that Emacs supports ImageMagick animations.
12595 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
12597 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12598 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12600 2013-08-16 Martin Rudalics <rudalics@gmx.at>
12602 * window.el (mouse-autoselect-window-select): Do autoselect when
12603 mouse pointer is on margin.
12605 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
12607 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
12609 2013-08-16 Glenn Morris <rgm@gnu.org>
12611 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12612 Handle "Remote Directory" response of some clients. (Bug#15058)
12614 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12615 Tweak warning. (Bug#14926)
12617 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12618 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12620 * image-mode.el (image-mode-map): Add menu items to reverse,
12621 increase, decrease, reset animation speed.
12622 (image--set-speed, image-increase-speed, image-decrease-speed)
12623 (image-reverse-speed, image-reset-speed): New functions.
12624 (image-mode-map): Add bindings for speed commands.
12626 * image.el (image-animate-get-speed, image-animate-set-speed):
12628 (image-animate-timeout): Respect image :speed property.
12630 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12633 previous line (bug#15101).
12634 (debugger-eval-expression, debugger-record-expression):
12635 Use read--expression (bug#15102).
12637 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12639 Remove byte compiler warnings, visible when compiling with
12640 `byte-compile-force-lexical-warnings' set to t.
12642 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12643 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12644 (tramp-handle-unhandled-file-name-directory)
12645 (tramp-handle-file-notify-add-watch, tramp-action-login)
12646 (tramp-action-succeed, tramp-action-permission-denied)
12647 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12648 arguments with "_".
12650 * net/tramp-adb.el (tramp-adb-parse-device-names)
12651 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12652 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12653 (tramp-adb-handle-file-truename): Remove unused arguments.
12655 * net/tramp-cache.el (tramp-flush-directory-property)
12656 (tramp-flush-connection-property, tramp-list-connections)
12657 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12659 * net/tramp-compat.el (tramp-compat-make-temp-file):
12660 Rename FILENAME to F.
12662 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12663 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12664 (tramp-zeroconf-parse-workstation-device-names)
12665 (tramp-zeroconf-parse-webdav-device-names)
12666 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12668 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12669 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12671 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12673 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12674 (tramp-sh-handle-insert-file-contents-literally)
12675 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12677 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12678 Remove unused variables.
12680 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12681 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12682 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12684 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12685 Make them a defconst.
12686 (tramp-uuencode-region): Remove unused variable.
12688 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12690 * frameset.el (frameset--prop-setter): New function.
12691 (frameset-prop): Add gv-setter declaration.
12692 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12693 parameter was already set in FILTERED. Doc fix.
12694 (frameset--record-minibuffer-relationships): Allow saving a
12695 minibufferless frame without its corresponding minibuffer frame.
12696 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12697 frame, if the frame id matches.
12698 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12699 frames before orphaned ones.
12700 (frameset-restore): Warn about orphaned windows, instead of error out.
12702 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12704 * window.el (window-make-atom): Don't overwrite parameter
12706 (display-buffer-in-atom-window): Handle special case where we
12707 split an already atomic window.
12708 (window--major-non-side-window, display-buffer-in-side-window)
12709 (window--side-check): Ignore minibuffer window when walking
12711 (window-deletable-p): Return 'frame only if no other frame uses
12712 our minibuffer window.
12713 (record-window-buffer): Run buffer-list-update-hook.
12714 (split-window): Make sure window--check-frame won't destroy an
12715 existing atomic window in case the new window gets nested
12717 (display-buffer-at-bottom): Ignore minibuffer window when
12718 walking window tree. Don't split a side window.
12719 (pop-to-buffer): Don't set-buffer here, the select-window call
12721 (mouse-autoselect-window-select): Autoselect only if we are in the
12722 text portion of the window.
12724 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726 * net/shr.el (shr-parse-image-data): New function to grab both the
12727 data itself and the Content-Type.
12728 (shr-put-image): Use it.
12730 * net/eww.el (eww-display-image): Ditto.
12732 * image.el (image-content-type-suffixes): New variable.
12734 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12736 * progmodes/python.el (python-imenu--build-tree)
12737 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12739 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12741 * simple.el (backward-word): Mention the optional argument.
12743 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12745 * frameset.el (frameset--make): Rename constructor from make-frameset.
12746 (frameset-p, frameset-valid-p): Don't autoload.
12747 (frameset-valid-p): Use normal accessors.
12749 2013-08-13 Glenn Morris <rgm@gnu.org>
12751 * progmodes/compile.el (compile-command): Tweak example in doc.
12752 * obsolete/scribe.el (scribe-mode):
12753 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12755 * mail/feedmail.el (feedmail-confirm-outgoing)
12756 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12758 * cus-start.el (truncate-partial-width-windows): Fix type.
12760 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12762 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12764 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12766 * emacs-lisp/timer.el (timer--time-setter): New function.
12767 (timer--time): Use it as gv-setter.
12769 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12770 setter is not a symbol.
12772 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12774 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12775 if sending fails. This makes debugging easier.
12777 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12779 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12780 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12781 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12783 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12785 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12787 2013-08-12 Glenn Morris <rgm@gnu.org>
12789 * format.el (format-annotate-function):
12790 Handle read-only text properties in the source. (Bug#14887)
12792 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12794 * net/eww.el (eww-display-html): Ignore coding system errors.
12795 One web site uses "utf-8lias" as the coding system.
12797 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12799 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12801 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12803 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12804 (tutorial--detailed-help): Remove unused local variables.
12805 (tutorial--save-tutorial-to): Use ignore-errors.
12806 (help-with-tutorial): Use looking-at-p.
12808 * view.el (view-buffer-other-window, view-buffer-other-frame):
12809 Mark unused arguments.
12811 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12812 (woman-select-symbol-fonts, woman, woman-find-file)
12813 (woman-insert-file-contents, woman-non-underline-faces):
12814 Use string-match-p.
12815 (woman1-unquote): Move declaration.
12817 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12818 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
12819 argument. Remove unused local variable.
12820 (xml-parse-elem-type): Use string-match-p.
12821 (xml-substitute-numeric-entities): Use ignore-errors.
12823 * calculator.el (calculator): Mark unused argument.
12824 (calculator-paste, calculator-quit, calculator-integer-p):
12826 (calculator-string-to-number, calculator-decimal, calculator-exp)
12827 (calculator-op-or-exp): Use string-match-p.
12829 * dired.el (dired-buffer-more-recently-used-p): Declare.
12830 (dired-insert-set-properties, dired-insert-old-subdirs):
12833 * dired-aux.el (dired-compress): Use ignore-errors.
12834 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12835 (dired-do-async-shell-command, dired-do-shell-command)
12836 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12837 (dired-insert-subdir-validate): Use string-match-p.
12838 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12839 (dired-add-entry): Use string-match-p, looking-at-p.
12840 (dired-insert-subdir-newpos): Remove unused local variable.
12842 * filenotify.el (file-notify-callback): Remove unused local variable.
12844 * filesets.el (filesets-error): Mark unused argument.
12845 (filesets-which-command-p, filesets-filter-dir-names)
12846 (filesets-directory-files, filesets-get-external-viewer)
12847 (filesets-ingroup-get-data): Use string-match-p.
12849 * find-file.el (ff-other-file-name, ff-other-file-name)
12850 (ff-find-the-other-file, ff-cc-hh-converter):
12851 Remove unused local variables.
12852 (ff-get-file-name): Use string-match-p.
12853 (ff-all-dirs-under): Use ignore-errors.
12855 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12856 (follow-select-if-visible): Remove unused local variable.
12858 * forms.el (read-file-filter): Move declaration.
12859 (forms--make-format, forms--make-parser, forms-insert-record):
12860 Quote function with #'.
12861 (forms--update): Use string-match-p. Quote function with #'.
12863 * help-mode.el (help-dir-local-var-def): Mark unused argument.
12864 (help-make-xrefs): Use looking-at-p.
12865 (help-xref-on-pp): Use looking-at-p, ignore-errors.
12867 * ibuffer.el (ibuffer-ext-visible-p): Declare.
12868 (ibuffer-confirm-operation-on): Use string-match-p.
12870 * msb.el (msb-item-handler, msb-dired-item-handler):
12871 Mark unused arguments.
12873 * ses.el (ses-decode-cell-symbol)
12874 (ses-kill-override): Remove unused local variable.
12875 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12876 (ses-load): Use ignore-errors, looking-at-p.
12877 (ses-jump-safe): Use ignore-errors.
12878 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12880 * tabify.el (untabify, tabify): Mark unused arguments.
12882 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12883 Mark unused argument.
12884 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12885 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12887 * emacs-lisp/timer.el (timer--time): Define setter with
12888 gv-define-setter to avoid deprecation warning.
12890 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12891 (*record-cmpl-statistics-p*): Remove (was commented out).
12892 (cmpl-statistics-block): Remove (body was commented out).
12893 All callers changed.
12894 (add-completions-from-buffer, load-completions-from-file):
12895 Remove unused variables.
12897 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12899 * filecache.el (file-cache-delete-file-list):
12900 Print message only when told so.
12901 (file-cache-files-matching): Use #' in mapconcat argument.
12903 * ffap.el (ffap-url-at-point): Fix reference to variable
12904 thing-at-point-default-mail-uri-scheme.
12906 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12908 * subr.el (define-error): New function.
12909 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12910 error-file-not-found and define with define-error.
12911 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12912 and define with define-error.
12913 * userlock.el (file-locked, file-supersession):
12914 * simple.el (mark-inactive):
12915 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12916 * progmodes/ada-mode.el (ada-mode-errors):
12917 * play/life.el (life-extinct):
12918 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12919 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12920 * nxml/rng-util.el (rng-error):
12921 * nxml/rng-uri.el (rng-uri-error):
12922 * nxml/rng-match.el (rng-compile-error):
12923 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12924 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12925 * nxml/nxml-rap.el (nxml-scan-error):
12926 * nxml/nxml-outln.el (nxml-outline-error):
12927 * net/soap-client.el (soap-error):
12928 * net/gnutls.el (gnutls-error):
12929 * net/ange-ftp.el (ftp-error):
12930 * mpc.el (mpc-proc-error):
12931 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12932 (json-number-format, json-string-escape, json-string-format)
12933 (json-key-format, json-object-format):
12934 * jka-compr.el (compression-error):
12935 * international/quail.el (quail-error):
12936 * international/kkc.el (kkc-error):
12937 * emacs-lisp/ert.el (ert-test-failed):
12938 * calc/calc.el (calc-error, inexact-result, math-overflow)
12940 * bookmark.el (bookmark-error-no-filename):
12941 * epg.el (epg-error): Define with define-error.
12943 * time.el (display-time-event-handler)
12944 (display-time-next-load-average): Don't call sit-for since it seems
12945 unnecessary (bug#15045).
12947 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12948 Use #' instead of ' to quote functions.
12949 (checkdoc-output-mode): Use setq-local.
12950 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12951 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12952 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12953 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12954 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12955 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12956 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12957 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12959 * ido.el (ido-completion-help): Fix up compiler warning.
12961 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12963 * frameset.el (frameset-p): Add autoload cookie.
12964 (frameset--jump-to-register): New function, based on code moved from
12966 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12968 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12969 (frameset-restore, frameset-save, frameset-session-filter-alist):
12970 Remove declarations.
12971 (register-alist): Doc fix.
12972 (frameset-to-register): Move to frameset.el.
12973 (jump-to-register, describe-register-1): Remove frameset-specific code.
12975 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12977 * allout-widgets.el (allout-widgets-pre-command-business)
12978 (allout-widgets-post-command-business)
12979 (allout-widgets-after-change-handler)
12980 (allout-decorate-item-and-context, allout-set-boundary-marker)
12981 (allout-body-modification-handler)
12982 (allout-graphics-modification-handler): Mark ignored arguments.
12983 (allout-widgets-post-command-business)
12984 (allout-widgets-exposure-change-processor)
12985 (allout-widgets-exposure-undo-processor)
12986 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12987 (allout-parse-item-at-point, allout-decorate-item-guides)
12988 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12989 * allout.el (epa-passphrase-callback-function): Declare.
12990 (allout-overlay-insert-in-front-handler)
12991 (allout-overlay-interior-modification-handler)
12992 (allout-isearch-end-handler, allout-chart-siblings)
12993 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12994 (allout-yank-processing, allout-process-exposed)
12995 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12996 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12997 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12998 (lisp-indent-defform): Mark ignored arguments.
12999 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
13000 (calculate-lisp-indent): Remove unused variables.
13001 * international/characters.el (indian-2-column, arabic-2-column)
13002 (tibetan): Mark ignored arguments.
13003 (use-cjk-char-width-table): Mark ignored arguments.
13004 Remove unused variables.
13005 * international/fontset.el (build-default-fontset-data)
13006 (x-compose-font-name, create-fontset-from-fontset-spec):
13007 Mark ignored arguments.
13008 (fontset-plain-name): Remove unused variables.
13009 * international/mule.el (charset-id, charset-bytes, generic-char-p)
13010 (keyboard-coding-system): Mark ignored arguments.
13011 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
13012 * help.el (resize-temp-buffer-window):
13013 * window.el (display-buffer-in-major-side-window)
13014 (display-buffer-in-side-window, display-buffer-in-previous-window):
13015 Remove unused variables.
13016 * isearch.el (isearch-forward-symbol):
13017 * version.el (emacs-bzr-version-bzr):
13018 * international/mule-cmds.el (current-language-environment):
13019 * term/common-win.el (x-handle-iconic, x-handle-geometry)
13020 (x-handle-display):
13021 * term/pc-win.el (x-list-fonts, x-display-planes)
13022 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
13023 (x-server-version, x-display-screens, x-display-mm-height)
13024 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
13025 (x-selection-owner-p, x-own-selection-internal)
13026 (x-disown-selection-internal, x-get-selection-internal)
13027 (msdos-initialize-window-system):
13028 * term/tty-colors.el (tty-color-alist, tty-color-clear):
13029 * term/x-win.el (x-handle-no-bitmap-icon):
13030 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
13031 (vc-default-find-file-hook, vc-default-extra-menu):
13032 Mark ignored arguments.
13034 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
13037 break-condition in the context of the debugged code (bug#12685).
13039 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
13042 Do not use an overlay to highlight the last prompt. (Bug#14744)
13043 (comint-mode): Make comint-last-prompt buffer local.
13044 (comint-last-prompt): New variable.
13045 (comint-last-prompt-overlay): Remove. Superseded by
13046 comint-last-prompt.
13047 (comint-snapshot-last-prompt, comint-output-filter):
13048 Use comint-last-prompt.
13050 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13052 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
13053 (frameset-save): Check validity of the resulting frameset.
13055 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
13057 * ido.el (ido-record-command): Add doc string.
13059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13061 * frameset.el (frameset): Do not disable creation of the default
13062 frameset-p predicate. Doc fix.
13063 (frameset-valid-p): New function, copied from the old predicate-p.
13064 Add additional checks.
13065 (frameset-restore): Check with frameset-valid-p.
13066 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
13067 (frameset-name, frameset-description, frameset-properties)
13068 (frameset-states): Add docstring.
13069 (frameset-session-filter-alist, frameset-persistent-filter-alist)
13070 (frameset-filter-alist): Doc fixes.
13072 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13074 * frameset.el (frameset-p, frameset-prop): Doc fixes.
13076 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
13078 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
13079 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
13080 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
13081 (byte-compile-normal-call): Remove obsolescence check.
13083 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13085 * frameset.el (frameset-restore): Doc fix.
13087 * register.el (frameset-frame-id, frameset-frame-with-id)
13088 (frameset-p, frameset-restore, frameset-save): Declare.
13089 (register-alist): Document framesets.
13090 (frameset-session-filter-alist): Declare.
13091 (frameset-to-register): New function.
13092 (jump-to-register): Implement jumping to framesets. Doc fix.
13093 (describe-register-1): Describe framesets.
13095 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
13097 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
13099 * desktop.el (desktop-save-frameset): Use new frameset-save args.
13100 Use lexical-binding.
13102 * frameset.el (frameset): Use type vector, not list (incompatible
13103 change). Do not declare a new constructor, use the default one.
13104 Upgrade suggested properties `app', `name' and `desc' to slots `app',
13105 `name' and `description', respectively, and add read-only slot
13106 `timestamp'. Doc fixes.
13107 (frameset-copy, frameset-persistent-filter-alist)
13108 (frameset-filter-alist, frameset-switch-to-gui-p)
13109 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
13110 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
13111 (frameset-filter-iconified, frameset-keep-original-display-p):
13113 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
13114 Rename from frameset-filter-(save|restore)-param. All callers changed.
13116 (frameset-p): Adapt to change to vector and be more thorough.
13117 Change arg name to OBJECT. Doc fix.
13118 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
13119 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
13120 All callers changed.
13121 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
13122 All callers changed.
13123 (frameset--record-minibuffer-relationships): Rename from
13124 frameset--process-minibuffer-frames. All callers changed.
13125 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
13126 Use new default constructor (again). Doc fix.
13127 (frameset--find-frame-if): Rename from `frameset--find-frame'.
13128 All callers changed.
13129 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
13130 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
13132 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
13133 PARAMETERS and WINDOW-STATE, respectively.
13134 (frameset-restore): Add new keyword argument PREDICATE.
13135 Reset frameset--target-display to nil. Doc fix.
13137 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
13139 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
13140 (bat-mode): Use it.
13141 (bat-mode-syntax-table): Mark \n as end-of-comment.
13142 (bat-font-lock-keywords): Remove comment rule.
13144 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
13145 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
13147 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
13148 (byte-compile-callargs-warn): Use `push'.
13149 (byte-compile-arglist-warn): Ignore higher-order "calls".
13150 (byte-compile-file-form-autoload): Use `pcase'.
13151 (byte-compile-function-form): If quoting a symbol, check that it exists.
13153 2013-08-07 Eli Zaretskii <eliz@gnu.org>
13155 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
13156 and add a few popular commands found in batch files.
13157 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
13158 (dos-mode): Doc fixes.
13160 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
13162 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
13163 (dos-mode): Use setq-local. Add space after "rem".
13164 (dos-mode-syntax-table): Don't use "w" for symbol chars.
13165 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
13167 2013-08-07 Arni Magnusson <arnima@hafro.is>
13169 * progmodes/dos.el: New file.
13170 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
13173 2013-08-06 Glenn Morris <rgm@gnu.org>
13175 * calendar/calendar.el: Add new faces, and day-header-array.
13176 (calendar-weekday-header, calendar-weekend-header)
13177 (calendar-month-header): New faces.
13178 (calendar-day-header-construct): New function.
13179 (calendar-day-header-width): Also :set calendar-day-header-array.
13180 (calendar-american-month-header, calendar-european-month-header)
13181 (calendar-iso-month-header): Use calendar- faces.
13182 (calendar-generate-month):
13183 Use calendar-day-header-array for day headers; apply faces to them.
13184 (calendar-mode): Check calendar-font-lock-keywords non-nil.
13185 (calendar-abbrev-construct): Add optional maxlen argument.
13186 (calendar-day-name-array): Doc fix.
13187 (calendar-day-name-array, calendar-abbrev-length)
13188 (calendar-day-abbrev-array):
13189 Also :set calendar-day-header-array, and maybe redraw.
13190 (calendar-day-header-array): New option. (Bug#15007)
13191 (calendar-font-lock-keywords): Set to nil and make obsolete.
13192 (calendar-day-name): Add option to use header array.
13194 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13196 * net/shr.el (shr-render-td): Remove debugging.
13197 (shr-render-td): Make width computation consistent by defaulting
13198 all zero-width columns to 10 characters. This may not be optimal,
13199 but it's at least consistent.
13200 (shr-make-table-1): Redo last change to fix the real problem in
13203 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
13205 * files.el (cache-long-line-scans):
13206 Make obsolete alias to `cache-long-scans'.
13208 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
13210 * frameset.el (frameset, frameset-filter-alist)
13211 (frameset-filter-params, frameset-save, frameset--reuse-frame)
13212 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
13213 (frameset-compute-pos): Rename from frameset--compute-pos,
13215 (frameset-move-onscreen): Use frameset-compute-pos.
13216 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13218 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
13219 Fix typos in docstrings.
13221 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
13223 * frame.el (get-other-frame): Tiny cleanup.
13225 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
13227 * vc/vc.el (vc-default-ignore-completion-table):
13228 Silence byte-compiler warning.
13230 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
13231 slot, which can indeed be nil.
13232 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13233 Move entry for `left' from persistent to live filter alist.
13234 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
13236 (frameset-filter-params): When restoring a frame, copy items added to
13237 `filtered', to avoid unwittingly modifying the original parameters.
13238 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
13239 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
13241 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
13242 to use looking-at-p instead of looking-at. (Bug#15028)
13244 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13246 Revert introduction of isearch-filter-predicates (bug#14714).
13247 Rely on add-function instead.
13248 * isearch.el (isearch-filter-predicates): Rename it back to
13249 isearch-filter-predicate.
13250 (isearch-message-prefix): Use advice-function-mapc and advice
13251 properties to get the isearch-message-prefix.
13252 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
13253 instead of run-hook-with-args-until-failure.
13254 (isearch-filter-visible): Not obsolete any more.
13255 * loadup.el: Preload nadvice.
13256 * replace.el (perform-replace): Revert to funcall
13257 instead of run-hook-with-args-until-failure.
13258 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
13259 * dired-aux.el (dired-isearch-filenames-mode): Rename from
13260 dired-isearch-filenames-toggle; make it into a proper minor mode.
13261 Use add/remove-function.
13262 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
13263 Call the minor-mode rather than add/remove-hook.
13264 (dired-isearch-filter-filenames):
13265 Remove isearch-message-prefix property.
13266 * info.el (Info--search-loop): New function, extracted from Info-search.
13267 Funcall isearch-filter-predicate instead of
13268 run-hook-with-args-until-failure isearch-filter-predicates.
13269 (Info-search): Use it.
13270 (Info-mode): Use isearch-filter-predicate instead of
13271 isearch-filter-predicates.
13273 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13275 Do not call to `selected-window' where it is assumed by default.
13276 Affected functions are `window-minibuffer-p', `window-dedicated-p',
13277 `window-hscroll', `window-width', `window-height', `window-buffer',
13278 `window-frame', `window-start', `window-point', `next-window'
13279 and `window-display-table'.
13280 * abbrev.el (abbrev--default-expand):
13281 * bs.el (bs--show-with-configuration):
13282 * buff-menu.el (Buffer-menu-mouse-select):
13283 * calc/calc.el (calc):
13284 * calendar/calendar.el (calendar-generate-window):
13285 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
13286 (diary-make-entry):
13287 * comint.el (send-invisible, comint-dynamic-complete-filename)
13288 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
13289 * completion.el (complete):
13290 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
13291 * disp-table.el (describe-current-display-table):
13292 * doc-view.el (doc-view-insert-image):
13293 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
13294 * ehelp.el (with-electric-help):
13295 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13296 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
13297 * emacs-lisp/helper.el (Helper-help-scroller):
13298 * emulation/cua-base.el (cua--post-command-handler-1):
13299 * eshell/esh-mode.el (eshell-output-filter):
13300 * ffap.el (ffap-gnus-wrapper):
13301 * help-macro.el (make-help-screen):
13302 * hilit-chg.el (highlight-compare-buffers):
13303 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
13304 * hl-line.el (global-hl-line-highlight):
13305 * icomplete.el (icomplete-simple-completing-p):
13306 * isearch.el (isearch-done):
13307 * jit-lock.el (jit-lock-stealth-fontify):
13308 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
13309 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
13310 * mpc.el (mpc-tagbrowser, mpc):
13311 * net/rcirc.el (rcirc-any-buffer):
13312 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
13313 * play/landmark.el (landmark-max-width, landmark-max-height):
13314 * play/zone.el (zone):
13315 * progmodes/compile.el (compilation-goto-locus):
13316 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
13317 * progmodes/etags.el (find-tag-other-window):
13318 * progmodes/fortran.el (fortran-column-ruler):
13319 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13320 * progmodes/verilog-mode.el (verilog-point-text):
13321 * reposition.el (reposition-window):
13322 * rot13.el (toggle-rot13-mode):
13323 * server.el (server-switch-buffer):
13324 * shell.el (shell-dynamic-complete-command)
13325 (shell-dynamic-complete-environment-variable):
13326 * simple.el (insert-buffer, set-selective-display)
13327 (delete-completion-window):
13328 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
13329 (speedbar-recenter):
13330 * startup.el (fancy-splash-head):
13331 * textmodes/ispell.el (ispell-command-loop):
13332 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
13333 * tutorial.el (help-with-tutorial):
13334 * vc/add-log.el (add-change-log-entry):
13335 * vc/compare-w.el (compare-windows):
13336 * vc/ediff-help.el (ediff-indent-help-message):
13337 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
13338 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
13339 (ediff-setup-control-frame):
13340 * vc/emerge.el (emerge-position-region):
13341 * vc/pcvs-util.el (cvs-bury-buffer):
13342 * window.el (walk-windows, mouse-autoselect-window-select):
13343 * winner.el (winner-set-conf, winner-undo): Related users changed.
13345 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13347 * frameset.el (frameset--set-id): Doc fix.
13348 (frameset-frame-id, frameset-frame-id-equal-p)
13349 (frameset-locate-frame-id): New functions.
13350 (frameset--process-minibuffer-frames, frameset--reuse-frame)
13351 (frameset-restore): Use them.
13353 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13355 Do not call to `selected-frame' where it is assumed by default.
13356 Affected functions are `raise-frame', `redraw-frame',
13357 `frame-first-window', `frame-terminal' and `delete-frame'.
13358 * calendar/appt.el (appt-disp-window):
13359 * epg.el (epg-wait-for-completion):
13360 * follow.el (follow-delete-other-windows-and-split)
13361 (follow-avoid-tail-recenter):
13362 * international/mule.el (set-terminal-coding-system):
13363 * mail/rmail.el (rmail-mail-return):
13364 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13365 * progmodes/f90.el (f90-add-imenu-menu):
13366 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
13367 * server.el (server-switch-buffer):
13368 * simple.el (delete-completion-window):
13370 * term/xterm.el (terminal-init-xterm-modify-other-keys)
13371 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
13372 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
13373 * vc/ediff.el (ediff-documentation): Related users changed.
13374 * frame.el (selected-terminal): Remove the leftover.
13376 2013-08-05 Glenn Morris <rgm@gnu.org>
13378 * calendar/calendar.el (calendar-generate-month):
13379 Fix for calendar-column-width != 1 + calendar-day-digit-width.
13380 (calendar-generate-month, calendar-font-lock-keywords):
13381 Fix for calendar-day-header-width > length of any day name.
13383 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13385 * desktop.el (desktop-clear): Use new name of sort predicate.
13387 * frameset.el (frameset): Add docstring. Move :version property to its
13388 own `version' slot.
13389 (frameset-copy): Rename from copy-frameset.
13390 (frameset-p): Check more thoroughly.
13391 (frameset-prop): Do not check for :version, which is no longer a prop.
13392 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13393 Use new :never value instead of t.
13394 (frameset-filter-alist): Expand and clarify docstring.
13395 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
13396 (frameset-filter-minibuffer, frameset-filter-save-param)
13397 (frameset-filter-restore-param, frameset-filter-iconified):
13398 Add pointer to docstring of frameset-filter-alist.
13399 (frameset-filter-params): Rename filter values to be more meaningful:
13400 :never instead of t, and reverse the meanings of :save and :restore.
13401 (frameset--process-minibuffer-frames): Clarify error message.
13402 (frameset-save): Avoid unnecessary and confusing call to framep.
13403 Use new BOA constructor for framesets.
13404 (frameset--reuse-list): Doc fix.
13405 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
13406 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
13407 (frameset-minibufferless-first-p): Doc fix.
13408 Rename from frameset-sort-frames-for-deletion.
13409 (frameset-restore): Doc fixes. Use new function names.
13410 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13412 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13414 * desktop.el (desktop-restore-forces-onscreen)
13415 (desktop-restore-reuses-frames): Document :keyword constant values.
13416 (desktop-filter-parameters-alist): Remove, now identical to
13417 frameset-filter-alist.
13418 (desktop--filter-tty*): Remove, moved to frameset.el.
13419 (desktop-save-frameset, desktop-restore-frameset):
13420 Do not pass :filters argument.
13422 * frameset.el (frameset-live-filter-alist)
13423 (frameset-persistent-filter-alist): New variables.
13424 (frameset-filter-alist): Use them. Add autoload cookie.
13425 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
13426 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
13427 `frameset--id' (it's supposed to be internal to frameset.el).
13428 (frameset--process-minibuffer-frames): Ditto. Doc fix.
13429 (frameset--initial-params): New function.
13430 (frameset--get-frame): Use it. Doc fix.
13431 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
13432 Accept :all, not 'all.
13433 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
13434 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
13435 with fbound symbols. Fix frame id matching, and remove matching ids if
13436 the frame being restored is deleted. Obey :delete.
13438 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13440 * subr.el (macrop): New function.
13441 (text-clone--maintaining): New var.
13442 (text-clone--maintain): Rename from text-clone-maintain. Use it
13443 instead of inhibit-modification-hooks.
13445 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
13446 a proxy, so as handle autoloads and redefinitions of the target.
13447 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
13449 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13450 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
13451 (pcase--mutually-exclusive-p): New function.
13452 (pcase--split-consp): Use it.
13453 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
13454 mutually exclusive with the current predicate.
13456 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
13457 (edebug-macrop): Remove. Use `macrop' instead.
13458 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
13460 * eshell/esh-cmd.el (eshell-macrop):
13461 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
13463 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13465 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13466 (advice-mapc): New function, using it.
13467 (advice-function-member-p): New function.
13468 (advice--normalize): Store the cdr in advice--saved-rewrite since
13469 that's the part that will be changed.
13470 (advice--symbol-function): New function.
13471 (advice-remove): Handle removal before the function is defined.
13472 Adjust to new advice--saved-rewrite.
13473 (advice-member-p): Use advice-function-member-p and
13474 advice--symbol-function.
13476 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13478 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13479 (frameset-filter-minibuffer): Doc fix.
13480 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
13481 (frameset--set-id, frameset--process-minibuffer-frames)
13482 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13483 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13485 * desktop.el (desktop-clear): Only delete frames when called
13486 interactively and desktop-restore-frames is non-nil. Doc fix.
13487 (desktop-read): Set desktop-saved-frameset to nil.
13489 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13491 * vc/vc.el (vc-ignore): Rewrite.
13492 (vc-default-ignore-completion-table, vc--read-lines)
13493 (vc--add-line, vc--remove-regexp): New functions.
13495 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13496 (vc-svn-ignore-completion-table): New function.
13498 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13499 (vc-hg-ignore-completion-table)
13500 (vc-hg-find-ignore-file): New functions.
13502 * vc/vc-git.el (vc-git-ignore): Rewrite.
13503 (vc-git-ignore-completion-table)
13504 (vc-git-find-ignore-file): New functions.
13506 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13508 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13509 (vc-bzr-ignore-completion-table)
13510 (vc-bzr-find-ignore-file): New functions.
13512 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
13514 * frameset.el (frameset-prop): New function and setter.
13515 (frameset-save): Do not modify frame list passed by the caller.
13517 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13519 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13521 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
13523 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13524 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13526 * custom.el (custom-initialize-default, custom-initialize-set)
13527 (custom-initialize-reset, custom-initialize-changed): Affect the
13528 toplevel-default-value (bug#6275, bug#14586).
13529 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13532 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13534 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13535 Add cl-def* expressions.
13537 * frameset.el (frameset-filter-params): Fix order of arguments.
13539 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13541 Move code related to saving frames to frameset.el.
13542 * desktop.el: Require frameset.
13543 (desktop-restore-frames): Doc fix.
13544 (desktop-restore-reuses-frames): Rename from
13545 desktop-restoring-reuses-frames.
13546 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13547 (desktop-clear): Clear frames too.
13548 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13549 (desktop--filter-tty*, desktop-save, desktop-read):
13550 Use frameset functions.
13551 (desktop-before-saving-frames-functions, desktop--filter-*-color)
13552 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13553 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13554 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13555 (desktop--process-minibuffer-frames, desktop-save-frames)
13556 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13557 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13558 (desktop--sort-states, desktop-restoring-frames-p)
13559 (desktop-restore-frames): Remove. Most code moved to frameset.el.
13560 (desktop-restoring-frameset-p, desktop-restore-frameset)
13561 (desktop--check-dont-save, desktop-save-frameset): New functions.
13562 (desktop--app-id): New constant.
13563 (desktop-first-buffer, desktop-buffer-ok-count)
13564 (desktop-buffer-fail-count): Move before first use.
13565 * frameset.el: New file.
13567 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13569 * files.el: Use lexical-binding.
13570 (dir-locals-read-from-file): Remove unused `err' variable.
13571 (hack-dir-local-variables--warned-coding): New var.
13572 (hack-dir-local-variables): Use it to avoid repeated warnings.
13573 (make-backup-file-name--default-function): New function.
13574 (make-backup-file-name-function): Use it as default.
13575 (buffer-stale--default-function): New function.
13576 (buffer-stale-function): Use it as default.
13577 (revert-buffer-insert-file-contents--default-function): New function.
13578 (revert-buffer-insert-file-contents-function): Use it as default.
13579 (insert-directory): Avoid add-to-list.
13581 * autorevert.el (auto-revert-handler): Simplify.
13582 Use buffer-stale--default-function.
13584 2013-08-01 Tassilo Horn <tsdh@gnu.org>
13586 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13588 * whitespace.el (whitespace-ensure-local-variables): New function.
13589 (whitespace-cleanup-region): Call it.
13590 (whitespace-turn-on): Call it.
13592 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
13594 Complete file name handlers.
13596 * net/tramp.el (tramp-handle-set-visited-file-modtime)
13597 (tramp-handle-verify-visited-file-modtime)
13598 (tramp-handle-file-notify-rm-watch): New functions.
13599 (tramp-call-process): Do not bind `default-directory'.
13601 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13602 Order alphabetically.
13603 <access-file, add-name-to-file, dired-call-process>:
13604 <dired-compress-file, file-acl, file-notify-rm-watch>:
13605 <file-ownership-preserved-p, file-selinux-context>:
13606 <make-directory-internal, make-symbolic-link, set-file-acl>:
13607 <set-file-selinux-context, set-visited-file-modtime>:
13608 <verify-visited-file-modtime>: Add handler.
13609 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13612 <file-notify-add-watch, file-notify-rm-watch>:
13613 <set-file-times, set-visited-file-modtime>:
13614 <verify-visited-file-modtime>: Add handler.
13615 (with-tramp-gvfs-error-message)
13616 (tramp-gvfs-handle-set-visited-file-modtime)
13617 (tramp-gvfs-fuse-file-name): Remove.
13618 (tramp-gvfs-handle-file-notify-add-watch)
13619 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13620 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13622 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13623 Order alphabetically.
13624 <file-notify-rm-watch>: Use default Tramp handler.
13625 <executable-find>: Remove private handler.
13626 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13627 `default-directory'.
13628 (tramp-sh-handle-executable-find)
13629 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13630 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13631 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13632 Do not use `format' in `tramp-message'.
13634 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13635 <file-notify-rm-watch, set-visited-file-modtime>:
13636 <verify-visited-file-modtime>: Add handler.
13637 (tramp-smb-call-winexe): Do not bind `default-directory'.
13639 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13641 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13643 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13645 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13647 (log-view-diff-changeset): Same.
13648 (log-view-diff-common): Call backend command `previous-revision'
13649 to find out the previous revision, in both cases. Swap the
13650 variables `to' and `fr', so that `fr' usually refers to the
13651 earlier revision (Bug#14989).
13653 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13655 * ibuf-ext.el (ibuffer-filter-by-filename):
13656 Make it work with dired buffers too.
13658 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13660 * emacs-lisp/re-builder.el (reb-color-display-p):
13661 * files.el (save-buffers-kill-terminal):
13662 * net/browse-url.el (browse-url):
13663 * server.el (server-save-buffers-kill-terminal):
13664 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13665 Prefer nil to selected-frame for the first arg of frame-parameter.
13667 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13669 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13671 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13673 * minibuffer.el (completion--twq-all): Try and preserve each
13674 completion's case choice (bug#14907).
13676 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13678 * net/network-stream.el (open-network-stream): Mention the new
13679 :nogreeting parameter.
13680 (network-stream-open-starttls): Use the :nogreeting parameter
13683 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13685 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13686 more natural than popping.
13688 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13689 (shr-urlify): Highlight under mouse.
13691 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13693 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13695 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13697 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13700 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13701 point-min==1. Fix search string. Fix parentheses missing.
13703 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13704 assume point-min==1. Fix search string. Fix parentheses missing.
13706 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13708 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13711 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13713 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13714 initial frame is minibuffer-less. (Bug#14841)
13716 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13718 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13721 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13722 (tramp-maybe-open-connection): Use it.
13724 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13726 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13727 minimal set of parameters passed when creating a frame, because
13728 the minibuffer status of a frame cannot be changed later.
13730 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13732 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13733 replace-regexp-in-string and inadvertent omissions in previous change.
13734 (todo-filter-items): Ensure only file names are comma-separated in
13735 name of filtered items buffer.
13737 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13739 * desktop.el: Optionally force offscreen frames back onscreen.
13740 (desktop-restoring-reuses-frames): New option.
13741 (desktop--compute-pos, desktop--move-onscreen): New functions.
13742 (desktop--make-frame): Use desktop--move-onscreen.
13744 2013-07-27 Alan Mackenzie <acm@muc.de>
13746 Fontify a Java generic method as a function.
13747 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13750 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13752 * calendar/todo-mode.el: Add command to rename todo files.
13753 (todo-rename-file): New command.
13754 (todo-key-bindings-t): Add key binding for it. Change the
13755 bindings of todo-filter-regexp-items(-multifile) to use `x'
13756 instead of `r', since the latter is better suited to the new
13759 2013-07-27 Alan Mackenzie <acm@muc.de>
13761 Make Java try-with-resources statement parse properly.
13762 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13763 (c-block-stmt-1-2-key): New language constants/variables.
13764 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13765 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13766 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13767 with c-block-stmt-1-2-key.
13769 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13771 * desktop.el (desktop--make-frame): Apply most frame parameters after
13772 creating the frame to force (partially or totally) offscreen frames to
13773 be restored as such.
13775 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13777 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13780 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13782 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13783 `base' arg of backtrace-frame.
13785 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13787 * simple.el (list-processes): Doc fix.
13789 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13791 * desktop.el (desktop--select-frame):
13792 Try harder to reuse existing frames.
13794 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13796 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13797 (edebug-eval): Use backtrace-eval.
13798 (edebug--display, edebug--recursive-edit): Don't let-bind the
13799 edebug-outer-* vars that keep track of variables we locally let-bind.
13800 (edebug-outside-excursion): Don't restore outside values of locally
13802 (edebug--display): Use user-error.
13803 (cl-lexical-debug, cl-debug-env): Remove.
13805 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13807 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13808 are restored to be sure that they are visible before deleting any
13811 2013-07-26 Matthias Meulien <orontee@gmail.com>
13813 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13814 vc-print-root-log. (Bug#14948)
13816 2013-07-26 Richard Stallman <rms@gnu.org>
13818 Add aliases for encrypting mail.
13819 * epa.el (epa-mail-aliases): New option.
13820 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13821 Bind inhibit-read-only so read-only text doesn't ruin everything.
13822 (epa-mail-default-recipients): New subroutine broken out.
13823 Handle epa-mail-aliases.
13825 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13827 Add support for lexical variables to the debugger's `e' command.
13828 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13829 vars, except for debugger-outer-match-data.
13830 (debugger-frame-number): Move check for "on a function call" from
13831 callers into it. Add `skip-base' argument.
13832 (debugger-frame, debugger-frame-clear): Simplify accordingly.
13833 (debugger-env-macro): Only reset the state stored in non-variables,
13834 i.e. current-buffer and match-data.
13835 (debugger-eval-expression): Rewrite using backtrace-eval.
13836 * subr.el (internal--called-interactively-p--get-frame): Remove.
13837 (called-interactively-p):
13838 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13839 `base' arg of backtrace-frame instead.
13841 2013-07-26 Glenn Morris <rgm@gnu.org>
13843 * align.el (align-regexp): Doc fix. (Bug#14857)
13844 (align-region): Explicit error if subexpression missing/does not match.
13846 * simple.el (global-visual-line-mode):
13847 Do not duplicate the mode lighter. (Bug#14858)
13849 2013-07-25 Martin Rudalics <rudalics@gmx.at>
13851 * window.el (display-buffer): In display-buffer bind
13852 split-window-keep-point to t, bug#14829.
13854 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13856 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13857 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13858 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13859 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13860 Change accordingly.
13861 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13862 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13864 2013-07-25 Glenn Morris <rgm@gnu.org>
13866 * dired-x.el (dired-mark-extension): Convert comment to doc string.
13868 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13870 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13871 parameter to modify-frame-parameters if the value has not changed;
13872 this is a workaround for bug#14949.
13873 (desktop--make-frame): On cl-delete-if call, check parameter name,
13874 not full parameter.
13876 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13878 * vc/vc.el (vc-ignore): New function.
13880 * vc/vc-svn.el (vc-svn-ignore): New function.
13882 * vc/vc-hg.el (vc-hg-ignore): New function.
13884 * vc/vc-git.el (vc-git-ignore): New function.
13886 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13887 (vc-dir-ignore): New function.
13889 * vc/vc-cvs.el (vc-cvs-ignore): New function.
13890 (cvs-append-to-ignore): Move here from pcvs.el.
13892 * vc/vc-bzr.el (vc-bzr-ignore): New function.
13894 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13896 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
13898 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13899 (desktop-restore-frames): Warn when deleting an existing frame failed.
13901 2013-07-24 Glenn Morris <rgm@gnu.org>
13903 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13905 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13907 * filenotify.el (file-notify-supported-p):
13908 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13911 * autorevert.el (auto-revert-use-notify)
13912 (auto-revert-notify-add-watch):
13913 * net/tramp.el (tramp-file-name-for-operation):
13914 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13916 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13917 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13918 Remove `file-notify-supported-p' entry.
13920 2013-07-24 Glenn Morris <rgm@gnu.org>
13922 * printing.el: Replace all uses of deleted ps-windows-system,
13923 ps-lp-system, ps-flatten-list with lpr- versions.
13925 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13927 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13928 checked with memq (bug#14935).
13930 * files.el (revert-buffer-function): Use a non-nil default.
13931 (revert-buffer-preserve-modes): Declare var to
13932 provide access to the `preserve-modes' argument.
13933 (revert-buffer): Let-bind it.
13934 (revert-buffer--default): New function, extracted from revert-buffer.
13936 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13938 * lpr.el: Signal print errors more prominently.
13939 (print-region-function): Don't default to nil.
13940 (lpr-print-region): New function, extracted from print-region-1.
13941 Check lpr's return value and signal an error in case of problem.
13942 (print-region-1): Use it.
13943 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13945 (ps-printer-name): Default to nil.
13946 (ps-printer-name-option): Default to lpr-printer-switch.
13947 (ps-print-region-function): Don't default to nil.
13948 (ps-postscript-code-directory): Simplify default.
13949 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13950 (ps-string-list, ps-eval-switch, ps-flatten-list)
13951 (ps-flatten-list-1): Remove.
13952 (ps-multibyte-buffer): Avoid setq.
13953 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13954 (print-region-function, ps-print-region-function): Don't set them here.
13956 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13958 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13959 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13960 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13961 (ido-decorations): Doc fix.
13963 * ansi-color.el: Fix old URL.
13965 2013-07-23 Michael R. Mauger <michael@mauger.com>
13967 * progmodes/sql.el: Version 3.3
13968 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13969 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13970 (sql-interactive-remove-continuation-prompt): Rewrite, use
13971 functions above. Fix continuation prompt and complete output line
13973 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13974 redirected output buffer.
13975 (sql-mode): Restore deleted code (Bug#13591).
13977 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13979 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13981 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13983 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13985 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13986 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13987 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13989 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13991 * desktop.el (desktop-clear): Simplify; remove useless checks
13992 against invalid buffer names.
13993 (desktop-list*): Use cl-list*.
13994 (desktop-buffer-info, desktop-create-buffer): Simplify.
13996 2013-07-23 Leo Liu <sdl.web@gmail.com>
13998 * bookmark.el (bookmark-make-record): Restore NAME as a default
14001 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
14003 * emacs-lisp/autoload.el (autoload--setup-output): New function,
14004 extracted from autoload--insert-text.
14005 (autoload--insert-text): Remove.
14006 (autoload--print-cookie-text): New function, extracted from
14007 autoload--insert-cookie-text.
14008 (autoload--insert-cookie-text): Remove.
14009 (autoload-generate-file-autoloads): Adjust calls accordingly.
14011 * winner.el (winner-hook-installed-p): Remove.
14012 (winner-mode): Simplify accordingly.
14014 * subr.el (add-to-list): Fix compiler-macro when `append' is
14015 not constant. Don't use `cl-member' for the base case.
14017 * progmodes/subword.el: Fix boundary case (bug#13758).
14018 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
14020 (subword-backward-regexp): Make it a constant.
14021 (subword-forward-internal): Don't treat a trailing capital as the
14022 beginning of a word.
14024 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
14026 * emacs-lisp/package.el (package-menu-mode): Don't modify the
14027 global value of tabulated-list-revert-hook (bug#14930).
14029 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
14031 * desktop.el: Require 'cl-lib.
14032 (desktop-before-saving-frames-functions): New hook.
14033 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
14034 for frames being saved. Rename from desktop--save-minibuffer-frames.
14035 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
14036 Do not save frames with non-nil `desktop-dont-save' parameter.
14037 Filter out deleted frames.
14038 (desktop--find-frame): Use cl-find-if.
14039 (desktop--select-frame): Use cl-(first|second|third) to access values
14041 (desktop--make-frame): Use cl-delete-if.
14042 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
14043 (desktop-restore-frames): Use cl-(first|second|third) to access values
14044 of desktop-mini. Look for visible frame at the end, not while
14047 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
14048 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
14049 Use string-match-p, looking-at-p (bug#14927).
14051 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
14053 * desktop.el (desktop-saved-frame-states):
14054 Rename from desktop--saved-states; all users changed.
14055 (desktop-save-frames): Rename from desktop--save-frames.
14056 Do not save state to desktop file.
14057 (desktop-save): Save desktop-saved-frame-states to desktop file
14059 (desktop-restoring-frames-p): New function.
14060 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
14061 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
14062 buffer-lists when restoring frames. Suggested by Martin Rudalics.
14064 * desktop.el: Correctly restore iconified frames.
14065 (desktop--filter-iconified-position): New function.
14066 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
14068 2013-07-20 Glenn Morris <rgm@gnu.org>
14070 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
14071 Let `message' do the formatting.
14072 (def-gdb-preempt-display-buffer): Add explicit format.
14074 * image-dired.el (image-dired-track-original-file):
14075 Use with-current-buffer.
14076 (image-dired-track-thumbnail): Use with-current-buffer.
14077 Avoid changing point of wrong window.
14079 * image-dired.el (image-dired-track-original-file):
14080 Avoid changing point of wrong window. (Bug#14909)
14082 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
14084 * progmodes/gdb-mi.el (gdb-done-or-error):
14085 Guard against "%" in gdb output. (Bug#14127)
14087 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
14089 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
14092 * international/mule.el (coding-system-iso-2022-flags): Fix last
14095 2013-07-20 Kenichi Handa <handa@gnu.org>
14097 * international/mule.el (coding-system-iso-2022-flags):
14098 Add `8-bit-level-4'. (Bug#8522)
14100 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14102 * net/shr.el (shr-mouse-browse-url): New command and keystroke
14105 * net/eww.el (eww-process-text-input): Allow inputting when the
14106 point is at the start of the line, as the properties aren't
14109 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
14112 2013-07-19 Richard Stallman <rms@gnu.org>
14114 * epa.el (epa-popup-info-window): Doc fix.
14116 * subr.el (split-string): New arg TRIM.
14118 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
14120 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
14121 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
14123 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
14125 * filenotify.el (file-notify--library): Rename from
14126 `file-notify-support'. Do not autoload. Adapt all uses.
14127 (file-notify-supported-p): New defun.
14129 * autorevert.el (auto-revert-use-notify):
14130 Use `file-notify-supported-p' instead of `file-notify-support'.
14132 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
14134 * net/tramp.el (tramp-file-name-for-operation):
14135 Add `file-notify-supported-p'.
14137 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14139 (tramp-sh-file-name-handler-alist): Add it as handler for
14140 `file-notify-supported-p '.
14142 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14143 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14144 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14145 Add `ignore' as handler for `file-notify-*' functions.
14147 2013-07-17 Eli Zaretskii <eliz@gnu.org>
14149 * simple.el (line-move-partial, line-move): Don't start vscroll or
14150 scroll-up if the current line is not taller than the window.
14153 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
14155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
14156 highlight question marks in the method names as strings.
14157 (ruby-block-beg-keywords): Inline.
14158 (ruby-font-lock-keyword-beg-re): Extract from
14159 `ruby-font-lock-keywords'.
14161 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
14163 * frame.el (blink-cursor-blinks): New defcustom.
14164 (blink-cursor-blinks-done): New defvar.
14165 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
14166 (blink-cursor-timer-function): Check if number of blinks has been
14168 (blink-cursor-suspend, blink-cursor-check): New defuns.
14170 2013-07-15 Glenn Morris <rgm@gnu.org>
14172 * edmacro.el (edmacro-format-keys): Fix previous change.
14174 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
14176 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
14177 The hack didn't work outside English locales anyway.
14179 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
14181 * simple.el (define-alternatives): Rename from alternatives-define,
14182 per RMS' suggestion.
14184 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
14186 * desktop.el (desktop-restore-frames): Change default to t.
14187 (desktop-restore-in-current-display): Now offer more options.
14188 (desktop-restoring-reuses-frames): New customization option.
14189 (desktop--saved-states): Doc fix.
14190 (desktop-filter-parameters-alist): New variable, renamed and expanded
14191 from desktop--excluded-frame-parameters.
14192 (desktop--target-display): New variable.
14193 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
14194 (desktop--filter-tty*, desktop--filter-*-color)
14195 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
14196 (desktop--filter-save-desktop-parm)
14197 (desktop-restore-in-original-display-p): New functions.
14198 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
14199 (desktop--save-minibuffer-frames): New function, inspired by a similar
14200 function from Martin Rudalics.
14201 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
14202 (desktop--restore-in-this-display-p): Remove.
14203 (desktop--find-frame): Rename from desktop--find-frame-in-display
14204 and add predicate argument.
14205 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
14206 (desktop--reuse-list): New variable.
14207 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
14209 (desktop--restore-frames): Add support for "minibuffer-special" frames.
14211 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
14213 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
14215 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
14217 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14218 Highlight conversion methods on Kernel.
14220 2013-07-13 Alan Mackenzie <acm@muc.de>
14222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
14223 and comment it out. This out-commenting enables certain C++
14224 declarations to be parsed correctly.
14226 2013-07-13 Eli Zaretskii <eliz@gnu.org>
14228 * international/mule.el (define-coding-system): Doc fix.
14230 * simple.el (default-font-height): Don't call font-info if the
14231 frame's default font didn't change since the frame was created.
14234 2013-07-13 Leo Liu <sdl.web@gmail.com>
14236 * ido.el (ido-read-file-name): Guard against non-symbol value.
14238 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14240 * progmodes/python.el (python-imenu--build-tree): Fix corner case
14243 2013-07-13 Leo Liu <sdl.web@gmail.com>
14245 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
14246 ido-set-matches call. (Bug#6852)
14248 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
14250 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
14251 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
14253 (ruby-font-lock-keywords): Distinguish calls to functions with
14254 module-like names from module references. Highlight character
14257 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
14259 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
14260 (gdb-send): Handle continued commands. (Bug#14847)
14262 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14264 * desktop.el (desktop--v2s): Remove unused local variable.
14265 (desktop-save-buffer): Make defvar-local; adjust docstring.
14266 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
14267 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
14269 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
14271 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
14273 2013-07-12 Eli Zaretskii <eliz@gnu.org>
14275 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
14278 2013-07-12 Glenn Morris <rgm@gnu.org>
14280 * doc-view.el: Require cl-lib at runtime too.
14281 (doc-view-remove-if): Remove.
14282 (doc-view-search-next-match, doc-view-search-previous-match):
14285 * edmacro.el: Require cl-lib at runtime too.
14286 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
14287 (edmacro-mismatch, edmacro-subseq): Remove.
14289 * shadowfile.el: Require cl-lib.
14290 (shadow-remove-if): Remove.
14291 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
14294 * wid-edit.el: Require cl-lib.
14295 (widget-choose): Use cl-remove-if.
14296 (widget-remove-if): Remove.
14298 * progmodes/ebrowse.el: Require cl-lib at runtime too.
14299 (ebrowse-delete-if-not): Remove.
14300 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
14301 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
14302 Use cl-delete-if-not.
14304 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14306 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
14307 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
14309 2013-07-12 Leo Liu <sdl.web@gmail.com>
14311 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
14313 2013-07-11 Glenn Morris <rgm@gnu.org>
14315 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
14316 (edebug-gensym-index, edebug-gensym):
14317 Remove reimplementation of cl-gensym.
14318 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
14320 * thumbs.el: Require cl-lib at run-time too.
14321 (thumbs-gensym-counter, thumbs-gensym):
14322 Remove reimplementation of cl-gensym.
14323 (thumbs-temp-file): Use cl-gensym.
14325 * emacs-lisp/ert.el: Require cl-lib at runtime too.
14326 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
14327 (ert--intersection, ert--set-difference, ert--set-difference-eq)
14328 (ert--union, ert--gensym-counter, ert--gensym-counter)
14329 (ert--coerce-to-vector, ert--remove*, ert--string-position)
14330 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
14331 (ert-make-test-unbound, ert--expand-should-1)
14332 (ert--expand-should, ert--should-error-handle-error)
14333 (should-error, ert--explain-equal-rec)
14334 (ert--plist-difference-explanation, ert-select-tests)
14335 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
14336 Use cl-lib functions rather than reimplementations.
14338 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
14340 * net/tramp.el (tramp-methods): Extend docstring.
14341 (tramp-connection-timeout): New defcustom.
14342 (tramp-error-with-buffer): Reset timestamp only when appropriate.
14343 (with-tramp-progress-reporter): Simplify.
14344 (tramp-process-actions): Improve messages.
14346 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14347 * net/tramp-sh.el (tramp-maybe-open-connection):
14348 Use `tramp-connection-timeout'.
14349 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
14352 2013-07-11 Leo Liu <sdl.web@gmail.com>
14354 * ido.el (ido-read-file-name): Conform to the requirements of
14355 read-file-name. (Bug#11861)
14356 (ido-read-directory-name): Conform to the requirements of
14357 read-directory-name.
14359 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
14361 * subr.el (delay-warning): New function.
14363 2013-07-10 Eli Zaretskii <eliz@gnu.org>
14365 * simple.el (default-line-height): New function.
14366 (line-move-partial, line-move): Use it instead of computing the
14367 line height inline.
14368 (line-move-partial): Always compute ROWH. If the last line is
14369 partially-visible, but its text is completely visible, allow
14370 cursor to enter such a partially-visible line.
14372 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
14374 Improve error messages. (Bug#14808)
14376 * net/tramp.el (tramp-current-connection): New defvar, moved from
14378 (tramp-message-show-progress-reporter-message): Remove, not
14380 (tramp-error-with-buffer): Show message in minibuffer.
14381 Discard input before waiting. Reset connection timestamp.
14382 (with-tramp-progress-reporter): Improve messages.
14383 (tramp-process-actions): Use progress reporter. Delete process in
14384 case of error. Improve messages.
14386 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
14387 Call `tramp-error-with-buffer' with vector and buffer.
14388 (tramp-current-connection): Remove.
14389 (tramp-maybe-open-connection): The car of
14390 `tramp-current-connection' are the first 3 slots of the vector.
14392 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
14394 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
14395 inside continued strings.
14397 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
14399 Timestamp fixes for undo (Bug#14824).
14400 * files.el (clear-visited-file-modtime): Move here from fileio.c.
14402 2013-07-10 Leo Liu <sdl.web@gmail.com>
14404 * files.el (require-final-newline): Allow safe local value.
14407 2013-07-09 Leo Liu <sdl.web@gmail.com>
14409 * ido.el (ido-read-directory-name): Handle fallback.
14410 (ido-read-file-name): Update DIR to ido-current-directory.
14412 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
14414 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
14417 "autoload". Remove "warn lower camel case" section, previously
14418 commented out. Highlight negation char. Do not highlight the
14419 target in singleton method definitions.
14421 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14423 * faces.el (tty-setup-hook): Declare the hook.
14425 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
14426 and detect when a guard/pred depends on local vars (bug#14773).
14427 (pcase--u1): Adjust caller.
14429 2013-07-08 Eli Zaretskii <eliz@gnu.org>
14431 * simple.el (line-move-partial, line-move): Account for
14433 (line-move-partial): Avoid setting vscroll when the last
14434 partially-visible line in window is of default height.
14436 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14438 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
14441 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
14443 * subr.el (read-quoted-char): Remove unused local variable `char'.
14445 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
14447 * vc/ediff.el (ediff-version): Version update.
14448 (ediff-files-command, ediff3-files-command, ediff-merge-command)
14449 (ediff-merge-with-ancestor-command, ediff-directories-command)
14450 (ediff-directories3-command, ediff-merge-directories-command)
14451 (ediff-merge-directories-with-ancestor-command): New functions.
14452 All are command-line interfaces to ediff: to facilitate calling
14453 Emacs with the appropriate ediff functions invoked.
14455 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
14457 (viper-save-kill-buffer): Check if buffer is modified.
14459 * emulation/viper.el (viper-version): Version update.
14460 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14462 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
14464 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14465 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14466 (viper-intercept-ESC-key): Simplify.
14467 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14469 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14470 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14471 (viper-setup-ESC-to-escape): New functions.
14472 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14473 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
14475 2013-07-07 Eli Zaretskii <eliz@gnu.org>
14477 * simple.el (default-font-height, window-screen-lines):
14479 (line-move, line-move-partial): Use them instead of
14480 frame-char-height and window-text-height. This makes scrolling
14481 text smoother when the buffer's default face uses a font that is
14482 different from the frame's default font.
14484 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
14486 * files.el (write-file): Do not display confirm dialog for NS,
14487 it does its own dialog, which can't be canceled (Bug#14578).
14489 2013-07-06 Eli Zaretskii <eliz@gnu.org>
14491 * simple.el (line-move-partial): Adjust the row returned by
14492 posn-at-point for the current window-vscroll. (Bug#14567)
14494 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
14496 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14497 (tramp-sh-file-inotifywait-process-filter): Handle file names with
14500 2013-07-06 Martin Rudalics <rudalics@gmx.at>
14502 * window.el (window-state-put-stale-windows): New variable.
14503 (window--state-put-2): Save list of windows without matching buffer.
14504 (window-state-put): Remove "bufferless" windows if possible.
14506 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14508 * simple.el (alternatives-define): Remove leftover :group keyword.
14511 2013-07-06 Leo Liu <sdl.web@gmail.com>
14513 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14514 (ido-enable-virtual-buffers): New variable.
14515 (ido-buffer-internal, ido-toggle-virtual-buffers)
14516 (ido-make-buffer-list): Use it.
14517 (ido-exhibit): Support turning on and off virtual buffers
14520 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14522 * simple.el (alternatives-define): New macro.
14524 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
14526 * subr.el (read-quoted-char): Use read-key.
14527 (sit-for): Let read-event decode tty input (bug#14782).
14529 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
14531 * calendar/todo-mode.el: Add handling of file deletion, both by
14532 mode command and externally. Fix various related bugs.
14533 Clarify Commentary and improve some documentation strings and code.
14534 (todo-delete-file): New command.
14535 (todo-check-file): New function.
14536 (todo-show): Handle external deletion of the file we're trying to
14537 show (bug#14688). Replace called-interactively-p by an optional
14538 prefix argument to avoid problematic interaction with catch form
14539 when byte compiled (bug#14702).
14540 (todo-quit): Handle external deletion of the archive's todo file.
14541 Make sure the buffer that was visiting the archive file is still
14542 live before trying to bury it.
14543 (todo-category-completions): Handle external deletion of any
14544 category completion files.
14545 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14546 of todo files, in case of external deletion.
14547 (todo-add-file): Replace unnecessary setq by let-binding.
14548 (todo-find-archive): Check whether there are any archives.
14549 Replace unnecessary setq by let-binding.
14550 (todo-archive-done-item): Use find-file-noselect to get the
14551 archive buffer whether or not the archive already exists.
14552 Remove superfluous code. Use file size instead of buffer-file-name to
14553 check if the archive is new; if it is, update list of archives.
14554 (todo-default-todo-file): Allow nil to be a valid value for when
14555 there are no todo files.
14556 (todo-reevaluate-default-file-defcustom): Use corrected definition
14557 of todo-default-todo-file.
14558 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14559 (todo-delete-category, todo-show-categories-table)
14560 (todo-category-number): Clarify comment.
14561 (todo-filter-items): Clarify documentation string.
14562 (todo-show-current-file, todo-display-as-todo-file)
14563 (todo-reset-and-enable-done-separator): Tweak documentation string.
14564 (todo-done-separator): Make separator length window-width, since
14565 bug#2749 is now fixed.
14567 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
14569 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14570 Support both "gvfs-monitor-dir" and "inotifywait".
14571 (tramp-sh-file-inotifywait-process-filter): Rename from
14572 `tramp-sh-file-notify-process-filter'.
14573 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14574 (tramp-get-remote-gvfs-monitor-dir): New defuns.
14576 2013-07-05 Leo Liu <sdl.web@gmail.com>
14578 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14580 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14582 * frame.el (display-pixel-height, display-pixel-width)
14583 (display-mm-height, display-mm-width): Mention behavior on
14584 multi-monitor setups in docstrings.
14585 (w32-display-monitor-attributes-list): Declare function.
14586 (display-monitor-attributes-list): Use it.
14588 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
14590 * filenotify.el: New package.
14592 * autorevert.el (top): Require filenotify.el.
14593 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
14595 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14596 (auto-revert-notify-handler): Use `file-notify-*' functions.
14598 * subr.el (file-notify-handle-event): Move function to filenotify.el.
14600 * net/tramp.el (tramp-file-name-for-operation):
14601 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14604 for `file-notify-add-watch' and `file-notify-rm-watch'.
14605 (tramp-process-sentinel): Improve trace.
14606 (tramp-sh-handle-file-notify-add-watch)
14607 (tramp-sh-file-notify-process-filter)
14608 (tramp-sh-handle-file-notify-rm-watch)
14609 (tramp-get-remote-inotifywait): New defuns.
14611 2013-07-03 Juri Linkov <juri@jurta.org>
14613 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14614 call of `occur-read-primary-args' to interactive spec.
14616 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14617 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14619 2013-07-03 Matthias Meulien <orontee@gmail.com>
14621 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14622 `Buffer-menu-multi-occur'. Add it to the menu.
14623 (Buffer-menu-mode): Document it in docstring.
14624 (Buffer-menu-multi-occur): New command. (Bug#14673)
14626 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14629 keywords and built-ins.
14631 2013-07-03 Glenn Morris <rgm@gnu.org>
14633 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14635 Make info-xref checks case-sensitive by default
14636 * info.el (Info-find-node, Info-find-in-tag-table)
14637 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14638 Add option for exact case matching of nodes.
14639 * info-xref.el (info-xref): New custom group.
14640 (info-xref-case-fold): New option.
14641 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14643 2013-07-03 Leo Liu <sdl.web@gmail.com>
14645 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14647 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14649 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14650 middle of block statement initially, lower the depth. Remove
14651 FIXME comment, not longer valid. Remove middle of block statement
14652 detection, no need to do that anymore since we've been using
14653 `ruby-parse-region' here.
14655 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14657 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14659 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14661 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14663 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14665 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14666 (desktop-restore-in-current-display): New customization option.
14667 (desktop--excluded-frame-parameters): Add `font'.
14668 (desktop--save-frames): Rename from desktop--save-windows.
14669 (desktop--restore-in-this-display-p): New function.
14670 (desktop--make-full-frame): Remove unwanted width/height from
14671 full(width|height) frames.
14672 (desktop--restore-frames): Rename from desktop--restore-windows.
14673 Obey desktop-restore-current-display. Do not delete old frames or
14674 select a new frame unless we were able to restore at least one frame.
14676 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14678 * files.el (find-file-noselect): Simplify conditional expression.
14680 * textmodes/remember.el (remember-append-to-file):
14681 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14683 Add `remember-notes' function to store random notes across Emacs
14685 * textmodes/remember.el (remember-data-file): Add :set callback to
14686 affect notes buffer (if any).
14687 (remember-notes): New command.
14688 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14689 New defcustoms for the `remember-notes' function.
14690 (remember-notes-save-and-bury-buffer): New command.
14691 (remember-notes-mode-map): New variable.
14692 (remember-mode): New minor mode.
14693 (remember-notes--kill-buffer-query): New function.
14694 * startup.el (initial-buffer-choice): Add notes to custom type.
14696 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14698 * bindings.el (right-char, left-char): Don't call sit-for, this is
14699 no longer needed. Use arithmetic comparison only for numerical
14702 * international/mule-cmds.el (select-safe-coding-system):
14703 Handle the case of FROM being a string correctly. (Bug#14755)
14705 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14707 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14708 progression on degenerate tables.
14709 (shr-rescale-image): ImageMagick animated images currently don't work.
14711 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14713 Some fixes and improvements for desktop frame restoration.
14714 It is still experimental and disabled by default.
14715 * desktop.el (desktop--save-windows): Put the selected frame at
14716 the head of the list.
14717 (desktop--make-full-frame): New function.
14718 (desktop--restore-windows): Try to re-select the frame that was
14719 selected upon saving. Do not abort if some frames fail to restore,
14720 just show an error message and continue. Set up maximized frames
14721 so they have default non-maximized dimensions.
14723 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14725 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14726 Don't start heredoc inside a string or comment.
14728 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14730 * bindings.el (visual-order-cursor-movement): New defcustom.
14731 (right-char, left-char): Provide visual-order cursor motion by
14732 calling move-point-visually. Update the doc strings.
14734 2013-06-28 Kenichi Handa <handa@gnu.org>
14736 * international/mule.el (define-coding-system): New coding system
14737 properties :inhibit-null-byte-detection,
14738 :inhibit-iso-escape-detection, and :prefer-utf-8.
14739 (set-buffer-file-coding-system): If :charset-list property of
14740 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14741 appropriate for setting.
14743 * international/mule-cmds.el (select-safe-coding-system):
14744 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14745 multibyte characters, return utf-8 (or one of its siblings).
14747 * international/mule-conf.el (prefer-utf-8): New coding system.
14748 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14751 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14753 * net/shr.el (shr-render-region): New function.
14755 * net/eww.el: Autoload `eww-browse-url'.
14757 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14760 Adapt to `package-desc-version' being a list.
14761 Use `package--ac-desc-version' to retrieve version from a package
14764 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14766 New experimental feature to save&restore window and frame setup.
14767 * desktop.el (desktop-save-windows): New defcustom.
14768 (desktop--saved-states): New var.
14769 (desktop--excluded-frame-parameters): New defconst.
14770 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14771 (desktop--restore-windows, desktop--save-windows): New functions.
14772 (desktop-save): Call `desktop--save-windows'.
14773 (desktop-read): Call `desktop--restore-windows'.
14775 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14777 * net/shr.el (add-face-text-property): Remove compat definition.
14779 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14781 * info.el (Info-try-follow-nearest-node): Move search for footnote
14782 above search for node name to prevent missing a footnote (bug#14717).
14784 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14786 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14788 2013-06-27 Leo Liu <sdl.web@gmail.com>
14790 * net/eww.el (eww-read-bookmarks): Check file size.
14792 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14794 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14795 advice--pending if newdef is nil or an autoload (bug#13820).
14796 (advice-mapc): New function.
14798 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14800 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14802 (eww-mode-map): Add a menu bar.
14803 (eww-add-bookmark): New command.
14804 (eww-bookmark-mode): New mode and commands.
14805 (eww-add-bookmark): Remove newlines from the title.
14806 (eww-bookmark-browse): Don't bug out if it's the only window.
14808 2013-06-26 Glenn Morris <rgm@gnu.org>
14810 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14811 (hfy-size): Handle ttys. (Bug#14668)
14813 * info-xref.el: Update for Texinfo 5 change in *note format.
14814 (info-xref-node-re, info-xref-note-re): New constants.
14815 (info-xref-check-buffer): Use info-xref-note-re.
14817 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14819 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14821 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14822 nil terminate the loop (bug#14718).
14824 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14826 * net/eww.el: Rework history traversal. When going forward/back,
14827 put these actions into the history, too, so that they can be
14829 (eww-render): Move the history reset to the correct buffer.
14831 2013-06-25 Juri Linkov <juri@jurta.org>
14833 * files-x.el (modify-dir-local-variable): Change the header comment
14834 in the file with directory local variables. (Bug#14692)
14836 * files-x.el (read-file-local-variable-value): Add `default'.
14839 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14841 * net/eww.el (eww-make-unique-file-name): Create a unique file
14842 name before saving to entering `y' accidentally asynchronously.
14844 2013-06-25 Ivan Kanis <ivan@kanis.fr>
14846 * net/eww.el (eww-download): New command and keystroke.
14848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14850 * net/eww.el (eww-copy-page-url): Change name of command.
14852 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14853 be more consistent with Info and dired.
14855 * net/eww.el (eww-mode-map): Ditto.
14857 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14859 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
14860 packages from archives.
14861 (package-archive-contents): Change format; include obsolete packages.
14862 (package-desc): Use `dir' to mark builtin packages.
14863 (package--from-builtin): Set the `dir' field to `builtin'.
14864 (generated-autoload-file, version-control): Declare.
14865 (package-compute-transaction): Change first arg and return value to be
14866 lists of package-descs. Adjust to new package-archive-contents format.
14867 (package--add-to-archive-contents): Adjust to new
14868 package-archive-contents format.
14869 (package-download-transaction): Arg is now a list of package-descs.
14870 (package-install): If `pkg' is a package name, pass it as
14871 a requirement, so it is subject to the usual (e.g. disabled) checks.
14872 (describe-package): Accept package-desc as well.
14873 (describe-package-1): Describe a specific package-desc. Add links to
14874 other package-descs for the same package name.
14875 (package-menu-describe-package): Pass the actual package-desc.
14876 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14878 (package-desc-status): New function.
14879 (package-menu--refresh): New function, extracted
14880 from package-menu--generate.
14881 (package-menu--generate): Use it.
14882 (package-delete): Update package-alist.
14883 (package-menu-execute): Don't call package-initialize.
14885 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14886 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14887 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14888 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14889 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14890 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14892 2013-06-25 Martin Rudalics <rudalics@gmx.at>
14894 * window.el (window--state-get-1): Workaround for bug#14527.
14895 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14897 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14899 * net/eww.el (eww-back-url): Implement the history by stashing all
14900 the data into a list.
14901 (eww-forward-url): Allow going forward in the history, too.
14903 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14905 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14906 for values and use read--expression for expressions (bug#14710).
14907 (read-file-local-variable): Avoid setq.
14908 (read-file-local-variable-mode): Use minor-mode-list.
14910 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14912 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14915 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14917 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14918 Update imenu-support when dialect changes.
14920 2013-06-25 Leo Liu <sdl.web@gmail.com>
14922 * ido.el (ido-read-internal): Allow forward slash on windows.
14924 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14926 * net/eww.el (eww): Start of strings is \\`, not ^.
14928 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14930 * net/shr.el (shr-browse-url): Fix interactive spec.
14932 * net/eww.el (eww): Add a trailing slash to domain names.
14934 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14936 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14938 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14940 * net/shr.el (shr-browse-url): Use an external browser if given a
14943 * net/eww.el (eww-external-browser): Move to shr.
14945 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14947 * net/eww.el (eww): Work more correctly for file: URLs.
14948 (eww-detect-charset): Allow quoted charsets.
14949 (eww-yank-page-url): New command and keystroke.
14951 2013-06-24 Daiki Ueno <ueno@gnu.org>
14953 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14954 file name of gpg executable.
14955 (epg-context-program): New function.
14956 (epg-context-home-directory): New function.
14957 (epg-context-set-program): New function.
14958 (epg-context-set-home-directory): New function.
14959 (epg--start): Use `epg-context-program' instead of
14961 (epg--list-keys-1): Likewise.
14963 2013-06-24 Leo Liu <sdl.web@gmail.com>
14965 * ido.el (ido-read-internal): Fix bug#14620.
14967 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14969 * faces.el (face-documentation): Simplify.
14970 (read-face-attribute, tty-find-type, x-resolve-font-name):
14971 Use `string-match-p'.
14972 (list-faces-display): Use `string-match-p'. Simplify.
14973 (face-spec-recalc): Check face to avoid face alias loops.
14974 (read-color): Use `string-match-p' and non-capturing parenthesis.
14976 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14978 * net/shr.el (shr-rescale-image): Use the new
14979 :max-width/:max-height functionality.
14981 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14983 * net/eww.el (eww-search-prefix): New variable.
14985 (eww-external-browser): New variable.
14986 (eww-mode-map): New keystroke.
14987 (eww-browse-with-external-browser): New command.
14989 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14991 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14993 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14994 Don't skip aligning the next header field when padding is 0;
14995 otherwise, field width is not respected unless the title is as
14998 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
15000 * emacs-lisp/package.el (package-el-version): Remove.
15001 (package-process-define-package): Fix inf-loop.
15002 (package-install): Allow symbols as arguments again.
15004 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
15006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
15007 add some more keyword-like methods.
15008 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
15010 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
15012 * bs.el (bs-buffer-show-mark): Make defvar-local.
15013 (bs-mode): Use setq-local.
15015 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
15016 (emacs-lock--try-unlocking): Make defvar-local.
15018 2013-06-22 Glenn Morris <rgm@gnu.org>
15020 * play/cookie1.el (cookie-apropos): Minor simplification.
15022 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
15024 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
15026 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
15027 `regexp-opt', it breaks the build during dumping.
15029 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
15031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
15032 Highlight keyword-like methods on Kernel and Module with
15033 font-lock-builtin-face.
15034 (auto-mode-alist): Consolidate different entries into one regexp
15035 and add more *file-s.
15037 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
15039 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
15041 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
15042 (diary-entry): Use it in the action of this button type instead of
15045 * calendar/todo-mode.el: New version.
15046 (todo-add-category): Append new category to end of file and give
15047 it the highest number, instead of putting it at the beginning and
15048 giving it 0. Incorporate noninteractive functionality.
15049 (todo-forward-category): Adapt to 1-based category numbering.
15050 Allow skipping over archived categories.
15051 (todo-backward-category): Derive from todo-forward-category.
15052 (todo-backward-item, todo-forward-item): Make noninteractive and
15053 delegate interactive part to new commands. Make sensitive to done items.
15054 (todo-categories): Make value an alist of category names and
15055 vectors of item counts.
15056 (todo-category-beg): Make a defconst.
15057 (todo-category-number): Use 1 instead of 0 as initial value.
15058 (todo-category-select): Make sensitive to overlays, optional item
15059 highlighting and done items.
15060 (todo-delete-item): Make sensitive to overlays and marked and done items.
15061 (todo-edit-item): Make sensitive to overlays and editing of
15062 date/time header optional. Add format checks.
15063 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
15064 no-op if point is not on an item. Advertise using todo-edit-quit.
15065 (todo-edit-mode): Make sensitive to new format, font-locking, and
15066 multiple todo files.
15067 (todo-insert-item, todo-insert-item-here): Derive from
15068 todo-basic-insert-item and extend functionality.
15069 (todo-item-end, todo-item-start): Make sensitive to done items.
15070 (todo-item-string): Don't return text properties. Restore point.
15071 (todo-jump-to-category): Make sensitive to multiple todo files and
15072 todo archives. Use extended category completion.
15073 (todo-lower-item, todo-raise-item): Rename to *-priority and
15074 derive from todo-set-item-priority.
15075 (todo-mode): Derive from special-mode. Make sensitive to new
15076 format, font-locking and multiple todo files. Make read-only.
15077 (todo-mode-map): Don't suppress digit keys, so they can supply
15078 prefix arguments. Add many new key bindings.
15079 (todo-prefix): Insert as an overlay instead of file text.
15080 Change semantics from diary date expression to purely visual mark.
15081 (todo-print): Rename to todo-print-buffer. Make buffer display
15082 features printable. Remove option to restrict number of items
15083 printed. Add option to print to file.
15084 (todo-print-function): Rename to todo-print-buffer-function.
15085 (todo-quit): Extend to handle exiting new todo modes.
15086 (todo-remove-item): Make sensitive to overlays.
15087 (todo-save): Extend to buffers of filtered items.
15088 (todo-show): Make sensitive to done items, multiple todo files and
15089 new todo modes. Offer to convert legacy todo file before creating
15090 first new todo file.
15091 (todo-show-priorities): Rename to todo-top-priorities.
15092 Change semantics of value 0.
15093 (todo-top-priorities): Rename to todo-filter-top-priorities,
15094 derive from todo-filter-items and extend functionality.
15095 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
15096 and extend functionality to other types of filtered items.
15097 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
15098 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
15099 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
15100 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
15101 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
15102 (todo-edit-mode-hook, todo-entry-prefix-function)
15103 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
15104 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
15105 (todo-initials, todo-insert-threshold, todo-item-string-start)
15106 (todo-line-string, todo-menu, todo-mode-hook)
15107 (todo-more-important-p, todo-previous-answer, todo-previous-line)
15108 (todo-print-priorities, todo-remove-separator)
15109 (todo-save-top-priorities-too, todo-string-count-lines)
15110 (todo-string-multiline-p, todo-time-string-format)
15111 (todo-tmp-buffer-name): Remove.
15112 (todo-add-file, todo-archive-done-item, todo-choose-archive)
15113 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
15114 (todo-edit-category-diary-inclusion)
15115 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
15116 (todo-edit-file, todo-edit-item-date-day)
15117 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
15118 (todo-edit-item-date-month, todo-edit-item-date-to-today)
15119 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
15120 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
15121 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
15122 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
15123 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
15124 (todo-filter-top-priorities-multifile, todo-find-archive)
15125 (todo-find-filtered-items-file, todo-go-to-source-item)
15126 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
15127 (todo-jump-to-archive-category, todo-lower-category)
15128 (todo-mark-category, todo-marked-item-p, todo-merge-category)
15129 (todo-move-category, todo-move-item, todo-next-button)
15130 (todo-next-item, todo-padded-string, todo-powerset)
15131 (todo-previous-button, todo-previous-item)
15132 (todo-print-buffer-to-file, todo-raise-category)
15133 (todo-rename-category, todo-repair-categories-sexp, todo-search)
15134 (todo-set-category-number, todo-set-item-priority)
15135 (todo-set-top-priorities-in-category)
15136 (todo-set-top-priorities-in-file, todo-show-categories-table)
15137 (todo-sort-categories-alphabetically-or-numerically)
15138 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
15139 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
15140 (todo-toggle-item-header, todo-toggle-item-highlighting)
15141 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
15142 (todo-toggle-view-done-items, todo-toggle-view-done-only)
15143 (todo-unarchive-items, todo-unmark-category): New commands.
15144 (todo-absolute-file-name, todo-add-to-buffer-list)
15145 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
15146 (todo-basic-insert-item, todo-category-completions)
15147 (todo-category-number, todo-category-string-matcher-1)
15148 (todo-category-string-matcher-2, todo-check-filtered-items-file)
15149 (todo-check-format, todo-clear-matches)
15150 (todo-comment-string-matcher, todo-convert-legacy-date-time)
15151 (todo-current-category, todo-date-string-matcher)
15152 (todo-define-insertion-command, todo-diary-expired-matcher)
15153 (todo-diary-goto-entry, todo-diary-item-p)
15154 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
15155 (todo-display-categories, todo-display-sorted, todo-done-item-p)
15156 (todo-done-item-section-p, todo-done-separator)
15157 (todo-done-string-matcher, todo-files, todo-filter-items)
15158 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
15159 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
15160 (todo-insert-category-line, todo-insert-item-from-calendar)
15161 (todo-insert-sort-button, todo-insert-with-overlays)
15162 (todo-insertion-command-name, todo-insertion-key-bindings)
15163 (todo-label-to-key, todo-longest-category-name-length)
15164 (todo-make-categories-list, todo-mode-external-set)
15165 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
15166 (todo-modes-set-3, todo-multiple-filter-files)
15167 (todo-nondiary-marker-matcher, todo-prefix-overlays)
15168 (todo-read-category, todo-read-date, todo-read-dayname)
15169 (todo-read-file-name, todo-read-time)
15170 (todo-reevaluate-category-completions-files-defcustom)
15171 (todo-reevaluate-default-file-defcustom)
15172 (todo-reevaluate-filelist-defcustoms)
15173 (todo-reevaluate-filter-files-defcustom)
15174 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
15175 (todo-reset-done-separator, todo-reset-done-separator-string)
15176 (todo-reset-done-string, todo-reset-global-current-todo-file)
15177 (todo-reset-highlight-item, todo-reset-nondiary-marker)
15178 (todo-reset-prefix, todo-set-categories)
15179 (todo-set-date-from-calendar, todo-set-show-current-file)
15180 (todo-set-top-priorities, todo-short-file-name)
15181 (todo-show-current-file, todo-sort, todo-time-string-matcher)
15182 (todo-total-item-counts, todo-update-buffer-list)
15183 (todo-update-categories-display, todo-update-categories-sexp)
15184 (todo-update-count, todo-validate-name, todo-y-or-n-p):
15186 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
15188 (todo-categories, todo-display, todo-edit, todo-faces)
15189 (todo-filtered): New defgroups.
15190 (todo-archived-only, todo-button, todo-category-string, todo-date)
15191 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
15192 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
15193 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
15194 (todo-add-item-if-new-category, todo-always-add-time-string)
15195 (todo-categories-align, todo-categories-archived-label)
15196 (todo-categories-category-label, todo-categories-diary-label)
15197 (todo-categories-done-label, todo-categories-number-separator)
15198 (todo-categories-todo-label, todo-categories-totals-label)
15199 (todo-category-completions-files, todo-completion-ignore-case)
15200 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
15201 (todo-done-separator-string, todo-done-string)
15202 (todo-files-function, todo-filter-done-items, todo-filter-files)
15203 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
15204 (todo-initial-category, todo-initial-file, todo-item-mark)
15205 (todo-legacy-date-time-regexp, todo-mode-line-function)
15206 (todo-nondiary-marker, todo-number-prefix)
15207 (todo-print-buffer-function, todo-show-current-file)
15208 (todo-show-done-only, todo-show-first, todo-show-with-done)
15209 (todo-skip-archived-categories, todo-top-priorities-overrides)
15210 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
15211 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
15213 (todo-category-done, todo-date-pattern, todo-date-string-start)
15214 (todo-diary-items-buffer, todo-done-string-start)
15215 (todo-filtered-items-buffer, todo-item-start)
15216 (todo-month-abbrev-array, todo-month-name-array)
15217 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
15218 (todo-top-priorities-buffer): New defconsts.
15219 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
15220 (todo-categories-with-marks, todo-category-string-face)
15221 (todo-comment-face, todo-comment-string, todo-current-todo-file)
15222 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
15223 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
15224 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
15225 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
15226 (todo-font-lock-keywords, todo-global-current-todo-file)
15227 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
15228 (todo-insertion-commands-args)
15229 (todo-insertion-commands-args-genlist)
15230 (todo-insertion-commands-names, todo-insertion-map)
15231 (todo-key-bindings-t, todo-key-bindings-t+a)
15232 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
15233 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
15234 (todo-nondiary-face, todo-print-buffer, todo-time-face)
15235 (todo-visited): New variables.
15237 2013-06-21 Glenn Morris <rgm@gnu.org>
15239 * play/cookie1.el (cookie-apropos): Add optional display argument.
15240 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
15241 (psychoanalyze-pinhead): Use cookie-doctor.
15243 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15245 * emacs-lisp/package.el (tar-get-file-descriptor)
15246 (tar--extract): Declare.
15248 2013-06-21 Eduard Wiebe <usenet@pusto.de>
15250 Extend flymake's warning predicate to be a function (bug#14217).
15251 * progmodes/flymake.el (flymake-warning-predicate): New.
15252 (flymake-parse-line): Use it.
15253 (flymake-warning-re): Make obsolete alias to
15254 `flymake-warning-predicate'.
15256 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15258 * emacs-lisp/package.el (package-alist): Include obsolete packages.
15259 (package-obsolete-list): Remove.
15260 (package-activate): Remove min-version argument. Add `force' argument.
15261 Adjust to new package-alist format.
15262 (package-mark-obsolete): Remove.
15263 (package-unpack): Force reload of the package's autoloads.
15264 (package-installed-p): Check builtins if the installed package is not
15266 (package-initialize): Don't reset package-obsolete-list.
15267 Don't specify which package version to activate.
15268 (package-process-define-package, describe-package-1)
15269 (package-menu--generate): Adjust to new package-alist format.
15271 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15273 * allout-widgets.el (allout-widgets-mode-off)
15274 (allout-widgets-mode-on, allout-widgets-pre-command-business)
15275 (allout-widgets-post-command-business)
15276 (allout-widgets-after-copy-or-kill-function)
15277 (allout-widgets-after-undo-function, allout-test-range-overlaps)
15278 (allout-decorate-item-and-context)
15279 (allout-graphics-modification-handler): Fix typos in docstrings.
15280 (allout-get-or-create-parent-widget): Use `looking-at-p'.
15282 * cmuscheme.el (scheme-start-file): Doc fix.
15283 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
15284 (scheme-input-filter): Use `string-match-p'.
15286 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
15288 * dired-x.el: Use Dired consistently in docstrings.
15290 * dired.el: Use Dired consistently in docstrings.
15291 (dired-readin, dired-mode): Use `setq-local'.
15292 (dired-switches-alist): Make defvar-local.
15293 (dired-buffers-for-dir): Use `zerop'.
15294 (dired-safe-switches-p, dired-switches-escape-p)
15295 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
15296 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
15297 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
15298 (dired-goto-next-nontrivial-file): Use `string-match-p'.
15299 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
15300 (dired-toggle-marks, dired-mark-files-containing-regexp)
15301 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
15302 (dired-flag-auto-save-files, dired-flag-backup-files):
15303 Use `looking-at-p'.
15304 (dired-mark-files-regexp, dired-build-subdir-alist):
15305 Use `string-match-p', `looking-at-p'.
15307 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
15308 (direct-print-region-helper): Use `string-match-p'.
15310 2013-06-21 Leo Liu <sdl.web@gmail.com>
15312 * comint.el (comint-redirect-results-list-from-process):
15315 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15317 * net/eww.el (eww-update-header-line-format): Quote % characters.
15319 2013-06-21 Glenn Morris <rgm@gnu.org>
15321 * play/cookie1.el (cookie): New custom group.
15322 (cookie-file): New option.
15323 (cookie-check-file): New function.
15324 (cookie): Make it interactive. Make start and end messages optional.
15325 Interactively, display the result. Default to cookie-file.
15326 (cookie-insert): Default to cookie-file.
15327 (cookie-snarf): Make start and end messages optional.
15328 Default to cookie-file. Use with-temp-buffer.
15329 (cookie-read): Rename from read-cookie.
15330 Make start and end messages optional. Default to cookie-file.
15331 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
15332 Do not autoload it.
15333 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
15334 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
15336 2013-06-21 Leo Liu <sdl.web@gmail.com>
15338 * progmodes/octave.el (octave-mode): Backward compatibility fix.
15340 2013-06-21 Glenn Morris <rgm@gnu.org>
15342 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
15344 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15345 Daniel Hackney <dan@haxney.org>
15347 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
15348 Consolidate the single-file vs tarball code.
15349 (package-desc-suffix): New function.
15350 (package-desc-full-name): Don't bother inlining it.
15351 (package-load-descriptor): Return the new package-desc.
15352 (package-mark-obsolete): Remove unused arg `package'.
15353 (package-unpack): Make it work for single files as well.
15354 Make it update package-alist.
15355 (package--make-autoloads-and-stuff): Rename from
15356 package--make-autoloads-and-compile. Don't compile any more.
15357 (package--compile): New function.
15358 (package-generate-description-file): New function, extracted from
15359 package-unpack-single.
15360 (package-unpack-single): Remove.
15361 (package--with-work-buffer): Add indentation and debugging info.
15362 (package-download-single): Remove.
15363 (package-install-from-archive): Rename from package-download-tar, make
15364 it take a pkg-desc, and make it work for single files as well.
15365 (package-download-transaction): Simplify.
15366 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
15367 external tar program.
15368 (package-install-from-buffer): Remove `pkg-desc' argument.
15369 Use package-tar-file-info for tar-mode buffers.
15370 (package-install-file): Simplify accordingly.
15371 (package-archive-base): Change to take a pkg-desc.
15372 * tar-mode.el (tar--check-descriptor): New function, extracted from
15373 tar-get-descriptor.
15374 (tar-get-descriptor): Use it.
15375 (tar-get-file-descriptor): New function.
15376 (tar--extract): New function, extracted from tar-extract.
15377 (tar--extract): Use it.
15378 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
15379 case the summary uses non-ascii. Adjust to new calling convention of
15380 package-tar-file-info.
15382 2013-06-21 Leo Liu <sdl.web@gmail.com>
15384 * comint.el (comint-redirect-results-list-from-process):
15385 Fix random delay. (Bug#14681)
15387 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15389 * profiler.el (profiler-format-number): Use log, not log10.
15391 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15393 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
15395 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
15398 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
15400 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
15401 (AUTOGENEL): ... here.
15402 * emacs-lisp/cl-macs.el (cl--sublis): New function.
15403 (cl--defsubst-expand): Use it.
15405 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
15407 * subr.el (log10): Move here from C code, and declare as obsolete.
15408 All uses of (log10 X) replaced with (log X 10).
15410 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15412 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
15413 Declare with `defvar-local'.
15414 (tabulated-list-use-header-line, tabulated-list-entries)
15415 (tabulated-list-padding, tabulated-list-printer)
15416 (tabulated-list-sort-key): Declare with `defvar-local'.
15417 (tabulated-list-init-header, tabulated-list-print-fake-header):
15420 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
15422 * arc-mode.el (archive-mode): Add `archive-write-file' to
15423 `write-contents-functions' also for remote files. (Bug#14652)
15425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15427 * cus-edit.el (custom-commands): Fix typos.
15428 (custom-display): Fix tooltip text.
15429 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
15430 Fix typos in docstrings.
15431 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
15432 (custom-unlispify-menu-entry, custom-magic-value-create)
15433 (custom-add-see-also, custom-group-value-create): Use ?\s.
15434 (custom-guess-type, customize-apropos, editable-field)
15435 (custom-face-value-create): Use `string-match-p'.
15436 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
15438 * custom.el (custom-load-symbol): Use `string-match-p'.
15440 * ansi-color.el: Convert to lexical binding.
15441 (ansi-colors): Fix URL.
15442 (ansi-color-context, ansi-color-context-region): Use defvar-local.
15443 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
15444 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
15446 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
15450 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15452 2013-06-19 Tom Tromey <tromey@redhat.com>
15454 * net/eww.el (eww-top-url): Remove.
15455 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
15456 (eww-render): Set new variables. Don't set eww-top-url.
15457 (eww-handle-link): Handle "prev", "home", and "contents".
15458 Downcase the rel text.
15459 (eww-top-url): Choose best top URL.
15461 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15463 * net/eww.el: Rewrite to implement form elements "by hand" instead of
15464 relying in widget.el. Using widget.el leads to too many
15465 user interface inconsistencies.
15466 (eww-self-insert): Implement entering commands in text fields.
15467 (eww-process-text-input): New function to make text input field editing
15469 (eww-submit): Rewrite to use the new-style form methods.
15470 (eww-select-display): Display the correct selected item.
15471 (eww-change-select): Implement changing the select value.
15472 (eww-toggle-checkbox): Implement radio/checkboxes.
15473 (eww-update-field): Fix compilation error.
15474 (eww-tag-textarea): Implement <textarea>.
15476 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15477 we don't shadow mode-specific bindings.
15479 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15482 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15484 2013-06-19 Glenn Morris <rgm@gnu.org>
15486 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15488 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15490 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15493 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15497 * net/browse-url.el (browse-url-browser-function):
15498 `eww-browse-url' has the right calling signature, `eww' does not.
15500 2013-06-19 Glenn Morris <rgm@gnu.org>
15502 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15503 Only eval autoloaded macros.
15504 (byte-compile-autoload): Only give the macro warning for macros.
15506 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15507 (ps-underlined-faces): Declare.
15509 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15510 (speedbar-add-supported-extension): Declare.
15512 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15513 Don't include a date stamp in the header of the generated file;
15514 it leads to needless differences between output files.
15516 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15518 * net/secrets.el (secrets-struct-secret-content-type):
15519 Replace check of introspection data by a test call of "CreateItem".
15520 Some servers do not offer introspection.
15522 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
15524 * electric.el (electric-pair-mode): Improve interaction with
15525 electric-layout-mode.
15526 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15527 (electric-pair-syntax): Use text-mode-syntax-table in comments
15529 (electric-pair--insert): New function.
15530 (electric-pair-post-self-insert-function): Use it and
15531 electric--after-char-pos.
15533 2013-06-19 Leo Liu <sdl.web@gmail.com>
15535 * progmodes/octave.el (octave-help): Fix regexp.
15537 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15540 (shr-table-horizontal-line): Allow nil as a value, and change the
15542 (shr-insert-table-ruler): Respect the nil value.
15544 2013-06-18 Tom Tromey <tromey@barimba>
15546 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15548 (eww-open-file): New defun.
15549 (eww-render): Initialize new variables.
15550 (eww-display-html): Handle "link" and "a".
15551 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15552 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
15553 (eww-back-url): Rename from eww-previous-url.
15554 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15557 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
15559 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15560 Distinguish ternary operator tokens from slash symbol and slash
15563 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15565 Convert symbol prettification into minor mode and global minor mode.
15567 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15568 `prog-prettify-symbols', and make a local defvar instead of defcustom.
15569 (prettify-symbols--keywords): Rename from
15570 `prog-prettify-symbols-alist' and make a local defvar.
15571 (prettify-symbols--compose-symbol): Rename from
15572 `prog--prettify-font-lock-compose-symbol'.
15573 (prettify-symbols--make-keywords): Rename from
15574 `prog-prettify-font-lock-symbols-keywords' and simplify.
15575 (prog-prettify-install): Remove.
15576 (prettify-symbols-mode): New minor mode, based on
15577 `prog-prettify-install'.
15578 (turn-on-prettify-symbols-mode): New function.
15579 (global-prettify-symbols-mode): New globalized minor mode.
15581 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15582 * progmodes/cfengine.el (cfengine3-mode):
15583 * progmodes/perl-mode.el (perl-mode): Don't call
15584 `prog-prettify-install'; set `prettify-symbols-alist' instead.
15586 2013-06-18 Juri Linkov <juri@jurta.org>
15588 * files-x.el (modify-file-local-variable-message): New function.
15589 (modify-file-local-variable)
15590 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15591 and call `modify-file-local-variable-message' when it's non-nil.
15592 (add-file-local-variable, delete-file-local-variable)
15593 (add-file-local-variable-prop-line)
15594 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15595 and use it. (Bug#9820)
15597 2013-06-18 Juri Linkov <juri@jurta.org>
15599 * emulation/vi.el (vi-shell-op):
15600 * emulation/vip.el (vip-execute-com, ex-command):
15601 * emulation/viper-cmd.el (viper-exec-bang):
15602 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15603 the call of `shell-command-on-region'. (Bug#14637)
15605 * simple.el (shell-command-on-region): Doc fix.
15607 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15609 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15612 2013-06-18 Glenn Morris <rgm@gnu.org>
15614 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15616 * newcomment.el (comment-search-forward, comment-search-backward):
15617 Doc fix. (Bug#14376)
15619 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15621 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15622 (buffer-face-mode-invoke): Doc fix.
15624 2013-06-18 Matthias Meulien <orontee@gmail.com>
15626 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15627 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15629 2013-06-18 Glenn Morris <rgm@gnu.org>
15631 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15632 Replace obsolete function generic-make-keywords with its expansion.
15634 * progmodes/python.el (ffap-alist): Declare.
15636 * textmodes/reftex.el (bibtex-mode-map): Declare.
15638 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15640 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15641 (package-unpack, package-unpack-single): Return the pkg-dir.
15642 (package-download-transaction): Use it to update package-alist.
15644 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15646 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15649 2013-06-17 Juri Linkov <juri@jurta.org>
15651 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15653 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15655 * emacs-lisp/package.el (package-load-descriptor):
15656 Remove `with-syntax-table' call, `read' doesn't need it.
15657 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15659 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15661 * startup.el (command-line): Expand package name returned by
15662 `package--description-file' (bug#14639).
15664 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15666 * emacs-lisp/package.el (package-load-descriptor): Do not call
15667 `emacs-lisp-mode', just use its syntax table.
15669 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15671 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15672 `font-lock-extra-managed-props' if any prettifying keyword is added.
15673 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15674 (prog-mode): Use `setq-local'.
15676 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15678 * international/characters.el (standard-case-table): Set syntax of ?»
15679 and ?« to punctuation.
15681 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15683 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15684 Save relevant match data before calling `syntax-ppss' (bug#14595).
15686 2013-06-15 Juri Linkov <juri@jurta.org>
15688 * files-x.el (modify-file-local-variable-prop-line): Add local
15689 variables to the end of the existing comment on the first line.
15690 Use `file-auto-mode-skip' to skip interpreter magic line,
15691 and also skip XML declaration.
15693 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15695 * startup.el (package--builtin-versions): New var.
15696 (package-subdirectory-regexp): Remove.
15697 (package--description-file): Hard code its value instead.
15699 * emacs-lisp/package.el: Don't activate packages older than builtin.
15700 (package-obsolete-list): Rename from package-obsolete-alist, and make
15701 it into a simple list of package-desc.
15702 (package-strip-version): Remove.
15703 (package-built-in-p): Use package--builtin-versions.
15704 (package-mark-obsolete): Simplify.
15705 (package-process-define-package): Mark it obsolete if older than the
15707 (package-handle-response): Use line-end-position.
15708 (package-read-archive-contents, package--download-one-archive):
15710 (package--add-to-archive-contents): Skip if older than the builtin or
15712 (package-menu-describe-package): Fix last change.
15713 (package-list-unversioned): New var.
15714 (package-menu--generate): Use it.
15716 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15717 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15718 (autoload-builtin-package-versions): New variable.
15719 (autoload-generate-file-autoloads): Use them.
15720 Remove the list of autoloaded functions/macros from the
15721 (autoload...) comments.
15723 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15725 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15727 * simple.el (line-move-partial): Don't jump to the next screen
15728 line as soon as it becomes visible. Instead, continue enlarging
15729 the vscroll until the portion of a tall screen line that's left on
15730 display is about the height of the frame's default font.
15733 2013-06-15 Glenn Morris <rgm@gnu.org>
15735 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15736 compilation-error-regexp-alist void, or local while let-bound.
15738 * progmodes/make-mode.el (makefile-mode-syntax-table):
15739 Treat "=" as punctuation. (Bug#14614)
15741 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15743 * help-fns.el (describe-variable):
15744 Add extra line for permanent-local variables.
15746 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15748 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15749 Add export, import, library. (Bug#9164)
15750 (library): Set indent function.
15752 2013-06-14 Glenn Morris <rgm@gnu.org>
15754 * term/xterm.el (xterm--query):
15755 Stop after first matching handler. (Bug#14615)
15757 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15759 Add support for dired in saveplace.
15760 * dired.el (dired-initial-position-hook): New variable.
15761 (dired-initial-position): Call hook to place cursor position.
15762 * saveplace.el (save-place-to-alist): Add dired position.
15763 (save-place-dired-hook): New function.
15765 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15767 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15768 through a symbol rather than letrec.
15770 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15771 (package-desc): Add `dir' field.
15772 (package-desc-full-name): New function.
15773 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15774 (package-maybe-load-descriptor): Remove.
15775 (package-load-all-descriptors): Just call package-load-descriptor.
15776 (package--disabled-p): New function.
15777 (package-desc-vers, package-desc-doc): Remove aliases.
15778 (package--dir): Remove function.
15779 (package-activate): Check if a package is disabled.
15780 (package-process-define-package): New function, extracted from
15782 (define-package): Turn into a place holder.
15783 (package-unpack-single, package-tar-file-info):
15784 Use package--description-file.
15785 (package-compute-transaction): Use package--disabled-p.
15786 (package-download-transaction): Don't call
15787 package-maybe-load-descriptor since they're all loaded anyway.
15788 (package-install): Change argument to be a pkg-desc.
15789 (package-delete): Use a single pkg-desc argument.
15790 (describe-package-1): Use package-desc-dir instead of package--dir.
15791 Use package-desc property instead of package-symbol.
15792 (package-install-button-action): Adjust accordingly.
15793 (package--push): Rewrite.
15794 (package-menu--print-info): Adjust accordingly. Change the ID format
15796 (package-menu-describe-package, package-menu-get-status)
15797 (package-menu--find-upgrades, package-menu-mark-upgrades)
15798 (package-menu-execute, package-menu--name-predicate):
15799 Adjust accordingly.
15800 * startup.el (package--description-file): New function.
15801 (command-line): Use it.
15802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15803 Use package-desc-version.
15805 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15806 (byte-compile-preprocess): Use it.
15807 (byte-compile-file-form-defalias): Try a bit harder to use macros we
15808 can't quite recognize.
15809 (byte-compile-add-to-list): Remove.
15810 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15811 (cconv-closure-convert): Add assertion.
15813 * emacs-lisp/map-ynp.el: Use lexical-binding.
15814 (map-y-or-n-p): Remove unused vars `tail' and `object'.
15815 Factor out some repeated code.
15817 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * subr.el (with-eval-after-load): New macro.
15820 (eval-after-load): Allow form to be a function.
15821 take advantage of lexical-binding.
15822 (do-after-load-evaluation): Use dolist and adjust to new format.
15823 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15825 2013-06-13 Juri Linkov <juri@jurta.org>
15827 * replace.el (perform-replace): Display "symbol " and other search
15828 modes from `isearch-message-prefix' in the *Help* buffer.
15830 * isearch.el (isearch-query-replace): Add " symbol" and other
15831 possible search modes from `isearch-message-prefix' to the prompt.
15832 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15833 when reading a regexp to collect.
15835 2013-06-13 Juri Linkov <juri@jurta.org>
15837 * isearch.el (word-search-regexp): Match whitespace if the search
15838 string begins or ends in whitespace. The LAX arg is applied to
15839 both ends of the search string. Use `regexp-quote' and explicit
15840 \< and \> instead of \b. Use \` and \' instead of ^ and $.
15841 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15842 boundaries are replaced with symbol boundaries, and characters
15843 between symbols match non-word non-symbol syntax. (Bug#14602)
15845 2013-06-13 Juri Linkov <juri@jurta.org>
15847 * isearch.el (isearch-del-char): Don't exceed the length of
15848 `isearch-string' by the prefix arg. (Bug#14563)
15850 2013-06-13 Juri Linkov <juri@jurta.org>
15852 * isearch.el (isearch-yank-word, isearch-yank-line)
15853 (isearch-char-by-name, isearch-quote-char)
15854 (isearch-printing-char, isearch-process-search-char):
15855 Add optional count prefix arg. (Bug#14563)
15857 * international/isearch-x.el
15858 (isearch-process-search-multibyte-characters):
15859 Add optional count prefix arg.
15861 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15863 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15864 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15867 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
15869 * subr.el (set-temporary-overlay-map): Add on-exit argument.
15871 2013-06-13 Glenn Morris <rgm@gnu.org>
15873 * startup.el (tty-handle-args):
15874 Don't just discard "--" and anything after. (Bug#14608)
15876 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15878 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
15880 Implement changes in Secret Service API. Make it backward compatible.
15881 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15882 (secrets-create-item): Use it. Prefix properties with interface.
15884 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
15886 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
15887 (term-emulate-terminal): Respect term-suppress-hard-newline.
15889 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
15891 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15892 Only remove a `thumb-file' overlay. (Bug#14548)
15894 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
15896 * mail/reporter.el (reporter-submit-bug-report):
15897 Handle missing package-name. (Bug#14600)
15899 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15901 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15902 (reftex-citation-prompt, reftex-default-bibliography)
15903 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15904 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15905 (reftex-bib-sort-author, reftex-bib-sort-year)
15906 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15907 (reftex-extract-bib-entries-from-thebibliography)
15908 (reftex-get-bibkey-default, reftex-get-bib-names)
15909 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15910 (reftex-format-bib-entry, reftex-parse-bibitem)
15911 (reftex-format-bibitem, reftex-do-citation)
15912 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15913 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15914 (reftex-insert-bib-matches, reftex-format-citation)
15915 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15916 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15917 existing comments into docstrings.
15919 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15921 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15923 2013-06-12 Andreas Schwab <schwab@suse.de>
15925 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15926 for auto-save files.
15928 2013-06-12 Glenn Morris <rgm@gnu.org>
15930 * ido.el (ido-delete-ignored-files): Remove.
15931 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15932 Go back to calling ido-ignore-item-p directly.
15934 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15936 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15938 * ido.el (ido-delete-ignored-files): New function,
15939 split from ido-make-file-list-1.
15940 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15941 (ido-make-file-list-1): Use ido-delete-ignored-files.
15943 2013-06-12 Leo Liu <sdl.web@gmail.com>
15945 * progmodes/octave.el (inferior-octave-startup)
15946 (inferior-octave-completion-table)
15947 (inferior-octave-track-window-width-change)
15948 (octave-eldoc-function-signatures, octave-help)
15949 (octave-find-definition): Use single quoted strings.
15950 (inferior-octave-startup-args): Change default value.
15951 (inferior-octave-startup): Do not hard code "-i" and
15952 "--no-line-editing".
15953 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15954 (inferior-octave-directory-tracker): Use it.
15955 (octave-goto-function-definition): Robustify.
15956 (octave-help): Support highlighting operators in 'See also'.
15957 (octave-find-definition): Find subfunctions only in Octave mode.
15959 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15961 * help-fns.el (help-fns--compiler-macro): If the handler function is
15962 named, then put a link to it.
15963 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15964 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15965 (cl-typep): Use it.
15966 (cl-eval-when): Simplify debug spec.
15967 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15968 compiler-macro function instead of setting `compiler-macro-file'.
15970 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15972 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15973 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15975 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15976 Daniel Hackney <dan@haxney.org>
15978 First part of Daniel Hackney's patch to package.el.
15979 * emacs-lisp/package.el: Use defstruct.
15980 (package-desc): New, main struct.
15981 (package--bi-desc, package--ac-desc): New structs, used to describe the
15982 format in external files.
15983 (package-desc-vers): Replace with package-desc-version accessor.
15984 (package-desc-doc): Replace with package-desc-summary accessor.
15985 (package-activate-1): Remove `package' arg since the pkg-vec now
15987 (define-package): Use package-desc-from-define.
15988 (package-unpack-single): Change file-name arg to be a symbol.
15989 (package--add-to-archive-contents): Use package-desc-create and new
15990 accessor functions to package--ac-desc.
15991 (package-buffer-info, package-tar-file-info): Return a package-desc.
15992 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15993 arg to be a package-desc.
15994 (package-install-file): Adjust accordingly. Use \' to match EOS.
15995 (package--from-builtin): New function.
15996 (describe-package-1, package-menu--generate): Use it.
15997 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15998 (package-generate-autoloads): Idem and return the name of the file.
15999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16000 Change pkg-info arg to be a package-desc.
16001 Use package-make-ac-desc.
16002 (package-upload-file): Use \' to match EOS.
16003 * finder.el (finder-compile-keywords): Use package-make-builtin.
16005 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
16007 * vc/vc.el (vc-deduce-fileset): Change error message.
16008 (vc-read-backend): New function.
16009 (vc-next-action): Use it.
16011 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
16013 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
16014 (prolog-font-lock-keywords): Use regexp-opt instead.
16015 Don't manually highlight strings.
16016 (prolog-mode-variables): Simplify comment-start-skip.
16017 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
16019 * emacs-lisp/generic.el (generic--normalise-comments)
16020 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
16021 (generic-mode-set-comments): Use them.
16022 (generic-bracket-support): Use setq-local.
16023 (generic-make-keywords-list): Declare obsolete.
16025 2013-06-11 Glenn Morris <rgm@gnu.org>
16027 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
16028 Prettify after setting font-lock-defaults. (Bug#14574)
16030 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
16032 * replace.el (query-replace, occur-read-regexp-defaults-function)
16034 * subr.el (declare-function, number-sequence, local-set-key)
16035 (substitute-key-definition, locate-user-emacs-file)
16036 (with-silent-modifications, split-string, eval-after-load):
16037 Fix typos, remove unneeded backslashes and reflow some docstrings.
16039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
16041 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
16042 default for Elisp files.
16044 2013-06-11 Glenn Morris <rgm@gnu.org>
16046 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
16047 although define-derived-mode was doing this anyway. (Bug#14583)
16049 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
16051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16052 Fix make-variable-buffer-local call to refer to the correct variable.
16054 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
16056 * eshell/em-term.el (eshell-visual-commands)
16057 (eshell-visual-subcommands, eshell-visual-options):
16058 Add summary line to docstrings. Add cross-references.
16060 2013-06-10 Glenn Morris <rgm@gnu.org>
16062 * epa.el (epa-read-file-name): New function. (Bug#14510)
16063 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
16065 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
16067 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
16068 output redirection to be ignored with visual commands.
16070 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
16072 * eshell/em-term.el (eshell-visual-command-p): New function.
16073 (eshell-term-initialize): Move long lambda to separate function
16074 eshell-visual-command-p.
16075 * eshell/em-dirs.el (eshell-dirs-initialize):
16076 * eshell/em-script.el (eshell-script-initialize):
16077 Add missing #' to lambda.
16079 2013-06-08 Leo Liu <sdl.web@gmail.com>
16081 * progmodes/octave.el (octave-add-log-current-defun): New function.
16082 (octave-mode): Set add-log-current-defun-function.
16083 (octave-goto-function-definition): Do not move point if not found.
16084 (octave-find-definition): Enhance to try subfunctions first.
16086 2013-06-08 Glenn Morris <rgm@gnu.org>
16088 * emacs-lisp/bytecomp.el (byte-compile-char-before)
16089 (byte-compile-backward-char, byte-compile-backward-word):
16090 Improve previous change, to handle non-explicit nil.
16092 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
16094 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
16095 (smie--opener/closer-at-point): New function.
16096 (smie--matching-block-data): Use it. Don't match from right after an
16097 opener or right before a closer. Obey smie-blink-matching-inners.
16098 Don't signal a mismatch for repeated inners like "switch..case..case".
16100 2013-06-07 Leo Liu <sdl.web@gmail.com>
16102 * progmodes/octave.el (octave-mode): Set comment-use-global-state
16104 (octave-function-header-regexp): Fix. (Bug#14570)
16105 (octave-help-mode-finish-hook, octave-help-mode-finish):
16106 Remove. Just use temp-buffer-show-hook.
16108 * newcomment.el (comment-search-backward): Revert last change.
16111 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
16113 2013-06-07 Eli Zaretskii <eliz@gnu.org>
16115 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
16116 through xargs, to avoid failure due to MS-Windows limitations on
16117 command-line length.
16119 2013-06-06 Glenn Morris <rgm@gnu.org>
16121 * font-lock.el (lisp-font-lock-keywords-2):
16122 Treat user-error like error.
16124 * emacs-lisp/bytecomp.el (byte-compile-char-before)
16125 (byte-compile-backward-char, byte-compile-backward-word):
16126 Handle explicit nil arguments. (Bug#14565)
16128 2013-06-05 Alan Mackenzie <acm@muc.de>
16130 * isearch.el (isearch-allow-prefix): New user option.
16131 (isearch-other-meta-char): Don't exit isearch when a prefix
16132 argument is typed whilst `isearch-allow-prefix' is non-nil.
16135 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16137 * autorevert.el (auto-revert-notify-handler): Use memq.
16138 Hide assertion failure.
16140 * skeleton.el: Use cl-lib.
16141 (skeleton-further-elements): Use defvar-local.
16142 (skeleton-insert): Use cl-progv.
16144 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16146 * progmodes/prog-mode.el (prog-prettify-symbols)
16147 (prog-prettify-install): Update docstrings.
16149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16151 * simple.el: Move all the prog-mode code to prog-mode.el.
16152 * progmodes/prog-mode.el: New file.
16153 * loadup.el: Add prog-mode.el.
16155 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16157 * simple.el (prog-prettify-symbols): Add version.
16158 (prog-prettify-install): Add convenience function to prettify symbols.
16160 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
16161 (perl--augmented-font-lock-keywords-1)
16162 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
16163 variables and use it.
16165 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
16166 (cfengine3-mode): Remove unneeded variable and use it.
16168 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
16169 (lisp--augmented-font-lock-keywords-1)
16170 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
16171 Remove unneeded variables and use it.
16173 2013-06-05 João Távora <joaotavora@gmail.com>
16175 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
16176 to point when opening the connection. (Bug#14380)
16178 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16180 * subr.el (load-history-regexp, load-history-filename-element)
16181 (eval-after-load, after-load-functions, do-after-load-evaluation)
16182 (eval-next-after-load, display-delayed-warnings)
16183 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
16184 definition of save-match-data.
16185 (overriding-local-map): Remove accidental obsolescence declaration.
16187 * emacs-lisp/edebug.el (edebug-result): Move before first use.
16189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16191 Generalize symbol prettify support to prog-mode and implement it
16192 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
16193 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
16194 (prog--prettify-font-lock-compose-symbol)
16195 (prog-prettify-font-lock-symbols-keywords): New variables and
16196 functions to support symbol prettification.
16197 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
16198 (lisp--augmented-font-lock-keywords-1)
16199 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
16200 (lisp--prettify-symbols-alist): Implement prettify of lambda.
16201 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
16202 (cfengine3--prettify-symbols-alist, cfengine3-mode):
16203 Implement prettify of -> => :: strings.
16204 * progmodes/perl-mode.el (perl-prettify-symbols)
16205 (perl--font-lock-compose-symbol)
16206 (perl--font-lock-symbols-keywords): Move to prog-mode.
16207 (perl--prettify-symbols-alist): Prettify -> => :: strings.
16208 (perl-font-lock-keywords-1)
16209 (perl-font-lock-keywords-2): Remove explicit prettify support.
16210 (perl--augmented-font-lock-keywords)
16211 (perl--augmented-font-lock-keywords-1)
16212 (perl--augmented-font-lock-keywords-2, perl-mode):
16213 Implement prettify support.
16215 2013-06-05 Leo Liu <sdl.web@gmail.com>
16217 Re-implement SMIE matching block highlight using
16218 show-paren-data-function. (Bug#14395)
16219 * emacs-lisp/smie.el (smie-matching-block-highlight)
16220 (smie--highlight-matching-block-overlay)
16221 (smie--highlight-matching-block-lastpos)
16222 (smie-highlight-matching-block)
16223 (smie-highlight-matching-block-mode): Remove.
16224 (smie--matching-block-data-cache): New variable.
16225 (smie--matching-block-data): New function.
16226 (smie-setup): Use smie--matching-block-data for
16227 show-paren-data-function.
16229 * progmodes/octave.el (octave-mode-menu): Fix.
16230 (octave-find-definition): Skip garbage lines.
16232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16234 Fix compilation error with simultaneous dynamic+lexical scoping.
16235 Add warning when a defvar appears after the first let-binding.
16236 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
16237 (byte-compile-close-variables): Initialize it.
16238 (byte-compile--declare-var): New function.
16239 (byte-compile-file-form-defvar)
16240 (byte-compile-file-form-define-abbrev-table)
16241 (byte-compile-file-form-custom-declare-variable): Use it.
16242 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
16243 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
16244 (byte-compile-bind): Handle dynamic bindings that shadow
16246 (byte-compile-unbind): Make arg non-optional.
16247 (byte-compile-let): Simplify.
16248 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
16249 (cconv--analyse-function, cconv-analyse-form): Populate it.
16250 Protect byte-compile-bound-variables to limit the scope of defvars.
16251 (cconv-analyse-form): Add missing rule for (defvar <foo>).
16252 Remove unneeded rule for `declare'.
16254 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
16255 so as to avoid depending on cl-adjoin at run-time.
16256 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
16258 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
16259 (macroexp--warn-and-return): Use it.
16261 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16263 * subr.el: Convert to lexical binding.
16264 (overriding-local-map): Make obsolete.
16265 (add-to-list): Doc fix. Add compiler macro.
16266 (read-key): Swap values of local maps.
16268 2013-06-05 Leo Liu <sdl.web@gmail.com>
16270 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
16272 2013-06-04 Leo Liu <sdl.web@gmail.com>
16274 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
16275 (compilation-auto-jump): Suppress the "Mark set" message to give
16276 way to exit message.
16278 2013-06-04 Alan Mackenzie <acm@muc.de>
16280 Remove faulty optimisation from indentation calculation.
16281 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
16282 search limit based on 2000 characters back from indent-point.
16284 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16286 * eshell/em-term.el (cl-lib): Require `cl-lib'.
16288 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
16290 * emacs-lisp/lisp.el: Use lexical-binding.
16291 (lisp--local-variables-1, lisp--local-variables): New functions.
16292 (lisp--local-variables-completion-table): New var.
16293 (lisp-completion-at-point): Use it complete let-bound vars.
16295 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
16296 eagerly (bug#14422).
16298 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
16300 * autorevert.el (auto-revert-notify-enabled)
16301 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16302 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
16303 (auto-revert-notify-handler): Handle also gfilenotify.
16305 * subr.el (file-notify-handle-event): New defun. Replacing ...
16306 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
16309 2013-06-03 Juri Linkov <juri@jurta.org>
16311 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
16312 `M-s h .'. (Bug#14427)
16314 * hi-lock.el (highlight-symbol-at-point): New alias for the new
16315 command `hi-lock-face-symbol-at-point'.
16316 (hi-lock-face-symbol-at-point): New command.
16317 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
16318 (hi-lock-menu): Add `highlight-symbol-at-point'.
16319 (hi-lock-mode): Doc fix.
16321 * isearch.el (isearch-forward-symbol-at-point): New command.
16322 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
16323 (isearch-highlight-regexp): Add a regexp which matches
16324 words/symbols for word/symbol mode.
16326 * subr.el (find-tag-default-bounds): New function with the body
16327 mostly moved from `find-tag-default'.
16328 (find-tag-default): Move most code to `find-tag-default-bounds',
16329 call it and apply `buffer-substring-no-properties' afterwards.
16331 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16333 * eshell/em-term.el (eshell-term-initialize):
16334 Use `cl-intersection' rather than `intersection'.
16336 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
16338 * vc/log-view.el: Doc fix.
16339 (log-view-mode-map): Copy keymap from `special-mode-map'.
16341 2013-06-02 Eric Ludlam <zappo@gnu.org>
16343 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
16344 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
16345 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
16346 (eieio-unbound, eieio-default-superclass)
16347 (eieio--define-field-accessors, method-static, method-before)
16348 (method-primary, method-after, method-num-lists)
16349 (method-generic-before, method-generic-primary)
16350 (method-generic-after, method-num-slots)
16351 (eieio-specialized-key-to-generic-key)
16352 (eieio--check-type, class-v, class-p)
16353 (eieio-class-name, define-obsolete-function-alias)
16354 (eieio-class-parents-fast, eieio-class-children-fast)
16355 (same-class-fast-p, class-constructor, generic-p)
16356 (generic-primary-only-p, generic-primary-only-one-p)
16357 (class-option-assoc, class-option, eieio-object-p)
16358 (class-abstract-p, class-method-invocation-order)
16359 (eieio-defclass-autoload-map, eieio-defclass-autoload)
16360 (eieio-class-un-autoload, eieio-defclass)
16361 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
16362 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
16363 (eieio--defgeneric-init-form, eieio-defgeneric-form)
16364 (eieio-defgeneric-reset-generic-form)
16365 (eieio-defgeneric-form-primary-only)
16366 (eieio-defgeneric-reset-generic-form-primary-only)
16367 (eieio-defgeneric-form-primary-only-one)
16368 (eieio-defgeneric-reset-generic-form-primary-only-one)
16369 (eieio-unbind-method-implementations)
16370 (eieio--defmethod, eieio--typep)
16371 (eieio-perform-slot-validation, eieio-validate-slot-value)
16372 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
16373 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
16374 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
16375 (eieio-slot-name-index, eieio-class-slot-name-index)
16376 (eieio-set-defaults, eieio-initarg-to-attribute)
16377 (eieio-attribute-to-initarg, eieio-c3-candidate)
16378 (eieio-c3-merge-lists, eieio-class-precedence-c3)
16379 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
16380 (eieio-class-precedence-list, eieio-generic-call-methodname)
16381 (eieio-generic-call-arglst, eieio-generic-call-key)
16382 (eieio-generic-call-next-method-list)
16383 (eieio-pre-method-execution-functions, eieio-generic-call)
16384 (eieio-generic-call-primary-only, eieiomt-method-list)
16385 (eieiomt-optimizing-obarray, eieiomt-install)
16386 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
16387 (eieio-generic-form, eieio-defmethod, make-obsolete)
16388 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
16389 (defclass): Remove `eval-and-compile' from macro.
16390 (call-next-method, shared-initialize): Instead of using
16391 `scoped-class' variable, use new eieio--scoped-class, and
16392 eieio--with-scoped-class.
16393 (initialize-instance): Rename local variable 'scoped-class' to
16394 'this-class' to remove ambiguitity from old global.
16396 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
16398 (eieio--scoped-class-stack): New variable.
16399 (eieio--scoped-class): New fcn.
16400 (eieio--with-scoped-class): New scoping macro.
16401 (eieio-defclass): Use pushnew instead of add-to-list.
16402 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
16403 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
16404 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
16405 `scoped-class' variable, use new eieio--scoped-class, and
16406 eieio--with-scoped-class.
16408 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
16410 2013-06-02 Tassilo Horn <tsdh@gnu.org>
16412 * eshell/esh-ext.el (eshell-external-command): Pass args to
16413 `eshell-find-interpreter'.
16414 (eshell-find-interpreter): Add new second parameter ARGS.
16416 * eshell/em-script.el (eshell-script-initialize): Add second arg
16417 to the function added as MATCH to `eshell-interpreter-alist'.
16419 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
16420 the function added as MATCH to `eshell-interpreter-alist'.
16422 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
16423 (eshell-visual-options): New defcustom.
16424 (eshell-escape-control-x): Adapt docstring.
16425 (eshell-term-initialize): Test `eshell-visual-subcommands' and
16426 `eshell-visual-options' in addition to `eshell-visual-commands'.
16427 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
16429 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
16431 * progmodes/python.el (python-indent-block-enders): Add break,
16432 continue and raise keywords.
16434 2013-06-01 Glenn Morris <rgm@gnu.org>
16436 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
16438 Plain (f)boundp silences compilation warnings since Emacs 22.1.
16439 * progmodes/cc-cmds.el (delete-forward-p):
16440 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
16441 * progmodes/cc-engine.el (buffer-syntactic-context):
16442 * progmodes/cc-fonts.el (face-property-instance):
16443 * progmodes/cc-mode.el (set-keymap-parents):
16444 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
16445 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
16446 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
16447 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
16448 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
16450 * progmodes/cc-vars.el (other): Emacs has this widget since
16451 at least 21.1, so don't (re)define it.
16453 * eshell/em-cmpl.el (eshell-cmpl-initialize):
16454 Replace the obsolete alias pcomplete-arg-quote-list.
16456 2013-06-01 Leo Liu <sdl.web@gmail.com>
16458 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
16459 punctuation syntax.
16460 (inferior-octave-minimal-columns)
16461 (inferior-octave-last-column-width): New variables.
16462 (inferior-octave-track-window-width-change): New function.
16463 (inferior-octave-mode): Adjust column width so that Octave output,
16464 for example from 'ls', can fit into the window nicely.
16466 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16468 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16469 Highlight expansions inside regexp literals.
16471 2013-05-31 Glenn Morris <rgm@gnu.org>
16473 * obsolete/sym-comp.el (symbol-complete):
16474 Replace obsolete completion-annotate-function.
16476 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16478 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16480 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16481 New function, checks if point is inside a literal that allows
16482 expression expansion.
16483 (ruby-syntax-propertize-expansion): Use it.
16484 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16487 2013-05-30 Juri Linkov <juri@jurta.org>
16489 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16491 (isearch-invisible): New variable.
16492 (isearch-forward): Doc fix.
16493 (isearch-mode): Set `isearch-invisible'
16494 to the value of `search-invisible'.
16495 (isearch-toggle-case-fold): Doc fix.
16496 (isearch-toggle-invisible): New command.
16497 (isearch-query-replace): Let-bind `search-invisible'
16498 to the value of `isearch-invisible'.
16499 (isearch-search): Use `isearch-invisible' instead of
16500 `search-invisible'. Let-bind `search-invisible'
16501 to the value of `isearch-invisible'. (Bug#11378)
16503 2013-05-30 Juri Linkov <juri@jurta.org>
16505 * replace.el (perform-replace): Avoid `isearch-range-invisible'
16506 call when `query-flag' is nil and `search-invisible' is non-nil.
16509 2013-05-30 Glenn Morris <rgm@gnu.org>
16511 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16513 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16514 (cc-require): Suppress spurious "noruntime" warnings.
16515 (cc-require-when-compile): Use fboundp, for sake of compiler.
16517 * progmodes/cc-mode.el: Move load of cc-vars before that of
16518 cc-langs (which in turn loads cc-vars), to quieten compiler.
16520 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16522 * paren.el: Simplify the code.
16523 (show-paren-mode): Always start the timer.
16524 (show-paren--idle-timer): Rename from show-paren-idle-timer.
16525 (show-paren--overlay, show-paren--overlay-1): Rename from
16526 show-paren-overlay and show-paren-overlay-1, and initialize to an
16527 overlay rather than to nil.
16528 (show-paren-function): Misc cleanup and simplifications.
16530 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16532 * paren.el (show-paren-data-function): New hook.
16533 (show-paren--default): New function, extracted from show-paren-function.
16534 (show-paren-function): Use show-paren-data-function.
16536 2013-05-30 Glenn Morris <rgm@gnu.org>
16538 * ielm.el (ielm-map, ielm-complete-symbol):
16539 Use completion-at-point rather than obsolete functions.
16540 (inferior-emacs-lisp-mode): Doc fix.
16541 Set completion-at-point-functions, rather than
16542 comint-dynamic-complete-functions.
16544 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16545 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16546 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16548 * image.el (image-animated-p): Tweak definition.
16550 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16551 (rlogin-process-connection-type): Tweak default. Add set-after.
16552 (rlogin-host): Doc fix.
16553 (rlogin): Tweak prompt.
16554 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16556 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16557 * progmodes/tcl.el (inferior-tcl-mode-map):
16558 Use completion-at-point rather than obsolete alias.
16560 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16562 * minibuffer.el (read-file-name-completion-ignore-case):
16563 Move before completion--in-region, for eager macro expansion.
16565 2013-05-29 Juri Linkov <juri@jurta.org>
16567 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16568 for total count of matching lines. Add `global-matches' for total
16569 count of matches. Rename `matches' to `lines' for count of
16570 matching lines. Add `matches' for count of matches.
16571 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
16572 to `prev-line' for line number of prev match endpt.
16573 Increment `matches' for every match. Print the number of
16574 matching lines in the header.
16575 (occur-context-lines): Rename `lines' to `curr-line'.
16576 Rename `prev-lines' to `prev-line'. (Bug#14017)
16578 2013-05-29 Juri Linkov <juri@jurta.org>
16580 * replace.el (perform-replace): Add `skip-read-only-count',
16581 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16582 Increment them for corresponding conditions and report the number
16583 of skipped occurrences in the final message. (Bug#11746)
16584 (query-replace, query-replace-regexp, query-replace-regexp-eval)
16585 (replace-string, replace-regexp): Doc fix.
16587 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
16589 * emacs-lisp/trace.el (trace--read-args): Provide a default.
16591 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16592 prog-mode-map (bug#14504).
16594 2013-05-29 Leo Liu <sdl.web@gmail.com>
16596 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16597 (octave-help): Small simplification.
16599 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16600 off the highlight first.
16602 2013-05-29 Glenn Morris <rgm@gnu.org>
16604 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16605 Handle idlwave-last-system-routine-info-cons-cell being nil.
16607 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16608 (idlwave-write-paths): Simplify via with-temp-buffer.
16610 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16611 * emulation/cua-rect.el: Also load cua-base at run time.
16613 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16614 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16615 (cperl-imenu-on-info): Require imenu.
16617 2013-05-28 Alan Mackenzie <acm@muc.de>
16619 Handle "capitalised keywords" correctly.
16620 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16622 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16624 * eshell/em-unix.el: Add -r option to cp.
16626 2013-05-28 Glenn Morris <rgm@gnu.org>
16628 * vc/vc-arch.el (vc-exec-after): Declare.
16629 (vc-switches): Autoload.
16630 * vc/vc-bzr.el: No need to require vc when compiling.
16631 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16632 (vc-resynch-buffer, vc-dir-refresh): Declare.
16633 (vc-setup-buffer, vc-switches): Autoload.
16634 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16635 (vc-resynch-buffer): Declare.
16636 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16637 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16638 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16639 (grep-read-regexp, grep-read-files, grep-expand-template)
16640 (vc-dir-refresh): Declare.
16641 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16642 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16643 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16644 * vc/vc-mtn.el (vc-exec-after): Declare.
16645 (vc-switches): Autoload.
16646 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16647 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16648 (vc-file-tree-walk): Declare.
16649 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16650 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16651 (vc-tag-precondition, vc-rename-master): Autoload.
16652 * vc/vc-svn.el (vc-exec-after): Declare.
16653 (vc-switches, vc-setup-buffer): Autoload.
16654 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16656 (vc-resynch-buffer): Declare.
16658 * obsolete/fast-lock.el (byte-compile-warnings):
16659 Don't warn about obsolete features in this obsolete file.
16661 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16662 Move definition before use.
16664 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16665 (dun-unix-verbs): Remove dun-zippy.
16666 (dun-zippy): Remove function.
16668 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16670 2013-05-27 Juri Linkov <juri@jurta.org>
16672 * replace.el (replace-search): New function with code moved out
16673 from `perform-replace'.
16674 (replace-highlight, replace-dehighlight): Move function definitions
16675 up closer to `replace-search'. (Bug#11746)
16677 2013-05-27 Juri Linkov <juri@jurta.org>
16679 * replace.el (perform-replace): Ignore invisible matches.
16680 In addition to checking `query-replace-skip-read-only', also
16681 filter out matches by calling `run-hook-with-args-until-failure'
16682 on `isearch-filter-predicates', and also check `search-invisible'
16683 for t or call `isearch-range-invisible'.
16684 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16686 2013-05-27 Juri Linkov <juri@jurta.org>
16688 * isearch.el (isearch-filter-predicates): Rename from
16689 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16690 (isearch-message-prefix): Display text from the property
16691 `isearch-message-prefix' of the currently active filters.
16692 (isearch-search): Don't compare `isearch-filter-predicate' with
16693 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16694 on `isearch-filter-predicates'. Also check `search-invisible' for t
16695 or call `isearch-range-invisible'.
16696 (isearch-filter-visible): Make obsolete.
16697 (isearch-lazy-highlight-search):
16698 Call `run-hook-with-args-until-failure' on
16699 `isearch-filter-predicates' and use `isearch-range-invisible'.
16701 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16702 `isearch-filter-predicates' instead of `funcall'ing
16703 `isearch-filter-predicate'.
16704 (Info-mode): Set `Info-isearch-filter' to
16705 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16707 * dired-aux.el (dired-isearch-filter-predicate-orig):
16709 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16710 (dired-isearch-filenames-end): Add and remove
16711 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16712 instead of changing the value of `isearch-filter-predicate'.
16713 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16714 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16715 Put property `isearch-message-prefix' to "filename " on
16716 `dired-isearch-filter-filenames'.
16718 * wdired.el (wdired-change-to-wdired-mode):
16719 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16720 locally instead of changing `isearch-filter-predicate'.
16721 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16723 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16725 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16726 return the commit hash (Bug#14459). Also set the
16727 `vc-git-detached' property.
16728 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16729 (vc-git-mode-line-string): Use the same help-echo format whether
16730 in detached mode or not, because we know the actual revision now.
16731 When in detached mode, shorten the revision to 7 chars.
16733 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16735 * emacs-lisp/easy-mmode.el (define-minor-mode):
16736 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16737 mode hook and provide a docstring.
16739 2013-05-27 Alan Mackenzie <acm@muc.de>
16741 Remove spurious syntax-table text properties inserted by C-y.
16742 * progmodes/cc-mode.el (c-after-change): Also clear hard
16743 syntax-table property with value nil.
16745 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16747 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16748 when reading the events; the buffer layout shall not be changed.
16750 2013-05-27 Leo Liu <sdl.web@gmail.com>
16752 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16754 (inferior-octave-directory-tracker): Automatically re-sync
16756 (octave-help): Improve handling of 'See also'.
16758 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16760 * doc-view.el: Minor naming convention tweaks.
16761 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16763 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16764 even if there's no `display' property yet (bug#14435).
16766 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16768 * subr.el (unmsys--file-name): Rename from reveal-filename.
16770 * Makefile.in (custom-deps, finder-data, autoloads)
16771 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16772 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16773 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16775 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16777 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16778 error-completion on the first 2 args of condition-case (bug#14446).
16781 2013-05-25 Leo Liu <sdl.web@gmail.com>
16783 * comint.el (comint-previous-matching-input): Do not flood the
16784 *Messages* buffer with trivial messages.
16786 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16788 * progmodes/flymake.el (flymake-nop): Don't return a string.
16789 (flymake-set-at): Fix typo.
16791 * simple.el (read--expression): New function, extracted from
16792 eval-expression. Set completion-at-point-functions (bug#14465).
16793 (eval-expression, eval-minibuffer): Use it.
16795 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16797 * progmodes/flymake.el (flymake-save-buffer-in-file)
16798 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16799 (flymake-selected-frame, flymake-log, flymake-ins-after)
16800 (flymake-set-at, flymake-get-buildfile-from-cache)
16801 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16802 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16803 Refine the doc string.
16804 (flymake-get-file-name-mode-and-masks): Reformat.
16805 (flymake-get-real-file-name-function): Fix a minor bug.
16807 2013-05-24 Juri Linkov <juri@jurta.org>
16809 * progmodes/grep.el (grep-mode-font-lock-keywords):
16810 Support =linenumber= format used by git-grep for lines with
16811 function names. (Bug#13549)
16813 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16815 * progmodes/octave.el (octave-smie-rules): Return nil rather than
16816 0 after a semi-colon; it works better for smie-auto-fill.
16817 (octave--indent-new-comment-line): New function.
16818 (octave-indent-new-comment-line): Use it (indirectly).
16819 (octave-mode): Don't disable smie-auto-fill. Use add-function to
16820 modify comment-line-break-function.
16822 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16823 (smie-setup): Use add-function to set it.
16825 2013-05-24 Sam Steingold <sds@gnu.org>
16827 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16828 argument (before the `interactive' argument).
16830 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16832 * image-mode.el (image-mode-winprops): Add winprops to
16833 image-mode-winprops-alist before running
16834 image-mode-new-window-functions.
16835 * doc-view.el (doc-view-new-window-function): Don't delay
16836 doc-view-goto-page via timers (bug#14435).
16838 2013-05-24 Tassilo Horn <tsdh@gnu.org>
16840 * doc-view.el: Integrate with desktop.el. (Bug#14435)
16841 (doc-view-desktop-save-buffer): New function.
16842 (doc-view-restore-desktop-buffer): New function.
16843 (desktop-buffer-mode-handlers):
16844 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16846 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16847 `desktop-save-buffer' function.
16849 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
16851 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16852 (tramp-gvfs-file-name-handler): Raise a user error when
16853 `tramp-gvfs-enabled' is nil.
16854 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16855 Do not raise a user error when loading package. (Bug#14447)
16857 * net/xesam.el: Move to obsolete/.
16859 2013-05-24 Glenn Morris <rgm@gnu.org>
16861 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16863 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16865 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16866 (Info-find-node, Man-getpage-in-background): Declare.
16868 * mail/unrmail.el (unrmail):
16869 Replace obsolete detect-coding-with-priority.
16871 * net/socks.el (socks-split-string): Use this rather than split-string.
16872 (socks-nslookup-host): Update for above change.
16873 (dynamic-choice, s5-dynamic-choice-match)
16874 (s5-dynamic-choice-match-inline, s5-widget-value-create):
16875 Comment out unused code.
16877 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16878 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16879 (gud-tooltip-echo-area): Make obsolete.
16880 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16882 * progmodes/js.el (js--optimize-arglist): Declare.
16884 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16886 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16887 (ediff-window-C): Declare.
16889 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16890 Tweak requires to silence compiler.
16892 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16893 (he-search-string, he-tried-table, he-expand-list)
16894 (he-init-string, he-string-member, he-substitute-string)
16895 (he-reset-string): Declare.
16897 * obsolete/options.el (list-options): Use custom-variable-p,
16898 rather than obsolete alias.
16900 2013-05-23 Sam Steingold <sds@gnu.org>
16902 * simple.el (shell-command-on-region): Pass the `replace' argument
16903 down to `call-process-region' to comply with the doc as reported on
16904 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16906 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16908 * emacs-lisp/smie.el (smie-indent-forward-token)
16909 (smie-indent-backward-token): Handle string tokens (bug#14381).
16911 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16913 * ielm.el (ielm-menu): New menu.
16914 (inferior-emacs-lisp-mode): Set comment-start.
16916 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16918 * textmodes/reftex.el (reftex-ref-style-toggle):
16919 Fix deactivate action.
16921 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16922 Add cleveref macros.
16924 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16925 Accept options for bibliography commands.
16926 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16927 Add addbibresource. Basic Biblatex support.
16929 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16931 * net/tramp-gvfs.el (top):
16932 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16933 when loading package. (Bug#14447)
16935 2013-05-23 Glenn Morris <rgm@gnu.org>
16937 * progmodes/js.el: No need to load comint when compiling.
16938 (ring-insert, comint-send-string, comint-send-input)
16939 (comint-last-input-end, ido-chop): Declare.
16941 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16942 * vc/ediff-mult.el: Adjust requires.
16943 (ediff-directories-internal, ediff-directory-revisions-internal)
16944 (ediff-patch-file-internal): Declare.
16945 * vc/ediff-ptch.el: Adjust requires.
16946 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16947 (ediff-find-file): Autoload.
16948 * vc/ediff-util.el: No need to load ediff when compiling.
16949 (ediff-regions-internal): Declare.
16950 * vc/ediff-wind.el: Adjust requires.
16951 (ediff-compute-toolbar-width): Define when compiling.
16952 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16953 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16954 (dired-get-filename, dired-get-marked-files)
16955 (ediff-last-dir-patch, ediff-patch-default-directory)
16956 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16957 (ediff-patch-buffer-internal): Declare.
16959 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16960 (ispell-process, ispell-buffer-local-words, lm-summary)
16961 (lm-section-start, lm-section-end): Declare.
16962 (checkdoc-ispell-init): Simplify.
16964 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16965 (he-string-member, he-reset-string, he-substitute-string): Declare.
16967 * eshell/em-ls.el: Adjust requires.
16968 (eshell-glob-regexp): Declare.
16969 * eshell/em-tramp.el: Adjust requires.
16970 (eshell-parse-command): Autoload.
16971 * eshell/em-xtra.el: Adjust requires.
16972 (eshell-parse-command): Autoload.
16973 * eshell/esh-ext.el: Adjust requires.
16974 (eshell-parse-command, eshell-close-handles): Autoload.
16975 * eshell/esh-io.el: Adjust requires.
16976 (eshell-output-filter): Autoload.
16977 * eshell/esh-util.el: No need to load tramp when compiling.
16978 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16980 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16981 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16982 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16983 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16984 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16985 * eshell/esh-opt.el, eshell/esh-proc.el:
16986 * eshell/esh-var.el: Adjust requires.
16987 * eshell/eshell.el: Do not require esh-util twice.
16988 (eshell-add-input-to-history): Declare.
16989 (eshell-command): Check history module is active before using it.
16991 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16993 2013-05-22 Leo Liu <sdl.web@gmail.com>
16995 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16997 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16999 * autorevert.el (auto-revert-notify-add-watch)
17000 (auto-revert-notify-handler): Add `attrib' for the inotify case,
17001 it indicates changes in file modification time.
17003 2013-05-22 Glenn Morris <rgm@gnu.org>
17005 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17006 Always delete the autoloaded function from the noruntime and
17007 unresolved functions lists.
17009 * allout.el: No need to load epa, epg, overlay when compiling.
17010 (epg-context-set-passphrase-callback, epg-list-keys)
17011 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
17012 (epg-key-user-id-list): Declare.
17014 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17015 (viper-set-parsing-style-toggling-macro)
17016 (viper-set-emacs-state-searchstyle-macros):
17017 Use called-interactively-p on Emacs.
17018 (viper-looking-back): Make it an obsolete alias. Update callers.
17019 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
17020 Use looking-back rather than viper-looking-back.
17021 (viper-tmp-insert-at-eob, viper-enlarge-region)
17022 (viper-read-string-with-history, viper-register-to-point)
17023 (viper-append-to-register, viper-change-state-to-vi)
17024 (viper-backward-char-carefully, viper-forward-char-carefully)
17025 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
17026 (viper-change-state-to-emacs): Declare.
17027 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
17028 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
17029 * emulation/viper-mous.el: Do not load viper-cmd.
17030 (viper-backward-char-carefully, viper-forward-char-carefully)
17031 (viper-forward-word, viper-adjust-window): Declare.
17033 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
17035 * progmodes/idlw-help.el (idlwave-help-fontify):
17036 Use called-interactively-p.
17038 * term/w32console.el (w32-get-console-codepage)
17039 (w32-get-console-output-codepage): Declare.
17041 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
17042 Remove unnecessary declarations.
17043 (dframe-message): Doc fix.
17045 * info.el (dframe-select-attached-frame, dframe-current-frame):
17048 * speedbar.el (speedbar-message): Make it an obsolete alias.
17049 Update all callers.
17050 (speedbar-with-attached-buffer)
17051 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
17052 (speedbar-with-writable): Use backquote.
17053 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
17054 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
17055 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
17056 rather than speedbar- aliases.
17057 * mail/rmail.el: Load dframe rather than speedbar when compiling.
17058 (speedbar-make-specialized-keymap, speedbar-insert-button)
17059 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
17060 (speedbar-do-function-pointer): Declare.
17061 (rmail-speedbar-button, rmail-speedbar-find-file)
17062 (rmail-speedbar-move-message):
17063 Use dframe-with-attached-buffer rather than speedbar- alias.
17064 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
17065 (dframe-message, speedbar-make-specialized-keymap)
17066 (speedbar-add-expansion-list, speedbar-mode-functions-list)
17067 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
17068 (speedbar-insert-button, dframe-select-attached-frame)
17069 (dframe-maybee-jump-to-attached-frame)
17070 (speedbar-change-initial-expansion-list)
17071 (speedbar-previously-used-expansion-list-name): Declare.
17072 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
17073 Use dframe-message, dframe-with-attached-buffer rather than
17075 (gud-sentinel): Silence compiler.
17076 * progmodes/vhdl-mode.el (speedbar-refresh)
17077 (speedbar-do-function-pointer, speedbar-add-supported-extension)
17078 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
17079 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
17080 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
17081 (speedbar-file-lists, speedbar-make-tag-line)
17082 (speedbar-line-directory, speedbar-goto-this-file)
17083 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
17084 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
17085 (speedbar-make-button, speedbar-reset-scanners)
17086 (speedbar-files-item-info, speedbar-line-text)
17087 (speedbar-find-file-in-frame, speedbar-set-timer)
17088 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
17089 (speedbar-with-writable): Do not (re)define it.
17090 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
17091 rather than speedbar- alias.
17093 2013-05-21 Leo Liu <sdl.web@gmail.com>
17095 * progmodes/octave.el (octave-mode-menu): Update and re-organize
17097 (octave-mode): Tweak fill-nobreak-predicate.
17098 (inferior-octave-startup): Check process to avoid infinite loop.
17099 (inferior-octave): Pop to buffer first to show abornmal process
17102 2013-05-21 Glenn Morris <rgm@gnu.org>
17104 * printing.el (pr-menu-bar): Define when compiling.
17106 2013-05-21 Leo Liu <sdl.web@gmail.com>
17108 * progmodes/octave.el (octave-auto-fill): Remove.
17109 (octave-indent-new-comment-line): Improve.
17110 (octave-mode): Use auto fill mode through
17111 comment-line-break-function and fill-nobreak-predicate.
17112 (octave-goto-function-definition): Support DEFUN_DLD.
17113 (octave-beginning-of-defun): Small tweak.
17114 (octave-help): Show parent directory.
17116 2013-05-21 Glenn Morris <rgm@gnu.org>
17118 * files.el (dired-unmark):
17119 * progmodes/gud.el (gdb-input): Update declarations.
17121 * calculator.el (electric, ehelp): No need to load when compiling.
17122 (Electric-command-loop, electric-describe-mode): Declare.
17124 * doc-view.el (doc-view-current-converter-processes): Move before use.
17126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17127 Move MODE-set-explicitly definition before use.
17129 * international/mule-diag.el (mule-diag):
17130 Don't use obsolete window-system-version.
17132 * mail/feedmail.el (smtpmail): No need to load when compiling.
17133 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
17135 * mail/mail-utils.el (rfc822): No need to load when compiling.
17136 (rfc822-addresses): Autoload it.
17137 (mail-strip-quoted-names): Trivial simplification.
17139 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
17140 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
17142 * net/snmp-mode.el (tempo): Don't duplicate requires.
17144 * progmodes/prolog.el (info): No need to load when compiling.
17145 (comint): Require before shell requires it.
17146 (Info-goto-node): Autoload it.
17147 (Info-follow-nearest-node): Declare.
17148 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
17150 * textmodes/artist.el (picture-mode-exit): Declare.
17152 * textmodes/reftex-parse.el (reftex-parse-from-file):
17153 Trivial rewrite so the compiler can parse it better.
17155 2013-05-20 Leo Liu <sdl.web@gmail.com>
17157 * progmodes/octave.el (octave-help-mode-map)
17158 (octave-help-mode-finish-hook): New variables.
17159 (octave-help-mode, octave-help-mode-finish): New functions.
17160 (octave-help): Use octave-help-mode.
17162 2013-05-20 Glenn Morris <rgm@gnu.org>
17164 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
17166 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
17168 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
17169 start at point, so that expansion starting right after opening
17170 slash in a regexp is recognized.
17171 (ruby-syntax-before-regexp-re): New defvar, extracted from
17172 ruby-syntax-propertize-function. Since the value of this regexp
17173 is looked up at runtime now, we should be able to turn
17174 `ruby-syntax-methods-before-regexp' into a defcustom later.
17175 (ruby-syntax-propertize-function): Split regexp matching into two
17176 parts, for opening and closing slashes. That allows us to skip
17177 over string interpolations and support multiline regexps.
17178 Don't call `ruby-syntax-propertize-expansions', instead use another rule
17179 for them, which calls `ruby-syntax-propertize-expansion'.
17180 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
17181 call to `ruby-syntax-propertize-function'.
17182 (ruby-syntax-propertize-expansion): Extracted from
17183 `ruby-syntax-propertize-expansions'. Handles one expansion.
17184 (ruby-syntax-propertize-percent-literal): Leave point right after
17185 the percent symbol, so that the expression expansion rule can
17186 propertize the contents.
17187 (ruby-syntax-propertize-heredoc): Leave point at bol following the
17189 (ruby-syntax-propertize-expansions): Remove.
17191 2013-05-18 Juri Linkov <juri@jurta.org>
17193 * man.el (Man-default-man-entry): Remove `-' from the end
17194 of the default value. (Bug#14400)
17196 2013-05-18 Glenn Morris <rgm@gnu.org>
17198 * comint.el (comint-password-prompt-regexp):
17199 Allow "password for XXX" where XXX contains colons (eg https://...).
17201 2013-05-18 Leo Liu <sdl.web@gmail.com>
17203 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
17204 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
17205 (octave-source-directories): Don't check process.
17206 (octave-source-directories, octave-find-definition): Doc fix.
17208 2013-05-18 Glenn Morris <rgm@gnu.org>
17210 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
17211 Remove backspace/delete bindings. (Bug#14392)
17213 * cus-dep.el (custom-make-dependencies): Sort the output.
17214 (custom-versions-load-alist): Convert comment to doc.
17216 2013-05-17 Leo Liu <sdl.web@gmail.com>
17218 * newcomment.el (comment-search-backward): Stricter in finding
17219 comment start. (Bug#14303)
17221 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
17222 (octave-comment-start-skip): Properly anchored.
17224 2013-05-17 Leo Liu <sdl.web@gmail.com>
17226 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
17227 Clean up when turned off. (Bug#14395)
17228 (smie--highlight-matching-block-overlay): No longer buffer-local.
17229 (smie-highlight-matching-block): Adjust.
17231 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
17233 Doc string fix for "nanoseconds" (Bug#14406).
17234 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
17235 Fix doc string typo that had "nanoseconds" instead of "microseconds".
17237 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
17239 * calc/calc-units.el (math-extract-units): Preserve powers
17242 2013-05-17 Leo Liu <sdl.web@gmail.com>
17244 * subr.el (delete-consecutive-dups): New function.
17245 * ido.el (ido-set-matches-1): Use it.
17246 * progmodes/octave.el (inferior-octave-completion-table): Use it.
17247 * ido.el (ido-remove-consecutive-dups): Remove.
17249 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17251 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17252 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
17253 regexp-opt's `words'.
17255 2013-05-16 Leo Liu <sdl.web@gmail.com>
17257 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
17258 (smie--highlight-matching-block-overlay)
17259 (smie--highlight-matching-block-lastpos)
17260 (smie--highlight-matching-block-timer): New variables.
17261 (smie-highlight-matching-block): New function.
17262 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
17263 (smie-setup): Conditionally enable smie-blink-matching-open.
17265 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
17267 Sync with upstream verilog-mode r840.
17268 * progmodes/verilog-mode.el (verilog-mode-version)
17269 (verilog-mode-release-date): Update.
17270 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
17271 (verilog-sig-tieoff): Fix string error on
17272 AUTORESET with colon define, bug594. Reported by Andrew Hou.
17273 (verilog-read-decls): Fix parameters confusing
17274 AUTOINST interfaces, bug565. Reported by Leith Johnson.
17276 2013-05-16 Eli Zaretskii <eliz@gnu.org>
17278 * subr.el (reveal-filename): New function.
17280 * loadup.el: Compute Emacs executable versions on MS-Windows,
17281 where executables have the .exe extension. Add a hard link
17282 emacs-XX.YY.ZZ.exe on MS-Windows.
17284 * Makefile.in (XARGS_LIMIT): New variable.
17285 (custom-deps, finder-data, autoloads)
17286 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17287 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17288 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
17289 (compile-main): Limit xargs according to $(XARGS_LIMIT).
17291 2013-05-16 Leo Liu <sdl.web@gmail.com>
17293 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
17294 (octave-mode-menu, octave-mode-map): Remove its uses.
17296 2013-05-16 Reto Zimmermann <reto@gnu.org>
17298 Sync with upstream vhdl mode v3.34.2.
17299 * progmodes/vhdl-mode.el: Use `push' throughout.
17300 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
17301 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
17302 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
17303 (vhdl-actual-generic-name): New option to derive actual generic name.
17304 (vhdl-port-paste-signals): Replace formal by actual generics.
17305 (vhdl-beautify): New name for old group vhdl-align. Update users.
17306 (vhdl-beautify-options): New option.
17307 (vhdl-last-input-event): New compat alias. Use throughout.
17308 (vhdl-goto-line): Replace user level function `goto-line'.
17309 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
17310 vhdl-fix-statement-buffer.
17311 (vhdl-create-mode-menu): Add some entries.
17312 (vhdl-align-region-groups): Respect vhdl-beautify-options.
17313 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
17314 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
17315 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
17316 to force statements on one line.
17317 (vhdl-remove-trailing-spaces-region):
17318 New, split from vhdl-remove-trailing-spaces.
17319 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
17320 Respect vhdl-beautify-options.
17321 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
17322 (vhdl-update-sensitivity-list): Not add with index if exists without.
17323 Not include array index with signal. Ignore keywords in comments.
17324 (vhdl-get-visible-signals): Regexp tweaks.
17325 (vhdl-template-component-inst): Handle empty library.
17326 (vhdl-template-type): Add template for 'enum' type.
17327 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
17328 Use vhdl-replace-string.
17329 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
17330 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
17331 (vhdl-speedbar-initialize): Update for above name change.
17332 (vhdl-compose-wire-components): Fix in handling of constants.
17333 (vhdl-error-regexp-emacs-alist): New variable.
17334 (vhdl-error-regexp-add-emacs): New function;
17335 adds support for new compile.el (Emacs 22+)
17336 (vhdl-generate-makefile-1): Change target order for single lib. units.
17337 Allow use of absolute file names.
17339 2013-05-16 Leo Liu <sdl.web@gmail.com>
17341 * simple.el (prog-indent-sexp): Indent enclosing defun.
17343 2013-05-15 Glenn Morris <rgm@gnu.org>
17345 * cus-start.el (show-trailing-whitespace): Move to editing basics.
17346 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
17347 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
17348 (whitespace-highlight): Move to whitespace group.
17350 * comint.el (comint-source):
17351 * pcmpl-linux.el (pcmpl-linux):
17352 * shell.el (shell-faces):
17353 * eshell/esh-opt.el (eshell-opt):
17354 * international/ccl.el (ccl): Remove empty custom groups.
17356 * completion.el (dynamic-completion-mode):
17357 * jit-lock.el (jit-lock-debug-mode):
17358 * minibuffer.el (completion-in-region-mode):
17359 * type-break.el (type-break-mode-line-message-mode)
17360 (type-break-query-mode):
17361 * emulation/tpu-edt.el (tpu-edt-mode):
17362 * progmodes/subword.el (global-subword-mode, global-superword-mode):
17363 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17364 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
17366 * term/xterm.el (xterm): Change parent group to terminals.
17368 * master.el (master): Remove empty custom group.
17369 (master-mode): Remove unused :group argument.
17370 * textmodes/refill.el (refill): Remove empty custom group.
17371 (refill-mode): Remove unused :group argument.
17373 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
17375 * cus-dep.el: Provide a feature.
17376 (custom-make-dependencies): Ignore dotfiles (dir-locals).
17377 Don't mistakenly ignore files whose basenames match a basename
17378 from preloaded-file-list (eg cedet/ede/simple.el).
17379 Add a fallback method for getting :group.
17381 2013-05-15 Juri Linkov <juri@jurta.org>
17383 * isearch.el (isearch-char-by-name): Rename from
17384 `isearch-insert-char-by-name'. Doc fix.
17385 (isearch-forward): Mention `isearch-char-by-name' in
17386 the docstring. (Bug#13348)
17388 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
17389 `exit-minibuffer' instead of
17390 `isearch-nonincremental-exit-minibuffer'.
17391 (isearch-edit-string): Remove mention of
17392 `isearch-nonincremental-exit-minibuffer' from docstring.
17393 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
17394 (isearch-forward-exit-minibuffer)
17395 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
17397 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17399 * loadup.el: Just use unversioned DOC.
17401 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17402 literals as extending to EOB.
17403 (nxml-last-fontify-end): Remove unused variable.
17404 (nxml-after-change1): Use with-silent-modifications.
17405 (nxml-extend-after-change-region): Simplify.
17406 (nxml-extend-after-change-region1): Remove function.
17407 (nxml-after-change1): Don't adjust for dependent regions.
17408 (nxml-fontify-matcher): Simplify.
17409 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
17410 (xmltok-add-dependent): Remove function.
17411 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
17412 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
17413 (xmltok-scan-prolog-after-processing-instruction-open): Treat
17414 unclosed <[[, <?, comment, and other literals as extending to EOB.
17415 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
17416 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
17418 (rng-do-some-validation-1): Don't mark dependent regions.
17419 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
17420 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
17421 (nxml-clear-dependent-regions): Remove functions.
17422 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
17423 (nxml-ensure-scan-up-to-date):
17424 Don't clear&mark dependent regions.
17426 2013-05-15 Leo Liu <sdl.web@gmail.com>
17428 * progmodes/octave.el (octave-goto-function-definition):
17429 Improve and fix callers.
17431 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17433 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
17434 the setter (bug#14387).
17436 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
17437 surrounding group (bug#14402).
17439 2013-05-14 Juri Linkov <juri@jurta.org>
17441 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
17444 2013-05-14 Glenn Morris <rgm@gnu.org>
17446 * progmodes/f90.el (f90-imenu-generic-expression):
17447 Fix typo in 2013-05-08 change. (Bug#14402)
17449 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17451 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
17452 Remove signals for which replies are never received.
17454 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17456 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
17457 (gdb-handler-alist, gdb-handler-number): Remove variables.
17458 (gdb-handler-list): New variable.
17459 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
17460 (gdb-pending-handler-p, gdb-handle-reply)
17461 (gdb-remove-all-pending-triggers): New functions.
17462 (gdb-discard-unordered-replies): New defcustom.
17463 (gdb-handler): New defstruct.
17464 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17465 instead of gdb-pending-triggers. Update docstring.
17466 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
17467 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17468 (gdb-var-update-handler, def-gdb-auto-update-trigger)
17469 (def-gdb-auto-update-handler, gdb-get-changed-registers)
17470 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17471 (gdb-frame-handler): Pending triggers are now automatically managed.
17472 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17474 (gdb-input): Automatically handles pending triggers. Update docstring.
17475 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17476 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17478 (gdb-done-or-error): Now use gdb-handle-reply.
17480 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17482 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17485 2013-05-14 Glenn Morris <rgm@gnu.org>
17487 * subr.el (user-emacs-directory-warning): New option.
17488 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
17490 2013-05-14 Leo Liu <sdl.web@gmail.com>
17492 * progmodes/octave.el (octave-font-lock-keywords): Fix error
17494 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17495 (octave-font-lock-texinfo-comment): Fix invalid search bound
17496 error: wrong side of point.
17498 2013-05-14 Glenn Morris <rgm@gnu.org>
17500 * progmodes/flymake.el (flymake-xml-program): New option.
17501 (flymake-xml-init): Use it.
17503 * term/xterm.el: Provide a feature.
17505 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
17507 2013-05-13 Glenn Morris <rgm@gnu.org>
17509 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17510 Add compat aliases as a hack workaround. (Bug#14384)
17512 2013-05-13 Leo Liu <sdl.web@gmail.com>
17514 * progmodes/octave.el (octave-indent-comment): Fix indentation for
17516 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17518 (octave-comment-start-skip): Include %!.
17519 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17521 2013-05-12 Leo Liu <sdl.web@gmail.com>
17523 * progmodes/octave.el (inferior-octave-startup): Store the value
17524 of __octave_srcdir__ for octave-source-directories.
17525 (inferior-octave-check-process): New function refactored out of
17526 inferior-octave-send-list-and-digest.
17527 (octave-source-directories)
17528 (octave-find-definition-filename-function): New variables.
17529 (octave-source-directories)
17530 (octave-find-definition-default-filename): New functions.
17531 (octave-find-definition): Improve to find functions implemented in C++.
17533 2013-05-12 Glenn Morris <rgm@gnu.org>
17535 * calendar/diary-lib.el (diary-outlook-format-1):
17536 Don't include dayname in the output. (Bug#14349)
17538 2013-05-11 Glenn Morris <rgm@gnu.org>
17540 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17542 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17543 Treat cc-provide like provide.
17545 2013-05-11 Kevin Ryde <user42@zip.com.au>
17547 * cus-dep.el (custom-make-dependencies):
17548 Use generated-autoload-load-name for the sake of files such
17549 such cedet/semantic/bovine/c.el, where the base file name
17550 is not in load-path. (Bug#5277)
17552 2013-05-11 Glenn Morris <rgm@gnu.org>
17554 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17557 2013-05-11 Leo Liu <sdl.web@gmail.com>
17559 * progmodes/octave.el (octave-indent-comment): Improve.
17560 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17561 (octave-eldoc-function-signatures, octave-eldoc-function):
17563 (octave-mode, inferior-octave-mode): Add eldoc support.
17565 2013-05-11 Richard Stallman <rms@gnu.org>
17567 * epa.el (epa-decrypt-file): Take output file name as argument
17568 and read it using `interactive'.
17570 2013-05-11 Leo Liu <sdl.web@gmail.com>
17572 * progmodes/octave.el (octave-beginning-of-line)
17573 (octave-end-of-line): Check before using up-list because it jumps
17574 out of more syntactic contructs since moving to smie.
17575 (octave-indent-comment): New function.
17576 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
17577 (octave-begin-keywords, octave-end-keywords)
17578 (octave-reserved-words, octave-smie-bnf-table)
17579 (octave-smie-rules): Add new keywords from Octave 3.6.4.
17581 2013-05-11 Glenn Morris <rgm@gnu.org>
17583 * faces.el (internal-face-x-get-resource):
17584 * frame.el (ns-display-monitor-attributes-list):
17585 * calc/calc-aent.el (math-to-radians-2):
17586 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17589 * calc/calc-menu.el: Make it loadable in isolation.
17591 * net/eudcb-bbdb.el: Make it loadable without bbdb.
17592 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17593 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17594 (eudc-bbdb-query-internal): Require 'bbdb.
17596 * lpr.el (lpr-headers-switches):
17597 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17599 * progmodes/sql.el (sql-login-params): Fix and improve :type.
17601 * emulation/edt-mapper.el: In batch mode, error rather than hang.
17603 * term.el (term-set-escape-char): Make it idempotent.
17605 2013-05-10 Leo Liu <sdl.web@gmail.com>
17607 * progmodes/octave.el (inferior-octave-completion-table):
17608 No longer a function and all uses changed. Use cache to speed up
17609 completion due to bug#11906.
17610 (octave-beginning-of-defun): Re-write to be more general.
17612 2013-05-10 Glenn Morris <rgm@gnu.org>
17614 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17616 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * comint.el (comint-redirect-send-command-to-process): Use :around
17619 rather than :override for comint-redirect-filter.
17620 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17621 Call it instead of comint-redirect-original-filter-function (which
17622 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17624 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17626 * frame.el (display-monitor-attributes-list): Add NS case.
17627 (ns-display-monitor-attributes-list): Declare.
17629 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17631 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17633 2013-05-09 Glenn Morris <rgm@gnu.org>
17635 * international/fontset.el (vertical-centering-font-regexp):
17636 Set standard-value.
17638 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17640 * bookmark.el (bookmark-search-delay):
17641 * cus-start.el (vertical-centering-font-regexp):
17642 * ps-mule.el (ps-mule-font-info-database-default):
17643 * ps-print.el (ps-default-fg, ps-default-bg):
17644 * type-break.el (type-break-good-break-interval):
17645 * whitespace.el (whitespace-indentation-regexp)
17646 (whitespace-space-after-tab-regexp):
17647 * emacs-lisp/testcover.el (testcover-1value-functions)
17648 (testcover-noreturn-functions, testcover-progn-functions)
17649 (testcover-prog1-functions):
17650 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17651 * eshell/em-glob.el (eshell-glob-translate-alist):
17652 * play/tetris.el (tetris-tty-colors):
17653 * progmodes/cpp.el (cpp-face-default-list):
17654 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17655 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17656 (idlwave-help-browser-generic-args):
17657 * progmodes/make-mode.el (makefile-special-targets-list):
17658 * progmodes/python.el (python-shell-virtualenv-path):
17659 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17660 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17661 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17662 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17663 * textmodes/reftex-vars.el (reftex-format-label-function):
17664 * textmodes/remember.el (remember-diary-file): Fix custom types.
17666 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17669 2013-05-09 Leo Liu <sdl.web@gmail.com>
17671 * progmodes/octave.el (inferior-octave-completion-at-point):
17672 Restore file completion. (Bug#14300)
17673 (inferior-octave-startup): Fix incorrect highlighting for the
17676 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17678 * progmodes/ruby-mode.el: First cut at SMIE support.
17679 (ruby-use-smie): New var.
17680 (ruby-smie-grammar): New constant.
17681 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17682 (ruby-smie--forward-token, ruby-smie--backward-token)
17683 (ruby-smie-rules): New functions.
17684 (ruby-mode-variables): Setup SMIE if applicable.
17686 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17688 * simple.el (line-move-visual): Signal beginning/end of buffer
17689 only if vertical-motion moved less than it was requested. Avoids
17690 silly incorrect error messages when there are display strings with
17691 multiple newlines at EOL.
17693 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17695 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17696 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17697 (prolog-char-quote-workaround):
17698 * progmodes/cperl-mode.el (cperl-under-as-char):
17699 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17701 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17703 (vhdl-mode-syntax-table-init): Remove.
17705 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17708 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17710 (ld-script-font-lock-keywords):
17711 Change regexps to use things like \_< and \_>.
17713 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17714 Change all regexps to use things like \_< and \_>.
17716 * progmodes/autoconf.el (autoconf-definition-regexp)
17717 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17718 Handle a _ with symbol syntax.
17719 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17721 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17722 Consolidate declaration.
17723 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17725 (ada-create-syntax-table): Remove.
17726 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17727 already has the right syntax nowadays.
17728 (ada-goto-next-word): Don't change the syntax of "_".
17730 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17733 2013-05-08 Sam Steingold <sds@gnu.org>
17735 * thingatpt.el (thing-at-point): Accept optional second argument
17736 NO-PROPERTIES to strip the text properties from the return value.
17737 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17738 to `thing-at-point' instead of stripping the properties ourselves.
17739 Also, when `thing-at-point' fails to find a url, prepend "http://"
17740 to the filename at point on the assumption that the user is
17741 pointing at something like gnu.org/gnu.
17743 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17745 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17746 * faces.el (crm-separator):
17747 Silence byte-compiler.
17749 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17750 (tool-bar-map): Remove unneeded defvars.
17752 2013-05-08 Leo Liu <sdl.web@gmail.com>
17754 Re-work a fix for bug#10994 based on Le Wang's patch.
17755 * ido.el (ido-remove-consecutive-dups): New helper.
17756 (ido-completing-read): Use it.
17757 (ido-chop): Revert fix for bug#10994.
17759 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17761 * cus-edit.el (custom-save-variables):
17762 Pretty-print long values. (Bug#14187)
17764 2013-05-08 Glenn Morris <rgm@gnu.org>
17766 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17767 (m4-mode-syntax-table): Init in the defvar.
17768 (m4-mode-abbrev-table): Let define-derived-mode define it.
17770 2013-05-08 Tom Tromey <tromey@redhat.com>
17772 * progmodes/m4-mode.el (m4-mode-syntax-table):
17773 Do not treat "_" as word constituent. (Bug#14167)
17775 2013-05-07 Glenn Morris <rgm@gnu.org>
17777 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17778 Remove explicit eshell-isearch-cancel-map.
17780 * progmodes/f90.el (f90-smart-end-names): New option.
17781 (f90-smart-end): Doc fix.
17782 (f90-end-block-optional-name): New constant.
17783 (f90-block-match): Respect f90-smart-end-names.
17785 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17787 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17788 about implicit semi-colons (bug#14218).
17790 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17792 * frame.el (display-monitor-attributes-list)
17793 (frame-monitor-attributes): New functions.
17795 2013-05-06 Leo Liu <sdl.web@gmail.com>
17797 * progmodes/octave.el (octave-syntax-propertize-function): Change
17798 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17799 (octave-font-lock-keywords): Use octave-operator-regexp.
17800 (octave-completion-at-point): Rename from
17801 octave-completion-at-point-function.
17802 (inferior-octave-directory-tracker): Robustify.
17803 (octave-text-functions): Remove and fix its uses. No such things
17806 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * emacs-lisp/trace.el (trace--display-buffer): New function.
17809 (trace-make-advice): Use it.
17811 2013-05-06 Juri Linkov <juri@jurta.org>
17813 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
17814 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17816 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17817 in the help string. (Bug#12985)
17819 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
17821 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
17823 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17825 * progmodes/perl-mode.el: Add support for here documents.
17826 (perl-syntax-propertize-function): Match here-doc markers.
17827 (perl-syntax-propertize-special-constructs): Find their end.
17828 (perl-imenu-generic-expression): Use [:alnum:].
17830 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17831 (advice--add-function): Refresh the advice if already present
17834 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
17836 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
17838 2013-05-06 Glenn Morris <rgm@gnu.org>
17840 * w32-fns.el (w32-charset-info-alist): Declare.
17842 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17843 of its defcustom properties.
17844 (eshell-cmpl-initialize): No need to load pcomplete.
17846 * generic-x.el: No need to require comint when compiling.
17848 * net/eudc-export.el: Make it loadable without bbdb.
17849 (top-level): Use require rather than load-library.
17850 (eudc-create-bbdb-record, eudc-bbdbify-phone)
17851 (eudc-batch-export-records-to-bbdb)
17852 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17855 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17857 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17858 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17859 some tweaks, instead.
17861 2013-05-05 Leo Liu <sdl.web@gmail.com>
17863 * progmodes/octave.el (octave-font-lock-keywords)
17864 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17865 (inferior-octave-send-list-and-digest): Improve error message.
17866 (octave-mode, inferior-octave-mode): Use setq-local.
17867 (octave-help): Set info-lookup-mode.
17869 2013-05-05 Richard Stallman <rms@gnu.org>
17871 * vc/compare-w.el (compare-windows-whitespace):
17872 Treat no-break space as whitespace.
17874 * mail/rmailsum.el (rmail-summary-rmail-update):
17875 Detect empty summary and don't change selected message.
17876 (rmail-summary-goto-msg): Likewise.
17878 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17879 Doc fixes, rename args.
17881 2013-05-05 Alan Mackenzie <acm@muc.de>
17883 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17885 2013-05-05 Juri Linkov <juri@jurta.org>
17887 * info.el (Info-read-subfile): Use (point-min) instead of (point)
17888 to not add the length of the summary segment to the return value.
17891 2013-05-05 Leo Liu <sdl.web@gmail.com>
17893 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17894 (inferior-octave-output-filter): Remove.
17895 (octave-send-region, inferior-octave-startup): Fix callers.
17896 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17897 (octave-binary-file-extensions): New user variable.
17898 (octave-find-definition): Confirm if opening binary files.
17899 (octave-help-file): Use octave-find-definition to get the binary
17901 (octave-help): Adjust for octave-help-file change.
17903 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17905 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17906 Merge the two entries that handle function definitions.
17907 (pascal--syntax-propertize): New const.
17908 (pascal-mode): Use it. Use setq-local.
17910 2013-05-04 Glenn Morris <rgm@gnu.org>
17912 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17913 (diary-from-outlook): Respect diary-from-outlook-function.
17915 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17917 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17918 Move the declaration from C.
17919 (read-minibuffer, eval-minibuffer): Move from C.
17920 (completion-setup-function): Avoid minibuffer-completion-contents.
17922 2013-05-03 Leo Liu <sdl.web@gmail.com>
17924 * progmodes/octave.el (octave-font-lock-keywords): Do not
17925 dehighlight 'end' in comments or strings.
17926 (octave-completing-read, octave-goto-function-definition):
17928 (octave-help-buffer): New user variable.
17929 (octave-help-file, octave-help-function): New button types.
17930 (octave-help): New command and bind it to C-h ;.
17931 (octave-find-definition): New command and bind it to M-.
17932 (user-error): Alias to error if not defined.
17934 2013-05-02 Leo Liu <sdl.web@gmail.com>
17936 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17938 (octave-font-lock-keywords): Include [ and {.
17940 2013-05-02 Leo Liu <sdl.web@gmail.com>
17942 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17943 (inferior-octave): Remove calling comint-mode and return the buffer.
17944 (inferior-octave-startup): Cosmetic changes.
17946 2013-05-02 Leo Liu <sdl.web@gmail.com>
17948 * progmodes/octave.el (octave-syntax-propertize-function):
17949 Include the case when ' is at line beginning. (Bug#14336)
17951 2013-05-02 Glenn Morris <rgm@gnu.org>
17953 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17954 * desktop.el (vc-dir-mode): Just autoload it here.
17956 2013-05-02 Alan Mackenzie <acm@muc.de>
17958 Eliminate variable c-standard-font-lock-fontify-region-function.
17959 * progmodes/cc-mode.el
17960 (c-standard-font-lock-fontify-region-function): Remove.
17961 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17963 2013-05-01 Leo Liu <sdl.web@gmail.com>
17965 * progmodes/octave.el: Compatible with older emacs-24 releases.
17966 (inferior-octave-has-built-in-variables): Remove. Built-in
17967 variables were removed from Octave in 2007.
17968 (inferior-octave-startup): Fix uses.
17969 (comint-line-beginning-position): Remove compatibility code for
17972 2013-05-01 Juri Linkov <juri@jurta.org>
17974 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17976 2013-05-01 Juri Linkov <juri@jurta.org>
17978 * comint.el (comint-previous-matching-input): Don't print message
17979 "History item: %d" when `isearch-mode' is active.
17980 (comint-history-isearch-message): Print message "History item: %d"
17981 when `comint-input-ring-index' is not empty and this function is
17982 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17984 2013-05-01 Leo Liu <sdl.web@gmail.com>
17986 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17987 definitions. Use completion-at-point to insert keywords.
17988 (octave-abbrev-start): Remove.
17989 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17991 2013-04-30 Leo Liu <sdl.web@gmail.com>
17993 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17996 2013-04-30 Alan Mackenzie <acm@muc.de>
17998 Handle arbitrarily long C++ member initialisation lists.
17999 * progmodes/cc-engine.el (c-back-over-member-initializers):
18001 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
18002 (most) member init lists.
18004 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18006 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
18009 2013-04-30 Leo Liu <sdl.web@gmail.com>
18011 * progmodes/octave.el (octave-variables): Remove. No builtin
18012 variables any more. All converted to functions.
18013 (octave-font-lock-keywords, octave-completion-at-point-function):
18015 (octave-font-lock-texinfo-comment): New user variable.
18016 (octave-texinfo-font-lock-keywords): New variable for texinfo
18018 (octave-function-comment-block): New face.
18019 (octave-font-lock-texinfo-comment): New function.
18020 (octave-mode): Font lock texinfo comment block.
18022 2013-04-29 Leo Liu <sdl.web@gmail.com>
18024 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
18025 indexing expression.
18026 (octave-continuation-string): Do not use \.
18027 (inferior-octave-complete-impossible): Remove.
18028 (inferior-octave-completion-table)
18029 (inferior-octave-completion-at-point): Remove its uses.
18030 (inferior-octave-startup): completion_matches was introduced to
18031 Octave in 1996 so safe to assume it.
18032 (octave-function-file-comment): Improve to follow how Octave does it.
18033 (octave-update-function-file-comment): Tweak.
18035 2013-04-29 Leo Liu <sdl.web@gmail.com>
18037 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
18038 (inferior-octave-startup): Remove inferior-octave-startup-hook.
18039 (octave-function-file-comment): Fix typo.
18040 (octave-sync-function-file-names): Use read-char-choice.
18042 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
18044 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
18045 to t for the less important warnings.
18047 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
18049 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
18051 2013-04-27 Glenn Morris <rgm@gnu.org>
18053 * vc/log-view.el (log-view-current-entry):
18054 Treat "---" separator lines as part of the following rev. (Bug#14169)
18056 2013-04-27 Juri Linkov <juri@jurta.org>
18058 * subr.el (read-number): Doc fix about using it by interactive
18059 code letter `n'. (Bug#14254)
18061 2013-04-27 Juri Linkov <juri@jurta.org>
18063 * desktop.el (desktop-auto-save-timeout): New option.
18064 (desktop-file-checksum): New variable.
18065 (desktop-save): Add optional arg `auto-save' and don't auto-save
18066 if nothing changed.
18067 (desktop-auto-save-timer): New variable.
18068 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
18069 (after-init-hook): Call `desktop-auto-save-set-timer'.
18070 Suggested by Reuben Thomas <rrt@sc3d.org> in
18071 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
18073 2013-04-27 Leo Liu <sdl.web@gmail.com>
18075 * progmodes/octave.el (octave-function-file-p)
18076 (octave-skip-comment-forward, octave-function-file-comment)
18077 (octave-update-function-file-comment): New functions.
18078 (octave-mode-map): Bind C-c ; to
18079 octave-update-function-file-comment.
18080 (octave-mode-menu): Add octave-update-function-file-comment.
18081 (octave-mode, inferior-octave-mode): Fix doc-string.
18082 (octave-insert-defun): Conform to Octave's coding convention.
18085 * files.el (basic-save-buffer): Don't let errors in
18086 before-save-hook prevent saving buffer.
18088 2013-04-20 Roland Winkler <winkler@gnu.org>
18090 * faces.el (read-face-name): Use completing-read if arg multiple
18093 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
18095 * ls-lisp.el (ls-lisp-insert-directory): If no files are
18096 displayed, move point to after the totals line.
18097 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
18100 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18102 * emacs-lisp/package.el (package-autoload-ensure-default-file):
18103 Add current dir to the load-path.
18104 (package-generate-autoloads): Don't rely on
18105 autoload-ensure-default-file.
18107 2013-04-26 Reuben Thomas <rrt@sc3d.org>
18109 * textmodes/remember.el (remember-store-in-files): Document that
18110 the file name format is passed to `format-time-string'.
18112 2013-04-26 Leo Liu <sdl.web@gmail.com>
18114 * progmodes/octave.el (octave-sync-function-file-names): New function.
18115 (octave-mode): Use it in before-save-hook.
18117 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
18119 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
18122 * progmodes/octave.el (octave-smie-forward-token): Properly skip
18123 \n and comment, even if it's not an implicit ; (bug#14218).
18125 2013-04-26 Glenn Morris <rgm@gnu.org>
18127 * subr.el (read-number): Once more use `read' rather than
18128 `string-to-number', to trap non-numeric input. (Bug#14254)
18130 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
18132 * emacs-lisp/syntax.el (syntax-propertize-multiline):
18133 Use `syntax-multiline' text property consistently instead of
18134 `font-lock-multiline'. (Bug#14237)
18136 2013-04-26 Glenn Morris <rgm@gnu.org>
18138 * emacs-lisp/shadow.el (list-load-path-shadows):
18139 No longer necessary to check for duplicate simple.el, since
18140 2012-07-07 change to init_lread to not include installation lisp
18141 directories in load-path when running uninstalled. (Bug#14270)
18143 2013-04-26 Leo Liu <sdl.web@gmail.com>
18145 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
18146 (octave-mode, inferior-octave-mode): Use setq-local.
18147 (octave-not-in-string-or-comment-p): Rename to
18148 octave-in-string-or-comment-p.
18149 (octave-in-comment-p, octave-in-string-p)
18150 (octave-in-string-or-comment-p): Replace defsubst with defun.
18152 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
18154 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
18156 2013-04-25 Bastien Guerry <bzg@gnu.org>
18158 * textmodes/remember.el (remember-data-directory)
18159 (remember-directory-file-name-format): Fix custom types.
18161 2013-04-25 Leo Liu <sdl.web@gmail.com>
18163 * progmodes/octave.el (octave-completion-at-point-function):
18164 Make use of inferior octave process.
18165 (octave-initialize-completions): Remove.
18166 (inferior-octave-completion-table): New function.
18167 (inferior-octave-completion-at-point): Use it.
18168 (octave-completion-alist): Remove.
18170 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18172 * progmodes/opascal.el: Use font-lock and syntax-propertize.
18173 (opascal-mode-syntax-table): New var.
18174 (opascal-literal-kind, opascal-is-literal-end)
18175 (opascal-literal-token-at): Rewrite.
18176 (opascal--literal-start-re, opascal-font-lock-keywords)
18177 (opascal--syntax-propertize): New constants.
18178 (opascal-font-lock-defaults): Adjust.
18179 (opascal-mode): Use them. Set comment-<foo> variables as well.
18180 (delphi-comment-face, opascal-comment-face, delphi-string-face)
18181 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
18182 (delphi-other-face, opascal-other-face): Remove face variables.
18183 (opascal-save-state): Remove macro.
18184 (opascal-fontifying-progress-step): Remove constant.
18185 (opascal--ignore-changes): Remove var.
18186 (opascal-set-token-property, opascal-parse-next-literal)
18187 (opascal-is-stable-literal, opascal-complete-literal)
18188 (opascal-is-literal-start, opascal-face-of)
18189 (opascal-parse-region, opascal-parse-region-until-stable)
18190 (opascal-fontify-region, opascal-after-change)
18191 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
18192 (opascal-debug-parse-region, opascal-debug-parse-window)
18193 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
18194 (opascal-debug-fontify-buffer): Remove.
18195 (opascal-debug-mode-map): Adjust accordingly.
18197 2013-04-25 Leo Liu <sdl.web@gmail.com>
18199 Merge octave-mod.el and octave-inf.el into octave.el with some
18201 * progmodes/octave.el: New file renamed from octave-mod.el.
18202 * progmodes/octave-inf.el: Merged into octave.el.
18203 * progmodes/octave-mod.el: Renamed to octave.el.
18205 2013-04-25 Tassilo Horn <tsdh@gnu.org>
18207 * textmodes/reftex-vars.el
18208 (reftex-label-ignored-macros-and-environments): New defcustom.
18210 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
18212 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18214 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
18215 (smie-indent-keyword): Improve the check to ensure that the next
18216 comment is really on the same line.
18217 (smie-indent-comment): Don't align with a subsequent closer (or eob).
18219 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
18220 semi-colons if the line is not otherwise empty (bug#14218).
18222 2013-04-25 Glenn Morris <rgm@gnu.org>
18224 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
18226 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
18228 * progmodes/opascal.el (opascal-set-token-property): Rename from
18229 opascal-set-text-properties and only set `token' (bug#14134).
18230 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
18231 (opascal-literal-text-properties): Remove.
18232 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
18235 2013-04-24 Reuben Thomas <rrt@sc3d.org>
18237 * textmodes/remember.el (remember-handler-functions): Add an
18238 option for a new handler `remember-store-in-files'.
18239 (remember-data-directory, remember-directory-file-name-format):
18241 (remember-store-in-files): New function to store remember notes
18242 as separate files within a directory.
18244 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
18246 * progmodes/compile.el (compilation-next-error-function):
18247 Pass "formats" to compilation-find-file (bug#11777).
18249 2013-04-24 Glenn Morris <rgm@gnu.org>
18251 * vc/vc-bzr.el (vc-bzr-print-log):
18252 * vc/vc-hg.el (vc-hg-print-log):
18253 * vc/vc-svn.el (vc-svn-print-log):
18254 Fix START-REVISION with LIMIT != 1. (Bug#14168)
18256 * vc/vc-bzr.el (vc-bzr-print-log):
18257 * vc/vc-cvs.el (vc-cvs-print-log):
18258 * vc/vc-git.el (vc-git-print-log):
18259 * vc/vc-hg.el (vc-hg-print-log):
18260 * vc/vc-mtn.el (vc-mtn-print-log):
18261 * vc/vc-rcs.el (vc-rcs-print-log):
18262 * vc/vc-sccs.el (vc-sccs-print-log):
18263 * vc/vc-svn.el (vc-svn-print-log):
18264 * vc/vc.el (vc-print-log-internal): Doc fixes.
18266 2013-04-23 Glenn Morris <rgm@gnu.org>
18268 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
18269 Remove venerable code attempting to avoid substitute-command-keys.
18271 2013-04-23 Tassilo Horn <tsdh@gnu.org>
18273 * textmodes/reftex-vars.el (reftex-label-regexps):
18274 Call `reftex-compile-variables' after changes to this variable.
18276 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
18278 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
18279 Use lexical-binding.
18280 (jit-lock-force-redisplay): Use markers, check buffer's continued
18281 existence and beware narrowed buffers.
18282 (jit-lock-fontify-now): Adjust call accordingly.
18284 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
18286 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
18287 to avoid misleading the user.
18289 2013-04-22 Leo Liu <sdl.web@gmail.com>
18291 * info-look.el: Prefer latex2e.info. (Bug#14240)
18293 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
18295 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
18297 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
18298 * net/tramp.el (tramp-call-process): ... here.
18299 (tramp-set-completion-function, tramp-parse-putty):
18300 * net/tramp-adb.el (tramp-adb-execute-adb-command):
18301 * net/tramp-gvfs.el (tramp-gvfs-send-command):
18302 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
18303 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
18304 (tramp-call-local-coding-command): Use `tramp-call-process'
18305 instead of `tramp-compat-call-process'.
18307 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
18308 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
18309 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
18310 (tramp-find-inline-compress): Improve traces.
18311 (tramp-maybe-send-script): Check for Perl binary.
18312 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
18314 2013-04-22 Daiki Ueno <ueno@gnu.org>
18316 * epg.el (epg-context-pinentry-mode): New function.
18317 (epg-context-set-pinentry-mode): New function.
18318 (epg--start): Pass --pinentry-mode option to gpg command.
18320 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
18322 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
18323 `comint-dynamic-complete' is obsolete since 24.1, replaced by
18324 `completion-at-point'. (Bug#13774)
18326 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
18327 default key binding for `describe-distribution' has been moved to
18328 `C-h C-o'. (Bug#13970)
18330 2013-04-21 Glenn Morris <rgm@gnu.org>
18332 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
18334 (vc-print-log): Clarify interactive prompt.
18336 2013-04-20 Glenn Morris <rgm@gnu.org>
18338 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18339 No longer include timestamp etc information.
18341 2013-04-20 Roland Winkler <winkler@gnu.org>
18343 * faces.el (read-face-name): Bug fix, return just one face if arg
18344 multiple is nil. (Bug#14209)
18346 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18348 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
18349 (remove-function): Autoload.
18351 * comint.el (comint-redirect-original-filter-function): Remove.
18352 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
18353 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
18354 (vc-cvs-annotate-command):
18355 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
18356 * progmodes/prolog.el (prolog-consult-compile):
18357 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
18358 Use add/remove-function instead.
18359 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
18360 (gud-tooltip-process-output, gud-tooltip-tips):
18361 Use add/remove-function instead.
18362 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
18363 (scheme-interaction-mode, exit-scheme-interaction-mode):
18364 Use add/remove-function instead.
18366 * vc/vc-dispatcher.el: Use lexical-binding.
18367 (vc--process-sentinel): Rename from vc-process-sentinel.
18368 Change last arg to be the code to run. Don't use vc-previous-sentinel
18369 and vc-sentinel-commands any more.
18370 (vc-exec-after): Allow code to be a function. Use add/remove-function.
18371 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
18373 2013-04-19 Masatake YAMATO <yamato@redhat.com>
18375 * progmodes/sh-script.el (sh-imenu-generic-expression):
18376 Handle function names with a single character. (Bug#14111)
18378 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
18380 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
18381 for subroutines defined in an eval (bug#14182).
18383 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18385 * bookmark.el (bookmark-completing-read): Improve handling of empty
18386 string (bug#14176).
18388 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18390 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
18392 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
18394 New faster Imenu implementation (bug#14058).
18395 * progmodes/python.el (python-imenu-prev-index-position)
18396 (python-imenu-format-item-label-function)
18397 (python-imenu-format-parent-item-label-function)
18398 (python-imenu-format-parent-item-jump-label-function):
18400 (python-imenu-format-item-label)
18401 (python-imenu-format-parent-item-label)
18402 (python-imenu-format-parent-item-jump-label)
18403 (python-imenu--put-parent, python-imenu--build-tree)
18404 (python-imenu-create-index, python-imenu-create-flat-index)
18405 (python-util-popn): New functions.
18406 (python-mode): Set imenu-create-index-function to
18407 python-imenu-create-index.
18409 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18411 * winner.el (winner-active-region): Use region-active-p, activate-mark
18412 and deactivate-mark (bug#14225).
18414 * simple.el (deactivate-mark): Don't inline it.
18416 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
18418 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
18420 2013-04-18 Tassilo Horn <tsdh@gnu.org>
18422 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
18423 file extensions from the archive-mode entry in order to prefer
18424 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
18426 2013-04-18 Leo Liu <sdl.web@gmail.com>
18428 * bindings.el (help-event-list): Add ?\?.
18430 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18432 * subr.el (with-wrapper-hook): Declare obsolete.
18433 * simple.el (filter-buffer-substring-function): New hook.
18434 (filter-buffer-substring): Use it.
18435 (filter-buffer-substring-functions): Mark obsolete.
18436 * minibuffer.el (completion-in-region-function): New hook.
18437 (completion-in-region): Use it.
18438 (completion-in-region-functions): Mark obsolete.
18439 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
18440 * abbrev.el (abbrev-expand-function): New hook.
18441 (expand-abbrev): Use it.
18442 (abbrev-expand-functions): Mark obsolete.
18443 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
18444 and :filter-return.
18446 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18448 * progmodes/python.el (python-nav--syntactically): Fix cornercases
18449 and do not care about match data.
18451 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18453 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
18454 completion tables when completing error conditions and
18455 `declare' arguments.
18456 (lisp-complete-symbol, field-complete): Mark as obsolete.
18457 (check-parens): Unmatched parens are user errors.
18458 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
18460 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
18462 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18463 command changed buffer (ie. `flyspell-pre-buffer' is not current
18464 buffer), which prevents making decisions based on invalid value of
18465 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
18466 cause an error when `flyspell-pre-point' was nil after switching
18468 (flyspell-post-command-hook): No longer needs to change buffers when
18469 checking pre-word. While at it remove unnecessary progn.
18471 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
18473 * textmodes/ispell.el (ispell-add-per-file-word-list):
18474 Fix `flyspell-correct-word-before-point' error when accepting
18475 words and `coment-padding' is an integer by using
18476 `comment-normalize-vars' (Bug #14214).
18478 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18480 New defun movement commands.
18481 * progmodes/python.el (python-nav--syntactically)
18482 (python-nav--forward-defun, python-nav-backward-defun)
18483 (python-nav-forward-defun): New functions.
18485 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18487 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18488 (python-syntax-context): Use named compiler-macro for backwards
18489 compatibility with Emacs 24.x.
18491 2013-04-17 Leo Liu <sdl.web@gmail.com>
18493 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18494 octave-hide-process-buffer.
18496 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18498 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18501 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
18503 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18504 Fix adjustment of offset when receiving incomplete responses from GDB
18507 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18509 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18510 python-mode-abbrev-table.
18511 (python-skeleton-define): Adjust accordingly.
18512 (python-mode-abbrev-table): New table that inherits from it so that
18513 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18515 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18516 (abbrev-symbol): Use it.
18517 (abbrev--before-point): Use it since we already handle inheritance.
18519 2013-04-16 Leo Liu <sdl.web@gmail.com>
18521 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18522 binding to info-lookup-symbol.
18524 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
18526 * minibuffer.el (completion--twq-all):
18527 * term/ns-win.el (ns-initialize-window-system):
18528 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18530 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18532 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18535 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18537 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
18539 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18540 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18542 (ruby-end-of-defun): Remove the unused arg, change the docstring
18543 to reflect that this function is only used as the value of
18544 `end-of-defun-function'.
18545 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18546 to reflect an earlier change that beginning/end-of-defun functions
18547 jump between methods in a class definition, as well as top-level
18550 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18552 * minibuffer.el (minibuffer-complete): Don't just scroll
18553 a *Completions* that's been iconified.
18554 (minibuffer-force-complete): Make sure repetitions do cycle when going
18555 through completion-in-region -> minibuffer-complete.
18557 2013-04-15 Alan Mackenzie <acm@muc.de>
18559 Correct the placement of c-cpp-delimiters when there're #s not at
18562 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18563 place a submatch around the #.
18564 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18565 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
18568 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18570 * emacs-lisp/nadvice.el: Properly test names when adding advice.
18571 (advice--member-p): New arg `name'.
18572 (advice--add-function, advice-member-p): Use it (bug#14202).
18574 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
18576 Reformulate java imenu-generic-expression.
18577 The old expression contained ill formed regexps.
18579 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18580 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18581 (cc-imenu-java-method-arg-regexp): New defconsts.
18582 (cc-imenu-java-build-type-args-regex): New defun.
18583 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18584 handling of spaces in the regexp.
18586 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18588 * textmodes/ispell.el (ispell-command-loop): Remove
18589 flyspell highlight of a word when ispell accepts it (bug #14178).
18591 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
18593 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18594 uses code from the previous `ange-ftp-run-real-handler'.
18595 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18596 only in case that function exist. This is needed for proper
18597 unloading of Tramp.
18599 2013-04-15 Tassilo Horn <tsdh@gnu.org>
18601 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18603 * textmodes/reftex.el (reftex-compile-variables): Use it.
18605 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18607 * files.el (normal-mode): Only use default major-mode if no other mode
18610 * emacs-lisp/trace.el (trace-values): New function.
18612 * files.el: Allow : in local variables (bug#14089).
18613 (hack-local-variable-regexp): New var.
18614 (hack-local-variables-prop-line, hack-local-variables): Use it.
18616 2013-04-13 Roland Winkler <winkler@gnu.org>
18618 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18619 data before it gets modified by bibtex-beginning-of-entry.
18621 2013-04-13 Roland Winkler <winkler@gnu.org>
18623 * textmodes/bibtex.el (bibtex-url): Doc fix.
18625 2013-04-13 Roland Winkler <winkler@gnu.org>
18627 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18628 does not visit a BibTeX file, exclude it from the list of buffers
18629 returned by bibtex-initialize.
18631 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18633 * window.el (split-window): Remove interactive form, since as a
18634 command this function is a special case of split-window-below.
18635 Correct doc string.
18637 2013-04-12 Roland Winkler <winkler@gnu.org>
18639 * faces.el (read-face-name): Do not override value of arg default.
18640 Allow single faces and strings as default values. Remove those
18641 elements from return value that are not faces.
18642 (describe-face): Simplify.
18643 (face-at-point): New optional args thing and multiple so that this
18644 function can provide the same functionality previously provided by
18646 (make-face-bold, make-face-unbold, make-face-italic)
18647 (make-face-unitalic, make-face-bold-italic, invert-face)
18648 (modify-face, read-face-and-attribute): Use face-at-point.
18650 * cus-edit.el (customize-face, customize-face-other-window)
18651 * cus-theme.el (custom-theme-add-face)
18652 * face-remap.el (buffer-face-set)
18653 * facemenu.el (facemenu-set-face): Use face-at-point.
18655 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18657 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18659 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18661 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18662 off leading { and trailing } from field values.
18664 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18666 * emacs-lisp/timer.el (timer--check): New function.
18667 (timer--time, timer-set-function, timer-event-handler): Use it.
18668 (timer-set-idle-time): Simplify.
18669 (timer--activate): CSE.
18670 (timer-event-handler): Give more info in error message.
18671 (internal-timer-start-idle): New function, moved from C.
18673 * mpc.el (mpc-proc): Add `restart' argument.
18674 (mpc-proc-cmd): Use it.
18675 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18676 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18679 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18681 * progmodes/sh-script.el: Implement `sh-mode' own
18682 `add-log-current-defun-function' (bug#14112).
18683 (sh-current-defun-name): New function.
18684 (sh-mode): Use the function.
18686 2013-04-09 Bastien Guerry <bzg@gnu.org>
18688 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18690 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18692 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18694 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18697 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18699 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18702 2013-04-07 Leo Liu <sdl.web@gmail.com>
18704 * pcmpl-x.el: New file.
18706 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18708 Do not set x-display-name until X connection is established.
18709 This is needed to prevent from weird situation described at
18710 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18711 * frame.el (make-frame): Set x-display-name after call to
18712 window system initialization function, not before.
18713 * term/x-win.el (x-initialize-window-system): Add optional
18714 display argument and use it.
18715 * term/w32-win.el (w32-initialize-window-system):
18716 * term/ns-win.el (ns-initialize-window-system):
18717 * term/pc-win.el (msdos-initialize-window-system):
18718 Add compatible optional display argument.
18720 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18722 * files.el (normal-backup-enable-predicate): On MS-Windows and
18723 MS-DOS compare truenames of temporary-file-directory and of the
18724 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18725 don't fail comparison by compare-strings. Also, compare file
18726 names case-insensitively on MS-Windows and MS-DOS.
18728 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18730 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18731 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18733 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18735 * whitespace.el (whitespace-color-on, whitespace-color-off):
18736 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18738 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18740 * ispell.el (ispell-set-spellchecker-params):
18741 Really set `ispell-args' for all equivs.
18743 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18745 * ido.el (ido-completions): Use extra elements of ido-decorations
18747 (ido-decorations): Update docstring.
18749 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18751 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18752 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18753 nil during initialization, in order not to miss changes since the
18754 file was opened. (Bug#14140)
18756 2013-04-05 Leo Liu <sdl.web@gmail.com>
18758 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18760 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18762 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18764 2013-04-04 Glenn Morris <rgm@gnu.org>
18766 * electric.el (electric-pair-inhibit-predicate): Add :version.
18768 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18770 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18771 when a package is required several times (bug#14082).
18773 2013-04-04 Roland Winkler <winkler@gnu.org>
18775 * faces.el (read-face-name): Behave as promised by the docstring.
18776 Assume that arg default is a list of faces.
18777 (describe-face): Call read-face-name with list of default faces.
18779 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18781 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18782 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18783 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18785 (bookmark-exit-hook-internal): Save even if list is empty.
18787 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18789 * emacs-lisp/package.el (package-pinned-packages): New var.
18790 (package--add-to-archive-contents): Obey it (bug#14118).
18792 2013-04-03 Alan Mackenzie <acm@muc.de>
18794 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18795 Also adapt to the new values of element 7 of a parse state.
18797 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18798 parameter `not-in-delimiter'. Handle being inside comment opener.
18799 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18800 character in case we're typing a '*' after a '/'.
18801 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18802 instead by passing the parameter to c-state-pp-to-literal.
18804 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18805 for elt. 7 of a parse state.
18807 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
18809 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18810 * international/latin1-disp.el, international/mule-util.el:
18811 * language/cyril-util.el, language/european.el, language/ind-util.el:
18812 * language/lao-util.el, language/thai.el, language/tibet-util.el:
18813 * language/tibetan.el, language/viet-util.el:
18814 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18816 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18818 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18819 (electric-pair-post-self-insert-function): Use it.
18820 (electric-pair-default-inhibit): New function, extracted from
18821 electric-pair-post-self-insert-function.
18823 2013-03-31 Roland Winkler <winkler@gnu.org>
18825 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18827 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18829 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18831 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
18833 Un-indent after "pass" and "return" statements (Bug#13888)
18834 * progmodes/python.el (python-indent-block-enders): New var.
18835 (python-indent-calculate-indentation): Use it.
18837 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
18839 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18840 defun. Defining it as defalias could introduce too eager
18841 byte-compiler optimization. (Bug#14030)
18843 2013-03-30 Chong Yidong <cyd@gnu.org>
18845 * iswitchb.el (iswitchb-read-buffer): Fix typo.
18847 2013-03-30 Leo Liu <sdl.web@gmail.com>
18849 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18850 (kmacro-execute-from-register): Pass the keyboard macro to
18851 kmacro-call-macro or repeating won't work correctly.
18853 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
18855 * progmodes/subword.el: Back to using `forward-symbol'.
18857 * subr.el (forward-whitespace, forward-symbol)
18858 (forward-same-syntax): Move from thingatpt.el.
18860 2013-03-29 Leo Liu <sdl.web@gmail.com>
18862 * kmacro.el (kmacro-to-register): New command.
18863 (kmacro-execute-from-register): New function.
18864 (kmacro-keymap): Bind to 'x'. (Bug#14071)
18866 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
18868 * mpc.el: Use defvar-local and setq-local.
18869 (mpc--proc-connect): Connection failures are not bugs.
18870 (mpc-mode-map): `follow-link' only applies to the buffer's content.
18871 (mpc-volume-map): Bind to the up-events.
18873 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
18875 * progmodes/subword.el (superword-mode): Use `forward-sexp'
18876 instead of `forward-symbol'.
18878 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
18880 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18881 (edebug--recursive-edit): Use it.
18882 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18883 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18885 2013-03-28 Leo Liu <sdl.web@gmail.com>
18887 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
18889 2013-03-27 Eli Zaretskii <eliz@gnu.org>
18891 * facemenu.el (list-colors-callback): New defvar.
18892 (list-colors-redisplay): New function.
18893 (list-colors-display): Install list-colors-redisplay as the
18894 revert-buffer-function. (Bug#14063)
18896 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
18898 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18899 and suffixes don't overlap (bug#14061).
18901 * case-table.el: Use lexical-binding.
18902 (case-table-get-table): New function.
18903 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18905 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18907 * progmodes/subword.el: Add `superword-mode' to do word motion
18908 over symbol_words (parallels and leverages `subword-mode' which
18909 does word motion inside MixedCaseWords).
18911 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18913 * eshell/em-unix.el: Move su and sudo to...
18914 * eshell/em-tramp.el: ...Eshell tramp module.
18916 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18918 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18919 Change return value to be a sexp. Delay `get-buffer' to after
18920 restoring the desktop (bug#13951).
18922 2013-03-26 Leo Liu <sdl.web@gmail.com>
18924 * register.el: Move semantic tag handling back to
18925 cedet/semantic/senator.el. (Bug#14052)
18927 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18929 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18930 into the prompt either (bug#13963).
18932 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18934 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18935 part of "(error-foo)".
18937 2013-03-24 Juri Linkov <juri@jurta.org>
18939 * replace.el (list-matching-lines-prefix-face): New defcustom.
18940 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18941 `occur-engine' if `face-differs-from-default-p' returns t.
18942 (occur-engine): Add `,' inside backquote construct to evaluate
18943 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18944 Pass `prefix-face' to the functions `occur-context-lines' and
18945 `occur-engine-add-prefix'.
18946 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18947 `prefix-face' and propertize the prefix with `prefix-face'.
18950 2013-03-24 Leo Liu <sdl.web@gmail.com>
18952 * nxml/rng-valid.el (rng-validate-while-idle)
18953 (rng-validate-quick-while-idle): Guard against deleted buffer.
18956 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18957 is the last entry in kill-buffer-hook.
18959 * files.el (kill-buffer-hook): Doc fix.
18961 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18963 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18964 Make it safe-local.
18966 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18968 2013-03-23 Leo Liu <sdl.web@gmail.com>
18970 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18973 * nxml/rng-valid.el (rng-validate-mode)
18974 (rng-after-change-function, rng-do-some-validation):
18975 * nxml/rng-maint.el (rng-validate-buffer):
18976 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18977 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18978 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18979 (nxml-extend-after-change-region): Use with-silent-modifications.
18981 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18984 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18985 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18986 timer-idle-list. (Bug#13999)
18988 2013-03-23 Juri Linkov <juri@jurta.org>
18990 * info.el (info-index-match): New face.
18991 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18992 main pattern and add text properties with the new face to matches
18993 in index entries relative to the beginning of the index entry.
18996 2013-03-21 Eric Ludlam <zappo@gnu.org>
18998 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18999 Inhibit read only while inserting objects.
19001 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
19003 * progmodes/cfengine.el: Update docs to mention
19004 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
19005 symbol motion. Remove "_" from the word syntax.
19007 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
19009 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
19010 syntax for both `cfengine2-mode' and `cfengine3-mode'.
19012 2013-03-20 Juri Linkov <juri@jurta.org>
19014 * info.el (Info-next-reference-or-link)
19015 (Info-prev-reference-or-link): New functions.
19016 (Info-next-reference, Info-prev-reference): Use them.
19017 (Info-try-follow-nearest-node): Handle footnote navigation.
19018 (Info-fontify-node): Fontify footnotes. (Bug#13989)
19020 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
19022 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
19023 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
19025 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
19027 Suppress unnecessary non-ASCII chatter during build process.
19028 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
19029 (batch-skkdic-convert): Suppress most of the chatter.
19030 It's not needed so much now that machines are faster,
19031 and its non-ASCII component was confusing; see Dmitry Gutov in
19032 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
19034 2013-03-20 Leo Liu <sdl.web@gmail.com>
19036 * ido.el (ido-chop): Fix bug#10994.
19038 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
19040 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
19042 (whitespace-color-on, whitespace-color-off):
19043 Use `font-lock-fontify-buffer' (Bug#13817).
19045 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
19047 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
19048 remapping in mode-line.
19049 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
19051 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
19053 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
19054 value for `whitespace-line' face (Bug#13875).
19055 (whitespace-font-lock-keywords): Change description.
19056 (whitespace-color-on): Don't save `font-lock-keywords' value, save
19057 the constructed keywords instead.
19058 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
19060 2013-03-19 Leo Liu <sdl.web@gmail.com>
19062 * progmodes/compile.el (compilation-display-error): New command.
19063 (compilation-mode-map, compilation-minor-mode-map): Bind it to
19066 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
19068 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
19070 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
19072 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
19074 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
19076 * net/tramp-compat.el (tramp-compat-user-error): New defun.
19078 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19079 * net/tramp-gvfs.el (top):
19080 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
19081 (tramp-handle-shell-command): Use it.
19082 (tramp-dissect-file-name): Raise an error when hostname is a
19083 method name, and neither method nor user is specified.
19085 * net/trampver.el: Update release number.
19087 2013-03-18 Leo Liu <sdl.web@gmail.com>
19089 Make sure eldoc can be turned off properly.
19090 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
19092 (eldoc-display-message-p): Revert last change.
19093 (eldoc-display-message-no-interference-p)
19094 (eldoc-print-current-symbol-info): Tweak.
19096 2013-03-18 Tassilo Horn <tsdh@gnu.org>
19098 * doc-view.el (doc-view-new-window-function): Check the new window
19099 overlay's display property instead the char property of the
19100 buffer's first char. Use `with-selected-window' instead of
19101 `save-window-excursion' with `select-window'.
19102 (doc-view-document->bitmap): Check the current doc-view overlay's
19103 display property instead the char property of the buffer's first char.
19105 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
19107 Automate the build of ja-dic.el (Bug#13984).
19108 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
19109 from the input, rather than assume that it's been done for us by the
19110 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
19111 the current date into a ja-dic.el comment, as that complicates
19112 regression testing.
19114 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19116 * whitespace.el: Fix double evaluation.
19117 (whitespace-space, whitespace-hspace, whitespace-tab)
19118 (whitespace-newline, whitespace-trailing, whitespace-line)
19119 (whitespace-space-before-tab, whitespace-indentation)
19120 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
19122 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
19123 (whitespace-color-on): Use a single font-lock-add-keywords call.
19124 Fix double-evaluation of face variables.
19126 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
19128 * net/tramp-adb.el (tramp-adb-parse-device-names):
19129 Use `start-process' instead of `call-process'. Otherwise, the
19130 function might be blocked under MS Windows. (Bug#13299)
19132 2013-03-17 Leo Liu <sdl.web@gmail.com>
19134 Extend eldoc to display info in the mode-line. (Bug#13978)
19135 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
19136 (eldoc-mode-line-string): New variable.
19137 (eldoc-minibuffer-message): New function.
19138 (eldoc-message-function): New variable.
19139 (eldoc-message): Use it.
19140 (eldoc-display-message-p)
19141 (eldoc-display-message-no-interference-p):
19142 Support eldoc-post-insert-mode.
19144 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
19145 (eval-expression): Run it.
19147 2013-03-17 Roland Winkler <winkler@gnu.org>
19149 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
19150 strings in the list of return values.
19152 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19154 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
19155 radix before checking for HMS forms.
19157 2013-03-16 Leo Liu <sdl.web@gmail.com>
19159 * progmodes/scheme.el: Add indentation and font-locking for λ.
19162 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
19164 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
19165 token before point (bug#13942).
19167 2013-03-16 Leo Liu <sdl.web@gmail.com>
19169 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
19171 2013-03-16 Eli Zaretskii <eliz@gnu.org>
19173 * startup.el (command-line-normalize-file-name): Fix handling of
19174 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
19175 <xfq.free@gmail.com> in
19176 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
19178 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
19180 Sync with Tramp 2.2.7.
19182 * net/trampver.el: Update release number.
19184 2013-03-14 Tassilo Horn <tsdh@gnu.org>
19186 * doc-view.el: Fix bug#13887.
19187 (doc-view-insert-image): Don't modify overlay associated to
19188 non-live windows, and implement horizontal centering of image in
19189 case it's smaller than the window.
19190 (doc-view-new-window-function): Force redisplay of new windows on
19193 2013-03-13 Karl Fogel <kfogel@red-bean.com>
19195 * saveplace.el (save-place-alist-to-file): Don't sort
19196 `save-place-alist', just pretty-print it (bug#13882).
19198 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
19200 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
19201 Check whether `default-file-name-coding-system' is bound.
19202 It isn't in XEmacs.
19204 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
19206 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
19207 backquotes for `obsolete' (bug#13929).
19209 * international/mule.el (find-auto-coding): Include file name in
19210 obsolescence warning (bug#13922).
19212 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
19214 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
19215 for CFEngine 3-specific indentation.
19216 (cfengine3-indent-line): Use it. Fix up category regex.
19217 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
19219 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19221 * type-break.el (type-break-file-name):
19222 * textmodes/remember.el (remember-data-file):
19223 * strokes.el (strokes-file):
19224 * shadowfile.el (shadow-initialize):
19225 * saveplace.el (save-place-file):
19226 * ps-bdf.el (bdf-cache-file):
19227 * progmodes/idlwave.el (idlwave-config-directory):
19228 * net/quickurl.el (quickurl-url-file):
19229 * international/kkc.el (kkc-init-file-name):
19230 * ido.el (ido-save-directory-list-file):
19231 * emulation/viper.el (viper-custom-file-name):
19232 * emulation/vip.el (vip-startup-file):
19233 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
19234 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
19236 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
19238 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
19239 * language/thai-word.el: Switch to UTF-8.
19241 See ChangeLog.16 for earlier changes.
19243 ;; Local Variables:
19247 Copyright (C) 2011-2014 Free Software Foundation, Inc.
19249 This file is part of GNU Emacs.
19251 GNU Emacs is free software: you can redistribute it and/or modify
19252 it under the terms of the GNU General Public License as published by
19253 the Free Software Foundation, either version 3 of the License, or
19254 (at your option) any later version.
19256 GNU Emacs is distributed in the hope that it will be useful,
19257 but WITHOUT ANY WARRANTY; without even the implied warranty of
19258 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19259 GNU General Public License for more details.
19261 You should have received a copy of the GNU General Public License
19262 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.