* buffer.c (Fmake_overlay): Doc clarification.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4
5 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6
7 * replace.el (replace-match-maybe-edit): Doc clarification
8 (bug#15632).
9
10 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11
12 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13
142014-02-08 Glenn Morris <rgm@gnu.org>
15
16 * help-fns.el (describe-variable):
17 Check {file,dir}-local-variables-alist, and buffer-file-name,
18 in the correct buffer.
19
202014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
21
22 * help-fns.el (describe-variable): Fix the case where
23 a value is directory-local with no dir-locals file. (Bug#16635)
24
252014-02-08 Glenn Morris <rgm@gnu.org>
26
27 * abbrev.el (edit-abbrevs-mode):
28 Derive from fundamental-mode. (Bug#16682)
29
302014-02-07 Juanma Barranquero <lekktu@gmail.com>
31
32 * simple.el (quoted-insert): Check character validity (bug#16677).
33
342014-02-07 Juri Linkov <juri@jurta.org>
35
36 * desktop.el (desktop-read): Claim the lock when the owner is not
37 the current process. (Bug#16157)
38
392014-02-07 Juri Linkov <juri@jurta.org>
40
41 * desktop.el (desktop-buffers-not-to-save): Change default from nil
42 to "\\` ". (Bug#16651)
43
442014-02-07 Juri Linkov <juri@jurta.org>
45
46 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
47 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
48 (desktop-auto-save-cancel-timer): New function with some code from
49 `desktop-auto-save-set-timer'.
50 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
51 Instead of setting `desktop-save-mode' to nil, call
52 `desktop-save-mode' with arg 0. (Bug#16630)
53
542014-02-07 Glenn Morris <rgm@gnu.org>
55
56 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
57 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
58 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
59
60 * obsolete/iswitchb.el: Move to obsolete/.
61 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
62 since obsolete/ is not scanned for autoloads.
63 * emacs-lisp/authors.el (authors-valid-file-names):
64 Add iswitchb.el.
65
66 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
67 Disable now non-functional find-file-hook.
68
692014-02-06 Michael Albinus <michael.albinus@gmx.de>
70
71 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
72 instead of ";" in order to avoid additional prompts. Let heredoc
73 scripts read from tty. (Bug#16582)
74 (tramp-send-command): No special handling of heredocs, it isn't
75 necessary anymore.
76
772014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
80 with a space (bug#16664). Limit the symbols considered to the ones
81 that are bound or fbound (bug#16646).
82
832014-02-06 Glenn Morris <rgm@gnu.org>
84
85 * epa.el (epa-mail-aliases): Doc fix.
86
872014-02-06 Dmitry Gutov <dgutov@yandex.ru>
88
89 * emacs-lisp/lisp.el (lisp-completion-at-point):
90 Use `completion-table-merge' instead of `completion-table-in-turn'
91 (bug#16604).
92
93 * minibuffer.el (completion-table-merge): New function.
94
952014-02-05 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
98 (tramp-sh-handle-set-file-acl)
99 (tramp-sh-handle-start-file-process)
100 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
101 (tramp-find-executable, tramp-send-command): Use it.
102
1032014-02-05 Glenn Morris <rgm@gnu.org>
104
105 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
106
1072014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
108
109 * progmodes/python.el (python-shell-send-string):
110 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
111
1122014-02-04 Anders Lindgren <andlind@gmail.com>
113
114 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
115 the names (bug#16620).
116
1172014-02-03 Martin Rudalics <rudalics@gmx.at>
118
119 * faces.el (window-divider): New default value. Rewrite doc-string.
120 (window-divider-first-pixel, window-divider-last-pixel): New faces.
121
1222014-02-03 Dmitry Gutov <dgutov@yandex.ru>
123
124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
125 `protected' and `public' can also be called without arguments.
126
1272014-02-03 Glenn Morris <rgm@gnu.org>
128
129 * register.el (window-configuration-to-register)
130 (frame-configuration-to-register): Unadvertise unused argument.
131 * frameset.el (frameset-to-register): Remove unused argument.
132
133 * frameset.el (frameset-to-register):
134 * kmacro.el (kmacro-to-register):
135 * register.el (increment-register):
136 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
137 (calc-append-to-register, calc-prepend-to-register):
138 * play/gametree.el (gametree-layout-to-register)
139 (gametree-apply-register-layout):
140 * textmodes/picture.el (picture-clear-rectangle-to-register)
141 (picture-yank-rectangle-from-register):
142 * vc/emerge.el (emerge-combine-versions-register):
143 Use register-read-with-preview to read registers.
144
1452014-02-03 João Távora <joaotavora@gmail.com>
146
147 * elec-pair.el (electric-pair-backward-delete-char): Don't error
148 when at beginning of (possibly narrowed) buffer.
149
1502014-02-02 Daniel Colascione <dancol@dancol.org>
151
152 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
153 Also try to display local help from just before point.
154
1552014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
156
157 c-parse-state. Don't "append-lower-brace-pair" in certain
158 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
159 recognised as a comment.
160
161 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
162 as well as normal comment starter.
163 (c-parse-state-get-strategy): Extra return possibility
164 'back-and-forward.
165 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
166 return value list to indicate replacement of a brace-pair cons
167 with its car.
168 (c-parse-state-1): With 'back-and-forward, only call
169 c-append-lower-brace-pair-to state-cache when cons-separated.
170
1712014-02-02 Jan Djärv <jan.h.d@swipnet.se>
172
173 * term/ns-win.el (ns-suspend-error): New function.
174 (ns-initialize-window-system): Add ns-suspend-error to
175 suspend-hook (Bug#16612).
176
1772014-02-02 Daniel Colascione <dancol@dancol.org>
178
179 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
180
1812014-02-02 Daniel Colascione <dancol@dancol.org>
182
183 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
184
1852014-02-02 Glenn Morris <rgm@gnu.org>
186
187 * register.el (register-read-with-preview, point-to-register)
188 (window-configuration-to-register, frame-configuration-to-register)
189 (jump-to-register, number-to-register, view-register, insert-register)
190 (copy-to-register, append-to-register, prepend-to-register)
191 (copy-rectangle-to-register): Doc fixes.
192
1932014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
196 * emacs-lisp/find-func.el (find-function-C-source): Idem.
197 * emacs-lisp/nadvice.el (advice--cd*r): New function.
198 * help-fns.el (describe-function-1): Use it.
199
2002014-02-02 Glenn Morris <rgm@gnu.org>
201
202 * register.el (register-preview-default): New function,
203 split from register-preview.
204 (register-preview-function): Rename from register-preview-functions,
205 make it not a hook.
206 (register-preview): Use register-preview-function.
207 (register-read-with-preview): Error on non-character event. (Bug#16595)
208
2092014-02-01 Dmitry Gutov <dgutov@yandex.ru>
210
211 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
212 `:' before binary operators (bug#16609). Don't check for `:'
213 before `[' and `(', or their syntax status. A percent literal
214 can't end with either.
215 (ruby-font-lock-keywords): For built-ins that require arguments,
216 check that they're followed by something that looks like argument
217 (bug#16610).
218
2192014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
220
221 * subr.el (butlast): Document what an omitted N means (bug#13437).
222 (nbutlast): Ditto.
223
2242014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
225
226 * net/shr.el (shr-generic): Make into a defsubst to make the stack
227 depth shallower (bug#16587).
228 (shr-tag-svg): Respect `shr-inhibit-images'.
229 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
230
2312014-01-31 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
234 (ruby-smie-grammar): Make "." right-associative. Make its priority
235 lower than the ternary and all binary operators.
236 (ruby-smie-rules): Indent "(" relative to the first non-"."
237 parent, or the first "." parent at indentation.
238 Use `ruby-align-chained-calls' for indentation of "." tokens.
239 (Bug#16593)
240
2412014-01-31 Juri Linkov <juri@jurta.org>
242
243 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
244 from `make-hash-table'.
245
246 * textmodes/ispell.el (ispell-init-process): Change message format
247 to be consistent with other messages.
248
2492014-01-31 Glenn Morris <rgm@gnu.org>
250
251 * delsel.el (delete-selection-mode): Doc fix.
252
253 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
254 (trace-function-background): Doc fixes.
255
256 * ido.el (ido-use-virtual-buffers): Doc fix.
257 Reset :version, since the default value has not changed.
258
259 * register.el (register-preview-delay, register-read-with-preview):
260 Doc fixes.
261
262 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
263 do not mess with mail-buffer position (fixes 2009-11-03 change).
264 * progmodes/cc-mode.el (c-submit-bug-report):
265 Check auto-fill-mode is bound. (Bug#16592)
266
2672014-01-31 Darren Hoo <darren.hoo@gmail.com>
268
269 * startup.el (fancy-splash-image-file): New function,
270 split from fancy-splash-head.
271 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
272 so that we are both using the same image. (Bug#16574)
273
2742014-01-30 Glenn Morris <rgm@gnu.org>
275
276 * simple.el (eval-expression): Doc fix.
277
278 * hexl.el (hexl-mode-hook):
279 * ielm.el (ielm-mode-hook):
280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
281 (lisp-interaction-mode-hook):
282 * progmodes/cfengine.e (cfengine3-documentation-function):
283 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
284
2852014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
288 is a symbol (bug#16584).
289
2902014-01-30 Glenn Morris <rgm@gnu.org>
291
292 * help.el (help-for-help-internal): Add "P" to text.
293
2942014-01-29 Glenn Morris <rgm@gnu.org>
295
296 * simple.el (just-one-space, cycle-spacing): Doc fixes.
297
2982014-01-28 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (fit-frame-to-buffer): Fix calculations for margins and
301 height constraints.
302
3032014-01-28 Luke Lee <luke.yx.lee@gmail.com>
304
305 * progmodes/hideif.el: Extend to full CPP expression syntax.
306 (hif-token-alist): Add missing tokens.
307 (hif-token-regexp): Add support for float/octal/hex immediates.
308 (hif-string-literal-regexp): New const.
309 (hif-tokenize): Recognize strings and float/octal/hex immediates.
310 (hif-exprlist): New function.
311 (hif-parse-if-exp): Use it.
312 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
313 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
314 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
315 (hif-logxor, hif-comma): New functions.
316
3172014-01-28 Glenn Morris <rgm@gnu.org>
318
319 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
320
321 * indent.el (tab-stop-list): Doc fix. Add :version.
322
323 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
324 (cvs-append-to-ignore): Add compatibility alias.
325
3262014-01-27 Glenn Morris <rgm@gnu.org>
327
328 * dired.el (dired-hide-details-mode): Don't autoload it,
329 since it cannot be used outside Dired buffers anyway.
330
331 * emulation/cua-base.el (cua-mode): Doc fix.
332
333 * dired.el (dired-hide-details-hide-symlink-targets)
334 (dired-hide-details-hide-information-lines)
335 (dired-hide-details-mode): Doc fixes.
336
337 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
338 * strokes.el (strokes-file): Doc fix. Bump :version.
339 (strokes-help): Doc fix.
340 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
341 * emulation/viper.el (viper): Doc fix for custom group.
342 (top-level): Remove oh-so-no-longer-relevant text about vip.
343 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
344
345 * ido.el (ido-save-directory-list-file):
346 * saveplace.el (save-place-file):
347 * calendar/timeclock.el (timeclock-file):
348 * net/quickurl.el (quickurl-url-file):
349 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
350 * progmodes/idlwave.el (idlwave-config-directory):
351 * textmodes/remember.el (remember-data-file):
352 Bump :version.
353
3542014-01-26 Glenn Morris <rgm@gnu.org>
355
356 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
357 Doc fix. Make obsolete.
358 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
359
360 * sort.el (delete-duplicate-lines): Doc fix.
361
3622014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
363
364 * progmodes/ada-mode.el (ada):
365 * woman.el (woman): Link to info manual and Commentary section.
366
367 * progmodes/flymake.el (flymake):
368 * nxml/nxml-mode.el (nxml):
369 * net/eww.el (eww):
370 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
371 * htmlfontify.el (htmlfontify):
372 * ses.el (ses):
373 * epa.el (epa):
374 * ido.el (ido): Link to info manual.
375
3762014-01-25 Leo Liu <sdl.web@gmail.com>
377
378 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
379
3802014-01-25 Adam Sjøgren <asjo@koldfront.dk>
381
382 * net/shr.el (shr-tag-img): Prefer the title over the alt text
383 (bug#16537).
384
3852014-01-24 Juanma Barranquero <lekktu@gmail.com>
386
387 * net/eww.el (eww-download-callback):
388 Fix reference to eww-download-directory.
389
390 * emacs-lisp/bytecomp.el (byte-compile-file):
391 Remove unused local variable `file-name'.
392
3932014-01-24 Glenn Morris <rgm@gnu.org>
394
395 * woman.el (woman-default-faces, woman-monochrome-faces):
396 Fix obsolescence specification.
397
398 * subr.el (with-demoted-errors): Doc fix.
399
4002014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
403 (cl--macroexp-fboundp): New function.
404 (cl--make-type-test): Use it.
405
4062014-01-23 Glenn Morris <rgm@gnu.org>
407
408 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
409 * simple.el (eval-expression): Doc fixes.
410
4112014-01-22 Glenn Morris <rgm@gnu.org>
412
413 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
414
4152014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * emacs-lisp/package.el: Write files silently.
418 (package-autoload-ensure-default-file, package--write-file-no-coding)
419 (package-generate-description-file, package--download-one-archive)
420 (package-install-from-archive): Tell `write-region' to stay quiet.
421 (package-menu-mode, package-menu--print-info): Omit the Archive column
422 if there's only one archive.
423 (package-all-keywords, package--has-keyword-p): Remove dead code.
424
4252014-01-22 Glenn Morris <rgm@gnu.org>
426
427 * version.el (emacs-bzr-version-bzr): Fix typo.
428
429 * version.el (emacs-repository-get-version):
430 Check either .bzr or .git, but not both.
431 Make the git case actually use the DIR argument, and return nil
432 rather than the empty string.
433 Avoid error if .git exists but the git executable is not found.
434
4352014-01-22 Martin Rudalics <rudalics@gmx.at>
436
437 Fixes in window size functions around Bug#16430 and Bug#16470.
438 * window.el (window-total-size, window-size): New argument ROUND.
439 (window--min-delta-1, window-min-delta, window--max-delta-1):
440 Be more conservative when calculating the numbers of lines or
441 columns a window can shrink (Bug#16430).
442 (fit-window-to-buffer): Simplify code.
443 * term.el (term-window-width): Call window-body-width again.
444
4452014-01-22 Glenn Morris <rgm@gnu.org>
446
447 * image.el (image-format-suffixes): Doc fix.
448
449 * international/quail.el (quail-define-package): Doc fix.
450
451 * emacs-lisp/authors.el (authors-valid-file-names):
452 (authors-renamed-files-alist): Additions.
453
454 * vc/vc-git.el (vc-git-print-log): Remove --follow;
455 reverts 2014-01-09 change. (Bug#16422)
456
457 * calc/calc-embed.el (thing-at-point-looking-at):
458 * emacs-lisp/map-ynp.el (x-popup-dialog):
459 * obsolete/lmenu.el (x-popup-dialog):
460 * emacs-lisp/package.el (url-recreate-url):
461 * mail/mailclient.el (clipboard-kill-ring-save):
462 * subr.el (x-popup-dialog): Update declaration.
463 * mail/rmail.el (rmail-mime-message-p):
464 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
465
4662014-01-21 Daniel Colascione <dancol@dancol.org>
467
468 * progmodes/sh-script.el (sh--inside-noncommand-expression):
469 Correctly detect when we're inside an arithmetic expansion form
470 containing nested parenthesis.
471 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
472 to detect cases where we shouldn't expand "<<" to a heredoc
473 skeleton.
474
4752014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
478 (eldoc--message-command-p): New function.
479 (eldoc-display-message-p): Use it.
480 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
481 message is not automatically erased for us.
482 (eldoc-print-current-symbol-info): Erase previous message, if any.
483
4842014-01-21 Tassilo Horn <tsdh@gnu.org>
485
486 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
487 specify it's an interactive function.
488
489 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
490 Fix regex used for scanning for citation keys which failed for
491 citations with optional arguments.
492
4932014-01-21 Leo Liu <sdl.web@gmail.com>
494
495 * simple.el (read--expression): Don't enable eldoc-mode.
496
4972014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * simple.el (move-beginning-of-line): Make sure we don't move forward
500 (bug#16497).
501
5022014-01-20 Juri Linkov <juri@jurta.org>
503
504 * saveplace.el (toggle-save-place, save-place-to-alist)
505 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
506 'dired-mode) before checking for dired-directory. (Bug#16477)
507
5082014-01-20 Juri Linkov <juri@jurta.org>
509
510 * indent.el (indent-line-to): Use backward-to-indentation
511 instead of back-to-indentation. (Bug#16461)
512
5132014-01-20 Paul Eggert <eggert@cs.ucla.edu>
514
515 Revert some of the CANNOT_DUMP fix (Bug#16494).
516 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
517 but fixing this can wait until after the next release.
518 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
519
5202014-01-19 Michael Albinus <michael.albinus@gmx.de>
521
522 * eshell/esh-mode.el (eshell-password-prompt-regexp):
523 Use `password-word-equivalents'.
524 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
525 to t. (Bug#5664, Bug#13124)
526
5272014-01-19 Alan Mackenzie <acm@muc.de>
528
529 Bind open-paren-in-column-0-is-defun-start to nil at some entry
530 points.
531 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
532 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
533 * progmodes/cc-mode.el (c-before-change, c-after-change)
534 (c-font-lock-fontify-region): Bind it here.
535
5362014-01-19 Martin Rudalics <rudalics@gmx.at>
537
538 * term.el (term-window-width): Call window-text-width instead of
539 window-width (Bug#16470).
540
5412014-01-18 Paul Eggert <eggert@cs.ucla.edu>
542
543 * simple.el (password-word-equivalents): Remove duplicates.
544 Sort, to make this easier next time.
545 Downcase. Omit ": " after "jelszó".
546
5472014-01-18 Jan Djärv <jan.h.d@swipnet.se>
548
549 * term/common-win.el (saved-region-selection): Defvar it.
550 (x-select-text): Set saved-region-selection (Bug#16382).
551
5522014-01-18 Glenn Morris <rgm@gnu.org>
553
554 * emacs-lisp/authors.el (authors-aliases)
555 (authors-renamed-files-alist): Add some entries.
556
5572014-01-17 Michael Albinus <michael.albinus@gmx.de>
558
559 * net/tramp.el (tramp-password-prompt-regexp):
560 Use `password-word-equivalents' if available.
561 (tramp-action-password, tramp-process-one-action)
562 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
563
5642014-01-17 Chong Yidong <cyd@gnu.org>
565
566 * simple.el (password-word-equivalents): New defcustom.
567 * comint.el (comint-password-prompt-regexp): Use it. Bump version
568 to 24.4.
569 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
570 to t. (Bug#13124)
571
5722014-01-17 Dmitry Gutov <dgutov@yandex.ru>
573
574 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
575 (ruby-align-to-stmt-keywords): Change the default value.
576 Use `ruby-alignable-keywords' to generate the possible customization
577 choices.
578 (ruby-smie-rules): Instead of using a hardcoded list of alignable
579 keywords, check against the value of `ruby-alignable-keywords'
580 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
581
5822014-01-17 Glenn Morris <rgm@gnu.org>
583
584 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
585
586 Make M-x authors return zero *Authors Errors* from current logs.
587 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
588 (authors-ignored-files): Add some entries, remove others.
589 (authors-ambiguous-files, authors-valid-file-names):
590 Add some entries.
591 (authors-renamed-files-alist): Add, remove, and adjust entries.
592 (authors-renamed-files-regexps): Add some entries.
593 Remove some very broad ones. Make some entries `lax'.
594 (authors-lax-changelogs): New constant.
595 (authors-disambiguate-file-name): Treat top-level specially.
596 (authors-lax-changelog-p): New function.
597 (authors-canonical-file-name): Check file as written against
598 authors-valid-file-names. Do not special-case etc/.
599 Handle `lax' logs and authors-renamed-files-regexps elements.
600
6012014-01-16 Dmitry Gutov <dgutov@yandex.ru>
602
603 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
604 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
605 callers.
606
6072014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
610 Assume we're already in the proper buffer.
611 Inspired by Anders Lindgren <andlind@gmail.com>.
612 (follow-post-command-hook): Call it from the right buffer.
613 (follow-comint-scroll-to-bottom): Adjust call.
614 (follow-all-followers): Use get-buffer-window-list.
615
6162014-01-15 Daniel Colascione <dancol@dancol.org>
617
618 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
619 `buffer-file-name' in interactive-form so that we don't leave
620 pathless file names in `file-name-history'.
621
6222014-01-15 Juri Linkov <juri@jurta.org>
623
624 * indent.el (indent-rigidly): Set deactivate-mark to nil
625 in transient indentation mode. (Bug#16438)
626
6272014-01-15 Dmitry Gutov <dgutov@yandex.ru>
628
629 * emacs-lisp/package.el (package-desc-keywords): New function
630 (Bug#16222).
631 (describe-package-1, package-all-keywords)
632 (package--has-keyword-p): Use it.
633
6342014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
635
636 * simple.el (define-alternatives): When creating the
637 COMMAND-alternatives variable, assign COMMAND as its definition
638 name so that `describe-variable' can relocate it.
639
6402014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
641
642 * font-lock.el (font-lock-keywords): Fix typo in docstring
643 (bug#16307).
644
6452014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
646
647 * ispell.el (ispell-region): Reset `in-comment' for new line
648 instead of wrongly reset `add-coment' (bug#13577).
649
6502014-01-14 Daiki Ueno <ueno@gnu.org>
651
652 * epa-file.el (epa-file-write-region): Encode the region according
653 to `buffer-file-format'. Problem reported at:
654 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
655
6562014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
659 so it applies in the right buffer (bug#16410).
660
6612014-01-13 Daniel Colascione <dancol@dancol.org>
662
663 * textmodes/rst.el (rst-define-key): Provide deprecated
664 keybindings through named functions instead of anonymous ones so
665 that "??" doesn't appear in describe-mode output.
666
6672014-01-13 Bastien Guerry <bzg@gnu.org>
668
669 * simple.el (define-alternatives): Call the selected command
670 interactively. When setting `COMMAND--implementation' for the
671 first time, tell the user how to chose another implementation.
672 Enhance the docstring.
673
6742014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
677 (log-edit--match-first-line): New function.
678 (log-edit-font-lock-keywords): Use it.
679 (log-edit-mode): Make jit-lock-defer-multiline work.
680
6812014-01-13 Bastien Guerry <bzg@gnu.org>
682
683 * rect.el (rectangle-mark-mode): When the region is not active,
684 display a message saying that the mark as been set and that
685 rectangle mode is in use.
686 (rectangle--highlight-for-redisplay): Only put an overlay with a
687 visible vertical bar when (display-graphic-p) is non-nil.
688 This partially fixes Bug#16403.
689
6902014-01-13 Juri Linkov <juri@jurta.org>
691
692 * info.el (Info-find-file): Go to DIR before displaying the error
693 about a nonexistent file if no previous Info file is visited.
694 Use `user-error' instead of `error' for "Info file %s does not exist".
695 (Info-find-node-2): In case of a nonexistent node in unwind forms
696 go to the Top node if there is no previous node to revert to.
697 (Bug#16405)
698
6992014-01-13 Martin Rudalics <rudalics@gmx.at>
700
701 fit-frame/window-to-buffer code fixes including one for Bug#14096.
702 * window.el (fit-frame-to-buffer): Fix doc-string.
703 Respect window-min-height/-width. Fit pixelwise when
704 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
705 when avoiding that frame goes partially off-screen.
706 (fit-window-to-buffer): Respect window-min-height/-width
707 (Bug#14096).
708
7092014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
712 after an empty line.
713
7142014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * net/shr.el (shr-render-region): Autoload.
717
7182014-01-12 Xue Fuqiao <xfq.free@gmail.com>
719
720 * net/eww.el (eww-download-directory): Rename from
721 `eww-download-path' (Bug#16419).
722
7232014-01-12 Leo Liu <sdl.web@gmail.com>
724
725 * dired-x.el (dired-mode-map): Fix last change.
726
727 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
728
7292014-01-12 Paul Eggert <eggert@cs.ucla.edu>
730
731 Spelling fixes.
732 * emacs-lisp/generic.el (generic--normalize-comments):
733 Rename from generic--normalise-comments. All uses changed.
734 * play/bubbles.el (bubbles--neighborhood-score):
735 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
736 (bubbles--neighborhood-available)
737 (bubbles--update-neighborhood-score):
738 Rename from names with 'neighbourhood'. All uses changed.
739
7402014-01-12 Leo Liu <sdl.web@gmail.com>
741
742 Re-implement the feature of showing eldoc info after editing.
743 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
744 (eldoc-edit-message-commands): New function.
745 (eldoc-print-after-edit): New variable.
746 (eldoc-pre-command-refresh-echo-area): Emit message only by
747 eldoc-message-commands.
748 (eldoc-mode): Restrict eldoc-message-commands to editing commands
749 if eldoc-print-after-edit is set. (Bug#16346)
750 * simple.el (read--expression): Enable eldoc-mode.
751 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
752
7532014-01-11 Dani Moncayo <dmoncayo@gmail.com>
754 Eric S. Raymond <esr@thyrsus.com>
755
756 * version.el (emacs-repository-get-version): Enhance so the
757 function works correctly in either a Bazaar or Git repo.
758
7592014-01-11 Eric S. Raymond <esr@thyrsus.com>
760
761 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
762 Goes with removal of the joke manpages from /etc.
763
7642014-01-10 K. Handa <handa@gnu.org>
765
766 * mail/rmail.el (rmail-get-coding-system):
767 Check rmail-get-coding-function before "funcall"ing it.
768
7692014-01-10 Glenn Morris <rgm@gnu.org>
770
771 * emacs-lisp/authors.el (authors-fixed-entries):
772 Update for files that no longer exist.
773
7742014-01-10 Eric S. Raymond <esr@thyrsus.com>
775
776 * version.el (emacs-bzr-get-version): Restore compatibilty with
777 24.3 (Tested).
778
7792014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
780
781 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
782 and Podfile.
783
7842014-01-10 Eli Zaretskii <eliz@gnu.org>
785
786 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
787
7882014-01-10 Chong Yidong <cyd@gnu.org>
789
790 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
791
7922014-01-10 Anders Lindgren <andlind@gmail.com>
793
794 * follow.el (follow-cache-command-list): Include right-char and
795 left-char.
796
7972014-01-10 Paul Eggert <eggert@cs.ucla.edu>
798
799 Spelling fixes.
800 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
801 * woman.el (woman-mark-horizontal-position):
802 Rename from woman-mark-horizonal-position. Use changed.
803
8042014-01-10 Glenn Morris <rgm@gnu.org>
805
806 * info.el (info-initialize): If running uninstalled, ensure our
807 own info files are always found first, even if INFOPATH is set.
808
809 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
810
8112014-01-09 David Engster <deng@randomsample.de>
812
813 * emacs-lisp/eieio-custom.el:
814 * emacs-lisp/eieio-opt.el: Set generated autoload file to
815 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
816 * emacs-lisp/eieio.el: Regenerate autoloads.
817
8182014-01-09 Eric S. Raymond <esr@thyrsus.com>
819
820 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
821 following renames. (Bug#8756)
822
8232014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
826 (bug#16382).
827 (activate-mark): Add `no-tmm' argument.
828 (set-mark, push-mark-command): Use it instead of running
829 activate-mark-hook by hand.
830
8312014-01-08 Eric S. Raymond <esr@thyrsus.com>
832
833 In preparation for the move to git, sanitize out some
834 Bazaar-specific names.
835
836 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
837
838 * version.el (emacs-bzr-version): Name changed to
839 emacs-repository-version. Obsolete-variable alias made.
840 * loadup.el: Follow through on this name change.
841 * mail/emacsbug.el (report-emacs-bug): Factor out any
842 assumption about the version control system in use.
843
8442014-01-08 David Engster <deng@randomsample.de>
845
846 * help-fns.el (help-fns-describe-function-functions):
847 New variable to call functions for augmenting help buffers.
848 (describe-function-1): Remove explicit calls to
849 `help-fns--compiler-macro', `help-fns--parent-mode' and
850 `help-fns--obsolete'. Put them in above new variable instead, and
851 call them through `run-hook-with-args'.
852 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
853 `eieio-describe-class'. Not meant for interactive use anymore,
854 but to augment existing help buffers. Remove optional second
855 argument. Create proper button for file location.
856 Rewrite function to use `insert' instead of `princ' and `prin1' where
857 possible.
858 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
859 (eieio-method-def, eieio-class-def): Move further up.
860 (describe-method, describe-generic, eieio-describe-method):
861 Remove aliases.
862 (eieio-help-constructor, eieio-help-generic): Rename from
863 `eieio-describe-constructor' and `eieio-describe-generic', resp.
864 Rewrite to use `insert' in the current buffer and use proper help
865 buttons.
866 (eieio-help-find-method-definition)
867 (eieio-help-find-class-definition): Also accept symbols as
868 arguments.
869 (eieio-help-mode-augmentation-maybee): Remove.
870 (eieio-describe-class-sb): Use `describe-function'.
871 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
872 Add `eieio-help-generic' and `eieio-help-constructor'.
873
8742014-01-08 Paul Eggert <eggert@cs.ucla.edu>
875
876 Spelling fixes.
877 * language/china-util.el (hz-ascii-designation):
878 Rename from hz-ascii-designnation.
879 (hz-ascii-designation): Rename from hz-ascii-designnation.
880 All uses changed.
881
8822014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
885 package-alist.
886
8872014-01-08 Bastien Guerry <bzg@gnu.org>
888
889 * emacs-lisp/package.el (package-delete):
890 Correctly delete the package from package-alist.
891
8922014-01-08 Daiki Ueno <ueno@gnu.org>
893
894 * emacs-lisp/package.el (url-recreate-url): Declare.
895 (url-http-target-url): Declare.
896 (package-handle-response): Include requested URL in the error message.
897 (package--check-signature): Don't re-signal errors from
898 package--with-work-buffer. Suggested by Stefan Monnier.
899
9002014-01-07 Bastien Guerry <bzg@gnu.org>
901
902 * minibuffer.el (completion--try-word-completion): When both a
903 hyphen and a space are possible candidates for the character
904 following a word, display both candidates. (Bug#15980)
905
9062014-01-07 Martin Rudalics <rudalics@gmx.at>
907
908 * window.el (balance-windows-2): While rounding don't give a
909 window more than the remainder. Bug#16351, Bug#16383.
910
9112014-01-07 Glenn Morris <rgm@gnu.org>
912
913 * menu-bar.el (menu-bar-help-extra-packages): Remove.
914 (menu-bar-help-menu): Use view-external-packages instead.
915
9162014-01-07 Bastien Guerry <bzg@gnu.org>
917
918 * emacs-lisp/package.el (package-delete): Also delete the package
919 name from `package-alist', not its description only.
920
9212014-01-07 Glenn Morris <rgm@gnu.org>
922
923 * help.el (view-external-packages):
924 * menu-bar.el (menu-bar-help-extra-packages):
925 Visit efaq.info rather than etc/MORE.STUFF.
926
9272014-01-07 Juri Linkov <juri@jurta.org>
928
929 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
930 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
931
932 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
933 that shadows RET. (Bug#16342)
934
9352014-01-07 Chong Yidong <cyd@gnu.org>
936
937 * isearch.el (isearch-yank-char, isearch-yank-word)
938 (isearch-yank-line): Doc fix.
939
9402014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
943 * emacs-lisp/elint.el (elint-find-builtins):
944 * emacs-lisp/eldoc.el (eldoc-symbol-function):
945 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
946 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
947 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
948 * apropos.el (apropos-safe-documentation):
949 * subr.el (symbol-file): Remove redundant fboundp.
950 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
951
9522014-01-06 Bastien Guerry <bzg@gnu.org>
953
954 * hl-line.el (global-hl-line-overlay): Make a local variable.
955 (global-hl-line-overlays): New variable to store all overlays.
956 (global-hl-line-mode): Don't delete overlays from the current
957 buffer when `global-hl-line-sticky-flag' is non-nil.
958 (global-hl-line-highlight): Add new overlays to
959 `global-hl-line-overlays'.
960 (global-hl-line-unhighlight-all): New function to delete all
961 overlays when turning off `global-hl-line-mode'.
962 This fixes Bug#16183.
963
9642014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * subr.el (set-transient-map): Fix nested case and docstring.
967
9682014-01-06 Tassilo Horn <tsdh@gnu.org>
969
970 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
971 `Texinfo' entry.
972
9732014-01-06 Daniel Colascione <dancol@dancol.org>
974
975 Fix defun navigation in vc log view.
976
977 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
978 like `beginning-of-defun'.
979 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
980 log-view-end-of-defun to log-view-end-of-defun-1. Replace
981 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
982 (log-view-extract-comment): Call `log-view-current-entry' directly
983 instead of relying on broken `log-view-beginning-of-defun' behavior.
984
9852014-01-06 Paul Eggert <eggert@cs.ucla.edu>
986
987 Spelling fixes.
988 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
989 * emacs-lisp/debug.el (cancel-debug-on-entry):
990 * epg.el (epg-error-to-string):
991 * files.el (recover-file):
992 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
993 * mail/emacsbug.el (report-emacs-bug-hook):
994 * mail/sendmail.el (mail-recover):
995 * ses.el (ses-yank-resize):
996 * term/ns-win.el (ns-print-buffer):
997 Spelling fixes in diagnostics, mostly for "canceled" with one L.
998 * epg.el (epg-key-capability-alist): Rename from misspelled version.
999 All uses changed.
1000 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1001
10022014-01-06 Leo Liu <sdl.web@gmail.com>
1003
1004 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1005 to avoid shadowing global key. (Bug#16354)
1006
10072014-01-06 Daniel Colascione <dancol@dancol.org>
1008
1009 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1010 rst-mode.
1011
10122014-01-05 Martin Rudalics <rudalics@gmx.at>
1013
1014 * window.el (balance-windows): Add mising t to fix Bug#16351.
1015
10162014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1017
1018 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1019 (bug#16285).
1020 (shr-insert): If we have a word that's longer than `shr-width',
1021 break after it anyway. Otherwise we'll do no breaking once we get
1022 such a long word.
1023
10242014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1025
1026 * net/eww.el (eww): Support single/double quote for search.
1027 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1028 (eww-history-quit): Delete and use quit-window.
1029 (eww-history-kill): Delete, because it doesn't work well and
1030 not necessary.
1031 (eww-history-mode-map): Delete some keys and add easy-menu.
1032
10332014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1034
1035 Fix misspelling of 'chinese' in rx (Bug#16237).
1036 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1037 chinese-two-byte.
1038
1039 Change subword regexps back to vars (Bug#16296).
1040 * progmodes/subword.el (subword-forward-regexp)
1041 (subword-backward-regexp): Change these back to variables.
1042
10432014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1046 syntax-begin-function (bug#16247).
1047
10482014-01-03 Chong Yidong <cyd@gnu.org>
1049
1050 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1051 (advice--docstring): Delete variable.
1052 (advice--make-1): Leave the docstring empty.
1053 (advice-add): Use function-documentation for advised docstring.
1054
1055 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1056 Ignore function-documentation property when getting documentation.
1057 (ad-activate-advised-definition): Use function-documentation
1058 generate the docstring.
1059 (ad-make-advised-definition): Don't call
1060 ad-make-advised-definition-docstring.
1061 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1062 Delete functions.
1063
1064 * progmodes/sql.el (sql-help): Use function-documentation instead
1065 of dynamic-docstring-function property. No need to autoload now.
1066 (sql--help-docstring): New variable.
1067 (sql--make-help-docstring): Use it.
1068
10692014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * ielm.el (ielm-tab): Retarget.
1072 (ielm-map): Use ielm-tab for tab.
1073 (ielm-complete-filename): Use comint-filename-completion.
1074 (ielm-complete-symbol): Remove.
1075 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1076 remove ielm-tab from completion-at-point-functions (bug#16224).
1077
1078 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1079 Beware signals raised by predicates (bug#16201).
1080
10812014-01-02 Richard Stallman <rms@gnu.org>
1082
1083 * dired-aux.el (dired-do-print): Handle printer-name.
1084
1085 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1086 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1087 (rmail-epa-decrypt): Turn off mime processing.
1088
1089 * mail/rmail.el (rmail-make-in-reply-to-field):
1090 Add parens in message-id.
1091
1092 * mail/rmail.el (rmail-get-coding-function): Variable.
1093 (rmail-get-coding-system): Use it.
1094
10952013-12-31 Eli Zaretskii <eliz@gnu.org>
1096
1097 * international/mule-conf.el: Unify the charset indian-is13194.
1098 (indian-is13194): Specify unify-map.
1099
11002013-12-31 Leo Liu <sdl.web@gmail.com>
1101
1102 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1103
11042013-12-30 Daniel Colascione <dancol@dancol.org>
1105
1106 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1107 of printing a useless when we resume from sleep.
1108
1109 * progmodes/sh-script.el
1110 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1111 in indentation code. (Bug#16233)
1112
11132013-12-28 João Távora <joaotavora@gmail.com>
1114
1115 * elec-pair.el (electric-pair-post-self-insert-function):
1116 Don't open extra newlines at beginning of buffer. (Bug#16272)
1117
11182013-12-28 Eli Zaretskii <eliz@gnu.org>
1119
1120 * frame.el (window-system-for-display): Don't allow to create a
1121 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1122
11232013-12-28 Glenn Morris <rgm@gnu.org>
1124
1125 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1126 Update callers.
1127
1128 * apropos.el (apropos-match-face):
1129 * calculator.el (calculator-displayer):
1130 * dabbrev.el (dabbrev-search-these-buffers-only):
1131 * face-remap.el (buffer-face-mode-face):
1132 * simple.el (yank-handled-properties):
1133 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1134 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1135 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1136 (hashcash-double-spend-database):
1137 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1138 (ruby-deep-indent-paren-style):
1139 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1140 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1141 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1142 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1143 Specify custom types.
1144
1145 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1146 * bookmark.el (bookmark-bmenu-use-header-line):
1147 * doc-view.el (doc-view-scale-internally):
1148 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1149 * register.el (register-preview-delay):
1150 * net/shr.el (shr-bullet):
1151 * progmodes/cfengine.el (cfengine-cf-promises)
1152 (cfengine-parameters-indent):
1153 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1154 * textmodes/reftex-vars.el (reftex-label-regexps):
1155 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1156
1157 * net/tls.el (tls-certtool-program): Fix default value.
1158
1159 * desktop.el (desktop-restore-in-current-display):
1160 * newcomment.el (comment-empty-lines):
1161 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1162 (idlwave-pad-keyword):
1163 * progmodes/tcl.el (tcl-tab-always-indent):
1164 * textmodes/reftex-vars.el (reftex-index-default-tag):
1165 * elec-pair.el (electric-pair-skip-whitespace):
1166 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1167
1168 * emacs-lisp/authors.el (authors-ignored-files)
1169 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1170
11712013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1172
1173 * shell.el (shell-dynamic-complete-command): Doc fix.
1174 (shell--command-completion-data): Shell completion now matches
1175 executable filenames from the current buffer's directory, on
1176 systems in which this behavior is the default (windows-nt, ms-dos).
1177
11782013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1179
1180 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1181
11822013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1185 (bug#16251).
1186
1187 * electric.el: Move all electric-pair-* to elec-pair.el.
1188 * elec-pair.el: New file, split from electric.el.
1189
11902013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1191
1192 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1193 indentation level is larger than the width, because that will
1194 infloop.
1195 (shr-insert): Fill repeatedly long texts, so that Japanese is
1196 formatted correctly (bug#16263).
1197 (shr-find-fill-point): Off by one error in comparison with the
1198 indentation.
1199
12002013-12-26 João Távora <joaotavora@gmail.com>
1201
1202 * electric.el (electric-pair-mode): More flexible engine for skip-
1203 and inhibit predicates, new options for pairing-related functionality.
1204 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1205 if that keeps or improves their balance in buffers.
1206 (electric-pair-delete-adjacent-pairs): Delete the pair when
1207 backspacing over adjacent matched delimiters.
1208 (electric-pair-open-extra-newline): Open extra newline when
1209 inserting newlines between adjacent matched delimiters.
1210 (electric--sort-post-self-insertion-hook):
1211 Sort post-self-insert-hook according to priority values when
1212 minor-modes are activated.
1213 * simple.el (newline-and-indent): Call newline with interactive
1214 set to t.
1215 (blink-paren-post-self-insert-function): Set priority to 100.
1216 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1217 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1218 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1219 electric-pair-open-newline-between-pairs to nil.
1220
12212013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1222
1223 * progmodes/python.el: Use lexical-binding.
1224 (python-nav-beginning-of-defun): Stop searching ASAP.
1225
12262013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1227
1228 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1229 Fix interactive spec. Doc fix. (Bug#15754)
1230
12312013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1232
1233 * emacs-lisp/byte-run.el (eval-when-compile):
1234 * progmodes/cc-defs.el (cc-eval-when-compile):
1235 Fix edebug spec (bug#16184).
1236
12372013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1238
1239 * net/shr.el (shr-visit-file): Remove debugging function.
1240 (shr-insert): Don't infloop if we can't find a good place to break
1241 the line (bug#16256).
1242
12432013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1244
1245 * progmodes/python.el:
1246 (python-nav--lisp-forward-sexp): New function.
1247 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1248 python-nav-lisp-forward-sexp-safe.
1249 (python-nav--forward-sexp): New argument SAFE allows switching
1250 forward sexp movement behavior for parens.
1251 (python-nav-forward-sexp): Throw errors on unterminated parens
1252 (Bug#16191).
1253 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1254 (python-nav-backward-sexp-safe): New functions.
1255 (python-shell-buffer-substring):
1256 Use `python-nav-forward-sexp-safe'.
1257
12582013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1259
1260 * net/shr.el (shr-find-fill-point): Don't break lines before a
1261 quotation mark.
1262 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1263 (shr-find-fill-point): Remove the special checks for the quotation
1264 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1265
12662013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1267
1268 * net/eww.el (eww-form-textarea): Use a different face for
1269 textareas than text input since they have different keymaps
1270 (bug#16142).
1271
12722013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1273
1274 * progmodes/python.el (python-nav-beginning-of-statement):
1275 Speed up (Bug#15295).
1276
12772013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1278
1279 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1280 the window configuration.
1281
12822013-12-24 Eli Zaretskii <eliz@gnu.org>
1283
1284 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1285 we run on MS-Windows or MS-DOS.
1286
12872013-12-24 Martin Rudalics <rudalics@gmx.at>
1288
1289 * window.el (balance-windows-area): Call window-size instead of
1290 window-height and window-width. Bug#16241.
1291
12922013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1293
1294 * net/eww.el (eww-bookmark-quit): Remove.
1295 (eww-bookmark-browse): Restore the window configuration when you
1296 choose a bookmark (bug#16144).
1297
12982013-12-24 Daniel Colascione <dancol@dancol.org>
1299
1300 * icomplete.el: Remove redundant :group arguments to `defcustom'
1301 throughout.
1302 (icomplete-show-matches-on-no-input): New customizable variable.
1303 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1304 we have something to show.
1305 (icomplete-exhibit): Compute completions even if we have no user input.
1306
13072013-12-23 Daniel Colascione <dancol@dancol.org>
1308
1309 * icomplete.el: Move `provide' to end of file.
1310
13112013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1312
1313 * net/gnutls.el (gnutls-verify-error): Add version tag.
1314
13152013-12-23 Chong Yidong <cyd@gnu.org>
1316
1317 * subr.el (set-transient-map): Rename from
1318 set-temporary-overlay-map. Doc fix.
1319
1320 * face-remap.el (text-scale-adjust):
1321 * indent.el (indent-rigidly):
1322 * kmacro.el (kmacro-call-macro):
1323 * minibuffer.el (minibuffer-force-complete):
1324 * repeat.el (repeat):
1325 * simple.el (universal-argument--mode):
1326 * calendar/todo-mode.el (todo-insert-item--next-param):
1327 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1328
1329 * indent.el (indent-rigidly): Use substitute-command-keys.
1330
13312013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1332
1333 * net/eww.el (eww-tag-select): Add text-property to jump to next
1334 select field.
1335 (eww): Add non-supported ftp error.
1336
13372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1338
1339 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1340 comments. Handle electric indent after typing `?' and `!'.
1341
13422013-12-22 Chong Yidong <cyd@gnu.org>
1343
1344 * faces.el (face-spec-recalc): If the theme specs are not
1345 applicable to a frame, fall back on the defface spec.
1346 This prevents themes from obliterating faces on low-color terminals.
1347
13482013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1349
1350 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1351 after `{'. We need it after block openers, and it doesn't seem
1352 to hurt after hash openers.
1353
13542013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1357 extracted from `ruby-smie-rules'.
1358 (ruby--electric-indent-chars): New variable.
1359 (ruby--electric-indent-p): New function.
1360 (ruby-mode): Use `electric-indent-functions' instead of
1361 `electric-indent-chars'.
1362
13632013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1364
1365 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1366 docstring.
1367 (ruby-smie-rules): Indent plus one level after `=>'.
1368
13692013-12-21 Richard Stallman <rms@gnu.org>
1370
1371 * simple.el (newline): Doc fix.
1372
13732013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1374
1375 * net/eww.el (eww-list-histories, eww-list-histories)
1376 (eww-history-browse, eww-history-quit, eww-history-kill)
1377 (eww-history-mode-map, eww-history-mode): New command and
1378 functions to list browser histories.
1379 (eww-form-text): Support text form with disabled
1380 and readonly attributes.
1381 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1382
13832013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1384
1385 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1386 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1387 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1388 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1389 Use `user-error'.
1390 (eww-bookmark-mode-map): Add menu.
1391 (eww-render, eww-mode): Use `setq-local'.
1392 (eww-tool-bar-map): New variable.
1393 (eww-mode): Set `tool-bar-map'.
1394 (eww-view-source): Check for `html-mode' with `fboundp'.
1395
13962013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1397
1398 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1399 elements with text inside. Also remove debugging.
1400
14012013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1402
1403 * cus-start.el (all): Add ns-use-srgb-colorspace.
1404
14052013-12-21 Chong Yidong <cyd@gnu.org>
1406
1407 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1408 undefined. Thus, theme settings for undefined faces do not take
1409 effect until the faces are defined with defface, the same as with
1410 theme variables.
1411
1412 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1413 (face-spec-reset-face): Don't assign extra properties in temacs.
1414 (face-spec-recalc): Apply X resources too.
1415
14162013-12-21 Chong Yidong <cyd@gnu.org>
1417
1418 * faces.el (face-spec-set):
1419 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1420 * custom.el (defface): Doc fixes (Bug#16203).
1421
1422 * indent.el (indent-rigidly-map): Add docstring, and move commands
1423 into named functions.
1424 (indent-rigidly-left, indent-rigidly-right)
1425 (indent-rigidly-left-to-tab-stop)
1426 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1427 indentation direction based on bidi direction, and accumulate
1428 sequential commands in a single undo boundary.
1429 (indent-rigidly--pop-undo): New utility function.
1430
14312013-12-20 Juanma Barranquero <lekktu@gmail.com>
1432
1433 * faces.el (read-face-name): Require crm.el when using crm-separator.
1434
14352013-12-20 Daniel Colascione <dancol@dancol.org>
1436
1437 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1438 so that we don't reflow comments into the shebang line.
1439
14402013-12-20 Juri Linkov <juri@jurta.org>
1441
1442 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1443 a position when `dired-directory' is non-nil. Check integer
1444 positions with `integerp'.
1445 (toggle-save-place, save-places-to-alist): Add check for
1446 `dired-directory'.
1447 (save-place-find-file-hook): Check integer positions with
1448 `integerp'.
1449 (save-place-dired-hook): Use `dired-goto-file' when
1450 `dired-filename' is found in the assoc list. Check integer
1451 positions with `integerp'.
1452 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1453
1454 * dired.el (dired-initial-position-hook): Rename back from
1455 `dired-initial-point-hook'.
1456 (dired-initial-position): Rename `dired-initial-point-hook' to
1457 `dired-initial-position-hook'.
1458 (dired-file-name-at-point): Doc fix. (Bug#15329)
1459
14602013-12-20 Juri Linkov <juri@jurta.org>
1461
1462 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1463 (read-regexp-suggestions): New function.
1464 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1465 Use `read-regexp-suggestions'. Add non-empty default to history
1466 for empty input.
1467 (occur-read-regexp-defaults-function): Remove function.
1468 (occur-read-primary-args): Use `regexp-history-last' instead of
1469 `occur-read-regexp-defaults-function'.
1470
1471 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1472 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1473 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1474 `hi-lock-read-regexp-defaults-function'. Doc fix.
1475 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1476 with `find-tag-default-as-symbol-regexp'. Doc fix.
1477 (hi-lock-read-regexp-defaults): Remove function.
1478 (hi-lock-regexp-okay): Add check for null.
1479
1480 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1481 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1482
1483 * subr.el (find-tag-default-as-symbol-regexp): New function.
1484 (find-tag-default-as-regexp): Move symbol regexp formatting to
1485 `find-tag-default-as-symbol-regexp'.
1486
14872013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1488
1489 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1490 (Bug#14179)
1491
14922013-12-20 Stephen Berman <stephen.berman@gmx.net>
1493
1494 * calendar/todo-mode.el: New implementation of item insertion
1495 commands and key bindings.
1496 (todo-key-prompt): New face.
1497 (todo-insert-item): New command.
1498 (todo-insert-item--parameters): New defconst, replacing defvar
1499 todo-insertion-commands-args-genlist.
1500 (todo-insert-item--param-key-alist): New defconst, replacing
1501 defvar todo-insertion-commands-arg-key-list.
1502 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1503 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1504 (todo-insert-item--next-param): New functions.
1505 (todo-insert-item--args, todo-insert-item--argleft)
1506 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1507 New variables.
1508 (todo-key-bindings-t): Change binding of "i" from
1509 todo-insertion-map to todo-insert-item.
1510 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1511 (todo-insertion-command-name, todo-insertion-commands-names)
1512 (todo-define-insertion-command, todo-insertion-commands)
1513 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1514
15152013-12-20 Stephen Berman <stephen.berman@gmx.net>
1516
1517 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1518 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1519 eval-when-compile.
1520 (todo-move-category): Allow choosing a non-existing todo file to
1521 move the category to, and create that file.
1522 (todo-default-priority): New user option.
1523 (todo-set-item-priority): Use it.
1524 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1525 (desktop-restore-file-buffer): Declare.
1526 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1527 (todo-modes-set-2): Locally set desktop-save-buffer to
1528 todo-desktop-save-buffer.
1529 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1530 (auto-mode-alist): Add autoload cookie.
1531
15322013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1533
1534 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1535 helpers.el was a poor choice of name.
1536 (string-remove-prefix): New function.
1537 (string-remove-suffix): New function.
1538
15392013-12-20 Martin Rudalics <rudalics@gmx.at>
1540
1541 Fix assignment for new window total sizes.
1542 * window.el (window--pixel-to-size): Remove function.
1543 (window--pixel-to-total-1, window--pixel-to-total):
1544 Fix calculation of new total sizes.
1545
15462013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1547
1548 * comint.el (comint-output-filter): Fix rear-nonsticky property
1549 placement (Bug#16010).
1550
15512013-12-20 Chong Yidong <cyd@gnu.org>
1552
1553 * faces.el (read-color): Minor fix for completion function.
1554
15552013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1556
1557 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1558 New option. (Bug#16182)
1559 (ruby-smie--indent-to-stmt-p): Use it.
1560 (ruby-smie-rules): Revert the logic in the handling of `when'.
1561 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1562 (ruby-deep-arglist, ruby-deep-indent-paren)
1563 (ruby-deep-indent-paren-style): Update docstrings to note that the
1564 vars don't have any effect with SMIE.
1565
15662013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1567
1568 * calc/calc.el (calc-enter, calc-pop): Use the variable
1569 `calc-context-sensitive-enter'.
1570
15712013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1572
1573 * net/shr.el (shr-insert): Protect against infloops in degenerate
1574 tables.
1575
15762013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1577
1578 * progmodes/octave.el (octave): Add link to manual and octave
1579 homepage.
1580 (octave-mode-menu): Link to octave-mode manual.
1581
15822013-12-20 Leo Liu <sdl.web@gmail.com>
1583
1584 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1585 insertion using skeleton-end-newline. (Bug#16138)
1586
15872013-12-20 Juri Linkov <juri@jurta.org>
1588
1589 * replace.el (occur-engine): Use `add-face-text-property'
1590 to add the face property to matches and titles. (Bug#14645)
1591
1592 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1593 the palette of other hi-lock colors.
1594 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1595
15962013-12-19 Juri Linkov <juri@jurta.org>
1597
1598 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1599 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1600 (minibuffer-history-symbol): Move variable declaration closer to
1601 its usage.
1602
1603 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1604 (Bug#14785)
1605
16062013-12-19 Juri Linkov <juri@jurta.org>
1607
1608 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1609 New function.
1610 (log-edit-hook): Add it to :options. (Bug#16170)
1611
16122013-12-19 Juri Linkov <juri@jurta.org>
1613
1614 * simple.el (eval-expression-print-format): Don't check for
1615 command names and the last command. Always display additional
1616 formats of the integer result in the echo area, and insert them
1617 to the current buffer only with a zero prefix arg.
1618 Display character when char-displayable-p is non-nil.
1619 (eval-expression): With a zero prefix arg, set `print-length' and
1620 `print-level' to nil, and insert the integer values from
1621 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1622
1623 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1624 `eval-last-sexp-arg-internal'. Doc fix.
1625 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1626 `eval-last-sexp-print-value'. Doc fix.
1627 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1628 Set `print-length' and `print-level' to nil when arg is zero.
1629 (eval-last-sexp): Doc fix.
1630 (eval-defun-2): Print the integer values from
1631 `eval-expression-print-format' at the end.
1632
1633 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1634 values from `eval-expression-print-format' at the end.
1635
1636 * ielm.el (ielm-eval-input): Print the integer
1637 values from `eval-expression-print-format' at the end.
1638
16392013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1640
1641 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1642 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1643
16442013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1647 (hl-line-highlight, global-hl-line-highlight): Use it.
1648 (hl-line-overlay): Use defvar-local.
1649
16502013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1651
1652 * term/ns-win.el: Require dnd.
1653 (global-map): Remove drag items.
1654 (ns-insert-text, ns-set-foreground-at-mouse)
1655 (ns-set-background-at-mouse):
1656 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1657 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1658 New functions.
1659
16602013-12-19 Glenn Morris <rgm@gnu.org>
1661
1662 * emacs-lisp/ert.el (ert-select-tests):
1663 Fix string/symbol mixup. (Bug#16121)
1664
16652013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1666
1667 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1668 keywords to their parent.
1669
16702013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1673 first arg to be a string (fixed dead code), or an operator symbol.
1674 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1675 operator symbols.
1676 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1677 did nothing. Don't respond to `(:after ".")', it will be called
1678 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1679 change anything. Only return indentation for binary operators
1680 when they are hanging. De-dent opening paren when its parent is
1681 `.', otherwise it looks bad when the dot is not at bol or eol
1682 (bug#16182).
1683
16842013-12-19 Juri Linkov <juri@jurta.org>
1685
1686 * replace.el (query-replace-read-args): Split a non-negative arg
1687 and a negative arg into separate elements.
1688 (query-replace, query-replace-regexp, replace-string)
1689 (replace-regexp): Add arg `backward'. Doc fix.
1690 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1691 move point to the beginning of the match.
1692 (replace-search, replace-highlight): Use new arg `backward'
1693 to set the value of `isearch-forward'.
1694 (perform-replace): Add arg `backward' and use it to perform
1695 replacement backward. (Bug#14979)
1696
1697 * isearch.el (isearch-query-replace): Use a negative prefix arg
1698 to call `perform-replace' with a non-nil arg `backward'.
1699
17002013-12-18 Juri Linkov <juri@jurta.org>
1701
1702 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1703 to the default list. Move `log-edit-show-files' to the end.
1704 Add more available functions to options.
1705 (log-edit): Move default specific settings to
1706 `log-edit-insert-message-template'. Don't move point.
1707 (log-edit-insert-message-template): New function.
1708 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1709 (Bug#16170)
1710
17112013-12-18 Juri Linkov <juri@jurta.org>
1712
1713 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1714 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1715
17162013-12-18 Leo Liu <sdl.web@gmail.com>
1717
1718 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1719 (Bug#16186)
1720
17212013-12-18 Eli Zaretskii <eliz@gnu.org>
1722
1723 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1724 formats for displaying file sizes when the -s switch is given.
1725 Instead, compute a separate format for displaying the size in
1726 blocks, which is displayed in addition to the "regular" size.
1727 When -h is given in addition to -s, produce size in blocks in
1728 human-readable form as well. (Bug#16179)
1729
17302013-12-18 Tassilo Horn <tsdh@gnu.org>
1731
1732 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1733 Reference tables with ~\ref{...} instead of only \ref{...}.
1734
17352013-12-18 Chong Yidong <cyd@gnu.org>
1736
1737 * cus-edit.el (custom-magic-alist): Fix "themed" description
1738 (Bug#14348).
1739
1740 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1741 is non-nil, do not create a new entry in the symbol's theme-value
1742 or theme-face property; update theme-settings only (Bug#14664).
1743 (custom-available-themes): Doc fix.
1744
1745 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1746 (Bug#15674).
1747
1748 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1749
17502013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1751
1752 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1753 (Bug#13914).
1754
17552013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1756
1757 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1758
17592013-12-18 Glenn Morris <rgm@gnu.org>
1760
1761 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1762 * cus-start.el (load-prefer-newer): New option.
1763
17642013-12-18 Le Wang <l26wang@gmail.com>
1765
1766 * comint.el (comint-previous-matching-input-from-input):
1767 Retain point (Bug#13404).
1768
17692013-12-18 Chong Yidong <cyd@gnu.org>
1770
1771 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1772
17732013-12-18 Glenn Morris <rgm@gnu.org>
1774
1775 * mail/emacsbug.el (report-emacs-bug):
1776 Only mention enable-multibyte-characters if non-standard.
1777
17782013-12-17 Juri Linkov <juri@jurta.org>
1779
1780 * arc-mode.el (archive-extract-by-file): Check if directory exists
1781 before deletion to not show irrelevant errors if it doesn't exist.
1782
17832013-12-17 Juri Linkov <juri@jurta.org>
1784
1785 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1786 (Bug#14751)
1787
1788 * net/eww.el (browse-web): Add alias to `eww'.
1789 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1790 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1791
1792 * net/browse-url.el (browse-url-browser-function): Move `eww'
1793 closer to similar functions.
1794
1795 * startup.el (fancy-startup-screen, fancy-about-screen):
1796 Set browse-url-browser-function to eww-browse-url locally.
1797 (Bug#14751)
1798
17992013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * window.el (window--pixel-to-total): Remove unused `mini' var.
1802 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1803 (split-window): Remove unused `new' var.
1804 (window--display-buffer): Remove unused `frame' and `delta' vars.
1805 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1806 and display-width'.
1807
18082013-12-17 Martin Rudalics <rudalics@gmx.at>
1809
1810 * dired.el (dired-mark-pop-up):
1811 * register.el (register-preview): Don't bind
1812 split-height-threshold here since it's now done in
1813 display-buffer-below-selected.
1814
18152013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1816
1817 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1818 xterm-rgb-convert-to-16bit.
1819 (rxvt-register-default-colors): Standardize with
1820 xterm-register-default-colors (Bug#14078).
1821
18222013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1823
1824 * simple.el (kill-region): Pass mark first, then point, so that
1825 kill-append works right (Bug#12819).
1826 (copy-region-as-kill, kill-ring-save): Likewise.
1827
18282013-12-17 Leo Liu <sdl.web@gmail.com>
1829
1830 * net/rcirc.el (rcirc-add-face):
1831 * eshell/em-prompt.el (eshell-emit-prompt):
1832 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1833 (Bug#16167)
1834
18352013-12-17 Chong Yidong <cyd@gnu.org>
1836
1837 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1838 Suggested by Xue Fuqiao.
1839
18402013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1843
18442013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * net/shr.el (shr-insert-document): Remove unused var
1847 `shr-preliminary-table-render'.
1848 (shr-rescale-image): Remove unused arg `force'.
1849 (shr-put-image): Update calls accordingly.
1850 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1851
18522013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1855 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1856 :close-all, to see which indentation method to use (Bug#16116).
1857 (smie-rules-function): Document the method :close-all.
1858
18592013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1860
1861 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1862
1863 * net/eww.el (eww-display-html): If we can't find the anchor we're
1864 looking for, then go to point-min.
1865
18662013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1867
1868 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1869 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1870 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1871 Expand dir too, in case it's relative.
1872
18732013-12-16 Juri Linkov <juri@jurta.org>
1874
1875 * desktop.el (desktop-auto-save-timeout): Change default to
1876 `auto-save-timeout'. Doc fix.
1877 (desktop-save): Skip the timestamp in desktop-saved-frameset
1878 when checking for auto-save changes.
1879 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1880 `desktop-auto-save' is called repeatedly by the idle timer.
1881 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1882 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1883 (Bug#15331)
1884
18852013-12-16 Juri Linkov <juri@jurta.org>
1886
1887 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1888 (Bug#16035)
1889 (isearch-pre-command-hook): Check `this-command' for symbolp.
1890
18912013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1894
18952013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1896
1897 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1898 (cfengine3--current-function): Bring in the current-function
1899 functionality from `cfengine3--current-word'.
1900 (cfengine3-completion-function): Bring in the
1901 bounds-of-current-word functionality from
1902 `cfengine3--current-word'.
1903
19042013-12-16 Martin Rudalics <rudalics@gmx.at>
1905
1906 * window.el (display-buffer-below-selected):
1907 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1908
19092013-12-16 Leo Liu <sdl.web@gmail.com>
1910
1911 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1912 Remove NOMSG arg and all uses changed.
1913
19142013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1917 (cua--deactivate-rectangle): Don't deactivate the mark.
1918 (cua-set-rectangle-mark): Don't set mark-active since
1919 cua--activate-rectangle already does it for us.
1920 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1921 non-rectangular region.
1922
1923 * emulation/cua-base.el (cua-repeat-replace-region):
1924 Use with-current-buffer.
1925
1926 * net/gnutls.el: Use cl-lib.
1927 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1928
19292013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1930
1931 * emacs-lisp/package.el (package-built-in-p): Support both
1932 built-in and the package.el converted package descriptions.
1933 (package-show-package-list): Allow keywords.
1934 (package-keyword-button-action): Use it instead of
1935 `finder-list-matches'.
1936 (package-menu-filter-interactive): Interactive filtering (by
1937 keyword) function.
1938 (package-menu--generate): Support keywords and change keymappings
1939 and headers when they are given.
1940 (package--has-keyword-p): Helper function.
1941 (package-menu--refresh): Use it.
1942 (package--mapc): Helper function.
1943 (package-all-keywords): Use it.
1944 (package-menu-mode-map): Set up menu items and keybindings to
1945 provide a filtering UI.
1946
19472013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1948
1949 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1950 the behavior when a certificate fails validation. Defaults to
1951 old behavior: never abort, just warn.
1952 (gnutls-negotiate): Use it.
1953
19542013-12-14 Martin Rudalics <rudalics@gmx.at>
1955
1956 * window.el (display-buffer-below-selected): Never split window
1957 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1958
19592013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1960
1961 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1962 (package-buffer-info): Use it (bug#15108).
1963
19642013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * icomplete.el (icomplete-completions): Make sure the prefix is already
1967 displayed elsewhere before hiding it (bug#16219).
1968
19692013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1970
1971 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1972 open-paren tokens when preceded by a open-paren, too.
1973 (ruby-smie-rules): Handle virtual indentation after open-paren
1974 tokens specially. If there is code between it and eol, return the
1975 column where is starts (Bug#16118).
1976
19772013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1978
1979 * progmodes/cfengine.el: Fix `add-hook' doc.
1980 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1981 (cfengine3--current-word): Fix parameters.
1982 (cfengine3-make-syntax-cache): Simplify further.
1983 (cfengine3-completion-function, cfengine3--current-function):
1984 Use `assq' for symbols.
1985 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1986
19872013-12-13 Glenn Morris <rgm@gnu.org>
1988
1989 * loadup.el (load-path): Warn if site-load or site-init changes it.
1990 No more need to reset it when bootstrapping.
1991
19922013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1993
1994 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1995 locations for cf-promises.
1996 (cfengine-mode-syntax-functions-regex): New caching variable.
1997 (cfengine3-fallback-syntax): Fallback syntax for cases where
1998 cf-promises doesn't run.
1999 (cfengine3--current-word): Reimplement using
2000 `cfengine-mode-syntax-functions-regex'.
2001 (cfengine3-completion-function, cfengine3--current-function):
2002 Use `cfengine3-make-syntax-cache' directly.
2003 (cfengine3-clear-syntax-cache): New function.
2004 (cfengine3-make-syntax-cache): Simplify and create
2005 `cfengine-mode-syntax-functions-regex' on demand.
2006 (cfengine3-format-function-docstring): Don't call
2007 `cfengine3-make-syntax-cache' explicitly.
2008
20092013-12-13 Martin Rudalics <rudalics@gmx.at>
2010
2011 Fix windmove-find-other-window broken after pixelwise resizing
2012 (Bug#16017).
2013 * windmove.el (windmove-other-window-loc): Revert change from
2014 2013-12-04.
2015 (windmove-find-other-window): Call window-in-direction.
2016 * window.el (window-in-direction): New arguments SIGN, WRAP and
2017 MINI to emulate original windmove-find-other-window behavior.
2018
20192013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * simple.el (blink-matching--overlay): New variable.
2022 (blink-matching-open): Instead of moving point, highlight the
2023 matching paren with an overlay
2024 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2025
2026 * faces.el (paren-showing-faces, show-paren-match)
2027 (show-paren-mismatch): Move from paren.el.
2028
20292013-12-13 Leo Liu <sdl.web@gmail.com>
2030
2031 * indent.el (indent-region): Disable progress reporter in
2032 minibuffer. (Bug#16108)
2033
2034 * bindings.el (visual-order-cursor-movement): Fix version.
2035
20362013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2037
2038 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2039 Also match after beginning of line.
2040 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2041 files. Thanks to Russell Sim. (Bug#15378)
2042
20432013-12-13 Juri Linkov <juri@jurta.org>
2044
2045 * simple.el <Keypad support>: Remove key bindings duplicated
2046 with bindings.el. (Bug#14397)
2047
20482013-12-13 Juri Linkov <juri@jurta.org>
2049
2050 * comint.el (comint-mode-map): Replace `delete-char' with
2051 `delete-forward-char'. (Bug#16109)
2052
20532013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2054
2055 * progmodes/python.el (python-indent-calculate-indentation):
2056 Fix de-denters cornercase. (Bug#15731)
2057
20582013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2061 (advice--make): Pay attention to `depth'.
2062 (advice--make-1): Don't autoload commands eagerly.
2063 * emacs-lisp/elp.el (elp-instrument-function):
2064 * emacs-lisp/trace.el (trace-function-internal):
2065 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2066
2067 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2068
20692013-12-12 Eli Zaretskii <eliz@gnu.org>
2070
2071 * term/w32-win.el (w32-handle-dropped-file):
2072 * startup.el (normal-top-level):
2073 * net/browse-url.el (browse-url-file-url):
2074 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2075 decode file names using 'utf-8' rather than
2076 file-name-coding-system.
2077
20782013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2079
2080 * progmodes/python.el (python-indent-context)
2081 (python-indent-calculate-indentation): Fix auto-identation
2082 behavior for comment blocks. (Bug#15916)
2083
20842013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2085
2086 * progmodes/python.el (python-indent-calculate-indentation):
2087 When determining indentation, don't treat "return", "pass", etc., as
2088 operators when they are just string constituents. (Bug#15812)
2089
20902013-12-12 Juri Linkov <juri@jurta.org>
2091
2092 * uniquify.el (uniquify-buffer-name-style): Change default to
2093 `post-forward-angle-brackets'.
2094
2095 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2096 `uniquify'. Change default to `post-forward-angle-brackets'.
2097
20982013-12-11 Glenn Morris <rgm@gnu.org>
2099
2100 * emacs-lisp/package.el (finder-list-matches):
2101 Autoload rather than falsely declaring.
2102
21032013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2104
2105 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2106 (eww-mode-map): Use them.
2107
21082013-12-11 Martin Rudalics <rudalics@gmx.at>
2109
2110 * window.el (display-buffer-in-side-window): Fix doc-string
2111 (Bug#16115).
2112
21132013-12-11 Juanma Barranquero <lekktu@gmail.com>
2114
2115 * vc/vc-git.el: Silence byte-compiler warnings.
2116 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2117 (log-edit-set-header): Declare.
2118
21192013-12-11 Eli Zaretskii <eliz@gnu.org>
2120
2121 * Makefile.in (custom-deps, finder-data): Run output file names
2122 through unmsys--file-name. (Bug#16099)
2123
21242013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2127 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2128
2129 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2130 instead of deleting the selection "by hand" (bug#16098).
2131 Rely on insert-for-yank to yank rectangles.
2132 (cua-highlight-region-shift-only): Mark obsolete.
2133 (cua-mode): Don't enable/disable transient-mark-mode,
2134 shift-select-mode (cua-mode works both with and without them), and
2135 pc-selection-mode (obsolete).
2136 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2137 (cua--deactivate-rectangle): Deactivate it.
2138
2139 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2140 (delete-selection-helper): Make sure yank starts at the top of the
2141 deleted region.
2142 (minibuffer-keyboard-quit): Use region-active-p.
2143
2144 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2145
2146 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2147 to `delete' (bug#16109).
2148
21492013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2150
2151 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2152 info manual and show keybindings and set `:group' keyword.
2153
21542013-12-11 Juri Linkov <juri@jurta.org>
2155
2156 * delsel.el (delete-active-region): Let-bind `this-command'
2157 to prevent `kill-region' from changing its original value.
2158 (delete-selection-helper): Handle `overwrite-mode' for the type
2159 `kill' exactly the same way as for the type `t'.
2160 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2161 Support more commands. (Bug#13312)
2162
21632013-12-11 Juri Linkov <juri@jurta.org>
2164
2165 * bindings.el: Map kp keys to non-kp keys systematically
2166 with basic modifiers control, meta and shift. (Bug#14397)
2167
21682013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2169
2170 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2171 "Close browser" menu items. Fix wrong function of "List
2172 bookmarks".
2173
21742013-12-11 Juri Linkov <juri@jurta.org>
2175
2176 * misearch.el (multi-isearch-buffers): Set the value of
2177 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2178 arg of isearch-forward to t.
2179 (multi-isearch-buffers-regexp): Set the value of
2180 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2181 arg of isearch-forward-regexp to t.
2182 (multi-isearch-files): Set the value of
2183 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2184 arg of isearch-forward to t.
2185 (multi-isearch-files-regexp): Set the value of
2186 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2187 arg of isearch-forward-regexp to t. (Bug#16035)
2188
2189 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2190 arg of isearch-forward to t.
2191 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2192 arg of isearch-forward-regexp to t.
2193 (dired-isearch-filter-filenames): Remove unnecessary check for
2194 `dired-isearch-filenames'.
2195
2196 * comint.el (comint-history-isearch-backward):
2197 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2198 (comint-history-isearch-backward-regexp):
2199 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2200
22012013-12-10 Eli Zaretskii <eliz@gnu.org>
2202
2203 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2204 unmsys--file-name. (Bug#16099)
2205
22062013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2207
2208 * emacs-lisp/package.el (package-keyword-button-action):
2209 Remove finder.el require dependency.
2210
22112013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2212
2213 * emacs-lisp/package.el: Require finder.el.
2214 (describe-package-1): Add keyword buttons.
2215 (package-make-button): New convenience function.
2216 (package-keyword-button-action): Keyword button action using
2217 `finder-list-matches'.
2218
22192013-12-09 Eli Zaretskii <eliz@gnu.org>
2220
2221 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2222 last commit.
2223
22242013-12-09 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2227 symlinked files.
2228
22292013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2230
2231 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2232 after the end of a percent literal.
2233
22342013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2235
2236 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2237 Handle caret-delimited strings (Bug#16079).
2238
22392013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2240
2241 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2242 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2243 `ruby-parse-partial' (Bug#16078).
2244
22452013-12-09 Leo Liu <sdl.web@gmail.com>
2246
2247 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2248
22492013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2252 (js-switch-indent-offset): New option.
2253 (js--proper-indentation): Use it. And handle the case when
2254 "default" is actually a key in an object literal.
2255 (js--same-line): New function.
2256 (js--multi-line-declaration-indentation): Use it.
2257 (js--indent-in-array-comp, js--array-comp-indentation):
2258 New functions.
2259 (js--proper-indentation): Use them, to handle array comprehension
2260 continuations.
2261
22622013-12-08 Leo Liu <sdl.web@gmail.com>
2263
2264 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2265 (flymake-make-overlay): Remove arg MOUSE-FACE.
2266 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2267
22682013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2271 New function.
2272 (redisplay-highlight-region-function): Use it.
2273
2274 * emulation/cua-base.el (cua--explicit-region-start)
2275 (cua--last-region-shifted): Remove.
2276 (cua--deactivate): Use deactivate-mark.
2277 (cua--pre-command-handler-1): Don't handle shift-selection.
2278 (cua--post-command-handler-1): Don't change transient-mark-mode.
2279 (cua--select-keymaps): Use region-active-p rather than
2280 cua--explicit-region-start or cua--last-region-shifted.
2281 (cua-mode): Enable shift-select-mode.
2282
22832013-12-08 Leo Liu <sdl.web@gmail.com>
2284
2285 * progmodes/flymake.el (flymake-popup-current-error-menu):
2286 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2287 (flymake-posn-at-point-as-event, flymake-popup-menu)
2288 (flymake-make-emacs-menu): Remove. (Bug#16077)
2289
22902013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * rect.el (rectangle-mark-mode): Activate mark even if
2293 transient-mark-mode is off (bug#16066).
2294 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2295 is > mark and at bolp.
2296
2297 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2298 (region-extract-function): Use it.
2299 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2300 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2301 Delete functions.
2302 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2303 kill-ring-save, kill-region, delete-char, delete-forward-char.
2304 Ignore self-insert-iso.
2305
2306 * emulation/cua-gmrk.el (cua--init-global-mark):
2307 Ignore `self-insert-iso'.
2308
2309 * emulation/cua-base.el (cua--prefix-copy-handler)
2310 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2311 checking cua--rectangle.
2312 (cua-delete-region): Use region-extract-function.
2313 (cua-replace-region): Delete function.
2314 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2315 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2316 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2317 (cua--init-keymaps): Don't remap delete-selection commands.
2318 (cua-mode): Use delete-selection-mode instead of rolling our own
2319 (bug#16085).
2320
2321 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2322 Obey region-extract-function.
2323
2324 Make registers and delete-selection-mode work on rectangles.
2325 * register.el (describe-register-1): Don't modify the register's value.
2326 (copy-to-register): Obey region-extract-function.
2327 * delsel.el (delete-active-region): Obey region-extract-function.
2328
23292013-12-08 Leo Liu <sdl.web@gmail.com>
2330
2331 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2332 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2333 (flymake-compilation-prevents-syntax-check)
2334 (flymake-start-syntax-check-on-newline)
2335 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2336 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2337 (flymake-xml-program, flymake-master-file-dirs)
2338 (flymake-master-file-count-limit)
2339 (flymake-allowed-file-name-masks): Relocate.
2340 (flymake-makehash, flymake-float-time)
2341 (flymake-replace-regexp-in-string, flymake-split-string)
2342 (flymake-get-temp-dir): Remove.
2343 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2344 (flymake-current-row, flymake-selected-frame)
2345 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2346 related functions. (Bug#16077)
2347
23482013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2349
2350 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2351
23522013-12-07 Tassilo Horn <tsdh@gnu.org>
2353
2354 * help-fns.el (describe-function-1): Use new advice-* functions
2355 rather than old ad-* functions. Fix function type description and
2356 source links for advised functions and subrs.
2357
23582013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2359
2360 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2361
23622013-12-06 Michael Albinus <michael.albinus@gmx.de>
2363
2364 * progmodes/compile.el (compilation-start):
2365 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2366
2367 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2368 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2369
23702013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2371
2372 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2373 Touch up the last change.
2374
23752013-12-06 Leo Liu <sdl.web@gmail.com>
2376
2377 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2378 (inferior-octave-startup): Always use "octave> " for prompt.
2379 (octave-goto-function-definition)
2380 (octave-sync-function-file-names)
2381 (octave-find-definition-default-filename): Remove redundant backquotes.
2382
23832013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2384
2385 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2386 syntax for `?'.
2387 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2388 where appropriate already.
2389 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2390 end of method names (Bug#15874).
2391
23922013-12-06 Juri Linkov <juri@jurta.org>
2393
2394 * isearch.el (isearch--saved-overriding-local-map):
2395 New internal variable.
2396 (isearch-mode): Set it to the initial value of
2397 `overriding-terminal-local-map'.
2398 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2399 with `isearch--saved-overriding-local-map'. (Bug#16035)
2400
24012013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2402
2403 * progmodes/octave.el (inferior-octave-completion-table):
2404 Turn back into function, use `completion-table-with-cache'
2405 (Bug#11906). Update all references.
2406
2407 * minibuffer.el (completion-table-with-cache): New function.
2408
24092013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2410
2411 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2412
24132013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2414
2415 * net/eww.el (eww-current-source): New variable to store page
2416 source.
2417 (eww-display-html, eww-mode, eww-save-history)
2418 (eww-restore-history): Use it.
2419 (eww-view-source): New command to view page source.
2420 Opportunistically uses `html-mode' to highlight the buffer.
2421 (eww-mode-map): Install it.
2422
24232013-12-05 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/dbus.el (dbus-unregister-service)
2426 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2427 Fix docstring.
2428 (dbus-unregister-service): Skip :serial entries in
2429 `dbus-registered-objects-table'.
2430 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2431
24322013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2433
2434 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2435 around keywords with extra `split-string' argument.
2436
24372013-12-04 Martin Rudalics <rudalics@gmx.at>
2438
2439 * windmove.el (windmove-other-window-loc): Handle navigation
2440 between windows (excluding the minibuffer window - Bug#16017).
2441
24422013-12-04 Michael Albinus <michael.albinus@gmx.de>
2443
2444 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2445 in D-Bus type syntax.
2446 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2447 preserve unibyte strings. (Bug#16048)
2448
24492013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2452 Call force-mode-line-update is the proper buffer (bug#16042).
2453
24542013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2455
2456 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2457 `log-edit-remember-comment', make argument optional. Adjust all
2458 callers.
2459 (log-edit-mode): Add `log-edit-remember-comment' to
2460 `kill-buffer-hook' locally.
2461 (log-edit-kill-buffer): Don't remember comment explicitly since
2462 the buffer is killed anyway.
2463
24642013-12-04 Juri Linkov <juri@jurta.org>
2465
2466 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2467 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2468
24692013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2470
2471 * notifications.el (notifications-close-notification): Call the
2472 D-Bus method with ID being a `:uint32'. (Bug#16030)
2473
24742013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2475
2476 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2477
24782013-12-03 Juri Linkov <juri@jurta.org>
2479
2480 * progmodes/compile.el (compilation-start): Rename window alist
2481 entry `no-display-ok' to `allow-no-window'.
2482
2483 * simple.el (shell-command): Add window alist entry
2484 `allow-no-window' to `display-buffer'.
2485 (async-shell-command): Doc fix.
2486
2487 * window.el (display-buffer-no-window): New action function.
2488 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2489
24902013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * vc/log-edit.el (log-edit-set-header): Extract from
2493 `log-edit-toggle-header'.
2494 (log-edit-extract-headers): Separate the summary, when extracted
2495 from header, from the rest of the message with an empty line.
2496
2497 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2498 line, if present, to the Summary header.
2499
25002013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2503 in current-buffer (bug#16029).
2504
25052013-12-02 Helmut Eller <eller.helmut@gmail.com>
2506
2507 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2508 (debugger-mode-map): Bind it.
2509 (debugger--backtrace-base): New function.
2510 (debugger-eval-expression): Use it.
2511 (debugger-frame-number): Skip local vars when present.
2512 (debugger--locals-visible-p, debugger--insert-locals)
2513 (debugger--show-locals, debugger--hide-locals): New functions.
2514
25152013-12-02 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2518 "LC_ALL".
2519 (tramp-get-remote-locale): New defun.
2520 (tramp-open-connection-setup-interactive-shell): Use it.
2521
25222013-12-02 Leo Liu <sdl.web@gmail.com>
2523
2524 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2525
2526 * progmodes/sh-script.el (sh-shell-process):
2527 * progmodes/octave.el (inferior-octave-process-live-p):
2528 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2529 (gdb-inferior-io-sentinel):
2530 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2531
25322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2533
2534 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2535 `save-selected-window' to `log-edit-hide-buf'. This makes
2536 `log-edit-show-files' idempotent.
2537 (log-edit-show-files): Mark the new window as dedicated.
2538
25392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * vc/log-edit.el (log-edit-mode-map): Add binding for
2542 `log-edit-kill-biffer'.
2543 (log-edit-hide-buf): Add a FIXME comment.
2544 (log-edit-add-new-comment): New function, extracted from
2545 `log-edit-done'.
2546 (log-edit-done, log-edit-add-to-changelog): Use it.
2547 (log-edit-kill-buffer): New command.
2548
25492013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2550
2551 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2552 instead of killing the buffer.
2553
25542013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2557
25582013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2559
2560 * net/eww.el (eww-form-checkbox-selected-symbol)
2561 (eww-form-checkbox-symbol): New customizable variable.
2562 (eww-form-checkbox, eww-toggle-checkbox):
2563 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2564
2565 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2566 (shr--get-media-pref, shr--extract-best-source): New function.
2567 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2568 no :src tag was specified.
2569
2570 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2571 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2572 Use \\` to match beginning of string instead of ^.
2573 (eww-browse-with-external-browser): Provide optional URL parameter.
2574 (eww-render): Set `eww-current-title' back to "".
2575
2576 * net/shr.el (shr-tag-video): Display content for video if no
2577 poster is available.
2578 (shr-tag-audio): Add support for <audio> tag.
2579
2580 * net/eww.el (eww-text-input-types): New const.
2581 (eww-process-text-input): Treat input types in
2582 `eww-text-input-types' as text.
2583
2584 * net/shr.el (shr-tag-table): Fix comment typo.
2585
25862013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2587
2588 * net/eww.el (eww-follow-link): New command to avoid reloading
2589 pages when we follow #target links (bug#15243).
2590 (eww-quit): Special mode buffers shouldn't query before exiting.
2591
25922013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2593
2594 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2595 forms.
2596
25972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2598
2599 * net/eww.el (eww-restore-history): Update the window title after
2600 moving in the history.
2601 (eww-current-dom): New variable used to save the current DOM.
2602
26032013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2604
2605 * vc/log-edit.el (log-edit-mode-map): Add binding for
2606 `log-edit-beginning-of-line'.
2607 (log-edit-setup-add-author): New user option.
2608 (log-edit-beginning-of-line): New command.
2609 (log-edit): Move major mode call above the contents setup so that
2610 the local variable values are already applied.
2611 (log-edit): Only insert "Author: " when
2612 `log-edit-setup-add-author' is non-nil.
2613 (log-edit): When SETUP is non-nil, position point after ": "
2614 instead of point-min.
2615
26162013-12-01 Glenn Morris <rgm@gnu.org>
2617
2618 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2619
26202013-11-30 Eli Zaretskii <eliz@gnu.org>
2621
2622 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2623 redisplay to make sure the initial frame gets a chance to become
2624 visible. (Bug#16014)
2625
26262013-11-30 Martin Rudalics <rudalics@gmx.at>
2627
2628 Support resizing frames and windows pixelwise.
2629 * cus-start.el (frame-resize-pixelwise)
2630 (window-resize-pixelwise): New entries.
2631 * emacs-lisp/debug.el (debug): Use window-total-height instead
2632 of window-total-size.
2633 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2634 * help.el (describe-bindings-internal): Call help-buffer
2635 (temp-buffer-max-width): New option.
2636 (resize-temp-buffer-window, help-window-setup)
2637 (with-help-window): Rewrite.
2638 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2639 dragging dividers.
2640 * window.el (frame-char-size, window-min-pixel-height)
2641 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2642 (window-min-pixel-width, window-safe-min-pixel-size)
2643 (window-combination-p, window-safe-min-size)
2644 (window-resizable-p, window--size-to-pixel)
2645 (window--pixel-to-size, window--resize-apply-p): New functions.
2646 (window-safe-min-height): Fix doc-string.
2647 (window-size, window-min-size, window--min-size-1)
2648 (window-sizable, window-sizable-p, window--min-delta-1)
2649 (window-min-delta, window--max-delta-1, window-max-delta)
2650 (window--resizable, window--resizable-p, window-resizable)
2651 (window-full-height-p, window-full-width-p, window-at-side-p)
2652 (window--in-direction-2, window-in-direction)
2653 (window--resize-reset-1, window--resize-mini-window)
2654 (window-resize, window-resize-no-error)
2655 (window--resize-child-windows-normal)
2656 (window--resize-child-windows, window--resize-siblings)
2657 (window--resize-this-window, window--resize-root-window)
2658 (window--resize-root-window-vertically)
2659 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2660 (maximize-window, minimize-window, delete-window)
2661 (quit-restore-window, window-split-min-size, split-window)
2662 (balance-windows-2, balance-windows)
2663 (balance-windows-area-adjust, balance-windows-area)
2664 (window--state-get-1, window-state-get, window--state-put-1)
2665 (window--state-put-2, window-state-put)
2666 (display-buffer-record-window, window--display-buffer):
2667 Make functions handle pixelwise sizing of windows.
2668 (display-buffer--action-function-custom-type)
2669 (display-buffer-fallback-action):
2670 Add display-buffer-in-previous-window.
2671 (display-buffer-use-some-window): Resize window to height it had
2672 before.
2673 (fit-window-to-buffer-horizontally): New option.
2674 (fit-frame-to-buffer): Describe new values.
2675 (fit-frame-to-buffer-bottom-margin): Replace with
2676 fit-frame-to-buffer-margins.
2677 (window--sanitize-margin): New function.
2678 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2679 using window-text-pixel-size.
2680
26812013-11-30 Glenn Morris <rgm@gnu.org>
2682
2683 * emacs-lisp/bytecomp.el (byte-compile-form):
2684 Make the `interactive-only' warning like the `obsolete' one.
2685 * comint.el (comint-run):
2686 * files.el (insert-file-literally, insert-file):
2687 * replace.el (replace-string, replace-regexp):
2688 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2689 (goto-line, insert-buffer, next-line, previous-line):
2690 Tweak `interactive-only' spec.
2691
2692 Stop keeping (most) generated cedet grammar files in the repository.
2693 * Makefile.in (semantic): New.
2694 (compile-main): Depend on semantic.
2695
26962013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2699 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2700
2701 * uniquify.el (uniquify-buffer-name-style): Change default.
2702
2703 * loadup.el: Preload "uniquify".
2704
2705 * time.el (display-time-update): Update all mode lines (bug#15999).
2706
2707 * electric.el (electric-indent-mode): Enable by default.
2708 * loadup.el: Preload "electric".
2709
27102013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2711
2712 * emacs-lisp/helpers.el (string-empty-p): New function.
2713 (string-blank-p): New function.
2714
27152013-11-29 Andreas Politz <politza@hochschule-trier.de>
2716
2717 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2718 (Bug#14029).
2719
27202013-11-29 Andreas Politz <politza@fh-trier.de>
2721 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2722 allow non-lambda lists as functions.
2723 (imenu--in-alist): Don't recurse into non-subalists.
2724 (imenu): Don't pass function itself as an argument (Bug#14029).
2725
27262013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * progmodes/python.el (python-mode-map): Remove binding for ":".
2729 (python-indent-electric-colon): Remove command.
2730 (python-indent-post-self-insert-function): Integrate the previous code
2731 of python-indent-electric-colon. Make it conditional on
2732 electric-indent-mode.
2733 (python-mode): Add ?: to electric-indent-chars.
2734 Move python-indent-post-self-insert-function to the end of
2735 post-self-insert-hook.
2736
27372013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * doc-view.el (doc-view-goto-page): Update mode-line.
2740
2741 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2742
27432013-11-27 Glenn Morris <rgm@gnu.org>
2744
2745 * international/charprop.el, international/uni-bidi.el:
2746 * international/uni-category.el, international/uni-combining.el:
2747 * international/uni-comment.el, international/uni-decimal.el:
2748 * international/uni-decomposition.el, international/uni-digit.el:
2749 * international/uni-lowercase.el, international/uni-mirrored.el:
2750 * international/uni-name.el, international/uni-numeric.el:
2751 * international/uni-old-name.el, international/uni-titlecase.el:
2752 * international/uni-uppercase.el:
2753 Remove generated files from VCS repository.
2754
27552013-11-27 Eli Zaretskii <eliz@gnu.org>
2756
2757 * filenotify.el (file-notify-add-watch): Don't special-case
2758 w32notify when computing the directory to watch.
2759
27602013-11-27 Glenn Morris <rgm@gnu.org>
2761
2762 Make bootstrap without generated uni-*.el files possible again.
2763 * loadup.el: Update command-line-args checking for unidata-gen.
2764 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2765 * composite.el, international/characters.el:
2766 Handle unicode tables being undefined.
2767
2768 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2769 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2770 (compile-main): Depend on leim rule.
2771 (leim): New rule.
2772 * loadup.el: Move leim-list.el to leim/ subdirectory.
2773 * startup.el (normal-top-level): No more leim directory.
2774 * international/ja-dic-cnv.el (skkdic-convert):
2775 Disable version-control and autoloads in output files.
2776 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2777 Disable version-control and autoloads in output files.
2778 * leim/quail: Move here from ../leim.
2779 * leim/quail/hangul.el (hangul-input-method-activate):
2780 Add autoload cookie.
2781 (generated-autoload-load-name): Set file-local value.
2782 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2783 (generated-autoload-load-name): Set file-local value.
2784
27852013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2786
2787 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2788 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2789 (eww-quit): Ask confirmation before quitting eww.
2790
27912013-11-26 Eli Zaretskii <eliz@gnu.org>
2792
2793 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2794 reading output from Diff on MS-Windows and MS-DOS.
2795
27962013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2797
2798 * emacs-lisp/helpers.el (string-reverse): New function.
2799
28002013-11-26 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2803 names on MS Windows, like "/[::1]:".
2804
2805 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2806 SWITCHES.
2807
28082013-11-26 Glenn Morris <rgm@gnu.org>
2809
2810 * progmodes/python.el (python-indent-guess-indent-offset):
2811 Avoid corner-case error. (Bug#15975)
2812
2813 Preload leim-list.el. (Bug#4789)
2814 * loadup.el: Load leim-list.el when found.
2815 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2816
28172013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2818
2819 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2820
2821 * emacs-lisp/helpers.el (string-join): New function.
2822
28232013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2824
2825 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2826 Mark as obsolete and replace it with a symbol property.
2827 (byte-compile-form): Use new 'interactive-only property.
2828 * comint.el, files.el, replace.el, simple.el:
2829 Apply new 'interactive-only properly.
2830
28312013-11-25 Martin Rudalics <rudalics@gmx.at>
2832
2833 * window.el (display-buffer-at-bottom): Make sure that
2834 split-window-sensibly creates the new window on bottom
2835 (Bug#15961).
2836
28372013-11-23 David Kastrup <dak@gnu.org>
2838
2839 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2840 on the conflict markers when available.
2841 (smerge--get-marker): New function.
2842 (smerge-end-re, smerge-base-re): Add subgroup.
2843
28442013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * frame.el (handle-focus-in, handle-focus-out): Add missing
2847 interactive spec.
2848
28492013-11-25 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2852 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2853
28542013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2857 (gomoku--last-pos): New var.
2858 (gomoku--intangible-chars): New const.
2859 (gomoku--intangible): New function.
2860 (gomoku-mode): Use it. Derive from special-mode.
2861 (gomoku-move-up): Adjust line count.
2862 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2863 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2864 Simplify accordingly.
2865
2866 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2867 Remove blink-cursor code.
2868 (blink-cursor-timer-function, blink-cursor-suspend):
2869 Don't special-case GUIs.
2870 (blink-cursor-mode): Use focus-in/out-hook.
2871
28722013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2875 work when annotation is invisible (Bug#13886).
2876
28772013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2878
2879 * json.el (json-alist-p): Only return non-nil if the alist has
2880 simple keys (Bug#13518).
2881
28822013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2883
2884 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2885 when control-statement is the first statement in a buffer (Bug#15956).
2886
28872013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2888
2889 * imenu.el (imenu-generic-skip-comments-and-strings):
2890 New option (Bug#15560).
2891 (imenu--generic-function): Use it.
2892
28932013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2894
2895 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2896 (Bug#13898)
2897
28982013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2899
2900 * emacs-lisp/helpers.el: Add some string helpers.
2901 (string-trim-left): Removes leading whitespace.
2902 (string-trim-right): Removes trailing whitespace.
2903 (string-trim): Removes leading and trailing whitespace.
2904
2905 * subr.el (string-suffix-p): New function.
2906
29072013-11-23 Glenn Morris <rgm@gnu.org>
2908
2909 * progmodes/python.el (python-shell-send-file):
2910 Add option to delete file when done. (Bug#15647)
2911 (python-shell-send-string, python-shell-send-region): Use it.
2912
29132013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2914
2915 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2916 to set buffer-read-only to t, never to nil. (Bug#15938)
2917
2918 * textmodes/tex-mode.el (latex-noindent-environments):
2919 Add safe-local-variable property. (Bug#15936)
2920
29212013-11-23 Glenn Morris <rgm@gnu.org>
2922
2923 * textmodes/enriched.el (enriched-mode): Doc fix.
2924 * emacs-lisp/authors.el (authors-renamed-files-alist):
2925 Add enriched.doc -> enriched.txt.
2926
2927 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2928
29292013-11-22 Leo Liu <sdl.web@gmail.com>
2930
2931 * progmodes/octave.el (inferior-octave-startup): Spit out error
2932 message.
2933
29342013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2935
2936 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2937 Improve docstring.
2938 Add :version.
2939 (ruby-encoding-magic-comment-style): Add :version.
2940
29412013-11-22 Leo Liu <sdl.web@gmail.com>
2942
2943 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2944 (Bug#15076)
2945 (octave-help-mode): Adapt to change to help-mode-finish to use
2946 derived-mode-p on 2013-09-17.
2947 (inferior-octave-prompt): Also match octave-gui.
2948 (octave-kill-process): Don't ask twice. (Bug#10564)
2949
29502013-11-22 Leo Liu <sdl.web@gmail.com>
2951
2952 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2953 (inferior-octave-startup, inferior-octave-check-process)
2954 (inferior-octave-track-window-width-change)
2955 (octave-completion-at-point, octave-eldoc-function): Use it.
2956 (octave-kill-process): Provide confirmation. (Bug#10564)
2957
29582013-11-21 Leo Liu <sdl.web@gmail.com>
2959
2960 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2961 Fix obsolete variable comment-use-global-state.
2962
29632013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2964
2965 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2966 Add `octave-source-file'.
2967 (octave-source-file): New function. (Bug#15935)
2968
29692013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2970
2971 * net/eww.el (eww-local-regex): New variable.
2972 (eww): Use it to detect localhost and similar.
2973
29742013-11-21 Leo Liu <sdl.web@gmail.com>
2975
2976 Add completion for command `ag'.
2977 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2978 (pcomplete/ag): New function.
2979 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2980
29812013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2984 (bug#14646).
2985 (make-obsolete): Remove interactive spec.
2986
29872013-11-21 Glenn Morris <rgm@gnu.org>
2988
2989 * startup.el (command-line-1): Use path-separator with -L.
2990
29912013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2992
2993 * emacs-lisp/package.el (describe-package-1): Add package archive
2994 to shown fields.
2995
29962013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2997
2998 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2999 Change default to "# encoding: %s" to differentiate it from the
3000 default Ruby encoding comment template.
3001
30022013-11-20 era eriksson <era+emacsbugs@iki.fi>
3003
3004 * ses.el (ses-mode): Doc fix. (Bug#14748)
3005
30062013-11-20 Leo Liu <sdl.web@gmail.com>
3007
3008 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3009
30102013-11-19 Dan Nicolaescu <dann@gnu.org>
3011
3012 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3013 when rebase or bisect are in progress.
3014
30152013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3016
3017 * filenotify.el (file-notify-add-watch): Doc fix.
3018
30192013-11-19 Leo Liu <sdl.web@gmail.com>
3020
3021 * obsolete/rcompile.el: Mark obsolete.
3022
3023 * progmodes/compile.el (compilation-start)
3024 (compilation-goto-locus, compilation-find-file):
3025 Pass no-display-ok and handle nil value from display-buffer.
3026 (Bug#13594)
3027
3028 * window.el (display-buffer-alist, display-buffer): Document the
3029 new parameter no-display-ok. Return either a window or nil
3030 but never a non-window value.
3031
30322013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * electric.el (electric-indent-mode-map): Remove.
3035 (electric-indent-mode): Change the global-map instead (bug#15915).
3036
3037 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3038 Use add-function.
3039
30402013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * emacs-lisp/nadvice.el (remove-function): Align with
3043 add-function's behavior.
3044
3045 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3046 (gdb--string-regexp): New constant.
3047 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3048 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3049 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3050 submatch 1.
3051 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3052 Adjust use accordingly.
3053 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3054
30552013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3056
3057 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3058 interpolation curlies (Bug#15914).
3059
30602013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3061
3062 * calc/calc.el (calc-context-sensitive-enter): New variable.
3063 (calc-enter): Use `calc-context-sensitive-enter'.
3064
30652013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3066
3067 * progmodes/cfengine.el: Version bump.
3068 (cfengine-cf-promises): New defcustom to locate cf-promises.
3069 (cfengine3-vartypes): Add new "data" type.
3070 (cfengine3--current-word): New function to get current name-like
3071 word or its bounds.
3072 (cfengine3--current-function): New function to look up a CFEngine
3073 function's definition.
3074 (cfengine3-format-function-docstring): New function.
3075 (cfengine3-make-syntax-cache): New function.
3076 (cfengine3-documentation-function): New function: ElDoc glue.
3077 (cfengine3-completion-function): New function: completion glue.
3078 (cfengine3-mode): Set `compile-command',
3079 `eldoc-documentation-function', and add to
3080 `completion-at-point-functions'.
3081
30822013-11-16 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3085 `tramp-current-connection'.
3086
30872013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3088
3089 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3090 nil/self/true/false with "end of symbol".
3091
30922013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3093
3094 * subr.el (version-regexp-alist): Fix a typo.
3095
30962013-11-15 Michael Albinus <michael.albinus@gmx.de>
3097
3098 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3099 "en_US.utf8" and "LC_CTYPE" to "".
3100 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3101 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3102
31032013-11-15 Leo Liu <sdl.web@gmail.com>
3104
3105 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3106
31072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * progmodes/gud.el (ctl-x-map):
3110 Remove C-x SPC binding. (Bug#12342)
3111 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3112
31132013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3114
3115 * subr.el (version-regexp-alist):
3116 Recognize hg, svn and darcs versions as snapshot versions.
3117
3118 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3119 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3120 (ruby--encoding-comment-required-p): Extract from
3121 `ruby-mode-set-encoding'.
3122 (ruby-mode-set-encoding): Add the ability to always insert an
3123 utf-8 encoding comment. Fix and simplify coding comment update
3124 logic.
3125
31262013-11-14 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp-gvfs.el (top): Run init code only when
3129 `tramp-gvfs-enabled' is not nil.
3130 (tramp-gvfs-enabled): Check also :system bus.
3131
31322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 Sync with upstream verilog-mode revision 78e66ba.
3135 * progmodes/verilog-mode.el (verilog-end-of-defun)
3136 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3137 (verilog-get-end-of-defun): Remove unused argument.
3138 (verilog-comment-depth): Remove unused local `e'.
3139 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3140 Don't pass arg to verilog-get-end-of-defun.
3141
31422013-11-14 Glenn Morris <rgm@gnu.org>
3143
3144 * obsolete/assoc.el (aget): Prefix dynamic variable.
3145
3146 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3147
31482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * widget.el, hfy-cmap.el: Remove bogus package version number.
3151
31522013-11-13 Glenn Morris <rgm@gnu.org>
3153
3154 * replace.el (replace-eval-replacement):
3155 Try to give more helpful error message. (Bug#15836)
3156
3157 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3158 (archive-7z-update): Avoid custom type mismatches.
3159
3160 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3161
31622013-11-13 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3165 address can be empty.
3166
3167 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3168 Accept nil SWITCHES.
3169 (tramp-gvfs-handle-write-region): Implement APPEND.
3170
31712013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3172
3173 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3174 binary "|" operator and closing block args delimiter.
3175 Remove FIXME comment referring to Ruby 1.8-only syntax.
3176 (ruby-smie--implicit-semi-p): Not after "|" operator.
3177 (ruby-smie--closing-pipe-p): New function.
3178 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3179 (ruby-smie-rules): Indent after "|".
3180
31812013-11-12 Glenn Morris <rgm@gnu.org>
3182
3183 * ps-print.el (ps-face-attribute-list):
3184 Handle anonymous faces. (Bug#15827)
3185
31862013-11-12 Martin Rudalics <rudalics@gmx.at>
3187
3188 * window.el (display-buffer-other-frame): Fix doc-string.
3189 (Bug#15868)
3190
31912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3194
31952013-11-11 Michael Albinus <michael.albinus@gmx.de>
3196
3197 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3198 (tramp-sh-handle-file-local-copy): Don't write a message when
3199 saving temporary files.
3200
3201 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3202 both directories are remote.
3203 (tramp-smb-handle-directory-files): Do not return double entries.
3204 Do not expand full file names.
3205 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3206 (tramp-smb-handle-write-region): Implement APPEND.
3207 (tramp-smb-get-stat-capability): Fix a stupid bug.
3208
32092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3212
32132013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3214
3215 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3216 throwing error over malformed let/let* (bug#15814).
3217
32182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * iswitchb.el (iswitchb-mode): Mark obsolete.
3221
32222013-11-11 Glenn Morris <rgm@gnu.org>
3223
3224 * international/uni-bidi.el, international/uni-category.el:
3225 * international/uni-name.el, international/uni-numeric.el:
3226 Regenerate for Unicode 6.3.0.
3227
32282013-11-10 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * net/tramp.el (tramp-methods):
3231 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3232 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3233
32342013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3235
3236 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3237 Force highlighting text after Summary keyword in doc face for rpm.
3238
32392013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3240
3241 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3242 available and the word has no wildcards, append one to the grep pattern.
3243 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3244 (ispell-complete-word): Call `ispell-lookup-words' with the value
3245 independent of `ispell-look-p'.
3246
32472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3248
3249 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3250 Not after "||".
3251 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3252 their parent.
3253
32542013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3257 (ruby-font-lock-keywords): Use backquote.
3258
32592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3260
3261 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3262 (ruby-smie--backward-token): Only consider full-string matches.
3263
32642013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3265
3266 * faces.el (describe-face): Add distant-foreground.
3267
32682013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3269
3270 * progmodes/ruby-mode.el: Improve encoding comment handling.
3271 (ruby-encoding-magic-comment-style): New option.
3272 (ruby-custom-encoding-magic-comment-template): New option.
3273 (ruby--insert-coding-comment, ruby--detect-encoding):
3274 New functions extracted from `ruby-mode-set-encoding'.
3275 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3276 to control the style of the auto-inserted encoding comment.
3277
32782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3279
3280 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3281 Use `smie-backward-sexp' with token argument.
3282
32832013-11-08 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3286 Remove instrumentation code.
3287
32882013-11-08 Glenn Morris <rgm@gnu.org>
3289
3290 * progmodes/autoconf.el (autoconf-mode):
3291 Tweak comment-start-skip. (Bug#15822)
3292
32932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3296 at bobp (bug#15826).
3297 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3298
32992013-11-08 Darren Hoo <darren.hoo@gmail.com>
3300
3301 * man.el (Man-start-calling): New macro, extracted from
3302 Man-getpage-in-background.
3303 (Man-getpage-in-background): Use it.
3304 (Man-update-manpage): New command.
3305 (Man-mode-map): Bind it.
3306
33072013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3308
3309 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3310 of "and", "or", "&&" and "||".
3311 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3312 argument. Prohibit opening curly brace because it could only be a
3313 block opener in that position.
3314 (ruby-smie--forward-token, ruby-smie--backward-token):
3315 Separate "|" from "&" or "*" going after it. That can happen in block
3316 arguments.
3317 (ruby-smie--indent-to-stmt): New function, seeks the end of
3318 previous statement or beginning of buffer.
3319 (ruby-smie-rules): Use it.
3320 (ruby-smie-rules): Check if there's a ":" before a curly block
3321 opener candidate; if there is, it's a hash.
3322
33232013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3326 (cl--block-wrapper): Fix last accidental change.
3327
33282013-11-07 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3331 Instrument, in order to hunt failure on hydra.
3332
33332013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3334
3335 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3336 malformed bindings form (bug#15814).
3337
33382013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3339
3340 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3341 "." compared to " @ ". This incidentally fixes some indentation
3342 examples with "do".
3343 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3344 (ruby-smie-grammar): New tokens: "and" and "or".
3345 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3346 Exclude "and" and "or". Remove "do" in order to work around token
3347 priorities.
3348 (ruby-smie-rules): Add all infix tokens. Handle the case of
3349 beginning-of-buffer.
3350
33512013-11-06 Glenn Morris <rgm@gnu.org>
3352
3353 * Makefile.in (setwins_almost, setwins_for_subdirs):
3354 Avoid accidental matches.
3355
33562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * menu-bar.el (popup-menu): Use key-binding.
3359
33602013-11-06 Eli Zaretskii <eliz@gnu.org>
3361
3362 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3363 menus, support also the menus produced by minor modes.
3364 (Bug#15817)
3365
33662013-11-06 Leo Liu <sdl.web@gmail.com>
3367
3368 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3369 DISTANCE to bound the search. All uses changed. (Bug#15808)
3370
33712013-11-06 Glenn Morris <rgm@gnu.org>
3372
3373 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3374 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3375 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3376
33772013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3378
3379 * electric.el (electric-indent-just-newline): New command.
3380 (electric-indent-mode-map): New keymap.
3381 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3382 Re-add :group which weren't redundant.
3383
3384 * electric.el (electric-indent-local-mode): New minor mode.
3385 (electric-indent-functions-without-reindent): New var.
3386 (electric-indent-post-self-insert-function): Use it.
3387 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3388
33892013-11-05 Eli Zaretskii <eliz@gnu.org>
3390
3391 * international/quail.el (quail-help): Be more explicit about the
3392 meaning of the labels shown on the keys. (Bug#15800)
3393
3394 * startup.el (normal-top-level): Load the subdirs.el files before
3395 setting the locale environment. (Bug#15805)
3396
33972013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3400 via arguments so as to get the right ones (bug#15418).
3401
3402 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3403
34042013-11-05 Michael Albinus <michael.albinus@gmx.de>
3405
3406 Fix problems found while writing a test suite.
3407
3408 * net/tramp-compat.el (tramp-compat-load): New defun.
3409 * net/tramp.el (tramp-handle-load): Use it.
3410
3411 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3412 "(numberp ok-if-already-exists)" correctly.
3413
34142013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3415
3416 * international/characters.el (glyphless-char-display-control):
3417 Add usage note.
3418
34192013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3420
3421 * progmodes/python.el (python-mode):
3422 * progmodes/scheme.el (scheme-mode):
3423 * progmodes/prolog.el (prolog-mode):
3424 * progmodes/ruby-mode.el (ruby-mode):
3425 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3426 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3427
34282013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * rect.el (rectangle--highlight-for-redisplay):
3431 * emacs-lisp/smie.el (smie--next-indent-change):
3432 Use buffer-chars-modified-tick.
3433
3434 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3435
3436 * electric.el (electric-indent-post-self-insert-function):
3437 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3438
34392013-11-04 Helmut Eller <eller.helmut@gmail.com>
3440
3441 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3442
34432013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3444
3445 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3446 (bug#15786).
3447
34482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3451
3452 * progmodes/python.el: Fix up last change.
3453 (python-shell--save-temp-file): New function.
3454 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3455 `string' comes from the current buffer.
3456 (python-shell-send-string-no-output): Remove `msg' arg.
3457 (python--use-fake-loc): New var.
3458 (python-shell-buffer-substring): Obey it. Try to compensate for the
3459 extra coding line added by python-shell--save-temp-file.
3460 (python-shell-send-region): Use python-shell--save-temp-file and
3461 python-shell-send-file directly. Add `nomain' argument.
3462 (python-shell-send-buffer): Use python-shell-send-region.
3463 (python-electric-pair-string-delimiter): New function.
3464 (python-mode): Use it.
3465
34662013-11-04 Eli Zaretskii <eliz@gnu.org>
3467
3468 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3469 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3470 environment and decoding all of the default-directory's to here
3471 from command-line.
3472 (command-line): Decode also argv[0].
3473
3474 * loadup.el: Error out if default-directory is a multibyte string
3475 when we are dumping.
3476
3477 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3478
34792013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3480
3481 * emacs-lisp/package.el (package-menu-mode)
3482 (package-menu--print-info, package-menu--archive-predicate):
3483 Add Archive column to package list.
3484
34852013-11-04 Michael Albinus <michael.albinus@gmx.de>
3486
3487 Fix problems found while writing a test suite.
3488
3489 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3490 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3491 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3492 to nil when running original file name handler. Otherwise,
3493 there are problems with constructs like "$$FOO".
3494
3495 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3496 for `localname'.
3497
34982013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3499
3500 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3501
3502 * subr.el (version<, version<=, version=):
3503 Update docstrings with information for snapshot versions.
3504
3505 * helpers.el: New library for misc helper functions.
3506 (hash-table-keys): New function returning a list of hash keys.
3507 (hash-table-values): New function returning a list of hash values.
3508
35092013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3512 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3513
35142013-11-04 Michal Nazarewicz <mina86@mina86.com>
3515
3516 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3517 checking whether point is after a 1-letter word.
3518
35192013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3520
3521 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3522 Don't infloop when expanding region over `multiline' syntax-type that
3523 begins a line (bug#15778).
3524
35252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3528 Make it into a proper minor mode.
3529 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3530 (rectangle-mark-mode-map): New keymap.
3531 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3532
35332013-11-04 Glenn Morris <rgm@gnu.org>
3534
3535 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3536
35372013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3540 (ruby-smie-rules): Use smie-rule-parent instead.
3541
3542 * emacs-lisp/smie.el (smie-rule-parent): Always call
3543 smie-indent-virtual rather than only for hanging tokens.
3544 (smie--next-indent-change): New helper command.
3545
35462013-11-03 Glenn Morris <rgm@gnu.org>
3547
3548 * Makefile.in (abs_srcdir): Remove.
3549 (emacs): Unset EMACSLOADPATH.
3550
35512013-11-02 Glenn Morris <rgm@gnu.org>
3552
3553 * Makefile.in (EMACS): Use a relative filename.
3554 (abs_top_builddir): Remove.
3555 (custom-deps, finder-data, autoloads): Use --chdir.
3556
3557 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3558
3559 Use relative filenames in TAGS files.
3560 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3561 (lisptagsfiles4, TAGS): Use relative file names.
3562 (TAGS-LISP): Remove.
3563 (maintainer-clean): No more TAGS-LISP file.
3564
3565 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3566 (lisptagsfiles4): Use absolute filenames again.
3567 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3568 Remove all *loaddefs files, not just the first. Remove esh-groups.
3569 (maintainer-clean): Delete TAGS, TAGS-LISP.
3570
35712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3572
3573 * emacs-lisp/package.el (package-version-join):
3574 Recognize snapshot versions.
3575
35762013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3577
3578 * subr.el (version-regexp-alist): Add support for snapshot versions.
3579
35802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3581
3582 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3583 New function, replacement for `smie-rule-parent' for when we want to
3584 skip over our direct parent if it's an assignment token..
3585 (ruby-smie-rules): Use it.
3586
35872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3588
3589 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3590 unconditionally. Remove now unnecessary forward declarations.
3591 Remove XEmacs-specific setup.
3592 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3593 (ruby-font-lock-syntactic-keywords)
3594 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3595 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3596 (ruby-here-doc-end-syntax): Remove.
3597 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3598 defined as function.
3599
36002013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3601
3602 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3603
36042013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3605
3606 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3607 table and abbrev table, `define-derived-mode' does that for us
3608 anyway.
3609
36102013-11-01 Glenn Morris <rgm@gnu.org>
3611
3612 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3613 files is atomic for some time, so no parallel compilation issues).
3614
36152013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3616
3617 * faces.el (face-x-resources): Add :distant-foreground.
3618 (region): Use :distant-foreground for gtk and ns.
3619
36202013-11-01 Tassilo Horn <tsdh@gnu.org>
3621
3622 Allow multiple bibliographies when BibLaTeX is used rather than
3623 BibTeX.
3624 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3625 (reftex-locate-bibliography-files): Us it.
3626
36272013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3628
3629 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3630 allow comments in pbm files.
3631
3632 * term/w32-win.el (dynamic-library-alist): Support newer versions
3633 of libjpeg starting with v7: look only for the DLL from the
3634 version against which Emacs was built.
3635 Support versions of libpng beyond 1.4.x.
3636 Support libtiff v4.x.
3637
36382013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3639
3640 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3641 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3642 Add property :safe.
3643 (ruby-deep-arglist): Add property :type.
3644
36452013-10-31 Glenn Morris <rgm@gnu.org>
3646
3647 * Makefile.in (custom-deps, finder-data): No need to setq the target
3648 variables, we are in the right directory and the defaults work fine.
3649
36502013-10-30 Glenn Morris <rgm@gnu.org>
3651
3652 * Makefile.in (autoloads): Do not use abs_lisp.
3653
3654 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3655 `newline' does not respect `standard-output', so use `princ'.
3656
36572013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3658
3659 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3660 * buff-menu.el (Buffer-menu--unmark): New function.
3661 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3662
36632013-10-30 Glenn Morris <rgm@gnu.org>
3664
3665 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3666
3667 * emacs-lisp/package.el (lm-homepage): Declare.
3668
3669 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3670 Fix doc typos.
3671
3672 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3673
3674 * Makefile.in (finder-data, autoloads, update-subdirs)
3675 (compile-main, compile-clean, compile-always, bootstrap-clean):
3676 Check return value of cd.
3677 (compile-calc): Remove.
3678
36792013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3682
3683 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3684 (byte-compile-and-folded): New function.
3685 (=, <, >, <=, >=): Use it.
3686
3687 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3688 (path-separator, null-device, buffer-file-coding-system)
3689 (lpr-headers-switches): Check system-type before modifying them.
3690 (find-buffer-file-type-coding-system): Mark obsolete.
3691 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3692 find-file-not-found-set-buffer-file-coding-system.
3693 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3694 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3695 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3696 (w32-direct-print-region-helper, w32-direct-print-region-function)
3697 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3698 * startup.el (normal-top-level-add-subdirs-to-load-path):
3699 * ps-print.el (ps-print-region-function):
3700 * lpr.el (print-region-function): Use new name.
3701
3702 * subr.el (custom-declare-variable-early): Remove function.
3703 (custom-declare-variable-list): Remove var.
3704 (error, user-error): Remove `while' loop.
3705 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3706 (user-emacs-directory-warning, locate-user-emacs-file):
3707 Move to files.el.
3708 * simple.el (read-quoted-char-radix, read-quoted-char):
3709 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3710 Move from subr.el.
3711 * custom.el (custom-declare-variable-list): Don't process
3712 custom-declare-variable-list.
3713
3714 * progmodes/python.el (python-shell-get-buffer): New function.
3715 (python-shell-get-process): Use it.
3716 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3717 Python which encoding was used. Don't split-string since we only care
3718 about the first line. Return the temp-file, if applicable.
3719 (python-shell-send-region): Tell compile.el how to turn locations in
3720 the temp-file into locations in the source buffer.
3721
37222013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * subr.el (undefined): Add missing behavior from the C code for
3725 unbound keys.
3726
3727 * rect.el: Use lexical-binding. Add new rectangular region support.
3728 (rectangle-mark): New command.
3729 (rectangle--region): New var.
3730 (deactivate-mark-hook): Reset rectangle--region.
3731 (rectangle--extract-region, rectangle--insert-for-yank)
3732 (rectangle--highlight-for-redisplay)
3733 (rectangle--unhighlight-for-redisplay): New functions.
3734 (region-extract-function, redisplay-unhighlight-region-function)
3735 (redisplay-highlight-region-function): Use them to handle
3736 rectangular region.
3737 * simple.el (region-extract-function): New var.
3738 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3739 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3740 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3741 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3742 (redisplay-unhighlight-region-function)
3743 (redisplay-highlight-region-function): New vars.
3744 (redisplay--update-region-highlight): New function.
3745 (pre-redisplay-function): Use it.
3746 (exchange-point-and-mark): Don't deactivate the mark before
3747 reactivate-it anyway.
3748 * comint.el (comint-kill-region): Remove yank-handler argument.
3749 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3750 (delete-char): Remove property, since it's now part of their
3751 default behavior.
3752 (self-insert-iso): Remove property since this command doesn't exist.
3753
3754 * emacs-lisp/package.el (package--download-one-archive)
3755 (describe-package-1): Don't query the user about final newline.
3756
37572013-10-29 Daniel Colascione <dancol@dancol.org>
3758
3759 * net/tramp.el (tramp-methods): Document new functionality.
3760 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3761 tramp-hostname-checker if method provides one instead of scanning
3762 argument list for "%h" to decide hostname acceptability.
3763
37642013-10-28 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3767 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3768 Handle COPY-CONTENTS. (Bug#15737)
3769
37702013-10-28 Daiki Ueno <ueno@gnu.org>
3771
3772 * epa-file.el
3773 (epa-file-cache-passphrase-for-symmetric-encryption):
3774 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3775
37762013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3777
3778 * image.el (defimage):
3779 (image-load-path): Doc fixes.
3780
37812013-10-27 Alan Mackenzie <acm@muc.de>
3782
3783 Indent statements in macros following "##" correctly.
3784 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3785 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3786
37872013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3788
3789 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3790
37912013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3792
3793 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3794 after `=' is probably a new expression.
3795
37962013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3797
3798 * man.el (man-imenu-title): New option.
3799 (Man-mode-map): Add menu. (Bug#15722)
3800 (Man-mode): Add imenu to menu.
3801
38022013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3803
3804 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3805 specific in what the first arg can be: a non-keyword word,
3806 string/regexp/percent literal opener, opening paren, or unary
3807 operator followed directly by word.
3808
38092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3812 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3813 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3814 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3815 Remove vars, they do not apply any more.
3816 (prolog-mode-abbrev-table): Remove redundant declaration.
3817 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3818 (prolog-use-smie): Remove.
3819 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3820 supported by prolog-electric-if-then-else-flag.
3821 (prolog-mode-variables, prolog-menu): Use setq-local.
3822 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3823 Remove binding to `Backspace' since this key doesn't exist anyway.
3824 Remove bindings for electric self-inserting keys.
3825 (prog-mode): Assume it's defined.
3826 (prolog-post-self-insert): New function.
3827 (prolog-mode): Use it.
3828 (prolog-indent-line, prolog-indent-level)
3829 (prolog-find-indent-of-matching-paren)
3830 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3831 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3832 (prolog-goto-next-paren, prolog-in-string-or-comment)
3833 (prolog-tokenize, prolog-inside-mline-comment)
3834 (prolog-find-start-of-mline-comment): Remove functions.
3835 (prolog-find-unmatched-paren, prolog-clause-end)
3836 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3837 (prolog-electric--if-then-else): Rename from
3838 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3839 (prolog-tokenize-searchkey): Remove const.
3840 (prolog-clause-info): Use forward-sexp.
3841 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3842 (prolog-electric-if-then-else): Remove commands.
3843 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3844 for use in post-self-insert-hook.
3845 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3846 for use in post-self-insert-hook.
3847 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3848 for use in post-self-insert-hook.
3849 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3850 adapt it for use in post-self-insert-hook.
3851
38522013-10-25 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * emacs-lisp/ert.el (ert-run-tests-interactively):
3855 Use `completing-read'. (Bug#9756)
3856
38572013-10-25 Eli Zaretskii <eliz@gnu.org>
3858
3859 * simple.el (line-move): Call line-move-1 instead of
3860 line-move-visual when the current window hscroll is zero, but
3861 temporary-goal-column indicates we will need to hscroll as result
3862 of the movement. (Bug#15712)
3863
38642013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3865
3866 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3867 capitalization. Use :visible instead of :active.
3868 Fix `ruby-indent-exp' reference. Add menu items for the generic
3869 commands that are used with SMIE.
3870 (ruby-do-end-to-brace): Insert space after `{'.
3871
38722013-10-25 John Anthony <john@jo.hnanthony.com>
3873
3874 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3875
3876 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3877
38782013-10-25 Glenn Morris <rgm@gnu.org>
3879
3880 * vc/vc.el (vc-print-log): Don't use a working revision unless
3881 one was explicitly specified. (Bug#15322)
3882
38832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * subr.el (add-to-list): Preserve return value in compiler-macro
3886 (bug#15692).
3887
38882013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3889
3890 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3891 result. Ask user to retry using '-all' flag. (Bug#15701)
3892
38932013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * emacs-lisp/smie.el: New smie-config system.
3896 (smie-config): New defcustom.
3897 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3898 (smie-config-guess, smie-config-save): New commands.
3899 (smie-config--mode-local, smie-config--buffer-local)
3900 (smie-config--trace, smie-config--modefuns): New vars.
3901 (smie-config--advice, smie-config--mode-hook)
3902 (smie-config--setter, smie-config-local, smie-config--get-trace)
3903 (smie-config--guess-value, smie-config--guess): New functions.
3904 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3905 text properties. Treat "string fence" syntax like string syntax.
3906
3907 * progmodes/sh-script.el (sh-use-smie): Change default.
3908 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3909 (sh-var-value): Simplify by CSE.
3910 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3911 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3912 is used.
3913 (sh-guess-basic-offset): Use cl-incf.
3914 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3915
39162013-10-24 Helmut Eller <eller.helmut@gmail.com>
3917
3918 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3919 (bug#15699).
3920
39212013-10-24 Glenn Morris <rgm@gnu.org>
3922
3923 * Makefile.in (abs_top_srcdir): Remove.
3924 (update-subdirs): Use relative path to update-subdirs.
3925
39262013-10-24 Eli Zaretskii <eliz@gnu.org>
3927
3928 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3929 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3930 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3931 Call unmsys--file-name before expand-file-name, not after it.
3932
39332013-10-24 Michael Albinus <michael.albinus@gmx.de>
3934
3935 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3936 (ert-test-skipped): New error.
3937 (ert-skip, ert-stats-skipped): New defuns.
3938 (ert--skip-unless): New macro.
3939 (ert-test-skipped): New struct.
3940 (ert--run-test-debugger, ert-test-result-type-p)
3941 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3942 (ert--stats-set-test-and-result, ert-char-for-test-result)
3943 (ert-string-for-test-result, ert-run-tests-batch)
3944 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3945 Handle skipped tests. (Bug#9803)
3946
39472013-10-24 Glenn Morris <rgm@gnu.org>
3948
3949 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3950
3951 * Makefile.in (abs_top_srcdir): New, set by configure.
3952 (update-subdirs): Correct build-aux location.
3953
39542013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3957 value, whether we could auto-deduce `backend', or not.
3958
3959 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3960 with parameters" example. Simplify the "is it block or is it
3961 hash" check, but also make it more thorough.
3962
39632013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3964
3965 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3966
39672013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3970 { if it is hanging.
3971
3972 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3973 :before ";".
3974
39752013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3976
3977 * progmodes/compile.el (compilation-directory-matcher)
3978 (compilation-page-delimiter):
3979 Support GNU Make-4.0 directory quoting. (Bug#15678)
3980
39812013-10-23 Leo Liu <sdl.web@gmail.com>
3982
3983 * ido.el (ido-tidy): Handle read-only text.
3984
39852013-10-23 Glenn Morris <rgm@gnu.org>
3986
3987 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3988 (emacs, compile, compile-always):
3989 Quote entities that might contain whitespace.
3990 (custom-deps, finder-data, autoloads): Use abs_lisp.
3991 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3992 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3993 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3994
39952013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3996
3997 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3998 Use `following-char'.
3999
40002013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4003 * progmodes/ruby-mode.el (ruby-smie-rules):
4004 Remove corresponding workaround. Fix indentation rule of ";" so it
4005 also applies when ";" is the parent.
4006
40072013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4008
4009 * frame.el (display-screens, display-pixel-height)
4010 (display-pixel-width, display-mm-width, display-backing-store)
4011 (display-save-under, display-planes, display-color-cells)
4012 (display-visual-class, display-monitor-attributes-list):
4013 Mention the optional ‘display’ argument in doc strings.
4014
40152013-10-22 Michael Gauland <mikelygee@amuri.net>
4016
4017 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4018 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4019
40202013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4021
4022 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4023 TODO. Add "." after " @ ".
4024 (ruby-smie--at-dot-call): New function. Checks if point at method
4025 call with explicit target.
4026 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4027 to the method name tokens when it precedes them.
4028 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4029 (ruby-smie-rules): Add rule for indentation before and after "."
4030 token.
4031
40322013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * textmodes/remember.el (remember-diary-extract-entries):
4035 Avoid add-to-list.
4036
4037 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4038 an instruction.
4039
40402013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4041
4042 * progmodes/ruby-mode.el (ruby-smie-grammar):
4043 Add (almost) all infix operators.
4044 (ruby-smie--implicit-semi-p): Add new operator chars.
4045
4046 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4047 `smie-down-list'.
4048 (ruby-smie--args-separator-p): Check that there's no newline
4049 between method call and its arguments.
4050
40512013-10-20 Alan Mackenzie <acm@muc.de>
4052
4053 Allow comma separated lists after Java "implements".
4054
4055 * progmodes/cc-engine.el (c-backward-over-enum-header):
4056 Parse commas.
4057 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4058 from a "disallowed" list in enum fontification.
4059
40602013-10-20 Johan Bockgård <bojohan@gnu.org>
4061
4062 * startup.el (default-frame-background-mode): Remove unused defvar.
4063
4064 * progmodes/verilog-mode.el (verilog-mode): Don't set
4065 comment-indent-function globally.
4066
40672013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4068
4069 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4070 Move Info menu item creation to ns-win.el.
4071
4072 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4073 in menu bar.
4074
4075 * menu-bar.el: Move GNUstep specific menus...
4076
4077 * term/ns-win.el (ns-initialize-window-system): ... to here.
4078
40792013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * simple.el (newline): Only run post-self-insert-hook when
4082 called interactively.
4083
40842013-10-19 Johan Bockgård <bojohan@gnu.org>
4085
4086 * icomplete.el (icomplete-with-completion-tables): Add :version.
4087
40882013-10-19 Alan Mackenzie <acm@muc.de>
4089
4090 Fix fontification bugs with constructors and const.
4091
4092 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4093 CASE 2) Remove the check for the absence of a suffix construct
4094 after a function declaration with only types (no identifiers) in
4095 the parentheses. Also, accept a function declaration with just a
4096 type inside the parentheses, if this type can be positively
4097 recognised as such, or if a prefix keyword like "explicit" nails
4098 down the construct as a declaration.
4099
41002013-10-19 Eli Zaretskii <eliz@gnu.org>
4101
4102 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4103 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4104 the problem whereby selecting a menu item that leads to a
4105 minibuffer prompt moves the cursor out of the minibuffer window,
4106 making it hard to type at the prompt. Suggested by Stefan Monnier
4107 <monnier@iro.umontreal.ca>.
4108
41092013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4110
4111 * menu-bar.el: Don't make Services menu.
4112
41132013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4114
4115 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4116 (ffap-alist): Use ffap-c++-mode for c++-mode.
4117 (ffap-c++-path): New variable.
4118 (ffap-c++-mode): New function.
4119
41202013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4121
4122 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4123
41242013-10-18 Michael Albinus <michael.albinus@gmx.de>
4125
4126 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4127 introduced on 2013-09-08, which results in an infinite loop
4128 requesting a password.
4129
41302013-10-18 Glenn Morris <rgm@gnu.org>
4131
4132 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4133
41342013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4135
4136 Sync with upstream verilog-mode revision 1a6ecec7.
4137 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4138 (verilog-mode-release-date): Remove.
4139 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4140 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4141 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4142 (verilog-auto-tieoff-ignore-regexp)
4143 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4144 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4145 (verilog-signals-with, verilog-dir-cache-preserving)
4146 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4147 Doc fixes.
4148 (verilog-case-fold): New option, to control case folding in
4149 regexp searches, bug597.
4150 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4151 (verilog-string-match-fold, verilog-in-paren-count)
4152 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4153 (verilog-at-close-struct-p): New functions.
4154 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4155 (verilog-forward-sexp, verilog-set-auto-endcomments):
4156 (verilog-leap-to-case-head): Handle "unique0" case.
4157 (verilog-in-constraint-re): New constant.
4158 (verilog-keywords, verilog-type-font-keywords):
4159 Add some SystemVerilog 1800-2012 keywords.
4160 (verilog-label-be): Remove unimplemented argument, bug669.
4161 (verilog-batch-execute-func): When batch expanding clear
4162 create-lockfiles to prevent spurious user locks when a file ends
4163 up not changing.
4164 (verilog-calculate-indent, verilog-calc-1)
4165 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4166 (verilog-do-indent): Fix indentation of nested constraints
4167 and structures.
4168 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4169 (verilog-auto-inst-param): Use verilog-string-match-fold.
4170 (verilog-read-inst-module-matcher):
4171 Fix AUTOINST on gate primitives with #1.
4172 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4173 Reads all user-defined typed variables.
4174 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4175 (verilog-signals-matching-regexp)
4176 (verilog-signals-not-matching-regexp, verilog-auto):
4177 Respect verilog-case-fold.
4178 (verilog-diff-report): Fix line count.
4179 (verilog-auto-assign-modport): Remove unused local `modi'.
4180 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4181 better handle multidimensional arrays.
4182 Fix packed array ports misadding bit index in AUTOINST, bug637.
4183 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4184 to not double-declare existing outputs and inputs, respectively.
4185 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4186 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4187 (verilog-sk-uvm-component): New skeleton.
4188 (verilog-submit-bug-report): Add verilog-case-fold,
4189 remove verilog-mode-release-date.
4190
41912013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4192
4193 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4194 as before.
4195
41962013-10-18 Reuben Thomas <rrt@sc3d.org>
4197
4198 * textmodes/remember.el (remember): Set buffer-offer-save in
4199 remember buffers (bug#13566).
4200
42012013-10-18 Daniel Colascione <dancol@dancol.org>
4202
4203 When evaluating forms in ielm, direct standard output to ielm
4204 buffer. Add new ielm-return-for-effect command. Remove trailing
4205 whitespace throughout.
4206
4207 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4208 (ielm-return-for-effect): New command.
4209 (ielm-send-input): Accept optional `for-effect' parameter.
4210 (ielm-eval-input): Accept optional `for-effect' parameter.
4211 Bind `standard-output' to stream we create using
4212 `ielm-standard-output-impl'. Suppress printing result when
4213 `for-effect'.
4214 (ielm-standard-output-impl): New function.
4215 (inferior-emacs-lisp-mode): Explain new features in documentation.
4216
42172013-10-17 Michael Albinus <michael.albinus@gmx.de>
4218
4219 Code cleanup.
4220
4221 * net/tramp.el (tramp-debug-message): Do not check for connection
4222 buffer.
4223 (tramp-message): Use "vector" connection property.
4224
4225 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4226 (tramp-equal-remote, tramp-eshell-directory-change)
4227 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4228 (tramp-adb-handle-rename-file)
4229 * net/tramp-cmds.el (tramp-list-remote-buffers)
4230 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4231 * net/tramp-compat.el (tramp-compat-process-running-p)
4232 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4233 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4234 (tramp-gvfs-handle-rename-file)
4235 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4236 (tramp-set-file-uid-gid)
4237 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4238 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4239 of `file-remote-p'.
4240
4241 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4242 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4243 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4244 (tramp-gw-open-network-stream): Suppress unrelated traces.
4245
4246 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4247 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4249 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4250 connection property.
4251
4252 * net/tramp-cache.el (top): Suppress traces when reading
4253 persistency file.
4254
4255 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4256 Refactor common code. Improve debug message.
4257 (tramp-maybe-open-connection)
4258 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4259 connection buffer too early.
4260
4261 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4262 from `tramp-smb-actions-with-acl'.
4263 (tramp-smb-actions-set-acl): New defconst.
4264 (tramp-smb-handle-copy-directory)
4265 (tramp-smb-action-get-acl): New defun, renamed from
4266 `tramp-smb-action-with-acl'.
4267 (tramp-smb-action-set-acl): New defun.
4268 (tramp-smb-handle-set-file-acl): Rewrite.
4269
42702013-10-17 Glenn Morris <rgm@gnu.org>
4271
4272 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4273
42742013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4275
4276 * skeleton.el (skeleton-newline): Remove.
4277 (skeleton-internal-1): Use (insert "\n") instead.
4278
4279 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4280 let-bindings.
4281
4282 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4283 forward-sexp-function while we redo its job (bug#15613).
4284
42852013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4286
4287 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4288 represented by lists.
4289
42902013-10-16 Glenn Morris <rgm@gnu.org>
4291
4292 * tmm.el (tmm--history): New dynamic variable.
4293 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4294
42952013-10-16 Michael Albinus <michael.albinus@gmx.de>
4296
4297 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4298 (tramp-smb-errors): Add error messages.
4299 (tramp-smb-actions-with-acl): New defconst.
4300 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4301 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4302 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4303 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4304 (tramp-smb-get-stat-capability): Fix tests.
4305
43062013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4307
4308 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4309 (bug#15580).
4310
43112013-10-16 Glenn Morris <rgm@gnu.org>
4312
4313 * ansi-color.el (ansi-color-drop-regexp):
4314 Add 1J, 1K, 2K. (Bug#15617)
4315
4316 * files.el (hack-local-variables--warned-lexical): New.
4317 (hack-local-variables):
4318 Warn about misplaced lexical-binding. (Bug#15616)
4319
4320 * net/eww.el (eww-render): Always set eww-current-url,
4321 and update header line. (Bug#15622)
4322 (eww-display-html): ... Rather than just doing it here.
4323
43242013-10-15 Eli Zaretskii <eliz@gnu.org>
4325
4326 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4327 menu navigations commands.
4328
43292013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4330
4331 * progmodes/subword.el (subword-capitalize): Be careful when
4332 the search for [[:alpha:]] fails (bug#15580).
4333
43342013-10-14 Eli Zaretskii <eliz@gnu.org>
4335
4336 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4337 to commands that scroll the menu.
4338
43392013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4340
4341 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4342 Handle methods ending with `?' and `!'.
4343
43442013-10-14 Akinori MUSHA <knu@iDaemons.org>
4345
4346 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4347 `japanese-cp932' to `cp932' to fix the problem where saving a
4348 source file written in Shift_JIS twice would end up having
4349 `coding: japanese-cp932' which Ruby could not recognize.
4350 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4351 in `ruby-encoding-map'.
4352 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4353 doesn't need to be explicitly declared in magic comment.
4354 (ruby-encoding-map): Add type declaration for better customize UI.
4355
43562013-10-13 Glenn Morris <rgm@gnu.org>
4357
4358 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4359 Occur buffers are read-only. http://bugs.debian.org/720775
4360
4361 * emacs-lisp/authors.el (authors-fixed-entries):
4362 Comment out old alpha stuff.
4363
43642013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4365
4366 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4367 to `after-save-hook' instead of `before-save-hook'.
4368 (ruby-mode-set-encoding): Use the value of coding system used to
4369 write the file. Call `basic-save-buffer-1' after modifying the
4370 buffer.
4371
43722013-10-13 Alan Mackenzie <acm@muc.de>
4373
4374 Fix indentation/fontification of Java enum with
4375 "implements"/generic.
4376
4377 * progmodes/cc-engine.el (c-backward-over-enum-header):
4378 Extracted from the three other places and enhanced to handle generics.
4379 (c-inside-bracelist-p): Uses new function above.
4380 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4381 function above.
4382 (c-font-lock-enum-tail): Uses new function above.
4383
43842013-10-13 Kenichi Handa <handa@gnu.org>
4385
4386 * international/mule-cmds.el (select-safe-coding-system): Remove a
4387 superfluous condition in chekcing whether a coding system is safe
4388 or not.
4389
43902013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4391
4392 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4393
43942013-10-13 Andreas Politz <politza@hochschule-trier.de>
4395
4396 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4397
43982013-10-13 Glenn Morris <rgm@gnu.org>
4399
4400 * menu-bar.el (menu-bar-update-buffers):
4401 Unify Buffers menu prompt string. (Bug#15576)
4402
4403 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4404
4405 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4406 Add some entries.
4407 (authors-fixed-entries): Use accented form of name.
4408
44092013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4412 method calls (bug#15594).
4413 (ruby-smie--args-separator-p): New function.
4414 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4415 recognize paren-free method calls.
4416
4417 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4418 internals of universal-argument.
4419
44202013-10-11 Eli Zaretskii <eliz@gnu.org>
4421
4422 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4423 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4424 dropped menu on second mouse click on the menu bar.
4425
44262013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4429 (explicit-shell-file-name): Declare.
4430 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4431 (sh-completion-at-point-function): New function.
4432 (sh-mode): Use it.
4433 (sh-smie--keyword-p): Remove unused argument.
4434 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4435 vars.
4436 (sh-set-shell): Always setup SMIE, even if we use the
4437 old indentation code.
4438
44392013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4440
4441 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4442 cases of ? and =.
4443 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4444 predicate would return nil are almost non-existent.
4445 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4446
4447 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4448 cache also after commands that modify the buffer but don't move
4449 point.
4450
44512013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * env.el (substitute-env-in-file-name): New function.
4454 (substitute-env-vars): Extend the meaning of the optional arg.
4455
44562013-10-10 Eli Zaretskii <eliz@gnu.org>
4457
4458 * term/w32-win.el (dynamic-library-alist): Define separate lists
4459 of GIF DLLs for versions before and after 5.0.0 of giflib.
4460 (Bug#15531)
4461
44622013-10-10 João Távora <joaotavora@gmail.com>
4463
4464 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4465 not locked, use last revision and current source as
4466 defaults. (Bug#15569)
4467
44682013-10-10 Masatake YAMATO <yamato@redhat.com>
4469
4470 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4471 menu-bar is hidden.
4472
44732013-10-10 Martin Rudalics <rudalics@gmx.at>
4474
4475 * window.el (pop-to-buffer-same-window): Fix doc-string.
4476 (Bug#15492)
4477
44782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4481
44822013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4483
4484 * calendar/icalendar.el (icalendar-import-file):
4485 Fix interactive spec. (Bug#15482)
4486
44872013-10-10 Glenn Morris <rgm@gnu.org>
4488
4489 * desktop.el (desktop-save): Default to saving in .emacs.d,
4490 since PWD is no longer in desktop-path by default. (Bug#15319)
4491
4492 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4493 now that text mode has a menu with the same entry.
4494 (menu-bar-text-mode-auto-fill): Remove now unused func.
4495 * textmodes/text-mode.el (text-mode-map):
4496 Use auto-fill help text from menu-bar.el.
4497
44982013-10-10 John Anthony <john@jo.hnanthony.com>
4499
4500 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4501
45022013-10-09 Juri Linkov <juri@jurta.org>
4503
4504 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4505 instead of this-command-keys. Add universal-argument-more and
4506 universal-argument-minus to the list of prefix commands. (Bug#15568)
4507
45082013-10-09 Glenn Morris <rgm@gnu.org>
4509
4510 * vc/vc-svn.el (vc-svn-create-repo):
4511 Expand paths in file://... url. (Bug#15446)
4512
4513 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4514 Add some entries.
4515 (authors): Remove unused local variables.
4516
45172013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * profiler.el: Create a more coherent calltree from partial backtraces.
4520 (profiler-format): Hide the tail with `invisible' so that C-s can still
4521 find the hidden elements.
4522 (profiler-calltree-depth): Don't recurse so enthusiastically.
4523 (profiler-function-equal): New hash-table-test.
4524 (profiler-calltree-build-unified): New function.
4525 (profiler-calltree-build): Use it.
4526 (profiler-report-make-name-part): Indent the calltree less.
4527 (profiler-report-mode): Add visibility specs for profiler-format.
4528 (profiler-report-expand-entry, profiler-report-toggle-entry):
4529 Expand the whole subtree when provided with a prefix arg.
4530
45312013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4532
4533 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4534 iuwu-mod token.
4535 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4536 hanging iuwu-mod token.
4537 (ruby-smie--forward-token): Do not include a dot after a token in
4538 that token.
4539 (ruby-smie--backward-token): Likewise.
4540
45412013-10-08 Juri Linkov <juri@jurta.org>
4542
4543 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4544 to isearch-other-control-char.
4545 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4546 and isearch-post-command-hook to post-command-hook.
4547 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4548 and isearch-post-command-hook from post-command-hook.
4549 (isearch-unread-key-sequence)
4550 (isearch-reread-key-sequence-naturally)
4551 (isearch-lookup-scroll-key, isearch-other-control-char)
4552 (isearch-other-meta-char): Remove functions.
4553 (isearch-pre-command-hook, isearch-post-command-hook):
4554 New functions based on isearch-other-meta-char rewritten
4555 relying on the new behavior of overriding-terminal-local-map
4556 that does not replace the local keymaps any more. (Bug#15200)
4557
45582013-10-08 Eli Zaretskii <eliz@gnu.org>
4559
4560 Support menus on text-mode terminals.
4561 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4562 functionality.
4563
4564 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4565
4566 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4567 Move here from mouse.el.
4568 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4569 and arrow keys.
4570 (tty-menu-navigation-map): New map for TTY menu navigation.
4571
4572 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4573
4574 * frame.el (display-mouse-p): Report text-mode mouse as available
4575 on w32.
4576 (display-popup-menus-p): Report availability if mouse is
4577 available; don't condition on window-system.
4578
4579 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4580 (tty-menu-selected-face): New faces.
4581
45822013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4585 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4586 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4587 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4588 New constants.
4589 (lisp-mode-variables): New `elisp' argument.
4590 (emacs-lisp-mode): Use it.
4591 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4592 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4593
4594 * indent.el: Use lexical-binding.
4595 (indent-region): Add progress reporter.
4596 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4597 last step.
4598 (indent--next-tab-stop): New function to implement this behavior.
4599 (tab-to-tab-stop, move-to-tab-stop): Use it.
4600
46012013-10-08 Teemu Likonen <tlikonen@iki.fi>
4602
4603 * indent.el (indent-rigidly--current-indentation): New function.
4604 (indent-rigidly-map): New var.
4605 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4606
46072013-10-08 Bastien Guerry <bzg@gnu.org>
4608
4609 * register.el (insert-register): Fix 2013-10-07 change.
4610
46112013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * progmodes/perl-mode.el: Use lexical-binding.
4614 Remove redundant :group args.
4615 (perl-nochange): Change default to be closer to other major modes's
4616 standard behavior.
4617 (perl-indent-line): Don't consider text on current line as a
4618 valid beginning of function from which to indent.
4619
4620 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4621 with more than one argument (bug#15538).
4622
4623 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4624
4625 * vc/pcvs.el: Use lexical-binding.
4626 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4627 environment of `eval'.
4628 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4629 than a list of expressions. Adjust callers.
4630 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4631
46322013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4633
4634 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4635 case of the dot in a chained method call being on the following line.
4636
46372013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * electric.el (electric-indent-inhibit): New var.
4640 (electric-indent-post-self-insert-function): Use it.
4641 * progmodes/python.el (python-mode): Set it.
4642
4643 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4644 open braces.
4645
4646 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4647
4648 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4649 (css-mode): Use electric-indent-chars.
4650
4651 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4652 (font-lock-beg, font-lock-end): Move before first use.
4653 (nxml-mode): Use syntax-propertize-function.
4654 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4655 (nxml-extend-after-change-region): Remove.
4656 * nxml/xmltok.el: Use lexical-binding.
4657 (xmltok-save): Use `declare'.
4658 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4659 * nxml/nxml-util.el: Use lexical-binding.
4660 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4661 Use `declare'.
4662 * nxml/nxml-ns.el: Use lexical-binding.
4663 (nxml-ns-save): Use `declare'.
4664 (nxml-ns-prefixes-for): Avoid add-to-list.
4665 * nxml/rng-match.el: Use lexical-binding.
4666 (rng--ipattern): Use cl-defstruct.
4667 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4668 (rng-cons-group-after, rng-subst-group-after)
4669 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4670 Use closures instead of `(lambda...).
4671
46722013-10-07 Michael Albinus <michael.albinus@gmx.de>
4673
4674 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4675 of BEG and END.
4676
4677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4678 Use `tramp-handle-insert-file-contents'.
4679 (tramp-gvfs-handle-insert-file-contents): Remove function.
4680
4681 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4682 Use `save-restriction' in order to keep markers.
4683
4684 * net/trampver.el: Update release number.
4685
46862013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * progmodes/compile.el (compilation-parse-errors):
4689 Use compilation--put-prop.
4690 (compilation--ensure-parse): Check compilation-multiline.
4691
4692 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4693
4694 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4695 lexical-binding.
4696
4697 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4698
4699 * progmodes/ruby-mode.el: Fix recently added tests.
4700 (ruby-smie-grammar): Add - and +.
4701 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4702 (ruby-smie--backward-id): New functions.
4703 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4704 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4705 any more.
4706
47072013-10-07 Leo Liu <sdl.web@gmail.com>
4708
4709 * register.el (register-preview-delay)
4710 (register-preview-functions): New variables.
4711 (register-read-with-preview, register-preview)
4712 (register-describe-oneline): New functions.
4713 (point-to-register, window-configuration-to-register)
4714 (frame-configuration-to-register, jump-to-register)
4715 (number-to-register, view-register, insert-register)
4716 (copy-to-register, append-to-register, prepend-to-register)
4717 (copy-rectangle-to-register): Use register-read-with-preview to
4718 read register. (Bug#15525)
4719
47202013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4721
4722 * net/network-stream.el (network-stream-open-starttls): Don't add
4723 --insecure if it's already present, because that gnutls-cli
4724 rejects getting that parameter twice.
4725
47262013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4727
4728 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4729 keyword, too.
4730
47312013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4732
4733 * newcomment.el (comment-use-global-state): Change default value
4734 to t, mark obsolete (Bug#15251).
4735 (comment-beginning): In addition to `comment-to-syntax', check the
4736 value of `comment-use-global-state'.
4737
47382013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4741 (ruby-comment-column): Follow the global default, by default.
4742 (ruby-smie-grammar): Add assignment syntax.
4743 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4744 open-paren, a comma, or a \.
4745 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4746 and line continuations.
4747 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4748 followed by implicit semi-colons. Add rule for string concatenation
4749 and for indentation at BOB.
4750 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4751
4752 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4753 calling next-sexp, since next-token may have skipped chars which
4754 next-sexp doesn't know should be skipped!
4755
47562013-10-05 Leo Liu <sdl.web@gmail.com>
4757
4758 * progmodes/octave.el (octave-send-region):
4759 Call compilation-forget-errors.
4760
47612013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4762
4763 * vc/vc-svn.el (vc-svn-find-admin-dir):
4764 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4765 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4766 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4767 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4768
47692013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4772
47732013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * subr.el (read-passwd): Hide chars even when called within a context
4776 where after-change-functions is disabled (bug#15501).
4777 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4778 until we removed ourself from overriding-terminal-local-map.
4779
47802013-10-04 Leo Liu <sdl.web@gmail.com>
4781
4782 * progmodes/octave.el (inferior-octave-mode):
4783 Call compilation-forget-errors.
4784
47852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4786
4787 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4788
47892013-10-04 Michael Albinus <michael.albinus@gmx.de>
4790
4791 * net/secrets.el (secrets-create-collection): Add optional
4792 argument ALIAS. Use proper Label keyword. Append ALIAS as
4793 dbus-call-method argument. (Bug#15516)
4794
47952013-10-04 Leo Liu <sdl.web@gmail.com>
4796
4797 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4798 (inferior-octave-compilation-font-lock-keywords): New variables.
4799 (compilation-error-regexp-alist)
4800 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4801 (inferior-octave-mode): Use compilation-shell-minor-mode.
4802
48032013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4804
4805 * minibuffer.el (completion--replace): Be careful that `end' might be
4806 a marker.
4807
48082013-10-03 Daiki Ueno <ueno@gnu.org>
4809
4810 Add support for package signature checking.
4811 * emacs-lisp/package.el (url-http-file-exists-p)
4812 (epg-make-context, epg-context-set-home-directory)
4813 (epg-verify-string, epg-context-result-for)
4814 (epg-signature-status, epg-signature-to-string)
4815 (epg-check-configuration, epg-configuration)
4816 (epg-import-keys-from-file): Declare.
4817 (package-check-signature): New user option.
4818 (package-unsigned-archives): New user option.
4819 (package-desc): Add `signed' field.
4820 (package-load-descriptor): Set `signed' field if .signed file exists.
4821 (package--archive-file-exists-p): New function.
4822 (package--check-signature): New function.
4823 (package-install-from-archive): Check package signature.
4824 (package--download-one-archive): Check archive signature.
4825 (package-delete): Remove .signed file.
4826 (package-import-keyring): New command.
4827 (package-refresh-contents): Import default keyring.
4828 (package-desc-status): Add "unsigned" status.
4829 (describe-package-1, package-menu--print-info)
4830 (package-menu-mark-delete, package-menu--find-upgrades)
4831 (package-menu--status-predicate): Support "unsigned" status.
4832
48332013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4836 the new compilation scheme using the new byte-codes.
4837
4838 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4839 (byte-pophandler): New byte codes.
4840 (byte-goto-ops): Adjust accordingly.
4841 (byte-compile--use-old-handlers): New var.
4842 (byte-compile-catch): Use new byte codes depending on
4843 byte-compile--use-old-handlers.
4844 (byte-compile-condition-case--old): Rename from
4845 byte-compile-condition-case.
4846 (byte-compile-condition-case--new): New function.
4847 (byte-compile-condition-case): New function that dispatches depending
4848 on byte-compile--use-old-handlers.
4849 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4850 when we can.
4851
4852 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4853 Optimize under `condition-case' and `catch' if
4854 byte-compile--use-old-handlers is nil.
4855 (disassemble-offset): Handle new bytecodes.
4856
48572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * subr.el (error): Use `declare'.
4860 (decode-char, encode-char): Use advertised-calling-convention instead
4861 of the docstring to discourage use of the `restriction' arg.
4862
48632013-10-03 Daiki Ueno <ueno@gnu.org>
4864
4865 * epg.el (epg-verify-file): Add a comment saying that it does not
4866 notify verification error as a return value nor a signal.
4867 (epg-verify-string): Ditto.
4868
48692013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4870
4871 * progmodes/compile.el (compilation-start): Try globbing the arg to
4872 `cd' (bug#15417).
4873
48742013-10-02 Michael Albinus <michael.albinus@gmx.de>
4875
4876 Sync with Tramp 2.2.8.
4877
4878 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4879 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4880 * net/trampver.el: Update release number.
4881
48822013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4883
4884 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4885 and default-process-coding-system for darwin only.
4886
48872013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4890
48912013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4892
4893 * vc/vc-git.el (vc-git-grep): Disable pager.
4894
48952013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4896
4897 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4898 Use :url instead of :homepage, as per
4899 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4900
4901 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4902 non-nil, use `syntax-ppss' (Bug#15251).
4903
49042013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4905
4906 * progmodes/octave.el (inferior-octave-startup-file):
4907 Prefer ~/.emacs.d/init_octave.m.
4908
49092013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4910
4911 * emacs-lisp/package.el (package-desc-from-define):
4912 Accept additional arguments as plist, convert them to an alist and store
4913 them in the `extras' slot.
4914 (package-generate-description-file): Convert extras alist back to
4915 plist and append to the `define-package' form arguments.
4916 (package--alist-to-plist): New function.
4917 (package--ac-desc): Add `extras' slot.
4918 (package--add-to-archive-contents): Check if the archive-contents
4919 vector is long enough, and if it is, pass its `extras' slot value
4920 to `package-desc-create'.
4921 (package-buffer-info): Call `lm-homepage', pass the returned value
4922 to `package-desc-from-define'.
4923 (describe-package-1): Render the homepage button (Bug#13291).
4924
4925 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4926 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4927
49282013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4929
4930 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4931 and default-process-coding-system to utf-8-unix (Bug#15402).
4932
49332013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4934
4935 * subr.el (looking-back): Do not recommend using looking-back.
4936
49372013-09-28 Alan Mackenzie <acm@muc.de>
4938
4939 Fix indentation/fontification of Java enum with "implements".
4940
4941 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4942 regexp which matches "implements", etc., in Java.
4943 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4944 specifier clauses coming after "enum".
4945 * progmodes/cc-fonts.el (c-font-lock-declarations)
4946 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4947 after "enum".
4948
49492013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4950
4951 * faces.el (region): Change ns_selection_color to
4952 ns_selection_fg_color, add ns_selection_bg_color.
4953
49542013-09-28 Leo Liu <sdl.web@gmail.com>
4955
4956 * progmodes/octave.el (inferior-octave-completion-table)
4957 (inferior-octave-completion-at-point): Minor tweaks.
4958
4959 * textmodes/ispell.el (ispell-lookup-words): Rename from
4960 lookup-words. (Bug#15460)
4961 (lookup-words): Obsolete.
4962 (ispell-complete-word, ispell-command-loop): All uses changed.
4963
49642013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4965
4966 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4967 (octave-mode-menu): Add octave-send-buffer.
4968 (octave-send-buffer): New function.
4969
49702013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4971
4972 * progmodes/octave.el (octave-mode-map): Add key binding for
4973 octave-lookfor.
4974 (octave-mode-menu): Add octave-lookfor.
4975 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4976 octave-lookfor.
4977 (octave-lookfor): New function.
4978
49792013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * emacs-lisp/cl-macs.el:
4982 (cl--loop-destr-temps): Remove.
4983 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4984 its convention.
4985 (cl--loop-set-iterator-function): New function.
4986 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4987 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4988 Bind `it' with `let' instead of substituting it with `cl-subst'.
4989 (cl--unused-var-p): New function.
4990 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4991 Eliminate some unused variable warnings (bug#15326).
4992
49932013-09-27 Tassilo Horn <tsdh@gnu.org>
4994
4995 * doc-view.el (doc-view-scale-reset): Rename from
4996 `doc-view-reset-zoom-level'.
4997 (doc-view-scale-adjust): New command.
4998 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4999 `doc-view-scale-adjust'.
5000
50012013-09-26 Tassilo Horn <tsdh@gnu.org>
5002
5003 * doc-view.el (doc-view-reset-zoom-level): New command.
5004 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5005 zoom commands (bug#15466).
5006
50072013-09-26 Kenichi Handa <handa@gnu.org>
5008
5009 * international/quail.el (quail-help): Make it not a command.
5010
50112013-09-26 Leo Liu <sdl.web@gmail.com>
5012
5013 * minibuffer.el (completion-all-sorted-completions): Make args
5014 optional as they are.
5015
50162013-09-25 Daniel Colascione <dancol@dancol.org>
5017
5018 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5019 specs are and that they're not evaluated.
5020
50212013-09-24 Sam Steingold <sds@gnu.org>
5022
5023 * midnight.el (clean-buffer-list-kill-regexps)
5024 (clean-buffer-list-kill-buffer-names): Update for the new Man
5025 buffer naming which includes the object name.
5026
50272013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5030 (eshell-parse-command, eshell-parse-pipeline): Use it since
5031 eshell-separate-commands requires a dynamic scoped var.
5032 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5033
50342013-09-23 Leo Liu <sdl.web@gmail.com>
5035
5036 * autoinsert.el (auto-insert-alist): Make the value of
5037 lexical-binding match its file setting.
5038
50392013-09-23 Juanma Barranquero <lekktu@gmail.com>
5040
5041 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5042
5043 * autoarg.el (autoarg-kp-digit-argument):
5044 * electric.el (Electric-command-loop):
5045 * kmacro.el (kmacro-step-edit-insert):
5046 Do not set universal-argument-num-events.
5047
50482013-09-22 Leo Liu <sdl.web@gmail.com>
5049
5050 * files.el (interpreter-mode-alist): Add octave.
5051
50522013-09-21 Alan Mackenzie <acm@muc.de>
5053
5054 C++: fontify identifier in declaration following "public:" correctly.
5055 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5056 to match "public", etc.
5057 (c-decl-prefix-re): Add ":" into the C++ value.
5058 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5059 bit. Add a check for a ":" preceded by "public", etc.
5060
50612013-09-21 Eli Zaretskii <eliz@gnu.org>
5062
5063 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5064 recognized by GDB 7.5 and later.
5065
50662013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5067
5068 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5069
50702013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * subr.el (internal--call-interactively): New const.
5073 (called-interactively-p): Use it (bug#3984).
5074
50752013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5076
5077 * vc/pcvs.el (cvs-mode-ignore):
5078 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5079 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5080
50812013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5084 (eshell-ls-orig-insert-directory): Remove.
5085 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5086 (eshell-ls-use-in-dired): Use advice-add/remove.
5087 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5088 Add `orig-fun' arg for use in :around advice.
5089 Make it check (redundantly) eshell-ls-use-in-dired.
5090
50912013-09-19 Glenn Morris <rgm@gnu.org>
5092
5093 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5094
5095 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5096
5097 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5098
50992013-09-19 Michael Albinus <michael.albinus@gmx.de>
5100
5101 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5102 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5103 (tramp-get-remote-python): New defuns.
5104 (tramp-get-remote-uid-with-perl)
5105 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5106 contributed by yary <not.com@gmail.com> (tiny change).
5107 (tramp-get-remote-uid-with-python)
5108 (tramp-get-remote-gid-with-python): New defuns. Python code
5109 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5110 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5111
51122013-09-19 Glenn Morris <rgm@gnu.org>
5113
5114 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5115
5116 * eshell/em-unix.el (eshell-remove-entries):
5117 Rename argument to avoid name-clash with global `top-level'.
5118
5119 * eshell/esh-proc.el (eshell-kill-process-function):
5120 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5121 (eshell-reset-after-proc): Remove unused arg `proc'.
5122
5123 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5124 (directory-files-and-attributes): Mark unused arg.
5125
5126 * eshell/em-unix.el (eshell-remove-entries):
5127 Remove unused arg `path'. Update callers.
5128
5129 * eshell/em-hist.el (eshell-hist-parse-arguments):
5130 Remove unused arg `silent'. Update callers.
5131
5132 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5133 Fix (f)boundp mix-up.
5134
5135 * eshell/em-smart.el (eshell-smart-scroll-window)
5136 (eshell-disable-after-change):
5137 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5138
51392013-09-18 Alan Mackenzie <acm@muc.de>
5140
5141 Fix fontification of type when followed by "const".
5142 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5143 "known" types from fontification.
5144
51452013-09-18 Glenn Morris <rgm@gnu.org>
5146
5147 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5148 (chart-face-list): Drop Emacsen without display-color-p.
5149
5150 * net/eww.el (libxml-parse-html-region): Declare.
5151 (eww-display-html): Explicit error if no libxml2 support.
5152
5153 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5154
5155 * image.el (image-type-from-buffer, image-multi-frame-p):
5156 Remove --without-x warning/error.
5157
5158 * mouse.el (mouse-yank-primary):
5159 * term.el (term-mouse-paste):
5160 Reorder to silence --without-x compilation.
5161
5162 * mpc.el (doc-view-mode): Silence --without-x compilation.
5163
5164 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5165 Silence --without-x compilation.
5166
5167 * progmodes/gud.el (gud-find-file, gud-mode):
5168 Silence --without-x compilation.
5169 (tooltip-mode): Declare.
5170
5171 * wdired.el (dired-backup-overwrite): Remove declaration.
5172 (wdired-mode-map): Add doc string.
5173
5174 * custom.el (x-get-resource): Declare.
5175
5176 * eshell/em-glob.el (ange-cache):
5177 * eshell/em-unix.el (ange-cache): Declare.
5178
5179 * faces.el (x-display-list, x-open-connection, x-get-resource):
5180 Declare.
5181
5182 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5183 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5184 Declare.
5185
5186 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5187
5188 * net/gnutls.el (gnutls-log-level): Declare.
5189
5190 * net/shr.el (image-size, image-animate): Declare.
5191
5192 * simple.el (font-info): Declare.
5193
5194 * subr.el (x-popup-dialog): Declare.
5195
5196 * term/common-win.el (x-select-enable-primary)
5197 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5198 Declare.
5199
5200 * term/ns-win.el (x-handle-args): Declare.
5201
5202 * term/x-win.el (x-select-enable-clipboard): Declare.
5203
5204 * term/w32-win.el (create-default-fontset): Declare.
5205
5206 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5207 Declare.
5208
5209 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5210 (fit-frame-to-buffer): Explicit error if --without-x.
5211 (mouse-autoselect-window-select): Silence compiler.
5212
5213 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5214
5215 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5216 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5217 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5218 * eshell/esh-util.el (eshell-sublist):
5219 Remove unused local variables.
5220
5221 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5222
5223 * textmodes/two-column.el: Make 2C-split work for --without-x.
5224 (scroll-bar-columns): Autoload.
5225 (top-level): Require fringe when compiling.
5226
52272013-09-18 Leo Liu <sdl.web@gmail.com>
5228
5229 * subr.el (add-hook): Robustify to handle closure as well.
5230
52312013-09-17 Glenn Morris <rgm@gnu.org>
5232
5233 * simple.el (messages-buffer-mode-map): Unbind "g".
5234
52352013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * help-mode.el (help-mode-finish): Use derived-mode-p.
5238 Remove obsolete highlighting.
5239
5240 * play/life.el (life-mode): Use define-derived-mode. Derive from
5241 special-mode.
5242 (life): Let-bind inhibit-read-only.
5243 (life-setup): Avoid `setq'. Use `life-mode'.
5244
5245 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5246 which should not be needed any more.
5247 (package-menu-refresh, package-menu-describe-package): Use user-error.
5248
5249 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5250 (eshell-post-rewrite-command-hook): Make obsolete.
5251 (eshell-parse-command): Simplify.
5252 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5253 (eshell--cmd): Declare.
5254 (eshell-parse-pipeline): Remove unused var `final-p'.
5255 Pass a dynvar to eshell-post-rewrite-command-hook.
5256 Implement the new eshell-post-rewrite-command-function.
5257 (eshell-invoke-directly): Remove unused arg `input'.
5258 * eshell/esh-io.el (eshell-io-initialize):
5259 Use eshell-post-rewrite-command-function (bug#15399).
5260 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5261 adjust to new calling convention.
5262 (eshell-create-handles): Rename args to avoid clashing with dynvar
5263 `standard-output'.
5264
52652013-09-17 Glenn Morris <rgm@gnu.org>
5266
5267 * simple.el (messages-buffer-mode): New major mode.
5268 (messages-buffer): New function.
5269 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5270 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5271 (ert-run-test): Use `messages-buffer' function.
5272 (ert--force-message-log-buffer-truncation): Ignore read-only.
5273 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5274 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5275
52762013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5279
5280 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5281
52822013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * icomplete.el (icomplete-in-buffer): New var.
5285 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5286 vars and replace them with functions.
5287 (icomplete-minibuffer-setup): Adjust accordingly.
5288 (icomplete--completion-table, icomplete--completion-predicate)
5289 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5290 New functions.
5291 (icomplete-forward-completions, icomplete-backward-completions)
5292 (icomplete-simple-completing-p, icomplete-exhibit)
5293 (icomplete-completions): Use them.
5294 (icomplete--in-region-buffer): New var.
5295 (icomplete--in-region-setup): New function.
5296 (icomplete-mode): Use it.
5297
5298 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5299 (bug#15379).
5300 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5301 return args and options.
5302 (eshell-eval-using-options): Use the new return value of
5303 eshell--do-opts to set the options's vars in their scope.
5304 (eshell--set-option): Rename from eshell-set-option.
5305 Add arg `opt-vals'.
5306 (eshell--process-option): Rename from eshell-process-option.
5307 Add arg `opt-vals'.
5308 (eshell--process-args): Use an `opt-vals' alist to store the options's
5309 values during their processing and return them additionally to the
5310 remaining args.
5311
53122013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5315 continuation character an operator, as far as indentation is
5316 concerned (Bug#15369).
5317
53182013-09-15 Martin Rudalics <rudalics@gmx.at>
5319
5320 * window.el (window--state-put-2): Don't process buffer state
5321 when buffer doesn't exist any more (Bug#15382).
5322
53232013-09-15 Glenn Morris <rgm@gnu.org>
5324
5325 * eshell/em-unix.el (eshell/rm):
5326 Make -f ignore missing files. (Bug#15373)
5327
5328 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5329 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5330 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5331
53322013-09-14 Glenn Morris <rgm@gnu.org>
5333
5334 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5335
53362013-09-13 Glenn Morris <rgm@gnu.org>
5337
5338 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5339 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5340
53412013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5342
5343 * frame.el (x-focus-frame): Mark as declared in frame.c.
5344
53452013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 * ls-lisp.el: Use advice-add.
5348 (original-insert-directory): Remove.
5349 (ls-lisp--insert-directory): Rename from insert-directory; add
5350 `orig-fun' argument.
5351 (insert-directory): Advise.
5352
53532013-09-13 Eli Zaretskii <eliz@gnu.org>
5354
5355 * term.el (term-emulate-terminal): Decode the command string
5356 before passing it to term-command-hook. (Bug#15337)
5357
53582013-09-13 Glenn Morris <rgm@gnu.org>
5359
5360 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5361
5362 * eshell/esh-ext.el (eshell-search-path): Declare.
5363
5364 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5365 Otherwise an error occurs if eshell-dirs module not loaded.
5366
5367 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5368
53692013-09-13 Michael Albinus <michael.albinus@gmx.de>
5370
5371 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5372 `tramp-check-proper-host'. Check for a valid method name.
5373
5374 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5375 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5376 * net/tramp-sh.el (tramp-maybe-open-connection):
5377 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5378
5379 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5380 also for hash values.
5381
53822013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * term/ns-win.el (parameters): Don't declare as dynamic.
5385 (before-make-frame-hook): Don't add ineffective function.
5386
5387 * eshell/*.el: Use lexical-binding (bug#15231).
5388
53892013-09-12 Kenichi Handa <handa@gnu.org>
5390
5391 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5392
53932013-09-12 Glenn Morris <rgm@gnu.org>
5394
5395 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5396 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5397
5398 * subr.el (do-after-load-evaluation): Also give compiler warnings
5399 when obsolete files are used (except by obsolete files).
5400
5401 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5402 in the status output, assume `filename' is the first. (Bug#15322)
5403
5404 * vc/vc.el (vc-deduce-fileset): Doc fix.
5405
5406 * calc/calc-help.el (Info-goto-node):
5407 * progmodes/cperl-mode.el (Info-find-node):
5408 * vc/ediff.el (Info-goto-node): Update declarations.
5409
5410 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5411
5412 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5413 (vc-bzr-pull): Require vc-dispatcher.
5414 * vc/vc-git.el (vc-compilation-mode): Declare.
5415 (vc-git-pull): Require vc-dispatcher.
5416
5417 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5418
5419 * progmodes/octave.el (help-button-action): Declare.
5420
5421 * shell.el (shell-directory-tracker): Output error as a message
5422 rather than just returning it as a string.
5423 (shell-process-pushd): Remove useless use of message.
5424
5425 * dframe.el (dframe-timer-fn):
5426 * files.el (dir-locals-read-from-file):
5427 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5428 (mpc-format):
5429 * reveal.el (reveal-post-command):
5430 * saveplace.el (load-save-place-alist-from-file):
5431 * shell.el (shell-resync-dirs):
5432 * w32-common-fns.el (x-get-selection-value):
5433 * emacs-lisp/copyright.el (copyright-find-copyright):
5434 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5435 * emulation/tpu-edt.el (tpu-copy-keyfile):
5436 * play/bubbles.el (bubbles--mark-neighbourhood):
5437 * progmodes/executable.el
5438 (executable-make-buffer-file-executable-if-script-p):
5439 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5440
54412013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 Cleanup Eshell to rely less on dynamic scoping.
5444 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5445 last-value, and ext-command here. Bind `args' closer to `body'.
5446 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5447 (eshell--args): Declare new dynamic var.
5448 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5449 last-value, and ext-command. Pass `args' to `body'.
5450 (eshell-process-args): Bind eshell--args.
5451 (eshell-set-option): Use eshell--args.
5452 * eshell/eshell.el (eshell): Use derived-mode-p.
5453 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5454 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5455 (eshell-glob-function): Declare.
5456 * eshell/esh-util.el: Require cl-lib.
5457 (eshell-read-hosts-file): Avoid add-to-list.
5458 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5459 `err'.
5460 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5461 Declare.
5462 (eshell/diff): Remove unused var `err'.
5463 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5464 `killflag'.
5465 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5466 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5467 first use.
5468 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5469 Move declaration before first use.
5470 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5471 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5472 rely on cl-return.
5473
54742013-09-12 Glenn Morris <rgm@gnu.org>
5475
5476 * term/ns-win.el (global-map): Remove binding for ispell-next,
5477 deleted 1999-05-29. (Bug#15357)
5478
54792013-09-11 Glenn Morris <rgm@gnu.org>
5480
5481 * echistory.el (electric-command-history): Remove call to deleted func.
5482
5483 * play/landmark.el (landmark-mode): Fix typos.
5484
5485 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5486 Check cvs-sort-ignore-file is bound.
5487
5488 * savehist.el: No need for cl when compiling on Emacs.
5489
54902013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5493 (bug#15338).
5494 (eshell-self-insert-command, eshell-send-invisible):
5495 Remove unused argument.
5496 (eshell-handle-control-codes): Remove unused var `orig'.
5497 Avoid delete-backward-char.
5498
5499 * files.el (set-auto-mode): Simplify a bit further.
5500
55012013-09-11 Glenn Morris <rgm@gnu.org>
5502
5503 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5504 (set-auto-mode): Don't regexp-quote elements.
5505 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5506 * progmodes/cc-mode.el (interpreter-mode-alist):
5507 * progmodes/ruby-mode.el (interpreter-mode-alist):
5508 Revert previous change.
5509
55102013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * play/snake.el (snake-mode):
5513 * play/mpuz.el (mpuz-mode):
5514 * play/landmark.el (lm-mode):
5515 * play/blackbox.el (blackbox-mode):
5516 * play/5x5.el (5x5-mode):
5517 * obsolete/options.el (Edit-options-mode):
5518 * net/quickurl.el (quickurl-list-mode):
5519 * net/newst-treeview.el (newsticker-treeview-mode):
5520 * mail/rmailsum.el (rmail-summary-mode):
5521 * mail/mspools.el (mspools-mode):
5522 * locate.el (locate-mode):
5523 * ibuffer.el (ibuffer-mode):
5524 * emulation/ws-mode.el (wordstar-mode):
5525 * emacs-lisp/debug.el (debugger-mode):
5526 * array.el (array-mode):
5527 * net/eudc.el (eudc-mode): Use define-derived-mode.
5528 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5529 Move initialization into declaration.
5530 (mairix-searches-mode): Use define-derived-mode.
5531 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5532 (eudc-edit-hotlist): Use dolist.
5533 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5534 (Man-mode): Use define-derived-mode.
5535 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5536 (Info-edit-mode): Use define-derived-mode.
5537 (Info-cease-edit): Use Info-mode.
5538 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5539 into declaration.
5540 (eshell-mode): Use define-derived-mode.
5541 * chistory.el (command-history-mode-map): Rename from
5542 command-history-map.
5543 (command-history-mode): Use define-derived-mode.
5544 (Command-history-setup): Remove function.
5545 * calc/calc.el (calc-trail-mode-map): New var.
5546 (calc-trail-mode): Use define-derived-mode.
5547 (calc-trail-buffer): Set calc-main-buffer manually.
5548 * bookmark.el (bookmark-insert-annotation): New function.
5549 (bookmark-edit-annotation): Use it.
5550 (bookmark-edit-annotation-mode): Make it a proper major mode.
5551 (bookmark-send-edited-annotation): Use derived-mode-p.
5552 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5553 closer to its ideal place. Use \' to match EOS.
5554
5555 * profiler.el (profiler-calltree-find): Use function-equal.
5556
55572013-09-10 Glenn Morris <rgm@gnu.org>
5558
5559 * files.el (interpreter-mode-alist): Convert to regexps.
5560 (set-auto-mode): Adapt for this. (Bug#15306)
5561 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5562 Comment out unused variable.
5563 * progmodes/cc-mode.el (interpreter-mode-alist):
5564 * progmodes/python.el (interpreter-mode-alist):
5565 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5566 * progmodes/sh-script.el (sh-set-shell):
5567 No longer use interpreter-mode-alist to get list of shells.
5568
5569 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5570
55712013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * simple.el: Use set-temporary-overlay-map for universal-argument.
5574 (universal-argument-map): Don't use default-bindings (bug#15317).
5575 Bind switch-frame explicitly. Replace universal-argument-minus with
5576 a conditional binding.
5577 (universal-argument-num-events, saved-overriding-map): Remove.
5578 (restore-overriding-map): Remove.
5579 (universal-argument--mode): Rename from save&set-overriding-map,
5580 and rewrite.
5581 (universal-argument, universal-argument-more, negative-argument)
5582 (digit-argument): Adjust accordingly.
5583 (universal-argument-minus): Remove.
5584 (universal-argument-other-key): Remove.
5585
5586 * subr.el (with-demoted-errors): Add `format' argument.
5587
55882013-09-10 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5591 `tramp-cleanup-connection'.
5592
5593 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5594 parameters KEEP-DEBUG and KEEP-PASSWORD.
5595
5596 * net/tramp.el (tramp-file-name-handler):
5597 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5598 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5599 (tramp-maybe-open-connection):
5600 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5601 Use `tramp-cleanup-connection'.
5602
5603 * net/tramp-sh.el (tramp-maybe-open-connection):
5604 Catch 'uname-changed inside the progress reporter.
5605
56062013-09-10 Glenn Morris <rgm@gnu.org>
5607
5608 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5609
5610 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5611 returns "alternate access method" in mode (eg "-rw-r--r--.").
5612
56132013-09-08 Glenn Morris <rgm@gnu.org>
5614
5615 * saveplace.el (load-save-place-alist-from-file):
5616 Demote errors. (Bug#15305)
5617
56182013-09-08 Michael Albinus <michael.albinus@gmx.de>
5619
5620 Improve compatibility with older Emacsen, and XEmacs.
5621
5622 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5623 only if it is bound. It isn't for XEmacs.
5624 (with-tramp-progress-reporter): Do not let-bind `result'.
5625 This yields to scoping errors in XEmacs.
5626 (tramp-handle-make-auto-save-file-name): New function, moved from
5627 tramp-sh.el.
5628
5629 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5630 for `make-auto-save-file-name'.
5631 (tramp-adb--gnu-switches-to-ash):
5632 Use `tramp-compat-replace-regexp-in-string'.
5633
5634 * net/tramp-cache.el (tramp-cache-print): Call
5635 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5636
5637 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5638 bound. It isn't for XEmacs.
5639
5640 * net/tramp-compat.el (tramp-compat-copy-file):
5641 Catch `wrong-number-of-arguments' error.
5642 (tramp-compat-replace-regexp-in-string): New defun.
5643
5644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5645 for `make-auto-save-file-name'.
5646 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5647 `copy-file'.
5648 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5649 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5650 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5651
5652 * net/tramp-gw.el (tramp-gw-open-network-stream):
5653 Use `tramp-compat-replace-regexp-in-string'.
5654
5655 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5656 Call `tramp-handle-make-auto-save-file-name'.
5657 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5658 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5659 (tramp-sh-file-inotifywait-process-filter):
5660 Use `tramp-compat-replace-regexp-in-string'.
5661 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5662
5663 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5664 for `make-auto-save-file-name'.
5665 (tramp-smb-handle-copy-directory):
5666 Call `tramp-compat-replace-regexp-in-string'.
5667 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5668 (tramp-smb-handle-copy-file): Improve error message.
5669 (tramp-smb-handle-rename-file): Rename directly only in case
5670 `newname' does not exist yet. This is a restriction of smbclient.
5671 (tramp-smb-maybe-open-connection): Rerun the function only when
5672 `auth-sources' is non-nil.
5673
56742013-09-08 Kenichi Handa <handa@gnu.org>
5675
5676 * international/characters.el: Set category "^" (Combining) for
5677 more characters.
5678
56792013-09-07 Alan Mackenzie <acm@muc.de>
5680
5681 Correctly fontify Java class constructors.
5682 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5683 in Java Mode.
5684 (c-recognize-typeless-decls): Set the Java value to t.
5685 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5686 While handling a "(", add a check for, effectively, Java, and handle a
5687 "typeless" declaration there.
5688
56892013-09-07 Roland Winkler <winkler@gnu.org>
5690
5691 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5692 field subtitle for entry type book.
5693
56942013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * minibuffer.el: Make minibuffer-complete call completion-in-region
5697 rather than other way around.
5698 (completion--some, completion-pcm--find-all-completions):
5699 Don't delay signals when debugging.
5700 (minibuffer-completion-contents): Beware fields within the
5701 minibuffer contents.
5702 (completion-all-sorted-completions): Use defvar-local.
5703 (completion--do-completion, completion--cache-all-sorted-completions)
5704 (completion-all-sorted-completions, minibuffer-force-complete):
5705 Add args `beg' and `end'.
5706 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5707 (minibuffer-complete): Use completion-in-region.
5708 (completion-complete-and-exit): New fun, extracted from
5709 minibuffer-complete-and-exit.
5710 (minibuffer-complete-and-exit): Use it.
5711 (completion--complete-and-exit): Rename from
5712 minibuffer--complete-and-exit.
5713 (completion-in-region--single-word): New function, extracted from
5714 minibuffer-complete-word.
5715 (minibuffer-complete-word): Use it.
5716 (display-completion-list): Make `common-substring' argument obsolete.
5717 (completion--in-region): Call completion--in-region-1 instead of
5718 minibuffer-complete.
5719 (completion-help-at-point): Pass boundaries to
5720 minibuffer-completion-help as args rather than via an overlay.
5721 (completion-pcm--string->pattern): Use `any-delim'.
5722 (completion-pcm--optimize-pattern): New function.
5723 (completion-pcm--pattern->regex): Handle `any-delim'.
5724 * icomplete.el (icomplete-forward-completions)
5725 (icomplete-backward-completions, icomplete-completions):
5726 Adjust calls to completion-all-sorted-completions and
5727 completion--cache-all-sorted-completions.
5728 (icomplete-with-completion-tables): Default to t.
5729 * emacs-lisp/crm.el (crm--current-element): Rename from
5730 crm--select-current-element. Don't put an overlay but return the
5731 boundaries instead.
5732 (crm--completion-command): Take two new args to bind to the boundaries.
5733 (crm-completion-help): Adjust accordingly.
5734 (crm-complete): Use completion-in-region.
5735 (crm-complete-word): Use completion-in-region--single-word.
5736 (crm-complete-and-exit): Use completion-complete-and-exit.
5737
57382013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5741 than dynamically.
5742
57432013-09-06 Juri Linkov <juri@jurta.org>
5744
5745 * info.el (Info-display-images-node): When image file doesn't exist
5746 display text version of the image if it's provided in the Info file.
5747 Otherwise, display the location of missing image from SRC attribute.
5748 Add help-echo text property from ALT attribute. (Bug#15279)
5749
57502013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5753 (edit-abbrevs-mode): Use define-derived-mode.
5754
5755 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5756 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5757 that it's defined.
5758 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5759 Use define-derived-mode.
5760
5761 * epg.el (epg-start-encrypt): Minor CSE simplification.
5762
57632013-09-06 William Xu <william.xwl@gmail.com>
5764
5765 * arc-mode.el: Add support for 7za (bug#15264).
5766 (archive-7z-program): New var.
5767 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5768 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5769 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5770
57712013-09-06 Michael Albinus <michael.albinus@gmx.de>
5772
5773 Remove URL syntax.
5774
5775 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5776 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5777 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5778 (tramp-postfix-host-format, tramp-file-name-regexp)
5779 (tramp-completion-file-name-regexp)
5780 (tramp-completion-dissect-file-name)
5781 (tramp-handle-substitute-in-file-name): Remove 'url case.
5782 (tramp-file-name-regexp-url)
5783 (tramp-completion-file-name-regexp-url): Remove constants.
5784
57852013-09-06 Glenn Morris <rgm@gnu.org>
5786
5787 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5788
57892013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5790
5791 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5792 keywords" below "here-doc beginnings" (Bug#15270).
5793
57942013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * subr.el (pop): Use `car-safe'.
5797 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5798 to detect unused `pop' return value.
5799
5800 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5801 var `block-regexp'.
5802 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5803 (python-fill-string): Remove unused var `marker'.
5804 (python-skeleton-add-menu-items): Remove unused var `items'.
5805
5806 * international/mule-cmds.el: Require CL.
5807 (find-coding-systems-for-charsets): Avoid add-to-list.
5808 (sanitize-coding-system-list): New function, extracted from
5809 select-safe-coding-system-interactively.
5810 (select-safe-coding-system-interactively): Use it.
5811 (read-input-method-name): Accept symbols for `default'.
5812
5813 * emacs-lisp/advice.el (defadvice): Add indent rule.
5814
58152013-09-05 Daniel Hackney <dan@haxney.org>
5816
5817 * dired-x.el:
5818 * net/ange-ftp.el:
5819 * net/browse-url.el:
5820 * net/dbus.el:
5821 * net/eudc.el:
5822 * net/eudcb-ldap.el:
5823 * net/eww.el:
5824 * net/imap.el:
5825 * printing.el:
5826 * vc/ediff-diff.el:
5827 * vc/ediff-init.el:
5828 * vc/ediff-merg.el:
5829 * vc/ediff-mult.el:
5830 * vc/ediff-util.el:
5831 * vc/ediff-wind.el:
5832 * vc/ediff.el:
5833 * vc/emerge.el:
5834 * vc/pcvs.el:
5835 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5836 byte compiler. Remove some unused let-bound variables.
5837
58382013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5841 a "ref-cell", since it gets better optimized (bug#14883).
5842
58432013-09-05 Glenn Morris <rgm@gnu.org>
5844
5845 * progmodes/cc-awk.el (c-forward-sws): Declare.
5846
58472013-09-04 Glenn Morris <rgm@gnu.org>
5848
5849 * generic-x.el [rul-generic-mode]: Require cc-mode.
5850 (c++-mode-syntax-table): Declare.
5851 (rul-generic-mode-syntax-table): Init in the defvar.
5852
58532013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5856 (vc-do-command, vc-set-async-update):
5857 * vc/vc-mtn.el (vc-mtn-dir-status):
5858 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5859 (vc-hg-pull, vc-hg-merge-branch):
5860 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5861 (vc-git-merge-branch):
5862 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5863 (vc-cvs-dir-status-files):
5864 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5865 (vc-bzr-dir-status-files):
5866 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5867 * vc/vc-annotate.el: Use lexical-binding.
5868 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5869 (vc-sentinel-movepoint): Declare.
5870 (vc-annotate): Don't use `goto-line'.
5871 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5872 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5873 (vc-sentinel-movepoint): Declare.
5874 * vc/vc-svn.el: Use lexical-binding.
5875 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5876 * vc/vc-sccs.el:
5877 * vc/vc-rcs.el: Use lexical-binding.
5878
5879 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5880 `deleted'. Don't drop errors silently.
5881
5882 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5883
58842013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5885
5886 * vc/vc.el (vc-ignore): Rewrite.
5887 (vc-default-ignore): New function.
5888 (vc-default-ignore-completion-table): Use find-ignore-file.
5889
5890 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5891 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5892 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5893 Remove. Most code moved to vc.el.
5894
58952013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5898 * net/tramp-smb.el (tramp-smb-get-file-entries):
5899 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5900 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5901
5902 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5903 Update call to it.
5904 (eww-change-select): Remove unused var `properties'.
5905 (eww-make-unique-file-name): Remove unused var `base'.
5906
5907 * finder.el (finder-compile-keywords): Don't mess with windows.
5908
5909 * calculator.el (calculator-funcall): Fix typo in last change.
5910
5911 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5912
5913 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5914 <pkg>-autoloads.el file stop us.
5915
5916 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5917 warnings, and factor out common code.
5918
59192013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5920
5921 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5922 two-character operators and whether the character preceding them
5923 changes their meaning (Bug#15208).
5924
59252013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5926
5927 Format code sent to Python shell for robustness.
5928 * progmodes/python.el (python-shell-buffer-substring):
5929 New function.
5930 (python-shell-send-region, python-shell-send-buffer): Use it.
5931
59322013-09-02 Michael Albinus <michael.albinus@gmx.de>
5933
5934 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5935 * net/tramp.el (tramp-user-error): ... here.
5936 (tramp-find-method, tramp-check-proper-host)
5937 (tramp-dissect-file-name, tramp-debug-message)
5938 (tramp-handle-shell-command):
5939 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5940 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5941
5942 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5943
59442013-09-02 Martin Rudalics <rudalics@gmx.at>
5945
5946 * avoid.el (mouse-avoidance-point-position)
5947 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5948 returns nil.
5949
59502013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5951
5952 * progmodes/python.el (python-shell-completion-get-completions):
5953 Drop use of deleted `comint-last-prompt-overlay'.
5954 (python-nav-if-name-main): New command.
5955
59562013-09-01 Glenn Morris <rgm@gnu.org>
5957
5958 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5959 Avoid leading space in $wins. Otherwise the sed command used by
5960 eg compile-main ends up containing "/*.el". (Bug#15170)
5961
5962 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5963
59642013-08-30 Glenn Morris <rgm@gnu.org>
5965
5966 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5967 Fix is-this-a-directory logic. (Bug#15220)
5968
59692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * textmodes/css-mode.el: Use SMIE.
5972 (css-smie-grammar): New var.
5973 (css-smie--forward-token, css-smie--backward-token)
5974 (css-smie-rules): New functions.
5975 (css-mode): Use them.
5976 (css-navigation-syntax-table): Remove var.
5977 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5978 (css-indent-calculate, css-indent-line): Remove functions.
5979
5980 Misc changes to reduce use of `(lambda...); and other cleanups.
5981 * cus-edit.el: Use lexical-binding.
5982 (customize-push-and-save, customize-apropos)
5983 (custom-buffer-create-internal): Use closures.
5984 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5985 * progmodes/ada-xref.el: Use setq.
5986 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5987 * dframe.el: Use lexical-binding.
5988 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5989 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5990 * descr-text.el: Use lexical-binding.
5991 (describe-text-widget, describe-text-sexp, describe-property-list):
5992 Use closures.
5993 * comint.el (comint-history-isearch-push-state): Use a closure.
5994 * calculator.el: Use lexical-binding.
5995 (calculator-number-to-string): Make it work with lexical-binding.
5996 (calculator-funcall): Same and use cl-letf.
5997
5998 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5999 (lisp--company-doc-string, lisp--company-location): New functions.
6000 (lisp-completion-at-point): Use them to improve Company support.
6001
6002 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6003 params of lambda expressions.
6004 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6005 (ruby-smie--opening-pipe-p): New function.
6006 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6007 symbols and matched |...| for formal params.
6008 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6009 from being treated as hanging. Handle "rescue".
6010
60112013-08-29 Glenn Morris <rgm@gnu.org>
6012
6013 * progmodes/cc-engine.el (c-pull-open-brace):
6014 Move definition before use.
6015
60162013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6019 are immutable. Don't use `unsafe' any more.
6020 (cl--defsubst-expand): Don't substitute at the same time as keeping
6021 a residual unused let-binding. Don't use `unsafe' any more.
6022
60232013-08-29 Glenn Morris <rgm@gnu.org>
6024
6025 * calendar/cal-china.el (calendar-chinese-year-cache):
6026 Recenter on 2015.
6027
6028 * nxml/nxml-util.el (nxml-debug-clear-inside):
6029 Use cl-loop rather than loop.
6030
6031 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6032
6033 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6034
60352013-08-28 Glenn Morris <rgm@gnu.org>
6036
6037 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6038
6039 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6040
6041 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6042
60432013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * simple.el (repeat-complex-command--called-interactively-skip):
6046 New function.
6047 (repeat-complex-command): Use it (bug#14136).
6048
6049 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6050 (c-define-abbrev-table): Add `doc' argument.
6051 (c-mode-abbrev-table, c++-mode-abbrev-table)
6052 (objc-mode-abbrev-table, java-mode-abbrev-table)
6053 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6054 (awk-mode-abbrev-table): Use it.
6055 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6056 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6057 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6058 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6059 Move initialization into the declaration; and remove any
6060 autoload cookie.
6061
6062 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6063 and dynamic let binding.
6064
6065 * vc/smerge-mode.el: Remove redundant :group args.
6066
6067 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6068 to load-path.
6069
60702013-08-28 Juri Linkov <juri@jurta.org>
6071
6072 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6073 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6074 (isearch-other-meta-char): Handle an undefined shifted printing
6075 character by downshifting it. (Bug#15200)
6076
60772013-08-28 Juri Linkov <juri@jurta.org>
6078
6079 * isearch.el (isearch-search): Change regexp error message for
6080 non-regexp searches. (Bug#15166)
6081
60822013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6083
6084 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6085 for portability to hosts where /bin/sh has problems.
6086
60872013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6090
60912013-08-27 Juri Linkov <juri@jurta.org>
6092
6093 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6094 in the keyboard macro. (Bug#15126)
6095
60962013-08-27 Juri Linkov <juri@jurta.org>
6097
6098 * isearch.el (isearch-quote-char): Comment out converting unibyte
6099 to multibyte, thus syncing with its `quoted-insert' counterpart.
6100 (Bug#15166)
6101
61022013-08-27 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (display-buffer-use-some-window): Add missing
6105 argument in call of get-largest-window (Bug#15185).
6106 Reported by Stephen Leake.
6107
61082013-08-27 Glenn Morris <rgm@gnu.org>
6109
6110 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6111
61122013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6115 from a matcher-function unless there's no more matches (bug#15161).
6116
61172013-08-26 Michael Albinus <michael.albinus@gmx.de>
6118
6119 * minibuffer.el: Revert change from 2013-08-20.
6120
6121 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6122 with text property `tramp-default', if appropriate.
6123 (tramp-check-proper-host): New defun.
6124 (tramp-dissect-file-name): Do not check hostname. Revert change
6125 of 2013-03-18.
6126 (tramp-backtrace): Make VEC-OR-PROC optional.
6127
6128 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6129 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6130 * net/tramp-sh.el (tramp-maybe-open-connection):
6131 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6132 Apply `tramp-check-proper-host'.
6133
61342013-08-26 Tassilo Horn <tsdh@gnu.org>
6135
6136 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6137 lambda expression in order to have `describe-variable' display it.
6138
61392013-08-26 Michael Albinus <michael.albinus@gmx.de>
6140
6141 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6142 BUF can be optional. (Bug#15186)
6143
61442013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6145
6146 * progmodes/flymake.el (flymake-get-real-file-name-function):
6147 Fix broken customization. (Bug#15184)
6148
61492013-08-25 Alan Mackenzie <acm@muc.de>
6150
6151 Improve indentation of bracelists defined by macros (without "=").
6152
6153 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6154 expansion begins with "{", regard it as bracelist when it doesn't
6155 contain a ";".
6156
6157 Parse C++ inher-intro when there's a template split over 2 lines.
6158
6159 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6160 rigorously the search for "class" etc. followed by ":".
6161
6162 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6163 random languages a regexp which never matches rather than nil.
6164
6165 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6166
6167 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6168 (c-awk-regexp-one-line-possibly-open-char-list-re)
6169 (c-awk-one-line-possibly-open-regexp-re)
6170 (c-awk-one-line-non-syn-ws*-re): Remove.
6171 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6172 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6173 (c-awk-space*-unclosed-regexp-/-re): New constants.
6174 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6175 aren't regexp delimiters.
6176
6177 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6178 handling for a rare situation in AWK Mode involving unterminated
6179 strings/regexps.
6180
61812013-08-23 Glenn Morris <rgm@gnu.org>
6182
6183 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6184
6185 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6186
6187 * files.el (create-file-buffer): If the result would begin with
6188 spaces, prepend a "|" instead of removing them. (Bug#15162)
6189
61902013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6193 text-properties (bug#15155).
6194
6195 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6196 exist any more.
6197 (calc-keypad-redraw): Remove unused var `pad'.
6198 (calc-keypad-press): Remove unused var `menu'.
6199
62002013-08-23 Martin Rudalics <rudalics@gmx.at>
6201
6202 * window.el (display-buffer-pop-up-frame):
6203 Call pop-up-frame-function with BUFFER current so `make-frame' will
6204 use it as the new frame's buffer (Bug#15133).
6205
62062013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * calendar/timeclock.el: Minor cleanups.
6209 (timeclock-ask-before-exiting, timeclock-use-display-time):
6210 Use `symbol'.
6211 (timeclock-modeline-display): Define as alias before the
6212 actual definition.
6213 (timeclock-mode-line-display): Use define-minor-mode.
6214 (timeclock-day-list-template): Make it a function, add an argument.
6215 (timeclock-day-list-required, timeclock-day-list-length)
6216 (timeclock-day-list-debt, timeclock-day-list-span)
6217 (timeclock-day-list-break): Adjust calls accordingly.
6218
62192013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6222 Use read--expression so that completion works again.
6223
62242013-08-21 Sam Steingold <sds@gnu.org>
6225
6226 Add rudimentary inferior shell interaction
6227 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6228 (sh-set-shell): Reset it.
6229 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6230 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6231
62322013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * align.el: Use lexical-binding.
6235 (align-region): Simplify accordingly.
6236
62372013-08-20 Michael Albinus <michael.albinus@gmx.de>
6238
6239 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6240
6241 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6242 `non-essential' up.
6243
62442013-08-17 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * net/tramp.el:
6247 * net/tramp-adb.el:
6248 * net/tramp-cmds.el:
6249 * net/tramp-ftp.el:
6250 * net/tramp-gvfs.el:
6251 * net/tramp-gw.el:
6252 * net/tramp-sh.el: Don't wrap external variable declarations by
6253 `eval-when-compile'.
6254
62552013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6256
6257 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6258 now that Emacs supports ImageMagick animations.
6259
62602013-08-16 Michael Albinus <michael.albinus@gmx.de>
6261
6262 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6263 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6264
62652013-08-16 Martin Rudalics <rudalics@gmx.at>
6266
6267 * window.el (mouse-autoselect-window-select): Do autoselect when
6268 mouse pointer is on margin.
6269
62702013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6271
6272 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6273
62742013-08-16 Glenn Morris <rgm@gnu.org>
6275
6276 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6277 Handle "Remote Directory" response of some clients. (Bug#15058)
6278
6279 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6280 Tweak warning. (Bug#14926)
6281
6282 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6283 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6284
6285 * image-mode.el (image-mode-map): Add menu items to reverse,
6286 increase, decrease, reset animation speed.
6287 (image--set-speed, image-increase-speed, image-decrease-speed)
6288 (image-reverse-speed, image-reset-speed): New functions.
6289 (image-mode-map): Add bindings for speed commands.
6290
6291 * image.el (image-animate-get-speed, image-animate-set-speed):
6292 New functions.
6293 (image-animate-timeout): Respect image :speed property.
6294
62952013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6298 previous line (bug#15101).
6299 (debugger-eval-expression, debugger-record-expression):
6300 Use read--expression (bug#15102).
6301
63022013-08-15 Michael Albinus <michael.albinus@gmx.de>
6303
6304 Remove byte compiler warnings, visible when compiling with
6305 `byte-compile-force-lexical-warnings' set to t.
6306
6307 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6308 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6309 (tramp-handle-unhandled-file-name-directory)
6310 (tramp-handle-file-notify-add-watch, tramp-action-login)
6311 (tramp-action-succeed, tramp-action-permission-denied)
6312 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6313 arguments with "_".
6314
6315 * net/tramp-adb.el (tramp-adb-parse-device-names)
6316 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6317 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6318 (tramp-adb-handle-file-truename): Remove unused arguments.
6319
6320 * net/tramp-cache.el (tramp-flush-directory-property)
6321 (tramp-flush-connection-property, tramp-list-connections)
6322 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6323
6324 * net/tramp-compat.el (tramp-compat-make-temp-file):
6325 Rename FILENAME to F.
6326
6327 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6328 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6329 (tramp-zeroconf-parse-workstation-device-names)
6330 (tramp-zeroconf-parse-webdav-device-names)
6331 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6332
6333 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6334 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6335
6336 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6337 arguments.
6338 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6339 (tramp-sh-handle-insert-file-contents-literally)
6340 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6341 with "_".
6342 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6343 Remove unused variables.
6344
6345 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6346 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6347 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6348
6349 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6350 Make them a defconst.
6351 (tramp-uuencode-region): Remove unused variable.
6352
63532013-08-14 Juanma Barranquero <lekktu@gmail.com>
6354
6355 * frameset.el (frameset--prop-setter): New function.
6356 (frameset-prop): Add gv-setter declaration.
6357 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6358 parameter was already set in FILTERED. Doc fix.
6359 (frameset--record-minibuffer-relationships): Allow saving a
6360 minibufferless frame without its corresponding minibuffer frame.
6361 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6362 frame, if the frame id matches.
6363 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6364 frames before orphaned ones.
6365 (frameset-restore): Warn about orphaned windows, instead of error out.
6366
63672013-08-14 Martin Rudalics <rudalics@gmx.at>
6368
6369 * window.el (window-make-atom): Don't overwrite parameter
6370 already present.
6371 (display-buffer-in-atom-window): Handle special case where we
6372 split an already atomic window.
6373 (window--major-non-side-window, display-buffer-in-side-window)
6374 (window--side-check): Ignore minibuffer window when walking
6375 window tree.
6376 (window-deletable-p): Return 'frame only if no other frame uses
6377 our minibuffer window.
6378 (record-window-buffer): Run buffer-list-update-hook.
6379 (split-window): Make sure window--check-frame won't destroy an
6380 existing atomic window in case the new window gets nested
6381 inside.
6382 (display-buffer-at-bottom): Ignore minibuffer window when
6383 walking window tree. Don't split a side window.
6384 (pop-to-buffer): Don't set-buffer here, the select-window call
6385 should do that.
6386 (mouse-autoselect-window-select): Autoselect only if we are in the
6387 text portion of the window.
6388
63892013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6390
6391 * net/shr.el (shr-parse-image-data): New function to grab both the
6392 data itself and the Content-Type.
6393 (shr-put-image): Use it.
6394
6395 * net/eww.el (eww-display-image): Ditto.
6396
6397 * image.el (image-content-type-suffixes): New variable.
6398
63992013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6400
6401 * progmodes/python.el (python-imenu--build-tree)
6402 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6403
64042013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6405
6406 * simple.el (backward-word): Mention the optional argument.
6407
64082013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * frameset.el (frameset--make): Rename constructor from make-frameset.
6411 (frameset-p, frameset-valid-p): Don't autoload.
6412 (frameset-valid-p): Use normal accessors.
6413
64142013-08-13 Glenn Morris <rgm@gnu.org>
6415
6416 * progmodes/compile.el (compile-command): Tweak example in doc.
6417 * obsolete/scribe.el (scribe-mode):
6418 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6419
6420 * mail/feedmail.el (feedmail-confirm-outgoing)
6421 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6422
6423 * cus-start.el (truncate-partial-width-windows): Fix type.
6424
6425 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6426
6427 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6428
64292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * emacs-lisp/timer.el (timer--time-setter): New function.
6432 (timer--time): Use it as gv-setter.
6433
6434 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6435 setter is not a symbol.
6436
64372013-08-12 Grégoire Jadi <daimrod@gmail.com>
6438
6439 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6440 if sending fails. This makes debugging easier.
6441
64422013-08-12 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6445 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6446 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6447
64482013-08-12 Eli Zaretskii <eliz@gnu.org>
6449
6450 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6451
64522013-08-12 Glenn Morris <rgm@gnu.org>
6453
6454 * format.el (format-annotate-function):
6455 Handle read-only text properties in the source. (Bug#14887)
6456
64572013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6458
6459 * net/eww.el (eww-display-html): Ignore coding system errors.
6460 One web site uses "utf-8lias" as the coding system.
6461
64622013-08-11 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6465
64662013-08-10 Juanma Barranquero <lekktu@gmail.com>
6467
6468 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6469 (tutorial--detailed-help): Remove unused local variables.
6470 (tutorial--save-tutorial-to): Use ignore-errors.
6471 (help-with-tutorial): Use looking-at-p.
6472
6473 * view.el (view-buffer-other-window, view-buffer-other-frame):
6474 Mark unused arguments.
6475
6476 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6477 (woman-select-symbol-fonts, woman, woman-find-file)
6478 (woman-insert-file-contents, woman-non-underline-faces):
6479 Use string-match-p.
6480 (woman1-unquote): Move declaration.
6481
6482 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6483 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6484 argument. Remove unused local variable.
6485 (xml-parse-elem-type): Use string-match-p.
6486 (xml-substitute-numeric-entities): Use ignore-errors.
6487
6488 * calculator.el (calculator): Mark unused argument.
6489 (calculator-paste, calculator-quit, calculator-integer-p):
6490 Use ignore-errors.
6491 (calculator-string-to-number, calculator-decimal, calculator-exp)
6492 (calculator-op-or-exp): Use string-match-p.
6493
6494 * dired.el (dired-buffer-more-recently-used-p): Declare.
6495 (dired-insert-set-properties, dired-insert-old-subdirs):
6496 Use ignore-errors.
6497
6498 * dired-aux.el (dired-compress): Use ignore-errors.
6499 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6500 (dired-do-async-shell-command, dired-do-shell-command)
6501 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6502 (dired-insert-subdir-validate): Use string-match-p.
6503 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6504 (dired-add-entry): Use string-match-p, looking-at-p.
6505 (dired-insert-subdir-newpos): Remove unused local variable.
6506
6507 * filenotify.el (file-notify-callback): Remove unused local variable.
6508
6509 * filesets.el (filesets-error): Mark unused argument.
6510 (filesets-which-command-p, filesets-filter-dir-names)
6511 (filesets-directory-files, filesets-get-external-viewer)
6512 (filesets-ingroup-get-data): Use string-match-p.
6513
6514 * find-file.el (ff-other-file-name, ff-other-file-name)
6515 (ff-find-the-other-file, ff-cc-hh-converter):
6516 Remove unused local variables.
6517 (ff-get-file-name): Use string-match-p.
6518 (ff-all-dirs-under): Use ignore-errors.
6519
6520 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6521 (follow-select-if-visible): Remove unused local variable.
6522
6523 * forms.el (read-file-filter): Move declaration.
6524 (forms--make-format, forms--make-parser, forms-insert-record):
6525 Quote function with #'.
6526 (forms--update): Use string-match-p. Quote function with #'.
6527
6528 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6529 (help-make-xrefs): Use looking-at-p.
6530 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6531
6532 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6533 (ibuffer-confirm-operation-on): Use string-match-p.
6534
6535 * msb.el (msb-item-handler, msb-dired-item-handler):
6536 Mark unused arguments.
6537
6538 * ses.el (ses-decode-cell-symbol)
6539 (ses-kill-override): Remove unused local variable.
6540 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6541 (ses-load): Use ignore-errors, looking-at-p.
6542 (ses-jump-safe): Use ignore-errors.
6543 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6544
6545 * tabify.el (untabify, tabify): Mark unused arguments.
6546
6547 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6548 Mark unused argument.
6549 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6550 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6551
6552 * emacs-lisp/timer.el (timer--time): Define setter with
6553 gv-define-setter to avoid deprecation warning.
6554
6555 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6556 (*record-cmpl-statistics-p*): Remove (was commented out).
6557 (cmpl-statistics-block): Remove (body was commented out).
6558 All callers changed.
6559 (add-completions-from-buffer, load-completions-from-file):
6560 Remove unused variables.
6561
65622013-08-09 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * filecache.el (file-cache-delete-file-list):
6565 Print message only when told so.
6566 (file-cache-files-matching): Use #' in mapconcat argument.
6567
6568 * ffap.el (ffap-url-at-point): Fix reference to variable
6569 thing-at-point-default-mail-uri-scheme.
6570
65712013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * subr.el (define-error): New function.
6574 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6575 error-file-not-found and define with define-error.
6576 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6577 and define with define-error.
6578 * userlock.el (file-locked, file-supersession):
6579 * simple.el (mark-inactive):
6580 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6581 * progmodes/ada-mode.el (ada-mode-errors):
6582 * play/life.el (life-extinct):
6583 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6584 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6585 * nxml/rng-util.el (rng-error):
6586 * nxml/rng-uri.el (rng-uri-error):
6587 * nxml/rng-match.el (rng-compile-error):
6588 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6589 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6590 * nxml/nxml-rap.el (nxml-scan-error):
6591 * nxml/nxml-outln.el (nxml-outline-error):
6592 * net/soap-client.el (soap-error):
6593 * net/gnutls.el (gnutls-error):
6594 * net/ange-ftp.el (ftp-error):
6595 * mpc.el (mpc-proc-error):
6596 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6597 (json-number-format, json-string-escape, json-string-format)
6598 (json-key-format, json-object-format):
6599 * jka-compr.el (compression-error):
6600 * international/quail.el (quail-error):
6601 * international/kkc.el (kkc-error):
6602 * emacs-lisp/ert.el (ert-test-failed):
6603 * calc/calc.el (calc-error, inexact-result, math-overflow)
6604 (math-underflow):
6605 * bookmark.el (bookmark-error-no-filename):
6606 * epg.el (epg-error): Define with define-error.
6607
6608 * time.el (display-time-event-handler)
6609 (display-time-next-load-average): Don't call sit-for since it seems
6610 unnecessary (bug#15045).
6611
6612 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6613 Use #' instead of ' to quote functions.
6614 (checkdoc-output-mode): Use setq-local.
6615 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6616 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6617 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6618 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6619 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6620 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6621 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6622 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6623
6624 * ido.el (ido-completion-help): Fix up compiler warning.
6625
66262013-08-09 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * frameset.el (frameset-p): Add autoload cookie.
6629 (frameset--jump-to-register): New function, based on code moved from
6630 register.el.
6631 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6632
6633 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6634 (frameset-restore, frameset-save, frameset-session-filter-alist):
6635 Remove declarations.
6636 (register-alist): Doc fix.
6637 (frameset-to-register): Move to frameset.el.
6638 (jump-to-register, describe-register-1): Remove frameset-specific code.
6639
66402013-08-08 Juanma Barranquero <lekktu@gmail.com>
6641
6642 * allout-widgets.el (allout-widgets-pre-command-business)
6643 (allout-widgets-post-command-business)
6644 (allout-widgets-after-change-handler)
6645 (allout-decorate-item-and-context, allout-set-boundary-marker)
6646 (allout-body-modification-handler)
6647 (allout-graphics-modification-handler): Mark ignored arguments.
6648 (allout-widgets-post-command-business)
6649 (allout-widgets-exposure-change-processor)
6650 (allout-widgets-exposure-undo-processor)
6651 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6652 (allout-parse-item-at-point, allout-decorate-item-guides)
6653 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6654 * allout.el (epa-passphrase-callback-function): Declare.
6655 (allout-overlay-insert-in-front-handler)
6656 (allout-overlay-interior-modification-handler)
6657 (allout-isearch-end-handler, allout-chart-siblings)
6658 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6659 (allout-yank-processing, allout-process-exposed)
6660 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6661 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6662 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6663 (lisp-indent-defform): Mark ignored arguments.
6664 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6665 (calculate-lisp-indent): Remove unused variables.
6666 * international/characters.el (indian-2-column, arabic-2-column)
6667 (tibetan): Mark ignored arguments.
6668 (use-cjk-char-width-table): Mark ignored arguments.
6669 Remove unused variables.
6670 * international/fontset.el (build-default-fontset-data)
6671 (x-compose-font-name, create-fontset-from-fontset-spec):
6672 Mark ignored arguments.
6673 (fontset-plain-name): Remove unused variables.
6674 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6675 (keyboard-coding-system): Mark ignored arguments.
6676 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6677 * help.el (resize-temp-buffer-window):
6678 * window.el (display-buffer-in-major-side-window)
6679 (display-buffer-in-side-window, display-buffer-in-previous-window):
6680 Remove unused variables.
6681 * isearch.el (isearch-forward-symbol):
6682 * version.el (emacs-bzr-version-bzr):
6683 * international/mule-cmds.el (current-language-environment):
6684 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6685 (x-handle-display):
6686 * term/pc-win.el (x-list-fonts, x-display-planes)
6687 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6688 (x-server-version, x-display-screens, x-display-mm-height)
6689 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6690 (x-selection-owner-p, x-own-selection-internal)
6691 (x-disown-selection-internal, x-get-selection-internal)
6692 (msdos-initialize-window-system):
6693 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6694 * term/x-win.el (x-handle-no-bitmap-icon):
6695 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6696 (vc-default-find-file-hook, vc-default-extra-menu):
6697 Mark ignored arguments.
6698
66992013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6702 break-condition in the context of the debugged code (bug#12685).
6703
67042013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6705
6706 * comint.el:
6707 Do not use an overlay to highlight the last prompt. (Bug#14744)
6708 (comint-mode): Make comint-last-prompt buffer local.
6709 (comint-last-prompt): New variable.
6710 (comint-last-prompt-overlay): Remove. Superseded by
6711 comint-last-prompt.
6712 (comint-snapshot-last-prompt, comint-output-filter):
6713 Use comint-last-prompt.
6714
67152013-08-08 Juanma Barranquero <lekktu@gmail.com>
6716
6717 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6718 (frameset-save): Check validity of the resulting frameset.
6719
67202013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6721
6722 * ido.el (ido-record-command): Add doc string.
6723
67242013-08-08 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * frameset.el (frameset): Do not disable creation of the default
6727 frameset-p predicate. Doc fix.
6728 (frameset-valid-p): New function, copied from the old predicate-p.
6729 Add additional checks.
6730 (frameset-restore): Check with frameset-valid-p.
6731 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6732 (frameset-name, frameset-description, frameset-properties)
6733 (frameset-states): Add docstring.
6734 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6735 (frameset-filter-alist): Doc fixes.
6736
67372013-08-08 Juanma Barranquero <lekktu@gmail.com>
6738
6739 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6740
67412013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6744 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6745 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6746 (byte-compile-normal-call): Remove obsolescence check.
6747
67482013-08-08 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * frameset.el (frameset-restore): Doc fix.
6751
6752 * register.el (frameset-frame-id, frameset-frame-with-id)
6753 (frameset-p, frameset-restore, frameset-save): Declare.
6754 (register-alist): Document framesets.
6755 (frameset-session-filter-alist): Declare.
6756 (frameset-to-register): New function.
6757 (jump-to-register): Implement jumping to framesets. Doc fix.
6758 (describe-register-1): Describe framesets.
6759
6760 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6761
67622013-08-07 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6765 Use lexical-binding.
6766
6767 * frameset.el (frameset): Use type vector, not list (incompatible
6768 change). Do not declare a new constructor, use the default one.
6769 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6770 `name' and `description', respectively, and add read-only slot
6771 `timestamp'. Doc fixes.
6772 (frameset-copy, frameset-persistent-filter-alist)
6773 (frameset-filter-alist, frameset-switch-to-gui-p)
6774 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6775 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6776 (frameset-filter-iconified, frameset-keep-original-display-p):
6777 Doc fixes.
6778 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6779 Rename from frameset-filter-(save|restore)-param. All callers changed.
6780 Doc fix.
6781 (frameset-p): Adapt to change to vector and be more thorough.
6782 Change arg name to OBJECT. Doc fix.
6783 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6784 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6785 All callers changed.
6786 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6787 All callers changed.
6788 (frameset--record-minibuffer-relationships): Rename from
6789 frameset--process-minibuffer-frames. All callers changed.
6790 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6791 Use new default constructor (again). Doc fix.
6792 (frameset--find-frame-if): Rename from `frameset--find-frame.
6793 All callers changed.
6794 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6795 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6796 Doc fix.
6797 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6798 PARAMETERS and WINDOW-STATE, respectively.
6799 (frameset-restore): Add new keyword argument PREDICATE.
6800 Reset frameset--target-display to nil. Doc fix.
6801
68022013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6805 (bat-mode): Use it.
6806 (bat-mode-syntax-table): Mark \n as end-of-comment.
6807 (bat-font-lock-keywords): Remove comment rule.
6808
6809 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6810 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6811
6812 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6813 (byte-compile-callargs-warn): Use `push'.
6814 (byte-compile-arglist-warn): Ignore higher-order "calls".
6815 (byte-compile-file-form-autoload): Use `pcase'.
6816 (byte-compile-function-form): If quoting a symbol, check that it exists.
6817
68182013-08-07 Eli Zaretskii <eliz@gnu.org>
6819
6820 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6821 and add a few popular commands found in batch files.
6822 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6823 (dos-mode): Doc fixes.
6824
68252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6828 (dos-mode): Use setq-local. Add space after "rem".
6829 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6830 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6831
68322013-08-07 Arni Magnusson <arnima@hafro.is>
6833
6834 * progmodes/dos.el: New file.
6835 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6836 dos-mode.
6837
68382013-08-06 Glenn Morris <rgm@gnu.org>
6839
6840 * calendar/calendar.el: Add new faces, and day-header-array.
6841 (calendar-weekday-header, calendar-weekend-header)
6842 (calendar-month-header): New faces.
6843 (calendar-day-header-construct): New function.
6844 (calendar-day-header-width): Also :set calendar-day-header-array.
6845 (calendar-american-month-header, calendar-european-month-header)
6846 (calendar-iso-month-header): Use calendar- faces.
6847 (calendar-generate-month):
6848 Use calendar-day-header-array for day headers; apply faces to them.
6849 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6850 (calendar-abbrev-construct): Add optional maxlen argument.
6851 (calendar-day-name-array): Doc fix.
6852 (calendar-day-name-array, calendar-abbrev-length)
6853 (calendar-day-abbrev-array):
6854 Also :set calendar-day-header-array, and maybe redraw.
6855 (calendar-day-header-array): New option. (Bug#15007)
6856 (calendar-font-lock-keywords): Set to nil and make obsolete.
6857 (calendar-day-name): Add option to use header array.
6858
68592013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6860
6861 * net/shr.el (shr-render-td): Remove debugging.
6862 (shr-render-td): Make width computation consistent by defaulting
6863 all zero-width columns to 10 characters. This may not be optimal,
6864 but it's at least consistent.
6865 (shr-make-table-1): Redo last change to fix the real problem in
6866 colspan handling.
6867
68682013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6869
6870 * files.el (cache-long-line-scans):
6871 Make obsolete alias to `cache-long-scans'.
6872
68732013-08-06 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * frameset.el (frameset, frameset-filter-alist)
6876 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6877 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6878 (frameset-compute-pos): Rename from frameset--compute-pos,
6879 and add docstring.
6880 (frameset-move-onscreen): Use frameset-compute-pos.
6881 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6882
6883 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6884 Fix typos in docstrings.
6885
68862013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6887
6888 * frame.el (get-other-frame): Tiny cleanup.
6889
68902013-08-06 Juanma Barranquero <lekktu@gmail.com>
6891
6892 * vc/vc.el (vc-default-ignore-completion-table):
6893 Silence byte-compiler warning.
6894
6895 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6896 slot, which can indeed be nil.
6897 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6898 Move entry for `left' from persistent to live filter alist.
6899 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6900 Doc fixes.
6901 (frameset-filter-params): When restoring a frame, copy items added to
6902 `filtered', to avoid unwittingly modifying the original parameters.
6903 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6904 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6905
6906 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6907 to use looking-at-p instead of looking-at. (Bug#15028)
6908
69092013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 Revert introduction of isearch-filter-predicates (bug#14714).
6912 Rely on add-function instead.
6913 * isearch.el (isearch-filter-predicates): Rename it back to
6914 isearch-filter-predicate.
6915 (isearch-message-prefix): Use advice-function-mapc and advice
6916 properties to get the isearch-message-prefix.
6917 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6918 instead of run-hook-with-args-until-failure.
6919 (isearch-filter-visible): Not obsolete any more.
6920 * loadup.el: Preload nadvice.
6921 * replace.el (perform-replace): Revert to funcall
6922 instead of run-hook-with-args-until-failure.
6923 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6924 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6925 dired-isearch-filenames-toggle; make it into a proper minor mode.
6926 Use add/remove-function.
6927 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6928 Call the minor-mode rather than add/remove-hook.
6929 (dired-isearch-filter-filenames):
6930 Remove isearch-message-prefix property.
6931 * info.el (Info--search-loop): New function, extracted from Info-search.
6932 Funcall isearch-filter-predicate instead of
6933 run-hook-with-args-until-failure isearch-filter-predicates.
6934 (Info-search): Use it.
6935 (Info-mode): Use isearch-filter-predicate instead of
6936 isearch-filter-predicates.
6937
69382013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6939
6940 Do not call to `selected-window' where it is assumed by default.
6941 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6942 `window-hscroll', `window-width', `window-height', `window-buffer',
6943 `window-frame', `window-start', `window-point', `next-window'
6944 and `window-display-table'.
6945 * abbrev.el (abbrev--default-expand):
6946 * bs.el (bs--show-with-configuration):
6947 * buff-menu.el (Buffer-menu-mouse-select):
6948 * calc/calc.el (calc):
6949 * calendar/calendar.el (calendar-generate-window):
6950 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6951 (diary-make-entry):
6952 * comint.el (send-invisible, comint-dynamic-complete-filename)
6953 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6954 * completion.el (complete):
6955 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6956 * disp-table.el (describe-current-display-table):
6957 * doc-view.el (doc-view-insert-image):
6958 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6959 * ehelp.el (with-electric-help):
6960 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6961 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6962 * emacs-lisp/helper.el (Helper-help-scroller):
6963 * emulation/cua-base.el (cua--post-command-handler-1):
6964 * eshell/esh-mode.el (eshell-output-filter):
6965 * ffap.el (ffap-gnus-wrapper):
6966 * help-macro.el (make-help-screen):
6967 * hilit-chg.el (highlight-compare-buffers):
6968 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6969 * hl-line.el (global-hl-line-highlight):
6970 * icomplete.el (icomplete-simple-completing-p):
6971 * isearch.el (isearch-done):
6972 * jit-lock.el (jit-lock-stealth-fontify):
6973 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6974 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6975 * mpc.el (mpc-tagbrowser, mpc):
6976 * net/rcirc.el (rcirc-any-buffer):
6977 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6978 * play/landmark.el (landmark-max-width, landmark-max-height):
6979 * play/zone.el (zone):
6980 * progmodes/compile.el (compilation-goto-locus):
6981 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6982 * progmodes/etags.el (find-tag-other-window):
6983 * progmodes/fortran.el (fortran-column-ruler):
6984 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6985 * progmodes/verilog-mode.el (verilog-point-text):
6986 * reposition.el (reposition-window):
6987 * rot13.el (toggle-rot13-mode):
6988 * server.el (server-switch-buffer):
6989 * shell.el (shell-dynamic-complete-command)
6990 (shell-dynamic-complete-environment-variable):
6991 * simple.el (insert-buffer, set-selective-display)
6992 (delete-completion-window):
6993 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6994 (speedbar-recenter):
6995 * startup.el (fancy-splash-head):
6996 * textmodes/ispell.el (ispell-command-loop):
6997 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6998 * tutorial.el (help-with-tutorial):
6999 * vc/add-log.el (add-change-log-entry):
7000 * vc/compare-w.el (compare-windows):
7001 * vc/ediff-help.el (ediff-indent-help-message):
7002 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7003 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7004 (ediff-setup-control-frame):
7005 * vc/emerge.el (emerge-position-region):
7006 * vc/pcvs-util.el (cvs-bury-buffer):
7007 * window.el (walk-windows, mouse-autoselect-window-select):
7008 * winner.el (winner-set-conf, winner-undo): Related users changed.
7009
70102013-08-05 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * frameset.el (frameset--set-id): Doc fix.
7013 (frameset-frame-id, frameset-frame-id-equal-p)
7014 (frameset-locate-frame-id): New functions.
7015 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7016 (frameset-restore): Use them.
7017
70182013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7019
7020 Do not call to `selected-frame' where it is assumed by default.
7021 Affected functions are `raise-frame', `redraw-frame',
7022 `frame-first-window', `frame-terminal' and `delete-frame'.
7023 * calendar/appt.el (appt-disp-window):
7024 * epg.el (epg-wait-for-completion):
7025 * follow.el (follow-delete-other-windows-and-split)
7026 (follow-avoid-tail-recenter):
7027 * international/mule.el (set-terminal-coding-system):
7028 * mail/rmail.el (rmail-mail-return):
7029 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7030 * progmodes/f90.el (f90-add-imenu-menu):
7031 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7032 * server.el (server-switch-buffer):
7033 * simple.el (delete-completion-window):
7034 * talk.el (talk):
7035 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7036 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7037 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7038 * vc/ediff.el (ediff-documentation): Related users changed.
7039 * frame.el (selected-terminal): Remove the leftover.
7040
70412013-08-05 Glenn Morris <rgm@gnu.org>
7042
7043 * calendar/calendar.el (calendar-generate-month):
7044 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7045 (calendar-generate-month, calendar-font-lock-keywords):
7046 Fix for calendar-day-header-width > length of any day name.
7047
70482013-08-05 Juanma Barranquero <lekktu@gmail.com>
7049
7050 * desktop.el (desktop-clear): Use new name of sort predicate.
7051
7052 * frameset.el (frameset): Add docstring. Move :version property to its
7053 own `version' slot.
7054 (frameset-copy): Rename from copy-frameset.
7055 (frameset-p): Check more thoroughly.
7056 (frameset-prop): Do not check for :version, which is no longer a prop.
7057 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7058 Use new :never value instead of t.
7059 (frameset-filter-alist): Expand and clarify docstring.
7060 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7061 (frameset-filter-minibuffer, frameset-filter-save-param)
7062 (frameset-filter-restore-param, frameset-filter-iconified):
7063 Add pointer to docstring of frameset-filter-alist.
7064 (frameset-filter-params): Rename filter values to be more meaningful:
7065 :never instead of t, and reverse the meanings of :save and :restore.
7066 (frameset--process-minibuffer-frames): Clarify error message.
7067 (frameset-save): Avoid unnecessary and confusing call to framep.
7068 Use new BOA constructor for framesets.
7069 (frameset--reuse-list): Doc fix.
7070 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7071 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7072 (frameset-minibufferless-first-p): Doc fix.
7073 Rename from frameset-sort-frames-for-deletion.
7074 (frameset-restore): Doc fixes. Use new function names.
7075 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7076
70772013-08-04 Juanma Barranquero <lekktu@gmail.com>
7078
7079 * desktop.el (desktop-restore-forces-onscreen)
7080 (desktop-restore-reuses-frames): Document :keyword constant values.
7081 (desktop-filter-parameters-alist): Remove, now identical to
7082 frameset-filter-alist.
7083 (desktop--filter-tty*): Remove, moved to frameset.el.
7084 (desktop-save-frameset, desktop-restore-frameset):
7085 Do not pass :filters argument.
7086
7087 * frameset.el (frameset-live-filter-alist)
7088 (frameset-persistent-filter-alist): New variables.
7089 (frameset-filter-alist): Use them. Add autoload cookie.
7090 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7091 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7092 `frameset--id' (it's supposed to be internal to frameset.el).
7093 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7094 (frameset--initial-params): New function.
7095 (frameset--get-frame): Use it. Doc fix.
7096 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7097 Accept :all, not 'all.
7098 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7099 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7100 with fbound symbols. Fix frame id matching, and remove matching ids if
7101 the frame being restored is deleted. Obey :delete.
7102
71032013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * subr.el (macrop): New function.
7106 (text-clone--maintaining): New var.
7107 (text-clone--maintain): Rename from text-clone-maintain. Use it
7108 instead of inhibit-modification-hooks.
7109
7110 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7111 a proxy, so as handle autoloads and redefinitions of the target.
7112 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7113
7114 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7115 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7116 (pcase--mutually-exclusive-p): New function.
7117 (pcase--split-consp): Use it.
7118 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7119 mutually exclusive with the current predicate.
7120
7121 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7122 (edebug-macrop): Remove. Use `macrop' instead.
7123 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7124 (ad-macro-p):
7125 * eshell/esh-cmd.el (eshell-macrop):
7126 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7127
71282013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7131 (advice-mapc): New function, using it.
7132 (advice-function-member-p): New function.
7133 (advice--normalize): Store the cdr in advice--saved-rewrite since
7134 that's the part that will be changed.
7135 (advice--symbol-function): New function.
7136 (advice-remove): Handle removal before the function is defined.
7137 Adjust to new advice--saved-rewrite.
7138 (advice-member-p): Use advice-function-member-p and
7139 advice--symbol-function.
7140
71412013-08-04 Juanma Barranquero <lekktu@gmail.com>
7142
7143 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7144 (frameset-filter-minibuffer): Doc fix.
7145 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7146 (frameset--set-id, frameset--process-minibuffer-frames)
7147 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7148 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7149
7150 * desktop.el (desktop-clear): Only delete frames when called
7151 interactively and desktop-restore-frames is non-nil. Doc fix.
7152 (desktop-read): Set desktop-saved-frameset to nil.
7153
71542013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7155
7156 * vc/vc.el (vc-ignore): Rewrite.
7157 (vc-default-ignore-completion-table):
7158 (vc--read-lines):
7159 (vc--add-line, vc--remove-regexp): New functions.
7160
7161 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7162 (vc-svn-ignore-completion-table): New function.
7163
7164 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7165 (vc-hg-ignore-completion-table):
7166 (vc-hg-find-ignore-file): New functions.
7167
7168 * vc/vc-git.el (vc-git-ignore): Rewrite.
7169 (vc-git-ignore-completion-table):
7170 (vc-git-find-ignore-file): New functions.
7171
7172 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7173
7174 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7175 (vc-bzr-ignore-completion-table):
7176 (vc-bzr-find-ignore-file): New functions.
7177
71782013-08-03 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * frameset.el (frameset-prop): New function and setter.
7181 (frameset-save): Do not modify frame list passed by the caller.
7182
71832013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7186
71872013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7188
7189 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7190 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7191
7192 * custom.el (custom-initialize-default, custom-initialize-set)
7193 (custom-initialize-reset, custom-initialize-changed): Affect the
7194 toplevel-default-value (bug#6275, bug#14586).
7195 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7196 for bug#6275.
7197
71982013-08-02 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7201 Add cl-def* expressions.
7202
7203 * frameset.el (frameset-filter-params): Fix order of arguments.
7204
72052013-08-02 Juanma Barranquero <lekktu@gmail.com>
7206
7207 Move code related to saving frames to frameset.el.
7208 * desktop.el: Require frameset.
7209 (desktop-restore-frames): Doc fix.
7210 (desktop-restore-reuses-frames): Rename from
7211 desktop-restoring-reuses-frames.
7212 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7213 (desktop-clear): Clear frames too.
7214 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7215 (desktop--filter-tty*, desktop-save, desktop-read):
7216 Use frameset functions.
7217 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7218 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7219 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7220 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7221 (desktop--process-minibuffer-frames, desktop-save-frames)
7222 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7223 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7224 (desktop--sort-states, desktop-restoring-frames-p)
7225 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7226 (desktop-restoring-frameset-p, desktop-restore-frameset)
7227 (desktop--check-dont-save, desktop-save-frameset): New functions.
7228 (desktop--app-id): New constant.
7229 (desktop-first-buffer, desktop-buffer-ok-count)
7230 (desktop-buffer-fail-count): Move before first use.
7231 * frameset.el: New file.
7232
72332013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * files.el: Use lexical-binding.
7236 (dir-locals-read-from-file): Remove unused `err' variable.
7237 (hack-dir-local-variables--warned-coding): New var.
7238 (hack-dir-local-variables): Use it to avoid repeated warnings.
7239 (make-backup-file-name--default-function): New function.
7240 (make-backup-file-name-function): Use it as default.
7241 (buffer-stale--default-function): New function.
7242 (buffer-stale-function): Use it as default.
7243 (revert-buffer-insert-file-contents--default-function): New function.
7244 (revert-buffer-insert-file-contents-function): Use it as default.
7245 (insert-directory): Avoid add-to-list.
7246
7247 * autorevert.el (auto-revert-handler): Simplify.
7248 Use buffer-stale--default-function.
7249
72502013-08-01 Tassilo Horn <tsdh@gnu.org>
7251
7252 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7253
7254 * whitespace.el (whitespace-ensure-local-variables): New function.
7255 (whitespace-cleanup-region): Call it.
7256 (whitespace-turn-on): Call it.
7257
72582013-08-01 Michael Albinus <michael.albinus@gmx.de>
7259
7260 Complete file name handlers.
7261
7262 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7263 (tramp-handle-verify-visited-file-modtime)
7264 (tramp-handle-file-notify-rm-watch): New functions.
7265 (tramp-call-process): Do not bind `default-directory'.
7266
7267 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7268 Order alphabetically.
7269 [access-file, add-name-to-file, dired-call-process]:
7270 [dired-compress-file, file-acl, file-notify-rm-watch]:
7271 [file-ownership-preserved-p, file-selinux-context]:
7272 [make-directory-internal, make-symbolic-link, set-file-acl]:
7273 [set-file-selinux-context, set-visited-file-modtime]:
7274 [verify-visited-file-modtime]: Add handler.
7275 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7276
7277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7278 [file-notify-add-watch, file-notify-rm-watch]:
7279 [set-file-times, set-visited-file-modtime]:
7280 [verify-visited-file-modtime]: Add handler.
7281 (with-tramp-gvfs-error-message)
7282 (tramp-gvfs-handle-set-visited-file-modtime)
7283 (tramp-gvfs-fuse-file-name): Remove.
7284 (tramp-gvfs-handle-file-notify-add-watch)
7285 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7286 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7287
7288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7289 Order alphabetically.
7290 [file-notify-rm-watch ]: Use default Tramp handler.
7291 [executable-find]: Remove private handler.
7292 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7293 `default-directory'.
7294 (tramp-sh-handle-executable-find)
7295 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7296 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7297 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7298 Do not use `format' in `tramp-message'.
7299
7300 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7301 [file-notify-rm-watch, set-visited-file-modtime]:
7302 [verify-visited-file-modtime]: Add handler.
7303 (tramp-smb-call-winexe): Do not bind `default-directory'.
7304
73052013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7306
7307 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7308
73092013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7310
7311 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7312 use it.
7313 (log-view-diff-changeset): Same.
7314 (log-view-diff-common): Call backend command `previous-revision'
7315 to find out the previous revision, in both cases. Swap the
7316 variables `to' and `fr', so that `fr' usually refers to the
7317 earlier revision (Bug#14989).
7318
73192013-07-31 Kan-Ru Chen <kanru@kanru.info>
7320
7321 * ibuf-ext.el (ibuffer-filter-by-filename):
7322 Make it work with dired buffers too.
7323
73242013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7325
7326 * emacs-lisp/re-builder.el (reb-color-display-p):
7327 * files.el (save-buffers-kill-terminal):
7328 * net/browse-url.el (browse-url):
7329 * server.el (server-save-buffers-kill-terminal):
7330 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7331 Prefer nil to selected-frame for the first arg of frame-parameter.
7332
73332013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7334
7335 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7336
73372013-07-30 Stephen Berman <stephen.berman@gmx.net>
7338
7339 * minibuffer.el (completion--twq-all): Try and preserve each
7340 completion's case choice (bug#14907).
7341
73422013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7343
7344 * net/network-stream.el (open-network-stream): Mention the new
7345 :nogreeting parameter.
7346 (network-stream-open-starttls): Use the :nogreeting parameter
7347 (bug#14938).
7348
7349 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7350
7351 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7352 more natural than popping.
7353
7354 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7355 (shr-urlify): Highlight under mouse.
7356
73572013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7358
7359 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7360
7361 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7362
7363 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7364 buffer for output.
7365
7366 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7367 point-min==1. Fix search string. Fix parentheses missing.
7368
7369 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7370 assume point-min==1. Fix search string. Fix parentheses missing.
7371
7372 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7373
7374 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7375 buffer for output.
7376
73772013-07-29 Eli Zaretskii <eliz@gnu.org>
7378
7379 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7380 initial frame is minibuffer-less. (Bug#14841)
7381
73822013-07-29 Michael Albinus <michael.albinus@gmx.de>
7383
7384 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7385 option.
7386
7387 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7388 (tramp-maybe-open-connection): Use it.
7389
73902013-07-28 Juanma Barranquero <lekktu@gmail.com>
7391
7392 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7393 minimal set of parameters passed when creating a frame, because
7394 the minibuffer status of a frame cannot be changed later.
7395
73962013-07-28 Stephen Berman <stephen.berman@gmx.net>
7397
7398 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7399 replace-regexp-in-string and inadvertent omissions in previous change.
7400 (todo-filter-items): Ensure only file names are comma-separated in
7401 name of filtered items buffer.
7402
74032013-07-28 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * desktop.el: Optionally force offscreen frames back onscreen.
7406 (desktop-restoring-reuses-frames): New option.
7407 (desktop--compute-pos, desktop--move-onscreen): New functions.
7408 (desktop--make-frame): Use desktop--move-onscreen.
7409
74102013-07-27 Alan Mackenzie <acm@muc.de>
7411
7412 Fontify a Java generic method as a function.
7413 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7414 value to t.
7415
74162013-07-27 Stephen Berman <stephen.berman@gmx.net>
7417
7418 * calendar/todo-mode.el: Add command to rename todo files.
7419 (todo-rename-file): New command.
7420 (todo-key-bindings-t): Add key binding for it. Change the
7421 bindings of todo-filter-regexp-items(-multifile) to use `x'
7422 instead of `r', since the latter is better suited to the new
7423 renaming command.
7424
74252013-07-27 Alan Mackenzie <acm@muc.de>
7426
7427 Make Java try-with-resources statement parse properly.
7428 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7429 (c-block-stmt-1-2-key): New language constants/variables.
7430 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7431 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7432 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7433 with c-block-stmt-1-2-key.
7434
74352013-07-27 Juanma Barranquero <lekktu@gmail.com>
7436
7437 * desktop.el (desktop--make-frame): Apply most frame parameters after
7438 creating the frame to force (partially or totally) offscreen frames to
7439 be restored as such.
7440
74412013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7442
7443 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7444 (Bug#14948)
7445
74462013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7449 `base' arg of backtrace-frame.
7450
74512013-07-26 Eli Zaretskii <eliz@gnu.org>
7452
7453 * simple.el (list-processes): Doc fix.
7454
74552013-07-26 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * desktop.el (desktop--select-frame):
7458 Try harder to reuse existing frames.
7459
74602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7463 (edebug-eval): Use backtrace-eval.
7464 (edebug--display, edebug--recursive-edit): Don't let-bind the
7465 edebug-outer-* vars that keep track of variables we locally let-bind.
7466 (edebug-outside-excursion): Don't restore outside values of locally
7467 let-bound vars.
7468 (edebug--display): Use user-error.
7469 (cl-lexical-debug, cl-debug-env): Remove.
7470
74712013-07-26 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7474 are restored to be sure that they are visible before deleting any
7475 remaining ones.
7476
74772013-07-26 Matthias Meulien <orontee@gmail.com>
7478
7479 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7480 vc-print-root-log. (Bug#14948)
7481
74822013-07-26 Richard Stallman <rms@gnu.org>
7483
7484 Add aliases for encrypting mail.
7485 * epa.el (epa-mail-aliases): New option.
7486 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7487 Bind inhibit-read-only so read-only text doesn't ruin everything.
7488 (epa-mail-default-recipients): New subroutine broken out.
7489 Handle epa-mail-aliases.
7490
74912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 Add support for lexical variables to the debugger's `e' command.
7494 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7495 vars, except for debugger-outer-match-data.
7496 (debugger-frame-number): Move check for "on a function call" from
7497 callers into it. Add `skip-base' argument.
7498 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7499 (debugger-env-macro): Only reset the state stored in non-variables,
7500 i.e. current-buffer and match-data.
7501 (debugger-eval-expression): Rewrite using backtrace-eval.
7502 * subr.el (internal--called-interactively-p--get-frame): Remove.
7503 (called-interactively-p):
7504 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7505 `base' arg of backtrace-frame instead.
7506
75072013-07-26 Glenn Morris <rgm@gnu.org>
7508
7509 * align.el (align-regexp): Doc fix. (Bug#14857)
7510 (align-region): Explicit error if subexpression missing/does not match.
7511
7512 * simple.el (global-visual-line-mode):
7513 Do not duplicate the mode lighter. (Bug#14858)
7514
75152013-07-25 Martin Rudalics <rudalics@gmx.at>
7516
7517 * window.el (display-buffer): In display-buffer bind
7518 split-window-keep-point to t, bug#14829.
7519
75202013-07-25 Juanma Barranquero <lekktu@gmail.com>
7521
7522 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7523 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7524 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7525 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7526 Change accordingly.
7527 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7528 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7529
75302013-07-25 Glenn Morris <rgm@gnu.org>
7531
7532 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7533
75342013-07-25 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7537 parameter to modify-frame-parameters if the value has not changed;
7538 this is a workaround for bug#14949.
7539 (desktop--make-frame): On cl-delete-if call, check parameter name,
7540 not full parameter.
7541
75422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7543
7544 * vc/vc.el (vc-ignore): New function.
7545
7546 * vc/vc-svn.el (vc-svn-ignore): New function.
7547
7548 * vc/vc-hg.el (vc-hg-ignore): New function.
7549
7550 * vc/vc-git.el (vc-git-ignore): New function.
7551
7552 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7553 (vc-dir-ignore): New function.
7554
7555 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7556 (cvs-append-to-ignore): Move here from pcvs.el.
7557
7558 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7559
7560 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7561
75622013-07-24 Juanma Barranquero <lekktu@gmail.com>
7563
7564 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7565 (desktop-restore-frames): Warn when deleting an existing frame failed.
7566
75672013-07-24 Glenn Morris <rgm@gnu.org>
7568
7569 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7570
75712013-07-24 Michael Albinus <michael.albinus@gmx.de>
7572
7573 * filenotify.el (file-notify-supported-p):
7574 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7575 Remove functions.
7576
7577 * autorevert.el (auto-revert-use-notify):
7578 (auto-revert-notify-add-watch):
7579 * net/tramp.el (tramp-file-name-for-operation):
7580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7582 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7583 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7584 Remove `file-notify-supported-p' entry.
7585
75862013-07-24 Glenn Morris <rgm@gnu.org>
7587
7588 * printing.el: Replace all uses of deleted ps-windows-system,
7589 ps-lp-system, ps-flatten-list with lpr- versions.
7590
75912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7593 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7594 checked with memq (bug#14935).
7595
7596 * files.el (revert-buffer-function): Use a non-nil default.
7597 (revert-buffer-preserve-modes): Declare var to
7598 provide access to the `preserve-modes' argument.
7599 (revert-buffer): Let-bind it.
7600 (revert-buffer--default): New function, extracted from revert-buffer.
7601
76022013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * lpr.el: Signal print errors more prominently.
7605 (print-region-function): Don't default to nil.
7606 (lpr-print-region): New function, extracted from print-region-1.
7607 Check lpr's return value and signal an error in case of problem.
7608 (print-region-1): Use it.
7609 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7610 versions instead.
7611 (ps-printer-name): Default to nil.
7612 (ps-printer-name-option): Default to lpr-printer-switch.
7613 (ps-print-region-function): Don't default to nil.
7614 (ps-postscript-code-directory): Simplify default.
7615 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7616 (ps-string-list, ps-eval-switch, ps-flatten-list)
7617 (ps-flatten-list-1): Remove.
7618 (ps-multibyte-buffer): Avoid setq.
7619 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7620 (print-region-function, ps-print-region-function): Don't set them here.
7621
76222013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7623
7624 * ido.el (ido-fractionp):
7625 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7626 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7627 (ido-max-directory-size, ido-max-dir-file-cache)
7628 (ido-decorations): Doc fix.
7629
7630 * ansi-color.el: Fix old URL.
7631
76322013-07-23 Michael R. Mauger <michael@mauger.com>
7633
7634 * progmodes/sql.el: Version 3.3
7635 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7636 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7637 (sql-interactive-remove-continuation-prompt): Rewrite, use
7638 functions above. Fix continuation prompt and complete output line
7639 handling.
7640 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7641 redirected output buffer.
7642 (sql-mode): Restore deleted code (Bug#13591).
7643
76442013-07-23 Juanma Barranquero <lekktu@gmail.com>
7645
7646 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7647
76482013-07-23 Michael Albinus <michael.albinus@gmx.de>
7649
7650 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7651
7652 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7653 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7654 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7655
76562013-07-23 Juanma Barranquero <lekktu@gmail.com>
7657
7658 * desktop.el (desktop-clear): Simplify; remove useless checks
7659 against invalid buffer names.
7660 (desktop-list*): Use cl-list*.
7661 (desktop-buffer-info, desktop-create-buffer): Simplify.
7662
76632013-07-23 Leo Liu <sdl.web@gmail.com>
7664
7665 * bookmark.el (bookmark-make-record): Restore NAME as a default
7666 value. (Bug#14933)
7667
76682013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7671 extracted from autoload--insert-text.
7672 (autoload--insert-text): Remove.
7673 (autoload--print-cookie-text): New function, extracted from
7674 autoload--insert-cookie-text.
7675 (autoload--insert-cookie-text): Remove.
7676 (autoload-generate-file-autoloads): Adjust calls accordingly.
7677
7678 * winner.el (winner-hook-installed-p): Remove.
7679 (winner-mode): Simplify accordingly.
7680
7681 * subr.el (add-to-list): Fix compiler-macro when `append' is
7682 not constant. Don't use `cl-member' for the base case.
7683
7684 * progmodes/subword.el: Fix boundary case (bug#13758).
7685 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7686 own group.
7687 (subword-backward-regexp): Make it a constant.
7688 (subword-forward-internal): Don't treat a trailing capital as the
7689 beginning of a word.
7690
76912013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7692
7693 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7694 global value of tabulated-list-revert-hook (bug#14930).
7695
76962013-07-22 Juanma Barranquero <lekktu@gmail.com>
7697
7698 * desktop.el: Require 'cl-lib.
7699 (desktop-before-saving-frames-functions): New hook.
7700 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7701 for frames being saved. Rename from desktop--save-minibuffer-frames.
7702 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7703 Do not save frames with non-nil `desktop-dont-save' parameter.
7704 Filter out deleted frames.
7705 (desktop--find-frame): Use cl-find-if.
7706 (desktop--select-frame): Use cl-(first|second|third) to access values
7707 of desktop-mini.
7708 (desktop--make-frame): Use cl-delete-if.
7709 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7710 (desktop-restore-frames): Use cl-(first|second|third) to access values
7711 of desktop-mini. Look for visible frame at the end, not while
7712 restoring frames.
7713
7714 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7715 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7716 Use string-match-p, looking-at-p (bug#14927).
7717
77182013-07-21 Juanma Barranquero <lekktu@gmail.com>
7719
7720 * desktop.el (desktop-saved-frame-states):
7721 Rename from desktop--saved-states; all users changed.
7722 (desktop-save-frames): Rename from desktop--save-frames.
7723 Do not save state to desktop file.
7724 (desktop-save): Save desktop-saved-frame-states to desktop file
7725 and reset to nil.
7726 (desktop-restoring-frames-p): New function.
7727 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7728 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7729 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7730
7731 * desktop.el: Correctly restore iconified frames.
7732 (desktop--filter-iconified-position): New function.
7733 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7734
77352013-07-20 Glenn Morris <rgm@gnu.org>
7736
7737 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7738 Let `message' do the formatting.
7739 (def-gdb-preempt-display-buffer): Add explicit format.
7740
7741 * image-dired.el (image-dired-track-original-file):
7742 Use with-current-buffer.
7743 (image-dired-track-thumbnail): Use with-current-buffer.
7744 Avoid changing point of wrong window.
7745
7746 * image-dired.el (image-dired-track-original-file):
7747 Avoid changing point of wrong window. (Bug#14909)
7748
77492013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7750
7751 * progmodes/gdb-mi.el (gdb-done-or-error):
7752 Guard against "%" in gdb output. (Bug#14127)
7753
77542013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7755
7756 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7757 (Bug#14826)
7758
7759 * international/mule.el (coding-system-iso-2022-flags): Fix last
7760 change.
7761
77622013-07-20 Kenichi Handa <handa@gnu.org>
7763
7764 * international/mule.el (coding-system-iso-2022-flags):
7765 Add `8-bit-level-4'. (Bug#8522)
7766
77672013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7768
7769 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7770 (bug#14815).
7771
7772 * net/eww.el (eww-process-text-input): Allow inputting when the
7773 point is at the start of the line, as the properties aren't
7774 front-sticky.
7775
7776 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7777 degenerate widths.
7778
77792013-07-19 Richard Stallman <rms@gnu.org>
7780
7781 * epa.el (epa-popup-info-window): Doc fix.
7782
7783 * subr.el (split-string): New arg TRIM.
7784
77852013-07-18 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7788 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7789
77902013-07-18 Michael Albinus <michael.albinus@gmx.de>
7791
7792 * filenotify.el (file-notify--library): Rename from
7793 `file-notify-support'. Do not autoload. Adapt all uses.
7794 (file-notify-supported-p): New defun.
7795
7796 * autorevert.el (auto-revert-use-notify):
7797 Use `file-notify-supported-p' instead of `file-notify-support'.
7798 Adapt docstring.
7799 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7800
7801 * net/tramp.el (tramp-file-name-for-operation):
7802 Add `file-notify-supported-p'.
7803
7804 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7805 New defun.
7806 (tramp-sh-file-name-handler-alist): Add it as handler for
7807 `file-notify-supported-p '.
7808
7809 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7810 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7812 Add `ignore' as handler for `file-notify-*' functions.
7813
78142013-07-17 Eli Zaretskii <eliz@gnu.org>
7815
7816 * simple.el (line-move-partial, line-move): Don't start vscroll or
7817 scroll-up if the current line is not taller than the window.
7818 (Bug#14881)
7819
78202013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7821
7822 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7823 highlight question marks in the method names as strings.
7824 (ruby-block-beg-keywords): Inline.
7825 (ruby-font-lock-keyword-beg-re): Extract from
7826 `ruby-font-lock-keywords'.
7827
78282013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7829
7830 * frame.el (blink-cursor-blinks): New defcustom.
7831 (blink-cursor-blinks-done): New defvar.
7832 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7833 (blink-cursor-timer-function): Check if number of blinks has been
7834 done on X and NS.
7835 (blink-cursor-suspend, blink-cursor-check): New defuns.
7836
78372013-07-15 Glenn Morris <rgm@gnu.org>
7838
7839 * edmacro.el (edmacro-format-keys): Fix previous change.
7840
78412013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7842
7843 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7844 The hack didn't work outside English locales anyway.
7845
78462013-07-15 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * simple.el (define-alternatives): Rename from alternatives-define,
7849 per RMS' suggestion.
7850
78512013-07-14 Juanma Barranquero <lekktu@gmail.com>
7852
7853 * desktop.el (desktop-restore-frames): Change default to t.
7854 (desktop-restore-in-current-display): Now offer more options.
7855 (desktop-restoring-reuses-frames): New customization option.
7856 (desktop--saved-states): Doc fix.
7857 (desktop-filter-parameters-alist): New variable, renamed and expanded
7858 from desktop--excluded-frame-parameters.
7859 (desktop--target-display): New variable.
7860 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7861 (desktop--filter-tty*, desktop--filter-*-color)
7862 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7863 (desktop--filter-save-desktop-parm)
7864 (desktop-restore-in-original-display-p): New functions.
7865 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7866 (desktop--save-minibuffer-frames): New function, inspired by a similar
7867 function from Martin Rudalics.
7868 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7869 (desktop--restore-in-this-display-p): Remove.
7870 (desktop--find-frame): Rename from desktop--find-frame-in-display
7871 and add predicate argument.
7872 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7873 (desktop--reuse-list): New variable.
7874 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7875 New functions.
7876 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7877
78782013-07-14 Michael Albinus <michael.albinus@gmx.de>
7879
7880 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7881
78822013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7883
7884 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7885 Highlight conversion methods on Kernel.
7886
78872013-07-13 Alan Mackenzie <acm@muc.de>
7888
7889 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7890 and comment it out. This out-commenting enables certain C++
7891 declarations to be parsed correctly.
7892
78932013-07-13 Eli Zaretskii <eliz@gnu.org>
7894
7895 * international/mule.el (define-coding-system): Doc fix.
7896
7897 * simple.el (default-font-height): Don't call font-info if the
7898 frame's default font didn't change since the frame was created.
7899 (Bug#14838)
7900
79012013-07-13 Leo Liu <sdl.web@gmail.com>
7902
7903 * ido.el (ido-read-file-name): Guard against non-symbol value.
7904
79052013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7906
7907 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7908 in nested defuns.
7909
79102013-07-13 Leo Liu <sdl.web@gmail.com>
7911
7912 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7913 ido-set-matches call. (Bug#6852)
7914
79152013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7916
7917 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7918 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7919 Ruby 2.0.
7920 (ruby-font-lock-keywords): Distinguish calls to functions with
7921 module-like names from module references. Highlight character
7922 literals.
7923
79242013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7925
7926 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7927 (gdb-send): Handle continued commands. (Bug#14847)
7928
79292013-07-12 Juanma Barranquero <lekktu@gmail.com>
7930
7931 * desktop.el (desktop--v2s): Remove unused local variable.
7932 (desktop-save-buffer): Make defvar-local; adjust docstring.
7933 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7934 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7935
79362013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7937
7938 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7939
79402013-07-12 Eli Zaretskii <eliz@gnu.org>
7941
7942 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7943 (Bug#14842)
7944
79452013-07-12 Glenn Morris <rgm@gnu.org>
7946
7947 * doc-view.el: Require cl-lib at runtime too.
7948 (doc-view-remove-if): Remove.
7949 (doc-view-search-next-match, doc-view-search-previous-match):
7950 Use cl-remove-if.
7951
7952 * edmacro.el: Require cl-lib at runtime too.
7953 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7954 (edmacro-mismatch, edmacro-subseq): Remove.
7955
7956 * shadowfile.el: Require cl-lib.
7957 (shadow-remove-if): Remove.
7958 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7959 Use cl-remove-if.
7960
7961 * wid-edit.el: Require cl-lib.
7962 (widget-choose): Use cl-remove-if.
7963 (widget-remove-if): Remove.
7964
7965 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7966 (ebrowse-delete-if-not): Remove.
7967 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7968 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7969 Use cl-delete-if-not.
7970
79712013-07-12 Juanma Barranquero <lekktu@gmail.com>
7972
7973 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7974 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7975
79762013-07-12 Leo Liu <sdl.web@gmail.com>
7977
7978 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7979
79802013-07-11 Glenn Morris <rgm@gnu.org>
7981
7982 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7983 (edebug-gensym-index, edebug-gensym):
7984 Remove reimplementation of cl-gensym.
7985 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7986
7987 * thumbs.el: Require cl-lib at run-time too.
7988 (thumbs-gensym-counter, thumbs-gensym):
7989 Remove reimplementation of cl-gensym.
7990 (thumbs-temp-file): Use cl-gensym.
7991
7992 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7993 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7994 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7995 (ert--union, ert--gensym-counter, ert--gensym-counter)
7996 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7997 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7998 (ert-make-test-unbound, ert--expand-should-1)
7999 (ert--expand-should, ert--should-error-handle-error)
8000 (should-error, ert--explain-equal-rec)
8001 (ert--plist-difference-explanation, ert-select-tests)
8002 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8003 Use cl-lib functions rather than reimplementations.
8004
80052013-07-11 Michael Albinus <michael.albinus@gmx.de>
8006
8007 * net/tramp.el (tramp-methods): Extend docstring.
8008 (tramp-connection-timeout): New defcustom.
8009 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8010 (with-tramp-progress-reporter): Simplify.
8011 (tramp-process-actions): Improve messages.
8012
8013 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8014 * net/tramp-sh.el (tramp-maybe-open-connection):
8015 Use `tramp-connection-timeout'.
8016 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8017 (Bug#14808)
8018
80192013-07-11 Leo Liu <sdl.web@gmail.com>
8020
8021 * ido.el (ido-read-file-name): Conform to the requirements of
8022 read-file-name. (Bug#11861)
8023 (ido-read-directory-name): Conform to the requirements of
8024 read-directory-name.
8025
80262013-07-11 Juanma Barranquero <lekktu@gmail.com>
8027
8028 * subr.el (delay-warning): New function.
8029
80302013-07-10 Eli Zaretskii <eliz@gnu.org>
8031
8032 * simple.el (default-line-height): New function.
8033 (line-move-partial, line-move): Use it instead of computing the
8034 line height inline.
8035 (line-move-partial): Always compute ROWH. If the last line is
8036 partially-visible, but its text is completely visible, allow
8037 cursor to enter such a partially-visible line.
8038
80392013-07-10 Michael Albinus <michael.albinus@gmx.de>
8040
8041 Improve error messages. (Bug#14808)
8042
8043 * net/tramp.el (tramp-current-connection): New defvar, moved from
8044 tramp-sh.el.
8045 (tramp-message-show-progress-reporter-message): Remove, not
8046 needed anymore.
8047 (tramp-error-with-buffer): Show message in minibuffer.
8048 Discard input before waiting. Reset connection timestamp.
8049 (with-tramp-progress-reporter): Improve messages.
8050 (tramp-process-actions): Use progress reporter. Delete process in
8051 case of error. Improve messages.
8052
8053 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8054 Call `tramp-error-with-buffer' with vector and buffer.
8055 (tramp-current-connection): Remove.
8056 (tramp-maybe-open-connection): The car of
8057 `tramp-current-connection' are the first 3 slots of the vector.
8058
80592013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8060
8061 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8062 inside continued strings.
8063
80642013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8065
8066 Timestamp fixes for undo (Bug#14824).
8067 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8068
80692013-07-10 Leo Liu <sdl.web@gmail.com>
8070
8071 * files.el (require-final-newline): Allow safe local value.
8072 (Bug#14834)
8073
80742013-07-09 Leo Liu <sdl.web@gmail.com>
8075
8076 * ido.el (ido-read-directory-name): Handle fallback.
8077 (ido-read-file-name): Update DIR to ido-current-directory.
8078 (Bug#1516)
8079 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8080
80812013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8082
8083 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8084 "autoload". Remove "warn lower camel case" section, previously
8085 commented out. Highlight negation char. Do not highlight the
8086 target in singleton method definitions.
8087
80882013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * faces.el (tty-setup-hook): Declare the hook.
8091
8092 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8093 and detect when a guard/pred depends on local vars (bug#14773).
8094 (pcase--u1): Adjust caller.
8095
80962013-07-08 Eli Zaretskii <eliz@gnu.org>
8097
8098 * simple.el (line-move-partial, line-move): Account for
8099 line-spacing.
8100 (line-move-partial): Avoid setting vscroll when the last
8101 partially-visible line in window is of default height.
8102
81032013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8104
8105 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8106 been used a while.
8107
81082013-07-07 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * subr.el (read-quoted-char): Remove unused local variable `char'.
8111
81122013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8113
8114 * ediff.el (ediff-version): Version update.
8115 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8116 (ediff-merge-with-ancestor-command, ediff-directories-command)
8117 (ediff-directories3-command, ediff-merge-directories-command)
8118 (ediff-merge-directories-with-ancestor-command): New functions.
8119 All are command-line interfaces to ediff: to facilitate calling
8120 Emacs with the appropriate ediff functions invoked.
8121
8122 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8123 (viper-save-kill-buffer): Check if buffer is modified.
8124
8125 * viper.el (viper-version): Version update.
8126 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8127
81282013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8131 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8132 (viper-intercept-ESC-key): Simplify.
8133 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8134 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8135 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8136 (viper-setup-ESC-to-escape): New functions.
8137 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8138 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8139
81402013-07-07 Eli Zaretskii <eliz@gnu.org>
8141
8142 * simple.el (default-font-height, window-screen-lines):
8143 New functions.
8144 (line-move, line-move-partial): Use them instead of
8145 frame-char-height and window-text-height. This makes scrolling
8146 text smoother when the buffer's default face uses a font that is
8147 different from the frame's default font.
8148
81492013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8150
8151 * files.el (write-file): Do not display confirm dialog for NS,
8152 it does its own dialog, which can't be canceled (Bug#14578).
8153
81542013-07-06 Eli Zaretskii <eliz@gnu.org>
8155
8156 * simple.el (line-move-partial): Adjust the row returned by
8157 posn-at-point for the current window-vscroll. (Bug#14567)
8158
81592013-07-06 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8162 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8163 spaces.
8164
81652013-07-06 Martin Rudalics <rudalics@gmx.at>
8166
8167 * window.el (window-state-put-stale-windows): New variable.
8168 (window--state-put-2): Save list of windows without matching buffer.
8169 (window-state-put): Remove "bufferless" windows if possible.
8170
81712013-07-06 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * simple.el (alternatives-define): Remove leftover :group keyword.
8174 Tweak docstring.
8175
81762013-07-06 Leo Liu <sdl.web@gmail.com>
8177
8178 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8179 (ido-enable-virtual-buffers): New variable.
8180 (ido-buffer-internal, ido-toggle-virtual-buffers)
8181 (ido-make-buffer-list): Use it.
8182 (ido-exhibit): Support turning on and off virtual buffers
8183 automatically.
8184
81852013-07-06 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * simple.el (alternatives-define): New macro.
8188
81892013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * subr.el (read-quoted-char): Use read-key.
8192 (sit-for): Let read-event decode tty input (bug#14782).
8193
81942013-07-05 Stephen Berman <stephen.berman@gmx.net>
8195
8196 * calendar/todo-mode.el: Add handling of file deletion, both by
8197 mode command and externally. Fix various related bugs.
8198 Clarify Commentary and improve some documentation strings and code.
8199 (todo-delete-file): New command.
8200 (todo-check-file): New function.
8201 (todo-show): Handle external deletion of the file we're trying to
8202 show (bug#14688). Replace called-interactively-p by an optional
8203 prefix argument to avoid problematic interaction with catch form
8204 when byte compiled (bug#14702).
8205 (todo-quit): Handle external deletion of the archive's todo file.
8206 Make sure the buffer that was visiting the archive file is still
8207 live before trying to bury it.
8208 (todo-category-completions): Handle external deletion of any
8209 category completion files.
8210 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8211 of todo files, in case of external deletion.
8212 (todo-add-file): Replace unnecessary setq by let-binding.
8213 (todo-find-archive): Check whether there are any archives.
8214 Replace unnecessary setq by let-binding.
8215 (todo-archive-done-item): Use find-file-noselect to get the
8216 archive buffer whether or not the archive already exists.
8217 Remove superfluous code. Use file size instead of buffer-file-name to
8218 check if the archive is new; if it is, update list of archives.
8219 (todo-default-todo-file): Allow nil to be a valid value for when
8220 there are no todo files.
8221 (todo-reevaluate-default-file-defcustom): Use corrected definition
8222 of todo-default-todo-file.
8223 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8224 (todo-delete-category, todo-show-categories-table)
8225 (todo-category-number): Clarify comment.
8226 (todo-filter-items): Clarify documentation string.
8227 (todo-show-current-file, todo-display-as-todo-file)
8228 (todo-reset-and-enable-done-separator): Tweak documentation string.
8229 (todo-done-separator): Make separator length window-width, since
8230 bug#2749 is now fixed.
8231
82322013-07-05 Michael Albinus <michael.albinus@gmx.de>
8233
8234 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8235 Support both "gvfs-monitor-dir" and "inotifywait".
8236 (tramp-sh-file-inotifywait-process-filter): Rename from
8237 `tramp-sh-file-notify-process-filter'.
8238 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8239 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8240
82412013-07-05 Leo Liu <sdl.web@gmail.com>
8242
8243 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8244
82452013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8246
8247 * frame.el (display-pixel-height, display-pixel-width)
8248 (display-mm-height, display-mm-width): Mention behavior on
8249 multi-monitor setups in docstrings.
8250 (w32-display-monitor-attributes-list): Declare function.
8251 (display-monitor-attributes-list): Use it.
8252
82532013-07-04 Michael Albinus <michael.albinus@gmx.de>
8254
8255 * filenotify.el: New package.
8256
8257 * autorevert.el (top): Require filenotify.el.
8258 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8259 instead.
8260 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8261 (auto-revert-notify-handler): Use `file-notify-*' functions.
8262
8263 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8264
8265 * net/tramp.el (tramp-file-name-for-operation):
8266 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8267
8268 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8269 for `file-notify-add-watch' and `file-notify-rm-watch'.
8270 (tramp-process-sentinel): Improve trace.
8271 (tramp-sh-handle-file-notify-add-watch)
8272 (tramp-sh-file-notify-process-filter)
8273 (tramp-sh-handle-file-notify-rm-watch)
8274 (tramp-get-remote-inotifywait): New defuns.
8275
82762013-07-03 Juri Linkov <juri@jurta.org>
8277
8278 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8279 call of `occur-read-primary-args' to interactive spec.
8280
8281 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8282 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8283
82842013-07-03 Matthias Meulien <orontee@gmail.com>
8285
8286 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8287 `Buffer-menu-multi-occur'. Add it to the menu.
8288 (Buffer-menu-mode): Document it in docstring.
8289 (Buffer-menu-multi-occur): New command. (Bug#14673)
8290
82912013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8292
8293 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8294 keywords and built-ins.
8295
82962013-07-03 Glenn Morris <rgm@gnu.org>
8297
8298 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8299
8300 Make info-xref checks case-sensitive by default
8301 * info.el (Info-find-node, Info-find-in-tag-table)
8302 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8303 Add option for exact case matching of nodes.
8304 * info-xref.el (info-xref): New custom group.
8305 (info-xref-case-fold): New option.
8306 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8307
83082013-07-03 Leo Liu <sdl.web@gmail.com>
8309
8310 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8311
83122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8313
8314 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8315 middle of block statement initially, lower the depth. Remove
8316 FIXME comment, not longer valid. Remove middle of block statement
8317 detection, no need to do that anymore since we've been using
8318 `ruby-parse-region' here.
8319
83202013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8321
8322 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8323
83242013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8325
8326 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8327
83282013-07-01 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8331 (desktop-restore-in-current-display): New customization option.
8332 (desktop--excluded-frame-parameters): Add `font'.
8333 (desktop--save-frames): Rename from desktop--save-windows.
8334 (desktop--restore-in-this-display-p): New function.
8335 (desktop--make-full-frame): Remove unwanted width/height from
8336 full(width|height) frames.
8337 (desktop--restore-frames): Rename from desktop--restore-windows.
8338 Obey desktop-restore-current-display. Do not delete old frames or
8339 select a new frame unless we were able to restore at least one frame.
8340
83412013-06-30 Michal Nazarewicz <mina86@mina86.com>
8342
8343 * files.el (find-file-noselect): Simplify conditional expression.
8344
8345 * textmodes/remember.el (remember-append-to-file):
8346 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8347
8348 Add `remember-notes' function to store random notes across Emacs
8349 restarts.
8350 * textmodes/remember.el (remember-data-file): Add :set callback to
8351 affect notes buffer (if any).
8352 (remember-notes): New command.
8353 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8354 New defcustoms for the `remember-notes' function.
8355 (remember-notes-save-and-bury-buffer): New command.
8356 (remember-notes-mode-map): New variable.
8357 (remember-mode): New minor mode.
8358 (remember-notes--kill-buffer-query): New function.
8359 * startup.el (initial-buffer-choice): Add notes to custom type.
8360
83612013-06-30 Eli Zaretskii <eliz@gnu.org>
8362
8363 * bindings.el (right-char, left-char): Don't call sit-for, this is
8364 no longer needed. Use arithmetic comparison only for numerical
8365 arguments.
8366
8367 * international/mule-cmds.el (select-safe-coding-system):
8368 Handle the case of FROM being a string correctly. (Bug#14755)
8369
83702013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371
8372 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8373 progression on degenerate tables.
8374 (shr-rescale-image): ImageMagick animated images currently don't work.
8375
83762013-06-30 Juanma Barranquero <lekktu@gmail.com>
8377
8378 Some fixes and improvements for desktop frame restoration.
8379 It is still experimental and disabled by default.
8380 * desktop.el (desktop--save-windows): Put the selected frame at
8381 the head of the list.
8382 (desktop--make-full-frame): New function.
8383 (desktop--restore-windows): Try to re-select the frame that was
8384 selected upon saving. Do not abort if some frames fail to restore,
8385 just show an error message and continue. Set up maximized frames
8386 so they have default non-maximized dimensions.
8387
83882013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8389
8390 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8391 Don't start heredoc inside a string or comment.
8392
83932013-06-29 Eli Zaretskii <eliz@gnu.org>
8394
8395 * bindings.el (visual-order-cursor-movement): New defcustom.
8396 (right-char, left-char): Provide visual-order cursor motion by
8397 calling move-point-visually. Update the doc strings.
8398
83992013-06-28 Kenichi Handa <handa@gnu.org>
8400
8401 * international/mule.el (define-coding-system): New coding system
8402 properties :inhibit-null-byte-detection,
8403 :inhibit-iso-escape-detection, and :prefer-utf-8.
8404 (set-buffer-file-coding-system): If :charset-list property of
8405 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8406 appropriate for setting.
8407
8408 * international/mule-cmds.el (select-safe-coding-system):
8409 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8410 multibyte characters, return utf-8 (or one of its siblings).
8411
8412 * international/mule-conf.el (prefer-utf-8): New coding system.
8413 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8414 files.
8415
84162013-06-28 Ivan Kanis <ivan@kanis.fr>
8417
8418 * net/shr.el (shr-render-region): New function.
8419
8420 * net/eww.el: Autoload `eww-browse-url'.
8421
84222013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8423
8424 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8425 Adapt to `package-desc-version' being a list.
8426 Use `package--ac-desc-version' to retrieve version from a package
8427 archive element.
8428
84292013-06-27 Juanma Barranquero <lekktu@gmail.com>
8430
8431 New experimental feature to save&restore window and frame setup.
8432 * desktop.el (desktop-save-windows): New defcustom.
8433 (desktop--saved-states): New var.
8434 (desktop--excluded-frame-parameters): New defconst.
8435 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8436 (desktop--restore-windows, desktop--save-windows): New functions.
8437 (desktop-save): Call `desktop--save-windows'.
8438 (desktop-read): Call `desktop--restore-windows'.
8439
84402013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8441
8442 * net/shr.el (add-face-text-property): Remove compat definition.
8443
84442013-06-27 Stephen Berman <stephen.berman@gmx.net>
8445
8446 * info.el (Info-try-follow-nearest-node): Move search for footnote
8447 above search for node name to prevent missing a footnote (bug#14717).
8448
84492013-06-27 Stephen Berman <stephen.berman@gmx.net>
8450
8451 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8452
84532013-06-27 Leo Liu <sdl.web@gmail.com>
8454
8455 * net/eww.el (eww-read-bookmarks): Check file size.
8456
84572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8460 advice--pending if newdef is nil or an autoload (bug#13820).
8461 (advice-mapc): New function.
8462
84632013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464
8465 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8466 probably.
8467 (eww-mode-map): Add a menu bar.
8468 (eww-add-bookmark): New command.
8469 (eww-bookmark-mode): New mode and commands.
8470 (eww-add-bookmark): Remove newlines from the title.
8471 (eww-bookmark-browse): Don't bug out if it's the only window.
8472
84732013-06-26 Glenn Morris <rgm@gnu.org>
8474
8475 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8476 (hfy-size): Handle ttys. (Bug#14668)
8477
8478 * info-xref.el: Update for Texinfo 5 change in *note format.
8479 (info-xref-node-re, info-xref-note-re): New constants.
8480 (info-xref-check-buffer): Use info-xref-note-re.
8481
84822013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8485
8486 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8487 nil terminate the loop (bug#14718).
8488
84892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8490
8491 * net/eww.el: Rework history traversal. When going forward/back,
8492 put these actions into the history, too, so that they can be
8493 replayed.
8494 (eww-render): Move the history reset to the correct buffer.
8495
84962013-06-25 Juri Linkov <juri@jurta.org>
8497
8498 * files-x.el (modify-dir-local-variable): Change the header comment
8499 in the file with directory local variables. (Bug#14692)
8500
8501 * files-x.el (read-file-local-variable-value): Add `default'.
8502 (Bug#14710)
8503
85042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8505
8506 * net/eww.el (eww-make-unique-file-name): Create a unique file
8507 name before saving to entering `y' accidentally asynchronously.
8508
85092013-06-25 Ivan Kanis <ivan@kanis.fr>
8510
8511 * net/eww.el (eww-download): New command and keystroke.
8512
85132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8514
8515 * net/eww.el (eww-copy-page-url): Change name of command.
8516
8517 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8518 be more consistent with Info and dired.
8519
8520 * net/eww.el (eww-mode-map): Ditto.
8521
85222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8525 packages from archives.
8526 (package-archive-contents): Change format; include obsolete packages.
8527 (package-desc): Use `dir' to mark builtin packages.
8528 (package--from-builtin): Set the `dir' field to `builtin'.
8529 (generated-autoload-file, version-control): Declare.
8530 (package-compute-transaction): Change first arg and return value to be
8531 lists of package-descs. Adjust to new package-archive-contents format.
8532 (package--add-to-archive-contents): Adjust to new
8533 package-archive-contents format.
8534 (package-download-transaction): Arg is now a list of package-descs.
8535 (package-install): If `pkg' is a package name, pass it as
8536 a requirement, so it is subject to the usual (e.g. disabled) checks.
8537 (describe-package): Accept package-desc as well.
8538 (describe-package-1): Describe a specific package-desc. Add links to
8539 other package-descs for the same package name.
8540 (package-menu-describe-package): Pass the actual package-desc.
8541 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8542 works correctly.
8543 (package-desc-status): New function.
8544 (package-menu--refresh): New function, extracted
8545 from package-menu--generate.
8546 (package-menu--generate): Use it.
8547 (package-delete): Update package-alist.
8548 (package-menu-execute): Don't call package-initialize.
8549
8550 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8551 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8552 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8553 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8554 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8555 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8556
85572013-06-25 Martin Rudalics <rudalics@gmx.at>
8558
8559 * window.el (window--state-get-1): Workaround for bug#14527.
8560 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8561
85622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8563
8564 * net/eww.el (eww-back-url): Implement the history by stashing all
8565 the data into a list.
8566 (eww-forward-url): Allow going forward in the history, too.
8567
85682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8571 for values and use read--expression for expressions (bug#14710).
8572 (read-file-local-variable): Avoid setq.
8573 (read-file-local-variable-mode): Use minor-mode-list.
8574
85752013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8576
8577 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8578 for DOI URLs.
8579
85802013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8581
8582 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8583 Update imenu-support when dialect changes.
8584
85852013-06-25 Leo Liu <sdl.web@gmail.com>
8586
8587 * ido.el (ido-read-internal): Allow forward slash on windows.
8588
85892013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8590
8591 * net/eww.el (eww): Start of strings is \\`, not ^.
8592
85932013-06-24 Ivan Kanis <ivan@kanis.fr>
8594
8595 * net/shr.el (shr-browse-url): Fix interactive spec.
8596
8597 * net/eww.el (eww): Add a trailing slash to domain names.
8598
85992013-06-24 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8602
86032013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8604
8605 * net/shr.el (shr-browse-url): Use an external browser if given a
8606 prefix.
8607
8608 * net/eww.el (eww-external-browser): Move to shr.
8609
86102013-06-24 Ivan Kanis <ivan@kanis.fr>
8611
8612 * net/eww.el (eww): Work more correctly for file: URLs.
8613 (eww-detect-charset): Allow quoted charsets.
8614 (eww-yank-page-url): New command and keystroke.
8615
86162013-06-24 Daiki Ueno <ueno@gnu.org>
8617
8618 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8619 file name of gpg executable.
8620 (epg-context-program): New function.
8621 (epg-context-home-directory): New function.
8622 (epg-context-set-program): New function.
8623 (epg-context-set-home-directory): New function.
8624 (epg--start): Use `epg-context-program' instead of
8625 'epg-gpg-program'.
8626 (epg--list-keys-1): Likewise.
8627
86282013-06-24 Leo Liu <sdl.web@gmail.com>
8629
8630 * ido.el (ido-read-internal): Fix bug#14620.
8631
86322013-06-23 Juanma Barranquero <lekktu@gmail.com>
8633
8634 * faces.el (face-documentation): Simplify.
8635 (read-face-attribute, tty-find-type, x-resolve-font-name):
8636 Use `string-match-p'.
8637 (list-faces-display): Use `string-match-p'. Simplify.
8638 (face-spec-recalc): Check face to avoid face alias loops.
8639 (read-color): Use `string-match-p' and non-capturing parenthesis.
8640
86412013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642
8643 * net/shr.el (shr-rescale-image): Use the new
8644 :max-width/:max-height functionality.
8645
86462013-06-23 Ivan Kanis <ivan@kanis.fr>
8647
8648 * net/eww.el (eww-search-prefix): New variable.
8649 (eww): Use it.
8650 (eww-external-browser): New variable.
8651 (eww-mode-map): New keystroke.
8652 (eww-browse-with-external-browser): New command.
8653
8654 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8655
86562013-06-23 Juanma Barranquero <lekktu@gmail.com>
8657
8658 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8659 Don't skip aligning the next header field when padding is 0;
8660 otherwise, field width is not respected unless the title is as
8661 wide as the field.
8662
86632013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * emacs-lisp/package.el (package-el-version): Remove.
8666 (package-process-define-package): Fix inf-loop.
8667 (package-install): Allow symbols as arguments again.
8668
86692013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8670
8671 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8672 add some more keyword-like methods.
8673 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8674
86752013-06-22 Juanma Barranquero <lekktu@gmail.com>
8676
8677 * bs.el (bs-buffer-show-mark): Make defvar-local.
8678 (bs-mode): Use setq-local.
8679
8680 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8681 (emacs-lock--try-unlocking): Make defvar-local.
8682
86832013-06-22 Glenn Morris <rgm@gnu.org>
8684
8685 * play/cookie1.el (cookie-apropos): Minor simplification.
8686
8687 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8688
86892013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8690
8691 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8692 `regexp-opt', it breaks the build during dumping.
8693
86942013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8695
8696 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8697 Highlight keyword-like methods on Kernel and Module with
8698 font-lock-builtin-face.
8699 (auto-mode-alist): Consolidate different entries into one regexp
8700 and add more *file-s.
8701
87022013-06-21 Stephen Berman <stephen.berman@gmx.net>
8703
8704 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8705
8706 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8707 (diary-entry): Use it in the action of this button type instead of
8708 diary-goto-entry.
8709
8710 * calendar/todo-mode.el: New version.
8711 (todo-add-category): Append new category to end of file and give
8712 it the highest number, instead of putting it at the beginning and
8713 giving it 0. Incorporate noninteractive functionality.
8714 (todo-forward-category): Adapt to 1-based category numbering.
8715 Allow skipping over archived categories.
8716 (todo-backward-category): Derive from todo-forward-category.
8717 (todo-backward-item, todo-forward-item): Make noninteractive and
8718 delegate interactive part to new commands. Make sensitive to done items.
8719 (todo-categories): Make value an alist of category names and
8720 vectors of item counts.
8721 (todo-category-beg): Make a defconst.
8722 (todo-category-number): Use 1 instead of 0 as initial value.
8723 (todo-category-select): Make sensitive to overlays, optional item
8724 highlighting and done items.
8725 (todo-delete-item): Make sensitive to overlays and marked and done items.
8726 (todo-edit-item): Make sensitive to overlays and editing of
8727 date/time header optional. Add format checks.
8728 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8729 no-op if point is not on an item. Advertise using todo-edit-quit.
8730 (todo-edit-mode): Make sensitive to new format, font-locking, and
8731 multiple todo files.
8732 (todo-insert-item, todo-insert-item-here): Derive from
8733 todo-basic-insert-item and extend functionality.
8734 (todo-item-end, todo-item-start): Make sensitive to done items.
8735 (todo-item-string): Don't return text properties. Restore point.
8736 (todo-jump-to-category): Make sensitive to multiple todo files and
8737 todo archives. Use extended category completion.
8738 (todo-lower-item, todo-raise-item): Rename to *-priority and
8739 derive from todo-set-item-priority.
8740 (todo-mode): Derive from special-mode. Make sensitive to new
8741 format, font-locking and multiple todo files. Make read-only.
8742 (todo-mode-map): Don't suppress digit keys, so they can supply
8743 prefix arguments. Add many new key bindings.
8744 (todo-prefix): Insert as an overlay instead of file text.
8745 Change semantics from diary date expression to purely visual mark.
8746 (todo-print): Rename to todo-print-buffer. Make buffer display
8747 features printable. Remove option to restrict number of items
8748 printed. Add option to print to file.
8749 (todo-print-function): Rename to todo-print-buffer-function.
8750 (todo-quit): Extend to handle exiting new todo modes.
8751 (todo-remove-item): Make sensitive to overlays.
8752 (todo-save): Extend to buffers of filtered items.
8753 (todo-show): Make sensitive to done items, multiple todo files and
8754 new todo modes. Offer to convert legacy todo file before creating
8755 first new todo file.
8756 (todo-show-priorities): Rename to todo-top-priorities.
8757 Change semantics of value 0.
8758 (todo-top-priorities): Rename to todo-filter-top-priorities,
8759 derive from todo-filter-items and extend functionality.
8760 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8761 and extend functionality to other types of filtered items.
8762 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8763 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8764 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8765 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8766 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8767 (todo-edit-mode-hook, todo-entry-prefix-function)
8768 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8769 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8770 (todo-initials, todo-insert-threshold, todo-item-string-start)
8771 (todo-line-string, todo-menu, todo-mode-hook)
8772 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8773 (todo-print-priorities, todo-remove-separator)
8774 (todo-save-top-priorities-too, todo-string-count-lines)
8775 (todo-string-multiline-p, todo-time-string-format)
8776 (todo-tmp-buffer-name): Remove.
8777 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8778 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8779 (todo-edit-category-diary-inclusion)
8780 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8781 (todo-edit-file, todo-edit-item-date-day)
8782 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8783 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8784 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8785 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8786 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8787 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8788 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8789 (todo-filter-top-priorities-multifile, todo-find-archive)
8790 (todo-find-filtered-items-file, todo-go-to-source-item)
8791 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8792 (todo-jump-to-archive-category, todo-lower-category)
8793 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8794 (todo-move-category, todo-move-item, todo-next-button)
8795 (todo-next-item, todo-padded-string, todo-powerset)
8796 (todo-previous-button, todo-previous-item)
8797 (todo-print-buffer-to-file, todo-raise-category)
8798 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8799 (todo-set-category-number, todo-set-item-priority)
8800 (todo-set-top-priorities-in-category)
8801 (todo-set-top-priorities-in-file, todo-show-categories-table)
8802 (todo-sort-categories-alphabetically-or-numerically)
8803 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8804 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8805 (todo-toggle-item-header, todo-toggle-item-highlighting)
8806 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8807 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8808 (todo-unarchive-items, todo-unmark-category): New commands.
8809 (todo-absolute-file-name, todo-add-to-buffer-list)
8810 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8811 (todo-basic-insert-item, todo-category-completions)
8812 (todo-category-number, todo-category-string-matcher-1)
8813 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8814 (todo-check-format, todo-clear-matches)
8815 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8816 (todo-current-category, todo-date-string-matcher)
8817 (todo-define-insertion-command, todo-diary-expired-matcher)
8818 (todo-diary-goto-entry, todo-diary-item-p)
8819 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8820 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8821 (todo-done-item-section-p, todo-done-separator)
8822 (todo-done-string-matcher, todo-files, todo-filter-items)
8823 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8824 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8825 (todo-insert-category-line, todo-insert-item-from-calendar)
8826 (todo-insert-sort-button, todo-insert-with-overlays)
8827 (todo-insertion-command-name, todo-insertion-key-bindings)
8828 (todo-label-to-key, todo-longest-category-name-length)
8829 (todo-make-categories-list, todo-mode-external-set)
8830 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8831 (todo-modes-set-3, todo-multiple-filter-files)
8832 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8833 (todo-read-category, todo-read-date, todo-read-dayname)
8834 (todo-read-file-name, todo-read-time)
8835 (todo-reevaluate-category-completions-files-defcustom)
8836 (todo-reevaluate-default-file-defcustom)
8837 (todo-reevaluate-filelist-defcustoms)
8838 (todo-reevaluate-filter-files-defcustom)
8839 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8840 (todo-reset-done-separator, todo-reset-done-separator-string)
8841 (todo-reset-done-string, todo-reset-global-current-todo-file)
8842 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8843 (todo-reset-prefix, todo-set-categories)
8844 (todo-set-date-from-calendar, todo-set-show-current-file)
8845 (todo-set-top-priorities, todo-short-file-name)
8846 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8847 (todo-total-item-counts, todo-update-buffer-list)
8848 (todo-update-categories-display, todo-update-categories-sexp)
8849 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8850 New functions.
8851 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8852 New major modes.
8853 (todo-categories, todo-display, todo-edit, todo-faces)
8854 (todo-filtered): New defgroups.
8855 (todo-archived-only, todo-button, todo-category-string, todo-date)
8856 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8857 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8858 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8859 (todo-add-item-if-new-category, todo-always-add-time-string)
8860 (todo-categories-align, todo-categories-archived-label)
8861 (todo-categories-category-label, todo-categories-diary-label)
8862 (todo-categories-done-label, todo-categories-number-separator)
8863 (todo-categories-todo-label, todo-categories-totals-label)
8864 (todo-category-completions-files, todo-completion-ignore-case)
8865 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8866 (todo-done-separator-string, todo-done-string)
8867 (todo-files-function, todo-filter-done-items, todo-filter-files)
8868 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8869 (todo-initial-category, todo-initial-file, todo-item-mark)
8870 (todo-legacy-date-time-regexp, todo-mode-line-function)
8871 (todo-nondiary-marker, todo-number-prefix)
8872 (todo-print-buffer-function, todo-show-current-file)
8873 (todo-show-done-only, todo-show-first, todo-show-with-done)
8874 (todo-skip-archived-categories, todo-top-priorities-overrides)
8875 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8876 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8877 New defcustoms.
8878 (todo-category-done, todo-date-pattern, todo-date-string-start)
8879 (todo-diary-items-buffer, todo-done-string-start)
8880 (todo-filtered-items-buffer, todo-item-start)
8881 (todo-month-abbrev-array, todo-month-name-array)
8882 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8883 (todo-top-priorities-buffer): New defconsts.
8884 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8885 (todo-categories-with-marks, todo-category-string-face)
8886 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8887 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8888 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8889 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8890 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8891 (todo-font-lock-keywords, todo-global-current-todo-file)
8892 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8893 (todo-insertion-commands-args)
8894 (todo-insertion-commands-args-genlist)
8895 (todo-insertion-commands-names, todo-insertion-map)
8896 (todo-key-bindings-t, todo-key-bindings-t+a)
8897 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8898 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8899 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8900 (todo-visited): New variables.
8901
89022013-06-21 Glenn Morris <rgm@gnu.org>
8903
8904 * play/cookie1.el (cookie-apropos): Add optional display argument.
8905 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8906 (psychoanalyze-pinhead): Use cookie-doctor.
8907
89082013-06-21 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * emacs-lisp/package.el (tar-get-file-descriptor)
8911 (tar--extract): Declare.
8912
89132013-06-21 Eduard Wiebe <usenet@pusto.de>
8914
8915 Extend flymake's warning predicate to be a function (bug#14217).
8916 * progmodes/flymake.el (flymake-warning-predicate): New.
8917 (flymake-parse-line): Use it.
8918 (flymake-warning-re): Make obsolete alias to
8919 `flymake-warning-predicate'.
8920
89212013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8924 (package-obsolete-list): Remove.
8925 (package-activate): Remove min-version argument. Add `force' argument.
8926 Adjust to new package-alist format.
8927 (package-mark-obsolete): Remove.
8928 (package-unpack): Force reload of the package's autoloads.
8929 (package-installed-p): Check builtins if the installed package is not
8930 recent enough.
8931 (package-initialize): Don't reset package-obsolete-list.
8932 Don't specify which package version to activate.
8933 (package-process-define-package, describe-package-1)
8934 (package-menu--generate): Adjust to new package-alist format.
8935
89362013-06-21 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * allout-widgets.el (allout-widgets-mode-off)
8939 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8940 (allout-widgets-post-command-business)
8941 (allout-widgets-after-copy-or-kill-function)
8942 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8943 (allout-decorate-item-and-context)
8944 (allout-graphics-modification-handler): Fix typos in docstrings.
8945 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8946
8947 * cmuscheme.el (scheme-start-file): Doc fix.
8948 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8949 (scheme-input-filter): Use `string-match-p'.
8950
8951 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8952
8953 * dired-x.el: Use Dired consistently in docstrings.
8954
8955 * dired.el: Use Dired consistently in docstrings.
8956 (dired-readin, dired-mode): Use `setq-local'.
8957 (dired-switches-alist): Make defvar-local.
8958 (dired-buffers-for-dir): Use `zerop'.
8959 (dired-safe-switches-p, dired-switches-escape-p)
8960 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8961 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8962 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8963 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8964 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8965 (dired-toggle-marks, dired-mark-files-containing-regexp)
8966 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8967 (dired-flag-auto-save-files, dired-flag-backup-files):
8968 Use `looking-at-p'.
8969 (dired-mark-files-regexp, dired-build-subdir-alist):
8970 Use `string-match-p', `looking-at-p'.
8971
8972 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8973 (direct-print-region-helper): Use `string-match-p'.
8974
89752013-06-21 Leo Liu <sdl.web@gmail.com>
8976
8977 * comint.el (comint-redirect-results-list-from-process):
8978 Fix infinite loop.
8979
89802013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8981
8982 * net/eww.el (eww-update-header-line-format): Quote % characters.
8983
89842013-06-21 Glenn Morris <rgm@gnu.org>
8985
8986 * play/cookie1.el (cookie): New custom group.
8987 (cookie-file): New option.
8988 (cookie-check-file): New function.
8989 (cookie): Make it interactive. Make start and end messages optional.
8990 Interactively, display the result. Default to cookie-file.
8991 (cookie-insert): Default to cookie-file.
8992 (cookie-snarf): Make start and end messages optional.
8993 Default to cookie-file. Use with-temp-buffer.
8994 (cookie-read): Rename from read-cookie.
8995 Make start and end messages optional. Default to cookie-file.
8996 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8997 Do not autoload it.
8998 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8999 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9000
90012013-06-21 Leo Liu <sdl.web@gmail.com>
9002
9003 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9004
90052013-06-21 Glenn Morris <rgm@gnu.org>
9006
9007 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9008
90092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9010 Daniel Hackney <dan@haxney.org>
9011
9012 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9013 Consolidate the single-file vs tarball code.
9014 (package-desc-suffix): New function.
9015 (package-desc-full-name): Don't bother inlining it.
9016 (package-load-descriptor): Return the new package-desc.
9017 (package-mark-obsolete): Remove unused arg `package'.
9018 (package-unpack): Make it work for single files as well.
9019 Make it update package-alist.
9020 (package--make-autoloads-and-stuff): Rename from
9021 package--make-autoloads-and-compile. Don't compile any more.
9022 (package--compile): New function.
9023 (package-generate-description-file): New function, extracted from
9024 package-unpack-single.
9025 (package-unpack-single): Remove.
9026 (package--with-work-buffer): Add indentation and debugging info.
9027 (package-download-single): Remove.
9028 (package-install-from-archive): Rename from package-download-tar, make
9029 it take a pkg-desc, and make it work for single files as well.
9030 (package-download-transaction): Simplify.
9031 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9032 external tar program.
9033 (package-install-from-buffer): Remove `pkg-desc' argument.
9034 Use package-tar-file-info for tar-mode buffers.
9035 (package-install-file): Simplify accordingly.
9036 (package-archive-base): Change to take a pkg-desc.
9037 * tar-mode.el (tar--check-descriptor): New function, extracted from
9038 tar-get-descriptor.
9039 (tar-get-descriptor): Use it.
9040 (tar-get-file-descriptor): New function.
9041 (tar--extract): New function, extracted from tar-extract.
9042 (tar--extract): Use it.
9043 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9044 case the summary uses non-ascii. Adjust to new calling convention of
9045 package-tar-file-info.
9046
90472013-06-21 Leo Liu <sdl.web@gmail.com>
9048
9049 * comint.el (comint-redirect-results-list-from-process):
9050 Fix random delay. (Bug#14681)
9051
90522013-06-21 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * profiler.el (profiler-format-number): Use log, not log10.
9055
90562013-06-20 Juanma Barranquero <lekktu@gmail.com>
9057
9058 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9059
90602013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9063 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9064 yet available.
9065 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9066 (AUTOGENEL): ... here.
9067 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9068 (cl--defsubst-expand): Use it.
9069
90702013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9071
9072 * subr.el (log10): Move here from C code, and declare as obsolete.
9073 All uses of (log10 X) replaced with (log X 10).
9074
90752013-06-20 Juanma Barranquero <lekktu@gmail.com>
9076
9077 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9078 Declare with `defvar-local'.
9079 (tabulated-list-use-header-line, tabulated-list-entries)
9080 (tabulated-list-padding, tabulated-list-printer)
9081 (tabulated-list-sort-key): Declare with `defvar-local'.
9082 (tabulated-list-init-header, tabulated-list-print-fake-header):
9083 Use `setq-local'.
9084
90852013-06-20 Michael Albinus <michael.albinus@gmx.de>
9086
9087 * arc-mode.el (archive-mode): Add `archive-write-file' to
9088 `write-contents-functions' also for remote files. (Bug#14652)
9089
90902013-06-20 Juanma Barranquero <lekktu@gmail.com>
9091
9092 * cus-edit.el (custom-commands): Fix typos.
9093 (custom-display): Fix tooltip text.
9094 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9095 Fix typos in docstrings.
9096 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9097 (custom-unlispify-menu-entry, custom-magic-value-create)
9098 (custom-add-see-also, custom-group-value-create): Use ?\s.
9099 (custom-guess-type, customize-apropos, editable-field)
9100 (custom-face-value-create): Use `string-match-p'.
9101 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9102
9103 * custom.el (custom-load-symbol): Use `string-match-p'.
9104
9105 * ansi-color.el: Convert to lexical binding.
9106 (ansi-colors): Fix URL.
9107 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9108 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9109 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9110
91112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9112
9113 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9114
9115 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9116
91172013-06-19 Tom Tromey <tromey@redhat.com>
9118
9119 * net/eww.el (eww-top-url): Remove.
9120 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9121 (eww-render): Set new variables. Don't set eww-top-url.
9122 (eww-handle-link): Handle "prev", "home", and "contents".
9123 Downcase the rel text.
9124 (eww-top-url): Choose best top URL.
9125
91262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9127
9128 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9129 relying in widget.el. Using widget.el leads to too many
9130 user interface inconsistencies.
9131 (eww-self-insert): Implement entering commands in text fields.
9132 (eww-process-text-input): New function to make text input field editing
9133 work.
9134 (eww-submit): Rewrite to use the new-style form methods.
9135 (eww-select-display): Display the correct selected item.
9136 (eww-change-select): Implement changing the select value.
9137 (eww-toggle-checkbox): Implement radio/checkboxes.
9138 (eww-update-field): Fix compilation error.
9139 (eww-tag-textarea): Implement <textarea>.
9140
9141 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9142 we don't shadow mode-specific bindings.
9143
9144 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9145 nothing to push.
9146
9147 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9148
91492013-06-19 Glenn Morris <rgm@gnu.org>
9150
9151 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9152
91532013-06-19 Michael Albinus <michael.albinus@gmx.de>
9154
9155 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9156 not needed.
9157
9158 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9159
91602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9161
9162 * net/browse-url.el (browse-url-browser-function):
9163 `eww-browse-url' has the right calling signature, `eww' does not.
9164
91652013-06-19 Glenn Morris <rgm@gnu.org>
9166
9167 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9168 Only eval autoloaded macros.
9169 (byte-compile-autoload): Only give the macro warning for macros.
9170
9171 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9172 (ps-underlined-faces): Declare.
9173
9174 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9175 (speedbar-add-supported-extension): Declare.
9176
9177 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9178 Don't include a date stamp in the header of the generated file;
9179 it leads to needless differences between output files.
9180
91812013-06-19 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * net/secrets.el (secrets-struct-secret-content-type):
9184 Replace check of introspection data by a test call of "CreateItem".
9185 Some servers do not offer introspection.
9186
91872013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * electric.el (electric-pair-mode): Improve interaction with
9190 electric-layout-mode.
9191 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9192 (electric-pair-syntax): Use text-mode-syntax-table in comments
9193 and strings.
9194 (electric-pair--insert): New function.
9195 (electric-pair-post-self-insert-function): Use it and
9196 electric--after-char-pos.
9197
91982013-06-19 Leo Liu <sdl.web@gmail.com>
9199
9200 * progmodes/octave.el (octave-help): Fix regexp.
9201
92022013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9203
9204 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9205 (shr-table-horizontal-line): Allow nil as a value, and change the
9206 default.
9207 (shr-insert-table-ruler): Respect the nil value.
9208
92092013-06-18 Tom Tromey <tromey@barimba>
9210
9211 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9212 New defvars.
9213 (eww-open-file): New defun.
9214 (eww-render): Initialize new variables.
9215 (eww-display-html): Handle "link" and "a".
9216 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9217 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9218 (eww-back-url): Rename from eww-previous-url.
9219 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9220 New defuns.
9221
92222013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9223
9224 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9225 Distinguish ternary operator tokens from slash symbol and slash
9226 char literal.
9227
92282013-06-18 Juanma Barranquero <lekktu@gmail.com>
9229
9230 Convert symbol prettification into minor mode and global minor mode.
9231
9232 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9233 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9234 (prettify-symbols--keywords): Rename from
9235 `prog-prettify-symbols-alist' and make a local defvar.
9236 (prettify-symbols--compose-symbol): Rename from
9237 `prog--prettify-font-lock-compose-symbol'.
9238 (prettify-symbols--make-keywords): Rename from
9239 `prog-prettify-font-lock-symbols-keywords' and simplify.
9240 (prog-prettify-install): Remove.
9241 (prettify-symbols-mode): New minor mode, based on
9242 `prog-prettify-install'.
9243 (turn-on-prettify-symbols-mode): New function.
9244 (global-prettify-symbols-mode): New globalized minor mode.
9245
9246 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9247 * progmodes/cfengine.el (cfengine3-mode):
9248 * progmodes/perl-mode.el (perl-mode): Don't call
9249 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9250
92512013-06-18 Juri Linkov <juri@jurta.org>
9252
9253 * files-x.el (modify-file-local-variable-message): New function.
9254 (modify-file-local-variable)
9255 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9256 and call `modify-file-local-variable-message' when it's non-nil.
9257 (add-file-local-variable, delete-file-local-variable)
9258 (add-file-local-variable-prop-line)
9259 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9260 and use it. (Bug#9820)
9261
92622013-06-18 Juri Linkov <juri@jurta.org>
9263
9264 * emulation/vi.el (vi-shell-op):
9265 * emulation/vip.el (vip-execute-com, ex-command):
9266 * emulation/viper-cmd.el (viper-exec-bang):
9267 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9268 the call of `shell-command-on-region'. (Bug#14637)
9269
9270 * simple.el (shell-command-on-region): Doc fix.
9271
92722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9275 (bug#14633).
9276
92772013-06-18 Glenn Morris <rgm@gnu.org>
9278
9279 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9280
9281 * newcomment.el (comment-search-forward, comment-search-backward):
9282 Doc fix. (Bug#14376)
9283
92842013-06-18 Juanma Barranquero <lekktu@gmail.com>
9285
9286 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9287 (buffer-face-mode-invoke): Doc fix.
9288
92892013-06-18 Matthias Meulien <orontee@gmail.com>
9290
9291 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9292 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9293
92942013-06-18 Glenn Morris <rgm@gnu.org>
9295
9296 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9297 Replace obsolete function generic-make-keywords with its expansion.
9298
9299 * progmodes/python.el (ffap-alist): Declare.
9300
9301 * textmodes/reftex.el (bibtex-mode-map): Declare.
9302
93032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9306 (package-unpack, package-unpack-single): Return the pkg-dir.
9307 (package-download-transaction): Use it to update package-alist.
9308
93092013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9310
9311 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9312 possible choice.
9313
93142013-06-17 Juri Linkov <juri@jurta.org>
9315
9316 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9317
93182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9319
9320 * emacs-lisp/package.el (package-load-descriptor):
9321 Remove `with-syntax-table' call, `read' doesn't need it.
9322 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9323
93242013-06-17 Juanma Barranquero <lekktu@gmail.com>
9325
9326 * startup.el (command-line): Expand package name returned by
9327 `package--description-file' (bug#14639).
9328
93292013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9330
9331 * emacs-lisp/package.el (package-load-descriptor): Do not call
9332 `emacs-lisp-mode', just use its syntax table.
9333
93342013-06-17 Juanma Barranquero <lekktu@gmail.com>
9335
9336 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9337 `font-lock-extra-managed-props' if any prettifying keyword is added.
9338 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9339 (prog-mode): Use `setq-local'.
9340
93412013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9342
9343 * international/characters.el (standard-case-table): Set syntax of ?»
9344 and ?« to punctuation.
9345
93462013-06-16 Juanma Barranquero <lekktu@gmail.com>
9347
9348 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9349 Save relevant match data before calling `syntax-ppss' (bug#14595).
9350
93512013-06-15 Juri Linkov <juri@jurta.org>
9352
9353 * files-x.el (modify-file-local-variable-prop-line): Add local
9354 variables to the end of the existing comment on the first line.
9355 Use `file-auto-mode-skip' to skip interpreter magic line,
9356 and also skip XML declaration.
9357
93582013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * startup.el (package--builtin-versions): New var.
9361 (package-subdirectory-regexp): Remove.
9362 (package--description-file): Hard code its value instead.
9363
9364 * emacs-lisp/package.el: Don't activate packages older than builtin.
9365 (package-obsolete-list): Rename from package-obsolete-alist, and make
9366 it into a simple list of package-desc.
9367 (package-strip-version): Remove.
9368 (package-built-in-p): Use package--builtin-versions.
9369 (package-mark-obsolete): Simplify.
9370 (package-process-define-package): Mark it obsolete if older than the
9371 builtin version.
9372 (package-handle-response): Use line-end-position.
9373 (package-read-archive-contents, package--download-one-archive):
9374 Simplify.
9375 (package--add-to-archive-contents): Skip if older than the builtin or
9376 installed version.
9377 (package-menu-describe-package): Fix last change.
9378 (package-list-unversioned): New var.
9379 (package-menu--generate): Use it.
9380
9381 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9382 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9383 (autoload-builtin-package-versions): New variable.
9384 (autoload-generate-file-autoloads): Use them.
9385 Remove the list of autoloaded functions/macros from the
9386 (autoload...) comments.
9387
9388 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9389
93902013-06-15 Eli Zaretskii <eliz@gnu.org>
9391
9392 * simple.el (line-move-partial): Don't jump to the next screen
9393 line as soon as it becomes visible. Instead, continue enlarging
9394 the vscroll until the portion of a tall screen line that's left on
9395 display is about the height of the frame's default font.
9396 (Bug#14567)
9397
93982013-06-15 Glenn Morris <rgm@gnu.org>
9399
9400 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9401 compilation-error-regexp-alist void, or local while let-bound.
9402
9403 * progmodes/make-mode.el (makefile-mode-syntax-table):
9404 Treat "=" as punctuation. (Bug#14614)
9405
94062013-06-15 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * help-fns.el (describe-variable):
9409 Add extra line for permanent-local variables.
9410
94112013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9412
9413 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9414 Add export, import, library. (Bug#9164)
9415 (library): Set indent function.
9416
94172013-06-14 Glenn Morris <rgm@gnu.org>
9418
9419 * term/xterm.el (xterm--query):
9420 Stop after first matching handler. (Bug#14615)
9421
94222013-06-14 Ivan Kanis <ivan@kanis.fr>
9423
9424 Add support for dired in saveplace.
9425 * dired.el (dired-initial-position-hook): New variable.
9426 (dired-initial-position): Call hook to place cursor position.
9427 * saveplace.el (save-place-to-alist): Add dired position.
9428 (save-place-dired-hook): New function.
9429
94302013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9431
9432 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9433 through a symbol rather than letrec.
9434
9435 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9436 (package-desc): Add `dir' field.
9437 (package-desc-full-name): New function.
9438 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9439 (package-maybe-load-descriptor): Remove.
9440 (package-load-all-descriptors): Just call package-load-descriptor.
9441 (package--disabled-p): New function.
9442 (package-desc-vers, package-desc-doc): Remove aliases.
9443 (package--dir): Remove function.
9444 (package-activate): Check if a package is disabled.
9445 (package-process-define-package): New function, extracted from
9446 define-package.
9447 (define-package): Turn into a place holder.
9448 (package-unpack-single, package-tar-file-info):
9449 Use package--description-file.
9450 (package-compute-transaction): Use package--disabled-p.
9451 (package-download-transaction): Don't call
9452 package-maybe-load-descriptor since they're all loaded anyway.
9453 (package-install): Change argument to be a pkg-desc.
9454 (package-delete): Use a single pkg-desc argument.
9455 (describe-package-1): Use package-desc-dir instead of package--dir.
9456 Use package-desc property instead of package-symbol.
9457 (package-install-button-action): Adjust accordingly.
9458 (package--push): Rewrite.
9459 (package-menu--print-info): Adjust accordingly. Change the ID format
9460 to be a pkg-desc.
9461 (package-menu-describe-package, package-menu-get-status)
9462 (package-menu--find-upgrades, package-menu-mark-upgrades)
9463 (package-menu-execute, package-menu--name-predicate):
9464 Adjust accordingly.
9465 * startup.el (package--description-file): New function.
9466 (command-line): Use it.
9467 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9468 Use package-desc-version.
9469
9470 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9471 (byte-compile-preprocess): Use it.
9472 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9473 can't quite recognize.
9474 (byte-compile-add-to-list): Remove.
9475 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9476 (cconv-closure-convert): Add assertion.
9477
9478 * emacs-lisp/map-ynp.el: Use lexical-binding.
9479 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9480 Factor out some repeated code.
9481
94822013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * subr.el (with-eval-after-load): New macro.
9485 (eval-after-load): Allow form to be a function.
9486 take advantage of lexical-binding.
9487 (do-after-load-evaluation): Use dolist and adjust to new format.
9488 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9489
94902013-06-13 Juri Linkov <juri@jurta.org>
9491
9492 * replace.el (perform-replace): Display "symbol " and other search
9493 modes from `isearch-message-prefix' in the *Help* buffer.
9494
9495 * isearch.el (isearch-query-replace): Add " symbol" and other
9496 possible search modes from `isearch-message-prefix' to the prompt.
9497 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9498 when reading a regexp to collect.
9499
95002013-06-13 Juri Linkov <juri@jurta.org>
9501
9502 * isearch.el (word-search-regexp): Match whitespace if the search
9503 string begins or ends in whitespace. The LAX arg is applied to
9504 both ends of the search string. Use `regexp-quote' and explicit
9505 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9506 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9507 boundaries are replaced with symbol boundaries, and characters
9508 between symbols match non-word non-symbol syntax. (Bug#14602)
9509
95102013-06-13 Juri Linkov <juri@jurta.org>
9511
9512 * isearch.el (isearch-del-char): Don't exceed the length of
9513 `isearch-string' by the prefix arg. (Bug#14563)
9514
95152013-06-13 Juri Linkov <juri@jurta.org>
9516
9517 * isearch.el (isearch-yank-word, isearch-yank-line)
9518 (isearch-char-by-name, isearch-quote-char)
9519 (isearch-printing-char, isearch-process-search-char):
9520 Add optional count prefix arg. (Bug#14563)
9521
9522 * international/isearch-x.el
9523 (isearch-process-search-multibyte-characters):
9524 Add optional count prefix arg.
9525
95262013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9529 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9530 lexical-binding.
9531
95322013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9533
9534 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9535
95362013-06-13 Glenn Morris <rgm@gnu.org>
9537
9538 * startup.el (tty-handle-args):
9539 Don't just discard "--" and anything after. (Bug#14608)
9540
9541 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9542
95432013-06-13 Michael Albinus <michael.albinus@gmx.de>
9544
9545 Implement changes in Secret Service API. Make it backward compatible.
9546 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9547 (secrets-create-item): Use it. Prefix properties with interface.
9548
95492013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9550
9551 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9552 (term-emulate-terminal): Respect term-suppress-hard-newline.
9553
95542013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9555
9556 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9557 Only remove a `thumb-file' overlay. (Bug#14548)
9558
95592013-06-12 Grégoire Jadi <daimrod@gmail.com>
9560
9561 * mail/reporter.el (reporter-submit-bug-report):
9562 Handle missing package-name. (Bug#14600)
9563
95642013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9565
9566 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9567 (reftex-citation-prompt, reftex-default-bibliography)
9568 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9569 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9570 (reftex-bib-sort-author, reftex-bib-sort-year)
9571 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9572 (reftex-extract-bib-entries-from-thebibliography)
9573 (reftex-get-bibkey-default, reftex-get-bib-names)
9574 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9575 (reftex-format-bib-entry, reftex-parse-bibitem)
9576 (reftex-format-bibitem, reftex-do-citation)
9577 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9578 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9579 (reftex-insert-bib-matches, reftex-format-citation)
9580 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9581 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9582 existing comments into docstrings.
9583
95842013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9585
9586 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9587
95882013-06-12 Andreas Schwab <schwab@suse.de>
9589
9590 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9591 for auto-save files.
9592
95932013-06-12 Glenn Morris <rgm@gnu.org>
9594
9595 * ido.el (ido-delete-ignored-files): Remove.
9596 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9597 Go back to calling ido-ignore-item-p directly.
9598
95992013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9600
9601 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9602
9603 * ido.el (ido-delete-ignored-files): New function,
9604 split from ido-make-file-list-1.
9605 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9606 (ido-make-file-list-1): Use ido-delete-ignored-files.
9607
96082013-06-12 Leo Liu <sdl.web@gmail.com>
9609
9610 * progmodes/octave.el (inferior-octave-startup)
9611 (inferior-octave-completion-table)
9612 (inferior-octave-track-window-width-change)
9613 (octave-eldoc-function-signatures, octave-help)
9614 (octave-find-definition): Use single quoted strings.
9615 (inferior-octave-startup-args): Change default value.
9616 (inferior-octave-startup): Do not hard code "-i" and
9617 "--no-line-editing".
9618 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9619 (inferior-octave-directory-tracker): Use it.
9620 (octave-goto-function-definition): Robustify.
9621 (octave-help): Support highlighting operators in 'See also'.
9622 (octave-find-definition): Find subfunctions only in Octave mode.
9623
96242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * help-fns.el (help-fns--compiler-macro): If the handler function is
9627 named, then put a link to it.
9628 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9629 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9630 (cl-typep): Use it.
9631 (cl-eval-when): Simplify debug spec.
9632 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9633 compiler-macro function instead of setting `compiler-macro-file'.
9634
96352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9636
9637 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9638 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9639
96402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9641 Daniel Hackney <dan@haxney.org>
9642
9643 First part of Daniel Hackney's patch to package.el.
9644 * emacs-lisp/package.el: Use defstruct.
9645 (package-desc): New, main struct.
9646 (package--bi-desc, package--ac-desc): New structs, used to describe the
9647 format in external files.
9648 (package-desc-vers): Replace with package-desc-version accessor.
9649 (package-desc-doc): Replace with package-desc-summary accessor.
9650 (package-activate-1): Remove `package' arg since the pkg-vec now
9651 includes the name.
9652 (define-package): Use package-desc-from-define.
9653 (package-unpack-single): Change file-name arg to be a symbol.
9654 (package--add-to-archive-contents): Use package-desc-create and new
9655 accessor functions to package--ac-desc.
9656 (package-buffer-info, package-tar-file-info): Return a package-desc.
9657 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9658 arg to be a package-desc.
9659 (package-install-file): Adjust accordingly. Use \' to match EOS.
9660 (package--from-builtin): New function.
9661 (describe-package-1, package-menu--generate): Use it.
9662 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9663 (package-generate-autoloads): Idem and return the name of the file.
9664 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9665 Change pkg-info arg to be a package-desc.
9666 Use package-make-ac-desc.
9667 (package-upload-file): Use \' to match EOS.
9668 * finder.el (finder-compile-keywords): Use package-make-builtin.
9669
96702013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * vc/vc.el (vc-deduce-fileset): Change error message.
9673 (vc-read-backend): New function.
9674 (vc-next-action): Use it.
9675
9676 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9677
9678 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9679 (prolog-font-lock-keywords): Use regexp-opt instead.
9680 Don't manually highlight strings.
9681 (prolog-mode-variables): Simplify comment-start-skip.
9682 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9683
9684 * emacs-lisp/generic.el (generic--normalise-comments)
9685 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9686 (generic-mode-set-comments): Use them.
9687 (generic-bracket-support): Use setq-local.
9688 (generic-make-keywords-list): Declare obsolete.
9689
96902013-06-11 Glenn Morris <rgm@gnu.org>
9691
9692 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9693 Prettify after setting font-lock-defaults. (Bug#14574)
9694
96952013-06-11 Juanma Barranquero <lekktu@gmail.com>
9696
9697 * replace.el (query-replace, occur-read-regexp-defaults-function)
9698 (replace-search):
9699 * subr.el (declare-function, number-sequence, local-set-key)
9700 (substitute-key-definition, locate-user-emacs-file)
9701 (with-silent-modifications, split-string, eval-after-load):
9702 Fix typos, remove unneeded backslashes and reflow some docstrings.
9703
97042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9707 default for Elisp files.
9708
97092013-06-11 Glenn Morris <rgm@gnu.org>
9710
9711 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9712 although define-derived-mode was doing this anyway. (Bug#14583)
9713
97142013-06-10 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9717 Fix make-variable-buffer-local call to refer to the correct variable.
9718
97192013-06-10 Aidan Gauland <aidalgol@amuri.net>
9720
9721 * eshell/em-term.el (eshell-visual-commands)
9722 (eshell-visual-subcommands, eshell-visual-options):
9723 Add summary line to docstrings. Add cross-references.
9724
97252013-06-10 Glenn Morris <rgm@gnu.org>
9726
9727 * epa.el (epa-read-file-name): New function. (Bug#14510)
9728 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9729
97302013-06-09 Aidan Gauland <aidalgol@amuri.net>
9731
9732 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9733 output redirection to be ignored with visual commands.
9734
97352013-06-09 Aidan Gauland <aidalgol@amuri.net>
9736
9737 * eshell/em-term.el (eshell-visual-command-p): New function.
9738 (eshell-term-initialize): Move long lambda to separate function
9739 eshell-visual-command-p.
9740 * eshell/em-dirs.el (eshell-dirs-initialise):
9741 * eshell/em-script.el (eshell-script-initialize):
9742 Add missing #' to lambda.
9743
97442013-06-08 Leo Liu <sdl.web@gmail.com>
9745
9746 * progmodes/octave.el (octave-add-log-current-defun): New function.
9747 (octave-mode): Set add-log-current-defun-function.
9748 (octave-goto-function-definition): Do not move point if not found.
9749 (octave-find-definition): Enhance to try subfunctions first.
9750
97512013-06-08 Glenn Morris <rgm@gnu.org>
9752
9753 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9754 (byte-compile-backward-char, byte-compile-backward-word):
9755 Improve previous change, to handle non-explicit nil.
9756
97572013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9760 (smie--opener/closer-at-point): New function.
9761 (smie--matching-block-data): Use it. Don't match from right after an
9762 opener or right before a closer. Obey smie-blink-matching-inners.
9763 Don't signal a mismatch for repeated inners like "switch..case..case".
9764
97652013-06-07 Leo Liu <sdl.web@gmail.com>
9766
9767 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9768 to t. (Bug#14303)
9769 (octave-function-header-regexp): Fix. (Bug#14570)
9770 (octave-help-mode-finish-hook, octave-help-mode-finish):
9771 Remove. Just use temp-buffer-show-hook.
9772
9773 * newcomment.el (comment-search-backward): Revert last change.
9774 (Bug#14434)
9775
9776 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9777
97782013-06-07 Eli Zaretskii <eliz@gnu.org>
9779
9780 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9781 through xargs, to avoid failure due to MS-Windows limitations on
9782 command-line length.
9783
97842013-06-06 Glenn Morris <rgm@gnu.org>
9785
9786 * font-lock.el (lisp-font-lock-keywords-2):
9787 Treat user-error like error.
9788
9789 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9790 (byte-compile-backward-char, byte-compile-backward-word):
9791 Handle explicit nil arguments. (Bug#14565)
9792
97932013-06-05 Alan Mackenzie <acm@muc.de>
9794
9795 * isearch.el (isearch-allow-prefix): New user option.
9796 (isearch-other-meta-char): Don't exit isearch when a prefix
9797 argument is typed whilst `isearch-allow-prefix' is non-nil.
9798 (Bug#9706)
9799
98002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * autorevert.el (auto-revert-notify-handler): Use memq.
9803 Hide assertion failure.
9804
9805 * skeleton.el: Use cl-lib.
9806 (skeleton-further-elements): Use defvar-local.
9807 (skeleton-insert): Use cl-progv.
9808
98092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9810
9811 * progmodes/prog-mode.el (prog-prettify-symbols)
9812 (prog-prettify-install): Update docstrings.
9813
98142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * simple.el: Move all the prog-mode code to prog-mode.el.
9817 * progmodes/prog-mode.el: New file.
9818 * loadup.el: Add prog-mode.el.
9819
98202013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9821
9822 * simple.el (prog-prettify-symbols): Add version.
9823 (prog-prettify-install): Add convenience function to prettify symbols.
9824
9825 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9826 (perl--augmented-font-lock-keywords-1)
9827 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9828 variables and use it.
9829
9830 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9831 (cfengine3-mode): Remove unneeded variable and use it.
9832
9833 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9834 (lisp--augmented-font-lock-keywords-1)
9835 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9836 Remove unneeded variables and use it.
9837
98382013-06-05 João Távora <joaotavora@gmail.com>
9839
9840 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9841 to point when opening the connection. (Bug#14380)
9842
98432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * subr.el (load-history-regexp, load-history-filename-element)
9846 (eval-after-load, after-load-functions, do-after-load-evaluation)
9847 (eval-next-after-load, display-delayed-warnings)
9848 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9849 definition of save-match-data.
9850 (overriding-local-map): Remove accidental obsolescence declaration.
9851
9852 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9853
98542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9855
9856 Generalize symbol prettify support to prog-mode and implement it
9857 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9858 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9859 (prog--prettify-font-lock-compose-symbol)
9860 (prog-prettify-font-lock-symbols-keywords): New variables and
9861 functions to support symbol prettification.
9862 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9863 (lisp--augmented-font-lock-keywords-1)
9864 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9865 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9866 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9867 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9868 Implement prettify of -> => :: strings.
9869 * progmodes/perl-mode.el (perl-prettify-symbols)
9870 (perl--font-lock-compose-symbol)
9871 (perl--font-lock-symbols-keywords): Move to prog-mode.
9872 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9873 (perl-font-lock-keywords-1)
9874 (perl-font-lock-keywords-2): Remove explicit prettify support.
9875 (perl--augmented-font-lock-keywords)
9876 (perl--augmented-font-lock-keywords-1)
9877 (perl--augmented-font-lock-keywords-2, perl-mode):
9878 Implement prettify support.
9879
98802013-06-05 Leo Liu <sdl.web@gmail.com>
9881
9882 Re-implement smie matching block highlight using
9883 show-paren-data-function. (Bug#14395)
9884 * emacs-lisp/smie.el (smie-matching-block-highlight)
9885 (smie--highlight-matching-block-overlay)
9886 (smie--highlight-matching-block-lastpos)
9887 (smie-highlight-matching-block)
9888 (smie-highlight-matching-block-mode): Remove.
9889 (smie--matching-block-data-cache): New variable.
9890 (smie--matching-block-data): New function.
9891 (smie-setup): Use smie--matching-block-data for
9892 show-paren-data-function.
9893
9894 * progmodes/octave.el (octave-mode-menu): Fix.
9895 (octave-find-definition): Skip garbage lines.
9896
98972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 Fix compilation error with simultaneous dynamic+lexical scoping.
9900 Add warning when a defvar appears after the first let-binding.
9901 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9902 (byte-compile-close-variables): Initialize it.
9903 (byte-compile--declare-var): New function.
9904 (byte-compile-file-form-defvar)
9905 (byte-compile-file-form-define-abbrev-table)
9906 (byte-compile-file-form-custom-declare-variable): Use it.
9907 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9908 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9909 (byte-compile-bind): Handle dynamic bindings that shadow
9910 lexical bindings.
9911 (byte-compile-unbind): Make arg non-optional.
9912 (byte-compile-let): Simplify.
9913 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9914 (cconv--analyse-function, cconv-analyse-form): Populate it.
9915 Protect byte-compile-bound-variables to limit the scope of defvars.
9916 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9917 Remove unneeded rule for `declare'.
9918
9919 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9920 so as to avoid depending on cl-adjoin at run-time.
9921 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9922
9923 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9924 (macroexp--warn-and-return): Use it.
9925
99262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * subr.el: Convert to lexical binding.
9929 (overriding-local-map): Make obsolete.
9930 (add-to-list): Doc fix. Add compiler macro.
9931 (read-key): Swap values of local maps.
9932
99332013-06-05 Leo Liu <sdl.web@gmail.com>
9934
9935 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9936
99372013-06-04 Leo Liu <sdl.web@gmail.com>
9938
9939 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9940 (compilation-auto-jump): Suppress the "Mark set" message to give
9941 way to exit message.
9942
99432013-06-04 Alan Mackenzie <acm@muc.de>
9944
9945 Remove faulty optimisation from indentation calculation.
9946 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9947 search limit based on 2000 characters back from indent-point.
9948
99492013-06-03 Tassilo Horn <tsdh@gnu.org>
9950
9951 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9952
99532013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * emacs-lisp/lisp.el: Use lexical-binding.
9956 (lisp--local-variables-1, lisp--local-variables): New functions.
9957 (lisp--local-variables-completion-table): New var.
9958 (lisp-completion-at-point): Use it complete let-bound vars.
9959
9960 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9961 eagerly (bug#14422).
9962
99632013-06-03 Michael Albinus <michael.albinus@gmx.de>
9964
9965 * autorevert.el (auto-revert-notify-enabled)
9966 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9967 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9968 (auto-revert-notify-handler): Handle also gfilenotify.
9969
9970 * subr.el (file-notify-handle-event): New defun. Replacing ...
9971 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9972 Remove.
9973
99742013-06-03 Juri Linkov <juri@jurta.org>
9975
9976 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9977 `M-s h .'. (Bug#14427)
9978
9979 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9980 command `hi-lock-face-symbol-at-point'.
9981 (hi-lock-face-symbol-at-point): New command.
9982 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9983 (hi-lock-menu): Add `highlight-symbol-at-point'.
9984 (hi-lock-mode): Doc fix.
9985
9986 * isearch.el (isearch-forward-symbol-at-point): New command.
9987 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9988 (isearch-highlight-regexp): Add a regexp which matches
9989 words/symbols for word/symbol mode.
9990
9991 * subr.el (find-tag-default-bounds): New function with the body
9992 mostly moved from `find-tag-default'.
9993 (find-tag-default): Move most code to `find-tag-default-bounds',
9994 call it and apply `buffer-substring-no-properties' afterwards.
9995
99962013-06-03 Tassilo Horn <tsdh@gnu.org>
9997
9998 * eshell/em-term.el (eshell-term-initialize):
9999 Use `cl-intersection' rather than `intersection'.
10000
100012013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10002
10003 * vc/log-view.el: Doc fix.
10004 (log-view-mode-map): Copy keymap from `special-mode-map'.
10005
100062013-06-02 Eric Ludlam <zappo@gnu.org>
10007
10008 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10009 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10010 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10011 (eieio-unbound, eieio-default-superclass)
10012 (eieio--define-field-accessors, method-static, method-before)
10013 (method-primary, method-after, method-num-lists)
10014 (method-generic-before, method-generic-primary)
10015 (method-generic-after, method-num-slots)
10016 (eieio-specialized-key-to-generic-key)
10017 (eieio--check-type, class-v, class-p)
10018 (eieio-class-name, define-obsolete-function-alias)
10019 (eieio-class-parents-fast, eieio-class-children-fast)
10020 (same-class-fast-p, class-constructor, generic-p)
10021 (generic-primary-only-p, generic-primary-only-one-p)
10022 (class-option-assoc, class-option, eieio-object-p)
10023 (class-abstract-p, class-method-invocation-order)
10024 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10025 (eieio-class-un-autoload, eieio-defclass)
10026 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10027 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10028 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10029 (eieio-defgeneric-reset-generic-form)
10030 (eieio-defgeneric-form-primary-only)
10031 (eieio-defgeneric-reset-generic-form-primary-only)
10032 (eieio-defgeneric-form-primary-only-one)
10033 (eieio-defgeneric-reset-generic-form-primary-only-one)
10034 (eieio-unbind-method-implementations)
10035 (eieio--defmethod, eieio--typep)
10036 (eieio-perform-slot-validation, eieio-validate-slot-value)
10037 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10038 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10039 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10040 (eieio-slot-name-index, eieio-class-slot-name-index)
10041 (eieio-set-defaults, eieio-initarg-to-attribute)
10042 (eieio-attribute-to-initarg, eieio-c3-candidate)
10043 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10044 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10045 (eieio-class-precedence-list, eieio-generic-call-methodname)
10046 (eieio-generic-call-arglst, eieio-generic-call-key)
10047 (eieio-generic-call-next-method-list)
10048 (eieio-pre-method-execution-functions, eieio-generic-call)
10049 (eieio-generic-call-primary-only, eieiomt-method-list)
10050 (eieiomt-optimizing-obarray, eieiomt-install)
10051 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10052 (eieio-generic-form, eieio-defmethod, make-obsolete)
10053 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10054 (defclass): Remove `eval-and-compile' from macro.
10055 (call-next-method, shared-initialize): Instead of using
10056 `scoped-class' variable, use new eieio--scoped-class, and
10057 eieio--with-scoped-class.
10058 (initialize-instance): Rename local variable 'scoped-class' to
10059 'this-class' to remove ambiguitity from old global.
10060
10061 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10062 eieio.el.
10063 (eieio--scoped-class-stack): New variable.
10064 (eieio--scoped-class): New fcn.
10065 (eieio--with-scoped-class): New scoping macro.
10066 (eieio-defclass): Use pushnew instead of add-to-list.
10067 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10068 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10069 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10070 `scoped-class' variable, use new eieio--scoped-class, and
10071 eieio--with-scoped-class.
10072
10073 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10074
100752013-06-02 Tassilo Horn <tsdh@gnu.org>
10076
10077 * eshell/esh-ext.el (eshell-external-command): Pass args to
10078 `eshell-find-interpreter'.
10079 (eshell-find-interpreter): Add new second parameter ARGS.
10080
10081 * eshell/em-script.el (eshell-script-initialize): Add second arg
10082 to the function added as MATCH to `eshell-interpreter-alist'.
10083
10084 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10085 the function added as MATCH to `eshell-interpreter-alist'.
10086
10087 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10088 (eshell-visual-options): New defcustom.
10089 (eshell-escape-control-x): Adapt docstring.
10090 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10091 `eshell-visual-options' in addition to `eshell-visual-commands'.
10092 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10093
100942013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10095
10096 * progmodes/python.el (python-indent-block-enders): Add break,
10097 continue and raise keywords.
10098
100992013-06-01 Glenn Morris <rgm@gnu.org>
10100
10101 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10102
10103 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10104 * progmodes/cc-cmds.el (delete-forward-p):
10105 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10106 * progmodes/cc-engine.el (buffer-syntactic-context):
10107 * progmodes/cc-fonts.el (face-property-instance):
10108 * progmodes/cc-mode.el (set-keymap-parents):
10109 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10110 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10111 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10112 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10113 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10114
10115 * progmodes/cc-vars.el (other): Emacs has this widget since
10116 at least 21.1, so don't (re)define it.
10117
10118 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10119 Replace the obsolete alias pcomplete-arg-quote-list.
10120
101212013-06-01 Leo Liu <sdl.web@gmail.com>
10122
10123 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10124 punctuation syntax.
10125 (inferior-octave-minimal-columns)
10126 (inferior-octave-last-column-width): New variables.
10127 (inferior-octave-track-window-width-change): New function.
10128 (inferior-octave-mode): Adjust column width so that Octave output,
10129 for example from 'ls', can fit into the window nicely.
10130
101312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10132
10133 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10134 Highlight expansions inside regexp literals.
10135
101362013-05-31 Glenn Morris <rgm@gnu.org>
10137
10138 * obsolete/sym-comp.el (symbol-complete):
10139 Replace obsolete completion-annotate-function.
10140
10141 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10142
101432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10144
10145 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10146 New function, checks if point is inside a literal that allows
10147 expression expansion.
10148 (ruby-syntax-propertize-expansion): Use it.
10149 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10150 around the body.
10151
101522013-05-30 Juri Linkov <juri@jurta.org>
10153
10154 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10155 to "\M-si".
10156 (isearch-invisible): New variable.
10157 (isearch-forward): Doc fix.
10158 (isearch-mode): Set `isearch-invisible'
10159 to the value of `search-invisible'.
10160 (isearch-toggle-case-fold): Doc fix.
10161 (isearch-toggle-invisible): New command.
10162 (isearch-query-replace): Let-bind `search-invisible'
10163 to the value of `isearch-invisible'.
10164 (isearch-search): Use `isearch-invisible' instead of
10165 `search-invisible'. Let-bind `search-invisible'
10166 to the value of `isearch-invisible'. (Bug#11378)
10167
101682013-05-30 Juri Linkov <juri@jurta.org>
10169
10170 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10171 call when `query-flag' is nil and `search-invisible' is non-nil.
10172 (Bug#11746)
10173
101742013-05-30 Glenn Morris <rgm@gnu.org>
10175
10176 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10177
10178 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10179 (cc-require): Suppress spurious "noruntime" warnings.
10180 (cc-require-when-compile): Use fboundp, for sake of compiler.
10181
10182 * progmodes/cc-mode.el: Move load of cc-vars before that of
10183 cc-langs (which in turn loads cc-vars), to quieten compiler.
10184
101852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * paren.el: Simplify the code.
10188 (show-paren-mode): Always start the timer.
10189 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10190 (show-paren--overlay, show-paren--overlay-1): Rename from
10191 show-paren-overlay and show-paren-overlay-1, and initialize to an
10192 overlay rather than to nil.
10193 (show-paren-function): Misc cleanup and simplifications.
10194
101952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * paren.el (show-paren-data-function): New hook.
10198 (show-paren--default): New function, extracted from show-paren-function.
10199 (show-paren-function): Use show-paren-data-function.
10200
102012013-05-30 Glenn Morris <rgm@gnu.org>
10202
10203 * ielm.el (ielm-map, ielm-complete-symbol):
10204 Use completion-at-point rather than obsolete functions.
10205 (inferior-emacs-lisp-mode): Doc fix.
10206 Set completion-at-point-functions, rather than
10207 comint-dynamic-complete-functions.
10208
10209 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10210 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10211 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10212
10213 * image.el (image-animated-p): Tweak definition.
10214
10215 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10216 (rlogin-process-connection-type): Tweak default. Add set-after.
10217 (rlogin-host): Doc fix.
10218 (rlogin): Tweak prompt.
10219 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10220
10221 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10222 * progmodes/tcl.el (inferior-tcl-mode-map):
10223 Use completion-at-point rather than obsolete alias.
10224
10225 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10226
10227 * minibuffer.el (read-file-name-completion-ignore-case):
10228 Move before completion--in-region, for eager macro expansion.
10229
102302013-05-29 Juri Linkov <juri@jurta.org>
10231
10232 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10233 for total count of matching lines. Add `global-matches' for total
10234 count of matches. Rename `matches' to `lines' for count of
10235 matching lines. Add `matches' for count of matches.
10236 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10237 to `prev-line' for line number of prev match endpt.
10238 Increment `matches' for every match. Print the number of
10239 matching lines in the header.
10240 (occur-context-lines): Rename `lines' to `curr-line'.
10241 Rename `prev-lines' to `prev-line'. (Bug#14017)
10242
102432013-05-29 Juri Linkov <juri@jurta.org>
10244
10245 * replace.el (perform-replace): Add `skip-read-only-count',
10246 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10247 Increment them for corresponding conditions and report the number
10248 of skipped occurrences in the final message. (Bug#11746)
10249 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10250 (replace-string, replace-regexp): Doc fix.
10251
102522013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10255
10256 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10257 prog-mode-map (bug#14504).
10258
102592013-05-29 Leo Liu <sdl.web@gmail.com>
10260
10261 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10262 (octave-help): Small simplification.
10263
10264 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10265 off the highlight first.
10266
102672013-05-29 Glenn Morris <rgm@gnu.org>
10268
10269 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10270 Handle idlwave-last-system-routine-info-cons-cell being nil.
10271
10272 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10273 (idlwave-write-paths): Simplify via with-temp-buffer.
10274
10275 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10276 * emulation/cua-rect.el: Also load cua-base at run time.
10277
10278 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10279 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10280 (cperl-imenu-on-info): Require imenu.
10281
102822013-05-28 Alan Mackenzie <acm@muc.de>
10283
10284 Handle "capitalised keywords" correctly.
10285 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10286
102872013-05-28 Aidan Gauland <aidalgol@amuri.net>
10288
10289 * eshell/em-unix.el: Add -r option to cp.
10290
102912013-05-28 Glenn Morris <rgm@gnu.org>
10292
10293 * vc/vc-arch.el (vc-exec-after): Declare.
10294 (vc-switches): Autoload.
10295 * vc/vc-bzr.el: No need to require vc when compiling.
10296 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10297 (vc-resynch-buffer, vc-dir-refresh): Declare.
10298 (vc-setup-buffer, vc-switches): Autoload.
10299 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10300 (vc-resynch-buffer): Declare.
10301 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10302 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10303 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10304 (grep-read-regexp, grep-read-files, grep-expand-template)
10305 (vc-dir-refresh): Declare.
10306 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10307 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10308 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10309 * vc/vc-mtn.el (vc-exec-after): Declare.
10310 (vc-switches): Autoload.
10311 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10312 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10313 (vc-file-tree-walk): Declare.
10314 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10315 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10316 (vc-tag-precondition, vc-rename-master): Autoload.
10317 * vc/vc-svn.el (vc-exec-after): Declare.
10318 (vc-switches, vc-setup-buffer): Autoload.
10319 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10320 Autoload.
10321 (vc-resynch-buffer): Declare.
10322
10323 * obsolete/fast-lock.el (byte-compile-warnings):
10324 Don't warn about obsolete features in this obsolete file.
10325
10326 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10327 Move definition before use.
10328
10329 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10330 (dun-unix-verbs): Remove dun-zippy.
10331 (dun-zippy): Remove function.
10332
10333 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10334
103352013-05-27 Juri Linkov <juri@jurta.org>
10336
10337 * replace.el (replace-search): New function with code moved out
10338 from `perform-replace'.
10339 (replace-highlight, replace-dehighlight): Move function definitions
10340 up closer to `replace-search'. (Bug#11746)
10341
103422013-05-27 Juri Linkov <juri@jurta.org>
10343
10344 * replace.el (perform-replace): Ignore invisible matches.
10345 In addition to checking `query-replace-skip-read-only', also
10346 filter out matches by calling `run-hook-with-args-until-failure'
10347 on `isearch-filter-predicates', and also check `search-invisible'
10348 for t or call `isearch-range-invisible'.
10349 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10350
103512013-05-27 Juri Linkov <juri@jurta.org>
10352
10353 * isearch.el (isearch-filter-predicates): Rename from
10354 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10355 (isearch-message-prefix): Display text from the property
10356 `isearch-message-prefix' of the currently active filters.
10357 (isearch-search): Don't compare `isearch-filter-predicate' with
10358 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10359 on `isearch-filter-predicates'. Also check `search-invisible' for t
10360 or call `isearch-range-invisible'.
10361 (isearch-filter-visible): Make obsolete.
10362 (isearch-lazy-highlight-search):
10363 Call `run-hook-with-args-until-failure' on
10364 `isearch-filter-predicates' and use `isearch-range-invisible'.
10365
10366 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10367 `isearch-filter-predicates' instead of `funcall'ing
10368 `isearch-filter-predicate'.
10369 (Info-mode): Set `Info-isearch-filter' to
10370 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10371
10372 * dired-aux.el (dired-isearch-filter-predicate-orig):
10373 Remove variable.
10374 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10375 (dired-isearch-filenames-end): Add and remove
10376 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10377 instead of changing the value of `isearch-filter-predicate'.
10378 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10379 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10380 Put property `isearch-message-prefix' to "filename " on
10381 `dired-isearch-filter-filenames'.
10382
10383 * wdired.el (wdired-change-to-wdired-mode):
10384 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10385 locally instead of changing `isearch-filter-predicate'.
10386 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10387
103882013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10389
10390 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10391 return the commit hash (Bug#14459). Also set the
10392 `vc-git-detached' property.
10393 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10394 (vc-git-mode-line-string): Use the same help-echo format whether
10395 in detached mode or not, because we know the actual revision now.
10396 When in detached mode, shorten the revision to 7 chars.
10397
103982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * emacs-lisp/easy-mmode.el (define-minor-mode):
10401 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10402 mode hook and provide a docstring.
10403
104042013-05-27 Alan Mackenzie <acm@muc.de>
10405
10406 Remove spurious syntax-table text properties inserted by C-y.
10407 * progmodes/cc-mode.el (c-after-change): Also clear hard
10408 syntax-table property with value nil.
10409
104102013-05-27 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10413 when reading the events; the buffer layout shall not be changed.
10414
104152013-05-27 Leo Liu <sdl.web@gmail.com>
10416
10417 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10418 New variable.
10419 (inferior-octave-directory-tracker): Automatically re-sync
10420 default-directory.
10421 (octave-help): Improve handling of 'See also'.
10422
104232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * doc-view.el: Minor naming convention tweaks.
10426 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10427
10428 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10429 even if there's no `display' property yet (bug#14435).
10430
104312013-05-25 Eli Zaretskii <eliz@gnu.org>
10432
10433 * subr.el (unmsys--file-name): Rename from reveal-filename.
10434
10435 * Makefile.in (custom-deps, finder-data, autoloads)
10436 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10437 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10438 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10439
104402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10443 error-completion on the first 2 args of condition-case (bug#14446).
10444 Don't burp at EOB.
10445
104462013-05-25 Leo Liu <sdl.web@gmail.com>
10447
10448 * comint.el (comint-previous-matching-input): Do not flood the
10449 *Messages* buffer with trivial messages.
10450
104512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * progmodes/flymake.el (flymake-nop): Don't return a string.
10454 (flymake-set-at): Fix typo.
10455
10456 * simple.el (read--expression): New function, extracted from
10457 eval-expression. Set completion-at-point-functions (bug#14465).
10458 (eval-expression, eval-minibuffer): Use it.
10459
104602013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10461
10462 * progmodes/flymake.el (flymake-save-buffer-in-file)
10463 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10464 (flymake-selected-frame, flymake-log, flymake-ins-after)
10465 (flymake-set-at, flymake-get-buildfile-from-cache)
10466 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10467 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10468 Refine the doc string.
10469 (flymake-get-file-name-mode-and-masks): Reformat.
10470 (flymake-get-real-file-name-function): Fix a minor bug.
10471
104722013-05-24 Juri Linkov <juri@jurta.org>
10473
10474 * progmodes/grep.el (grep-mode-font-lock-keywords):
10475 Support =linenumber= format used by git-grep for lines with
10476 function names. (Bug#13549)
10477
104782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10481 0 after a semi-colon; it works better for smie-auto-fill.
10482 (octave--indent-new-comment-line): New function.
10483 (octave-indent-new-comment-line): Use it (indirectly).
10484 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10485 modify comment-line-break-function.
10486
10487 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10488 (smie-setup): Use add-function to set it.
10489
104902013-05-24 Sam Steingold <sds@gnu.org>
10491
10492 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10493 argument (before the `interactive' argument).
10494
104952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10496
10497 * image-mode.el (image-mode-winprops): Add winprops to
10498 image-mode-winprops-alist before running
10499 image-mode-new-window-functions.
10500 * doc-view.el (doc-view-new-window-function): Don't delay
10501 doc-view-goto-page via timers (bug#14435).
10502
105032013-05-24 Tassilo Horn <tsdh@gnu.org>
10504
10505 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10506 (doc-view-desktop-save-buffer): New function.
10507 (doc-view-restore-desktop-buffer): New function.
10508 (desktop-buffer-mode-handlers):
10509 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10510 handler.
10511 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10512 `desktop-save-buffer' function.
10513
105142013-05-24 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10517 (tramp-gvfs-file-name-handler): Raise a user error when
10518 `tramp-gvfs-enabled' is nil.
10519 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10520 Do not raise a user error when loading package. (Bug#14447)
10521
10522 * net/xesam.el: Move to obsolete/.
10523
105242013-05-24 Glenn Morris <rgm@gnu.org>
10525
10526 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10527
10528 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10529
10530 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10531 (Info-find-node, Man-getpage-in-background): Declare.
10532
10533 * mail/unrmail.el (unrmail):
10534 Replace obsolete detect-coding-with-priority.
10535
10536 * net/socks.el (socks-split-string): Use this rather than split-string.
10537 (socks-nslookup-host): Update for above change.
10538 (dynamic-choice, s5-dynamic-choice-match)
10539 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10540 Comment out unused code.
10541
10542 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10543 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10544 (gud-tooltip-echo-area): Make obsolete.
10545 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10546
10547 * progmodes/js.el (js--optimize-arglist): Declare.
10548
10549 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10550
10551 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10552 (ediff-window-C): Declare.
10553
10554 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10555 Tweak requires to silence compiler.
10556
10557 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10558 (he-search-string, he-tried-table, he-expand-list)
10559 (he-init-string, he-string-member, he-substitute-string)
10560 (he-reset-string): Declare.
10561
10562 * obsolete/options.el (list-options): Use custom-variable-p,
10563 rather than obsolete alias.
10564
105652013-05-23 Sam Steingold <sds@gnu.org>
10566
10567 * simple.el (shell-command-on-region): Pass the `replace' argument
10568 down to `call-process-region' to comply with the doc as reported on
10569 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10570
105712013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * emacs-lisp/smie.el (smie-indent-forward-token)
10574 (smie-indent-backward-token): Handle string tokens (bug#14381).
10575
105762013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10577
10578 * ielm.el (ielm-menu): New menu.
10579 (inferior-emacs-lisp-mode): Set comment-start.
10580
105812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10582
10583 * textmodes/reftex.el (reftex-ref-style-toggle):
10584 Fix deactivate action.
10585
10586 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10587 Add cleveref macros.
10588
10589 * textmodes/reftex-parse.el
10590 (reftex-locate-bibliography-files): Accept options for
10591 bibliography commands.
10592 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10593 Add addbibresource. Basic Biblatex support.
10594
105952013-05-23 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * net/tramp-gvfs.el (top):
10598 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10599 when loading package. (Bug#14447)
10600
106012013-05-23 Glenn Morris <rgm@gnu.org>
10602
10603 * progmodes/js.el: No need to load comint when compiling.
10604 (ring-insert, comint-send-string, comint-send-input)
10605 (comint-last-input-end, ido-chop): Declare.
10606
10607 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10608 * vc/ediff-mult.el: Adjust requires.
10609 (ediff-directories-internal, ediff-directory-revisions-internal)
10610 (ediff-patch-file-internal): Declare.
10611 * vc/ediff-ptch.el: Adjust requires.
10612 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10613 (ediff-find-file): Autoload.
10614 * vc/ediff-util.el: No need to load ediff when compiling.
10615 (ediff-regions-internal): Declare.
10616 * vc/ediff-wind.el: Adjust requires.
10617 (ediff-compute-toolbar-width): Define when compiling.
10618 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10619 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10620 (dired-get-filename, dired-get-marked-files)
10621 (ediff-last-dir-patch, ediff-patch-default-directory)
10622 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10623 (ediff-patch-buffer-internal): Declare.
10624
10625 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10626 (ispell-process, ispell-buffer-local-words, lm-summary)
10627 (lm-section-start, lm-section-end): Declare.
10628 (checkdoc-ispell-init): Simplify.
10629
10630 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10631 (he-string-member, he-reset-string, he-substitute-string): Declare.
10632
10633 * eshell/em-ls.el: Adjust requires.
10634 (eshell-glob-regexp): Declare.
10635 * eshell/em-tramp.el: Adjust requires.
10636 (eshell-parse-command): Autoload.
10637 * eshell/em-xtra.el: Adjust requires.
10638 (eshell-parse-command): Autoload.
10639 * eshell/esh-ext.el: Adjust requires.
10640 (eshell-parse-command, eshell-close-handles): Autoload.
10641 * eshell/esh-io.el: Adjust requires.
10642 (eshell-output-filter): Autoload.
10643 * eshell/esh-util.el: No need to load tramp when compiling.
10644 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10645 Declare.
10646 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10647 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10648 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10649 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10650 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10651 * eshell/esh-opt.el, eshell/esh-proc.el:
10652 * eshell/esh-var.el: Adjust requires.
10653 * eshell/eshell.el: Do not require esh-util twice.
10654 (eshell-add-input-to-history): Declare.
10655 (eshell-command): Check history module is active before using it.
10656
10657 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10658
106592013-05-22 Leo Liu <sdl.web@gmail.com>
10660
10661 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10662
106632013-05-22 Michael Albinus <michael.albinus@gmx.de>
10664
10665 * autorevert.el (auto-revert-notify-add-watch)
10666 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10667 it indicates changes in file modification time.
10668
106692013-05-22 Glenn Morris <rgm@gnu.org>
10670
10671 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10672 Always delete the autoloaded function from the noruntime and
10673 unresolved functions lists.
10674
10675 * allout.el: No need to load epa, epg, overlay when compiling.
10676 (epg-context-set-passphrase-callback, epg-list-keys)
10677 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10678 (epg-key-user-id-list): Declare.
10679
10680 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10681 (viper-set-parsing-style-toggling-macro)
10682 (viper-set-emacs-state-searchstyle-macros):
10683 Use called-interactively-p on Emacs.
10684 (viper-looking-back): Make it an obsolete alias. Update callers.
10685 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10686 Use looking-back rather than viper-looking-back.
10687 (viper-tmp-insert-at-eob, viper-enlarge-region)
10688 (viper-read-string-with-history, viper-register-to-point)
10689 (viper-append-to-register, viper-change-state-to-vi)
10690 (viper-backward-char-carefully, viper-forward-char-carefully)
10691 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10692 (viper-change-state-to-emacs): Declare.
10693 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10694 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10695 * emulation/viper-mous.el: Do not load viper-cmd.
10696 (viper-backward-char-carefully, viper-forward-char-carefully)
10697 (viper-forward-word, viper-adjust-window): Declare.
10698
10699 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10700
10701 * progmodes/idlw-help.el (idlwave-help-fontify):
10702 Use called-interactively-p.
10703
10704 * term/w32console.el (w32-get-console-codepage)
10705 (w32-get-console-output-codepage): Declare.
10706
10707 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10708 Remove unnecessary declarations.
10709 (dframe-message): Doc fix.
10710
10711 * info.el (dframe-select-attached-frame, dframe-current-frame):
10712 Declare.
10713
10714 * speedbar.el (speedbar-message): Make it an obsolete alias.
10715 Update all callers.
10716 (speedbar-with-attached-buffer)
10717 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10718 (speedbar-with-writable): Use backquote.
10719 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10720 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10721 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10722 rather than speedbar- aliases.
10723 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10724 (speedbar-make-specialized-keymap, speedbar-insert-button)
10725 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10726 (speedbar-do-function-pointer): Declare.
10727 (rmail-speedbar-button, rmail-speedbar-find-file)
10728 (rmail-speedbar-move-message):
10729 Use dframe-with-attached-buffer rather than speedbar- alias.
10730 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10731 (dframe-message, speedbar-make-specialized-keymap)
10732 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10733 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10734 (speedbar-insert-button, dframe-select-attached-frame)
10735 (dframe-maybee-jump-to-attached-frame)
10736 (speedbar-change-initial-expansion-list)
10737 (speedbar-previously-used-expansion-list-name): Declare.
10738 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10739 Use dframe-message, dframe-with-attached-buffer rather than
10740 speedbar- aliases.
10741 (gud-sentinel): Silence compiler.
10742 * progmodes/vhdl-mode.el (speedbar-refresh)
10743 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10744 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10745 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10746 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10747 (speedbar-file-lists, speedbar-make-tag-line)
10748 (speedbar-line-directory, speedbar-goto-this-file)
10749 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10750 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10751 (speedbar-make-button, speedbar-reset-scanners)
10752 (speedbar-files-item-info, speedbar-line-text)
10753 (speedbar-find-file-in-frame, speedbar-set-timer)
10754 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10755 (speedbar-with-writable): Do not (re)define it.
10756 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10757 rather than speedbar- alias.
10758
107592013-05-21 Leo Liu <sdl.web@gmail.com>
10760
10761 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10762 menu items.
10763 (octave-mode): Tweak fill-nobreak-predicate.
10764 (inferior-octave-startup): Check process to avoid infinite loop.
10765 (inferior-octave): Pop to buffer first to show abornmal process
10766 exit information.
10767
107682013-05-21 Glenn Morris <rgm@gnu.org>
10769
10770 * printing.el (pr-menu-bar): Define when compiling.
10771
107722013-05-21 Leo Liu <sdl.web@gmail.com>
10773
10774 * progmodes/octave.el (octave-auto-fill): Remove.
10775 (octave-indent-new-comment-line): Improve.
10776 (octave-mode): Use auto fill mode through
10777 comment-line-break-function and fill-nobreak-predicate.
10778 (octave-goto-function-definition): Support DEFUN_DLD.
10779 (octave-beginning-of-defun): Small tweak.
10780 (octave-help): Show parent directory.
10781
107822013-05-21 Glenn Morris <rgm@gnu.org>
10783
10784 * files.el (dired-unmark):
10785 * progmodes/gud.el (gdb-input): Update declarations.
10786
10787 * calculator.el (electric, ehelp): No need to load when compiling.
10788 (Electric-command-loop, electric-describe-mode): Declare.
10789
10790 * doc-view.el (doc-view-current-converter-processes): Move before use.
10791
10792 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10793 Move MODE-set-explicitly definition before use.
10794
10795 * international/mule-diag.el (mule-diag):
10796 Don't use obsolete window-system-version.
10797
10798 * mail/feedmail.el (smtpmail): No need to load when compiling.
10799 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10800
10801 * mail/mail-utils.el (rfc822): No need to load when compiling.
10802 (rfc822-addresses): Autoload it.
10803 (mail-strip-quoted-names): Trivial simplification.
10804
10805 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10806 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10807
10808 * net/snmp-mode.el (tempo): Don't duplicate requires.
10809
10810 * progmodes/prolog.el (info): No need to load when compiling.
10811 (comint): Require before shell requires it.
10812 (Info-goto-node): Autoload it.
10813 (Info-follow-nearest-node): Declare.
10814 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10815
10816 * textmodes/artist.el (picture-mode-exit): Declare.
10817
10818 * textmodes/reftex-parse.el (reftex-parse-from-file):
10819 Trivial rewrite so the compiler can parse it better.
10820
108212013-05-20 Leo Liu <sdl.web@gmail.com>
10822
10823 * progmodes/octave.el (octave-help-mode-map)
10824 (octave-help-mode-finish-hook): New variables.
10825 (octave-help-mode, octave-help-mode-finish): New functions.
10826 (octave-help): Use octave-help-mode.
10827
108282013-05-20 Glenn Morris <rgm@gnu.org>
10829
10830 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10831
108322013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10833
10834 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10835 start at point, so that expansion starting right after opening
10836 slash in a regexp is recognized.
10837 (ruby-syntax-before-regexp-re): New defvar, extracted from
10838 ruby-syntax-propertize-function. Since the value of this regexp
10839 is looked up at runtime now, we should be able to turn
10840 `ruby-syntax-methods-before-regexp' into a defcustom later.
10841 (ruby-syntax-propertize-function): Split regexp matching into two
10842 parts, for opening and closing slashes. That allows us to skip
10843 over string interpolations and support multiline regexps.
10844 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10845 for them, which calls `ruby-syntax-propertize-expansion'.
10846 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10847 call to `ruby-syntax-propertize-function'.
10848 (ruby-syntax-propertize-expansion): Extracted from
10849 `ruby-syntax-propertize-expansions'. Handles one expansion.
10850 (ruby-syntax-propertize-percent-literal): Leave point right after
10851 the percent symbol, so that the expression expansion rule can
10852 propertize the contents.
10853 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10854 heredoc openers.
10855 (ruby-syntax-propertize-expansions): Remove.
10856
108572013-05-18 Juri Linkov <juri@jurta.org>
10858
10859 * man.el (Man-default-man-entry): Remove `-' from the end
10860 of the default value. (Bug#14400)
10861
108622013-05-18 Glenn Morris <rgm@gnu.org>
10863
10864 * comint.el (comint-password-prompt-regexp):
10865 Allow "password for XXX" where XXX contains colons (eg https://...).
10866
108672013-05-18 Leo Liu <sdl.web@gmail.com>
10868
10869 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10870 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10871 (octave-source-directories): Don't check process.
10872 (octave-source-directories, octave-find-definition): Doc fix.
10873
108742013-05-18 Glenn Morris <rgm@gnu.org>
10875
10876 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10877 Remove backspace/delete bindings. (Bug#14392)
10878
10879 * cus-dep.el (custom-make-dependencies): Sort the output.
10880 (custom-versions-load-alist): Convert comment to doc.
10881
108822013-05-17 Leo Liu <sdl.web@gmail.com>
10883
10884 * newcomment.el (comment-search-backward): Stricter in finding
10885 comment start. (Bug#14303)
10886
10887 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10888 (octave-comment-start-skip): Properly anchored.
10889
108902013-05-17 Leo Liu <sdl.web@gmail.com>
10891
10892 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10893 Clean up when turned off. (Bug#14395)
10894 (smie--highlight-matching-block-overlay): No longer buffer-local.
10895 (smie-highlight-matching-block): Adjust.
10896
108972013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10898
10899 Doc string fix for "nanoseconds" (Bug#14406).
10900 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10901 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10902
109032013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10904
10905 * calc/calc-units.el (math-extract-units): Preserve powers
10906 of units.
10907
109082013-05-17 Leo Liu <sdl.web@gmail.com>
10909
10910 * subr.el (delete-consecutive-dups): New function.
10911 * ido.el (ido-set-matches-1): Use it.
10912 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10913 * ido.el (ido-remove-consecutive-dups): Remove.
10914
109152013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10918 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10919 regexp-opt's `words'.
10920
109212013-05-16 Leo Liu <sdl.web@gmail.com>
10922
10923 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10924 (smie--highlight-matching-block-overlay)
10925 (smie--highlight-matching-block-lastpos)
10926 (smie--highlight-matching-block-timer): New variables.
10927 (smie-highlight-matching-block): New function.
10928 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10929 (smie-setup): Conditionally enable smie-blink-matching-open.
10930
109312013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10932
10933 Sync with upstream verilog-mode r840.
10934 * progmodes/verilog-mode.el (verilog-mode-version)
10935 (verilog-mode-release-date): Update.
10936 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10937 (verilog-sig-tieoff): Fix string error on
10938 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10939 (verilog-read-decls): Fix parameters confusing
10940 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10941
109422013-05-16 Eli Zaretskii <eliz@gnu.org>
10943
10944 * subr.el (reveal-filename): New function.
10945
10946 * loadup.el: Compute Emacs executable versions on MS-Windows,
10947 where executables have the .exe extension. Add a hard link
10948 emacs-XX.YY.ZZ.exe on MS-Windows.
10949
10950 * Makefile.in (XARGS_LIMIT): New variable.
10951 (custom-deps, finder-data, autoloads)
10952 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10953 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10954 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10955 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10956
109572013-05-16 Leo Liu <sdl.web@gmail.com>
10958
10959 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10960 (octave-mode-menu, octave-mode-map): Remove its uses.
10961
109622013-05-16 Reto Zimmermann <reto@gnu.org>
10963
10964 Sync with upstream vhdl mode v3.34.2.
10965 * progmodes/vhdl-mode.el: Use `push' throughout.
10966 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10967 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10968 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10969 (vhdl-actual-generic-name): New option to derive actual generic name.
10970 (vhdl-port-paste-signals): Replace formal by actual generics.
10971 (vhdl-beautify): New name for old group vhdl-align. Update users.
10972 (vhdl-beautify-options): New option.
10973 (vhdl-last-input-event): New compat alias. Use throughout.
10974 (vhdl-goto-line): Replace user level function `goto-line'.
10975 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10976 vhdl-fix-statement-buffer.
10977 (vhdl-create-mode-menu): Add some entries.
10978 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10979 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10980 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10981 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10982 to force statements on one line.
10983 (vhdl-remove-trailing-spaces-region):
10984 New, split from vhdl-remove-trailing-spaces.
10985 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10986 Respect vhdl-beautify-options.
10987 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10988 (vhdl-update-sensitivity-list): Not add with index if exists without.
10989 Not include array index with signal. Ignore keywords in comments.
10990 (vhdl-get-visible-signals): Regexp tweaks.
10991 (vhdl-template-component-inst): Handle empty library.
10992 (vhdl-template-type): Add template for 'enum' type.
10993 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10994 Use vhdl-replace-string.
10995 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10996 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10997 (vhdl-speedbar-initialize): Update for above name change.
10998 (vhdl-compose-wire-components): Fix in handling of constants.
10999 (vhdl-error-regexp-emacs-alist): New variable.
11000 (vhdl-error-regexp-add-emacs): New function;
11001 adds support for new compile.el (Emacs 22+)
11002 (vhdl-generate-makefile-1): Change target order for single lib. units.
11003 Allow use of absolute file names.
11004
110052013-05-16 Leo Liu <sdl.web@gmail.com>
11006
11007 * simple.el (prog-indent-sexp): Indent enclosing defun.
11008
110092013-05-15 Glenn Morris <rgm@gnu.org>
11010
11011 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11012 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11013 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11014 (whitespace-highlight): Move to whitespace group.
11015
11016 * comint.el (comint-source):
11017 * pcmpl-linux.el (pcmpl-linux):
11018 * shell.el (shell-faces):
11019 * eshell/esh-opt.el (eshell-opt):
11020 * international/ccl.el (ccl): Remove empty custom groups.
11021
11022 * completion.el (dynamic-completion-mode):
11023 * jit-lock.el (jit-lock-debug-mode):
11024 * minibuffer.el (completion-in-region-mode):
11025 * type-break.el (type-break-mode-line-message-mode)
11026 (type-break-query-mode):
11027 * emulation/tpu-edt.el (tpu-edt-mode):
11028 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11029 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11030 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11031
11032 * term/xterm.el (xterm): Change parent group to terminals.
11033
11034 * master.el (master): Remove empty custom group.
11035 (master-mode): Remove unused :group argument.
11036 * textmodes/refill.el (refill): Remove empty custom group.
11037 (refill-mode): Remove unused :group argument.
11038
11039 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11040
11041 * cus-dep.el: Provide a feature.
11042 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11043 Don't mistakenly ignore files whose basenames match a basename
11044 from preloaded-file-list (eg cedet/ede/simple.el).
11045 Add a fallback method for getting :group.
11046
110472013-05-15 Juri Linkov <juri@jurta.org>
11048
11049 * isearch.el (isearch-char-by-name): Rename from
11050 `isearch-insert-char-by-name'. Doc fix.
11051 (isearch-forward): Mention `isearch-char-by-name' in
11052 the docstring. (Bug#13348)
11053
11054 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11055 `exit-minibuffer' instead of
11056 `isearch-nonincremental-exit-minibuffer'.
11057 (isearch-edit-string): Remove mention of
11058 `isearch-nonincremental-exit-minibuffer' from docstring.
11059 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11060 (isearch-forward-exit-minibuffer)
11061 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11062
110632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * loadup.el: Just use unversioned DOC.
11066
11067 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11068 literals as extending to EOB.
11069 (nxml-last-fontify-end): Remove unused variable.
11070 (nxml-after-change1): Use with-silent-modifications.
11071 (nxml-extend-after-change-region): Simplify.
11072 (nxml-extend-after-change-region1): Remove function.
11073 (nxml-after-change1): Don't adjust for dependent regions.
11074 (nxml-fontify-matcher): Simplify.
11075 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11076 (xmltok-add-dependent): Remove function.
11077 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11078 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11079 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11080 unclosed <[[, <?, comment, and other literals as extending to EOB.
11081 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11082 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11083 Remove functions.
11084 (rng-do-some-validation-1): Don't mark dependent regions.
11085 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11086 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11087 (nxml-clear-dependent-regions): Remove functions.
11088 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11089 (nxml-ensure-scan-up-to-date):
11090 Don't clear&mark dependent regions.
11091
110922013-05-15 Leo Liu <sdl.web@gmail.com>
11093
11094 * progmodes/octave.el (octave-goto-function-definition):
11095 Improve and fix callers.
11096
110972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11100 the setter (bug#14387).
11101
11102 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11103 surrounding group (bug#14402).
11104
111052013-05-14 Juri Linkov <juri@jurta.org>
11106
11107 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11108 (Bug#14390)
11109
111102013-05-14 Glenn Morris <rgm@gnu.org>
11111
11112 * progmodes/f90.el (f90-imenu-generic-expression):
11113 Fix typo in 2013-05-08 change. (Bug#14402)
11114
111152013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11116
11117 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11118 Remove signals for which replies are never received.
11119
111202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11121
11122 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11123 (gdb-handler-alist, gdb-handler-number): Remove variables.
11124 (gdb-handler-list): New variable.
11125 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11126 (gdb-pending-handler-p, gdb-handle-reply)
11127 (gdb-remove-all-pending-triggers): New functions.
11128 (gdb-discard-unordered-replies): New defcustom.
11129 (gdb-handler): New defstruct.
11130 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11131 instead of gdb-pending-triggers. Update docstring.
11132 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11133 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11134 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11135 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11136 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11137 (gdb-frame-handler): Pending triggers are now automatically managed.
11138 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11139 Remove argument.
11140 (gdb-input): Automatically handles pending triggers. Update docstring.
11141 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11142 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11143 Update comments.
11144 (gdb-done-or-error): Now use gdb-handle-reply.
11145
111462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11147
11148 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11149 gdb-debug-log.
11150
111512013-05-14 Glenn Morris <rgm@gnu.org>
11152
11153 * subr.el (user-emacs-directory-warning): New option.
11154 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11155
111562013-05-14 Leo Liu <sdl.web@gmail.com>
11157
11158 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11159 during redisplay.
11160 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11161 (octave-font-lock-texinfo-comment): Fix invalid search bound
11162 error: wrong side of point.
11163
111642013-05-14 Glenn Morris <rgm@gnu.org>
11165
11166 * progmodes/flymake.el (flymake-xml-program): New option.
11167 (flymake-xml-init): Use it.
11168
11169 * term/xterm.el: Provide a feature.
11170
11171 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11172
111732013-05-13 Glenn Morris <rgm@gnu.org>
11174
11175 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11176 Add compat aliases as a hack workaround. (Bug#14384)
11177
111782013-05-13 Leo Liu <sdl.web@gmail.com>
11179
11180 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11181 ###, and %!.
11182 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11183 C-M-q.
11184 (octave-comment-start-skip): Include %!.
11185 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11186
111872013-05-12 Leo Liu <sdl.web@gmail.com>
11188
11189 * progmodes/octave.el (inferior-octave-startup): Store the value
11190 of __octave_srcdir__ for octave-source-directories.
11191 (inferior-octave-check-process): New function refactored out of
11192 inferior-octave-send-list-and-digest.
11193 (octave-source-directories)
11194 (octave-find-definition-filename-function): New variables.
11195 (octave-source-directories)
11196 (octave-find-definition-default-filename): New functions.
11197 (octave-find-definition): Improve to find functions implemented in C++.
11198
111992013-05-12 Glenn Morris <rgm@gnu.org>
11200
11201 * calendar/diary-lib.el (diary-outlook-format-1):
11202 Don't include dayname in the output. (Bug#14349)
11203
112042013-05-11 Glenn Morris <rgm@gnu.org>
11205
11206 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11207
11208 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11209 Treat cc-provide like provide.
11210
112112013-05-11 Kevin Ryde <user42@zip.com.au>
11212
11213 * cus-dep.el (custom-make-dependencies):
11214 Use generated-autoload-load-name for the sake of files such
11215 such cedet/semantic/bovine/c.el, where the base file name
11216 is not in load-path. (Bug#5277)
11217
112182013-05-11 Glenn Morris <rgm@gnu.org>
11219
11220 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11221 Provide features.
11222
112232013-05-11 Leo Liu <sdl.web@gmail.com>
11224
11225 * progmodes/octave.el (octave-indent-comment): Improve.
11226 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11227 (octave-eldoc-function-signatures, octave-eldoc-function):
11228 New functions.
11229 (octave-mode, inferior-octave-mode): Add eldoc support.
11230
112312013-05-11 Richard Stallman <rms@gnu.org>
11232
11233 * epa.el (epa-decrypt-file): Take output file name as argument
11234 and read it using `interactive'.
11235
112362013-05-11 Leo Liu <sdl.web@gmail.com>
11237
11238 * progmodes/octave.el (octave-beginning-of-line)
11239 (octave-end-of-line): Check before using up-list because it jumps
11240 out of more syntactic contructs since moving to smie.
11241 (octave-indent-comment): New function.
11242 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11243 (octave-begin-keywords, octave-end-keywords)
11244 (octave-reserved-words, octave-smie-bnf-table)
11245 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11246
112472013-05-11 Glenn Morris <rgm@gnu.org>
11248
11249 * faces.el (internal-face-x-get-resource):
11250 * frame.el (ns-display-monitor-attributes-list):
11251 * calc/calc-aent.el (math-to-radians-2):
11252 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11253 Fix declarations.
11254
11255 * calc/calc-menu.el: Make it loadable in isolation.
11256
11257 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11258 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11259 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11260 (eudc-bbdb-query-internal): Require 'bbdb.
11261
11262 * lpr.el (lpr-headers-switches):
11263 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11264
11265 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11266
11267 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11268
11269 * term.el (term-set-escape-char): Make it idempotent.
11270
112712013-05-10 Leo Liu <sdl.web@gmail.com>
11272
11273 * progmodes/octave.el (inferior-octave-completion-table):
11274 No longer a function and all uses changed. Use cache to speed up
11275 completion due to bug#11906.
11276 (octave-beginning-of-defun): Re-write to be more general.
11277
112782013-05-10 Glenn Morris <rgm@gnu.org>
11279
11280 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11281
112822013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * comint.el (comint-redirect-send-command-to-process): Use :around
11285 rather than :override for comint-redirect-filter.
11286 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11287 Call it instead of comint-redirect-original-filter-function (which
11288 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11289
112902013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11291
11292 * frame.el (display-monitor-attributes-list): Add NS case.
11293 (ns-display-monitor-attributes-list): Declare.
11294
112952013-05-09 Ulrich Mueller <ulm@gentoo.org>
11296
11297 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11298
112992013-05-09 Glenn Morris <rgm@gnu.org>
11300
11301 * international/fontset.el (vertical-centering-font-regexp):
11302 Set standard-value.
11303
11304 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11305
11306 * bookmark.el (bookmark-search-delay):
11307 * cus-start.el (vertical-centering-font-regexp):
11308 * ps-mule.el (ps-mule-font-info-database-default):
11309 * ps-print.el (ps-default-fg, ps-default-bg):
11310 * type-break.el (type-break-good-break-interval):
11311 * whitespace.el (whitespace-indentation-regexp)
11312 (whitespace-space-after-tab-regexp):
11313 * emacs-lisp/testcover.el (testcover-1value-functions)
11314 (testcover-noreturn-functions, testcover-progn-functions)
11315 (testcover-prog1-functions):
11316 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11317 * eshell/em-glob.el (eshell-glob-translate-alist):
11318 * play/tetris.el (tetris-tty-colors):
11319 * progmodes/cpp.el (cpp-face-default-list):
11320 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11321 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11322 (idlwave-help-browser-generic-args):
11323 * progmodes/make-mode.el (makefile-special-targets-list):
11324 * progmodes/python.el (python-shell-virtualenv-path):
11325 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11326 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11327 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11328 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11329 * textmodes/reftex-vars.el (reftex-format-label-function):
11330 * textmodes/remember.el (remember-diary-file): Fix custom types.
11331
11332 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11333 Add :version.
11334
113352013-05-09 Leo Liu <sdl.web@gmail.com>
11336
11337 * progmodes/octave.el (inferior-octave-completion-at-point):
11338 Restore file completion. (Bug#14300)
11339 (inferior-octave-startup): Fix incorrect highlighting for the
11340 first prompt.
11341
113422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * progmodes/ruby-mode.el: First cut at SMIE support.
11345 (ruby-use-smie): New var.
11346 (ruby-smie-grammar): New constant.
11347 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11348 (ruby-smie--forward-token, ruby-smie--backward-token)
11349 (ruby-smie-rules): New functions.
11350 (ruby-mode-variables): Setup SMIE if applicable.
11351
113522013-05-08 Eli Zaretskii <eliz@gnu.org>
11353
11354 * simple.el (line-move-visual): Signal beginning/end of buffer
11355 only if vertical-motion moved less than it was requested. Avoids
11356 silly incorrect error messages when there are display strings with
11357 multiple newlines at EOL.
11358
113592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11362 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11363 (prolog-char-quote-workaround):
11364 * progmodes/cperl-mode.el (cperl-under-as-char):
11365 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11366 Mark as obsolete.
11367 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11368 their declaration.
11369 (vhdl-mode-syntax-table-init): Remove.
11370
11371 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11372 last change.
11373
11374 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11375 syntax for "_".
11376 (ld-script-font-lock-keywords):
11377 Change regexps to use things like \_< and \_>.
11378
11379 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11380 Change all regexps to use things like \_< and \_>.
11381
11382 * progmodes/autoconf.el (autoconf-definition-regexp)
11383 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11384 Handle a _ with symbol syntax.
11385 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11386
11387 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11388 Consolidate declaration.
11389 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11390 the declaration.
11391 (ada-create-syntax-table): Remove.
11392 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11393 already has the right syntax nowadays.
11394 (ada-goto-next-word): Don't change the syntax of "_".
11395
11396 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11397 with-wrapper-hook.
11398
113992013-05-08 Sam Steingold <sds@gnu.org>
11400
11401 * thingatpt.el (thing-at-point): Accept optional second argument
11402 NO-PROPERTIES to strip the text properties from the return value.
11403 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11404 to `thing-at-point' instead of stripping the properties ourselves.
11405 Also, when `thing-at-point' fails to find a url, prepend "http://"
11406 to the filename at point on the assumption that the user is
11407 pointing at something like gnu.org/gnu.
11408
114092013-05-08 Juanma Barranquero <lekktu@gmail.com>
11410
11411 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11412 * faces.el (crm-separator):
11413 Silence byte-compiler.
11414
11415 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11416 (tool-bar-map): Remove unneeded defvars.
11417
114182013-05-08 Leo Liu <sdl.web@gmail.com>
11419
11420 Re-work a fix for bug#10994 based on Le Wang's patch.
11421 * ido.el (ido-remove-consecutive-dups): New helper.
11422 (ido-completing-read): Use it.
11423 (ido-chop): Revert fix for bug#10994.
11424
114252013-05-08 Adam Spiers <emacs@adamspiers.org>
11426
11427 * cus-edit.el (custom-save-variables):
11428 Pretty-print long values. (Bug#14187)
11429
114302013-05-08 Glenn Morris <rgm@gnu.org>
11431
11432 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11433 (m4-mode-syntax-table): Init in the defvar.
11434 (m4-mode-abbrev-table): Let define-derived-mode define it.
11435
114362013-05-08 Tom Tromey <tromey@redhat.com>
11437
11438 * progmodes/m4-mode.el (m4-mode-syntax-table):
11439 Do not treat "_" as word constituent. (Bug#14167)
11440
114412013-05-07 Glenn Morris <rgm@gnu.org>
11442
11443 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11444 Remove explicit eshell-isearch-cancel-map.
11445
11446 * progmodes/f90.el (f90-smart-end-names): New option.
11447 (f90-smart-end): Doc fix.
11448 (f90-end-block-optional-name): New constant.
11449 (f90-block-match): Respect f90-smart-end-names.
11450
114512013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11454 about implicit semi-colons (bug#14218).
11455
114562013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11457
11458 * frame.el (display-monitor-attributes-list)
11459 (frame-monitor-attributes): New functions.
11460
114612013-05-06 Leo Liu <sdl.web@gmail.com>
11462
11463 * progmodes/octave.el (octave-syntax-propertize-function): Change
11464 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11465 (octave-font-lock-keywords): Use octave-operator-regexp.
11466 (octave-completion-at-point): Rename from
11467 octave-completion-at-point-function.
11468 (inferior-octave-directory-tracker): Robustify.
11469 (octave-text-functions): Remove and fix its uses. No such things
11470 any more.
11471
114722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * emacs-lisp/trace.el (trace--display-buffer): New function.
11475 (trace-make-advice): Use it.
11476
114772013-05-06 Juri Linkov <juri@jurta.org>
11478
11479 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11480 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11481 Doc fix.
11482 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11483 in the help string. (Bug#12985)
11484
114852013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11486
11487 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11488
114892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * progmodes/perl-mode.el: Add support for here documents.
11492 (perl-syntax-propertize-function): Match here-doc markers.
11493 (perl-syntax-propertize-special-constructs): Find their end.
11494 (perl-imenu-generic-expression): Use [:alnum:].
11495
11496 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11497 (advice--add-function): Refresh the advice if already present
11498 (bug#14317).
11499
115002013-05-06 Ivan Andrus <darthandrus@gmail.com>
11501
11502 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11503
115042013-05-06 Glenn Morris <rgm@gnu.org>
11505
11506 * w32-fns.el (w32-charset-info-alist): Declare.
11507
11508 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11509 of its defcustom properties.
11510 (eshell-cmpl-initialize): No need to load pcomplete.
11511
11512 * generic-x.el: No need to require comint when compiling.
11513
11514 * net/eudc-export.el: Make it loadable without bbdb.
11515 (top-level): Use require rather than load-library.
11516 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11517 (eudc-batch-export-records-to-bbdb)
11518 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11519 Require bbdb.
11520
115212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11524 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11525 some tweaks, instead.
11526
115272013-05-05 Leo Liu <sdl.web@gmail.com>
11528
11529 * progmodes/octave.el (octave-font-lock-keywords)
11530 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11531 (inferior-octave-send-list-and-digest): Improve error message.
11532 (octave-mode, inferior-octave-mode): Use setq-local.
11533 (octave-help): Set info-lookup-mode.
11534
115352013-05-05 Richard Stallman <rms@gnu.org>
11536
11537 * vc/compare-w.el (compare-windows-whitespace):
11538 Treat no-break space as whitespace.
11539
11540 * mail/rmailsum.el (rmail-summary-rmail-update):
11541 Detect empty summary and don't change selected message.
11542 (rmail-summary-goto-msg): Likewise.
11543
11544 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11545 Doc fixes, rename args.
11546
115472013-05-05 Alan Mackenzie <acm@muc.de>
11548
11549 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11550
115512013-05-05 Juri Linkov <juri@jurta.org>
11552
11553 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11554 to not add the length of the summary segment to the return value.
11555 (Bug#14125)
11556
115572013-05-05 Leo Liu <sdl.web@gmail.com>
11558
11559 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11560 (inferior-octave-output-filter): Remove.
11561 (octave-send-region, inferior-octave-startup): Fix callers.
11562 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11563 (octave-binary-file-extensions): New user variable.
11564 (octave-find-definition): Confirm if opening binary files.
11565 (octave-help-file): Use octave-find-definition to get the binary
11566 confirmation.
11567 (octave-help): Adjust for octave-help-file change.
11568
115692013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11572 Merge the two entries that handle function definitions.
11573 (pascal--syntax-propertize): New const.
11574 (pascal-mode): Use it. Use setq-local.
11575
115762013-05-04 Glenn Morris <rgm@gnu.org>
11577
11578 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11579 (diary-from-outlook): Respect diary-from-outlook-function.
11580
115812013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11584 Move the declaration from C.
11585 (read-minibuffer, eval-minibuffer): Move from C.
11586 (completion-setup-function): Avoid minibuffer-completion-contents.
11587
115882013-05-03 Leo Liu <sdl.web@gmail.com>
11589
11590 * progmodes/octave.el (octave-font-lock-keywords): Do not
11591 dehighlight 'end' in comments or strings.
11592 (octave-completing-read, octave-goto-function-definition):
11593 New helpers.
11594 (octave-help-buffer): New user variable.
11595 (octave-help-file, octave-help-function): New button types.
11596 (octave-help): New command and bind it to C-h ;.
11597 (octave-find-definition): New command and bind it to M-.
11598 (user-error): Alias to error if not defined.
11599
116002013-05-02 Leo Liu <sdl.web@gmail.com>
11601
11602 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11603 for \. (bug#14332)
11604 (octave-font-lock-keywords): Include [ and {.
11605
116062013-05-02 Leo Liu <sdl.web@gmail.com>
11607
11608 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11609 (inferior-octave): Remove calling comint-mode and return the buffer.
11610 (inferior-octave-startup): Cosmetic changes.
11611
116122013-05-02 Leo Liu <sdl.web@gmail.com>
11613
11614 * progmodes/octave.el (octave-syntax-propertize-function):
11615 Include the case when ' is at line beginning. (Bug#14336)
11616
116172013-05-02 Glenn Morris <rgm@gnu.org>
11618
11619 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11620 * desktop.el (vc-dir-mode): Just autoload it here.
11621
116222013-05-02 Alan Mackenzie <acm@muc.de>
11623
11624 Eliminate variable c-standard-font-lock-fontify-region-function.
11625 * progmodes/cc-mode.el
11626 (c-standard-font-lock-fontify-region-function): Remove.
11627 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11628
116292013-05-01 Leo Liu <sdl.web@gmail.com>
11630
11631 * progmodes/octave.el: Compatible with older emacs-24 releases.
11632 (inferior-octave-has-built-in-variables): Remove. Built-in
11633 variables were removed from Octave in 2007.
11634 (inferior-octave-startup): Fix uses.
11635 (comint-line-beginning-position): Remove compatibility code for
11636 emacs 21.
11637
116382013-05-01 Juri Linkov <juri@jurta.org>
11639
11640 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11641
116422013-05-01 Juri Linkov <juri@jurta.org>
11643
11644 * comint.el (comint-previous-matching-input): Don't print message
11645 "History item: %d" when `isearch-mode' is active.
11646 (comint-history-isearch-message): Print message "History item: %d"
11647 when `comint-input-ring-index' is not empty and this function is
11648 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11649
116502013-05-01 Leo Liu <sdl.web@gmail.com>
11651
11652 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11653 definitions. Use completion-at-point to insert keywords.
11654 (octave-abbrev-start): Remove.
11655 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11656
116572013-04-30 Leo Liu <sdl.web@gmail.com>
11658
11659 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11660 change.
11661
116622013-04-30 Alan Mackenzie <acm@muc.de>
11663
11664 Handle arbitrarily long C++ member initialisation lists.
11665 * progmodes/cc-engine.el (c-back-over-member-initializers):
11666 new function.
11667 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11668 (most) member init lists.
11669
116702013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11671
11672 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11673 variable.
11674
116752013-04-30 Leo Liu <sdl.web@gmail.com>
11676
11677 * progmodes/octave.el (octave-variables): Remove. No builtin
11678 variables any more. All converted to functions.
11679 (octave-font-lock-keywords, octave-completion-at-point-function):
11680 Fix uses.
11681 (octave-font-lock-texinfo-comment): New user variable.
11682 (octave-texinfo-font-lock-keywords): New variable for texinfo
11683 comment block.
11684 (octave-function-comment-block): New face.
11685 (octave-font-lock-texinfo-comment): New function.
11686 (octave-mode): Font lock texinfo comment block.
11687
116882013-04-29 Leo Liu <sdl.web@gmail.com>
11689
11690 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11691 indexing expression.
11692 (octave-continuation-string): Do not use \.
11693 (inferior-octave-complete-impossible): Remove.
11694 (inferior-octave-completion-table)
11695 (inferior-octave-completion-at-point): Remove its uses.
11696 (inferior-octave-startup): completion_matches was introduced to
11697 Octave in 1996 so safe to assume it.
11698 (octave-function-file-comment): Improve to follow how Octave does it.
11699 (octave-update-function-file-comment): Tweak.
11700
117012013-04-29 Leo Liu <sdl.web@gmail.com>
11702
11703 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11704 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11705 (octave-function-file-comment): Fix typo.
11706 (octave-sync-function-file-names): Use read-char-choice.
11707
117082013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11709
11710 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11711 to t for the less important warnings.
11712
117132013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11714
11715 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11716
117172013-04-27 Glenn Morris <rgm@gnu.org>
11718
11719 * vc/log-view.el (log-view-current-entry):
11720 Treat "---" separator lines as part of the following rev. (Bug#14169)
11721
117222013-04-27 Juri Linkov <juri@jurta.org>
11723
11724 * subr.el (read-number): Doc fix about using it by interactive
11725 code letter `n'. (Bug#14254)
11726
117272013-04-27 Juri Linkov <juri@jurta.org>
11728
11729 * desktop.el (desktop-auto-save-timeout): New option.
11730 (desktop-file-checksum): New variable.
11731 (desktop-save): Add optional arg `auto-save' and don't auto-save
11732 if nothing changed.
11733 (desktop-auto-save-timer): New variable.
11734 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11735 (after-init-hook): Call `desktop-auto-save-set-timer'.
11736 Suggested by Reuben Thomas <rrt@sc3d.org> in
11737 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11738
117392013-04-27 Leo Liu <sdl.web@gmail.com>
11740
11741 * progmodes/octave.el (octave-function-file-p)
11742 (octave-skip-comment-forward, octave-function-file-comment)
11743 (octave-update-function-file-comment): New functions.
11744 (octave-mode-map): Bind C-c ; to
11745 octave-update-function-file-comment.
11746 (octave-mode-menu): Add octave-update-function-file-comment.
11747 (octave-mode, inferior-octave-mode): Fix doc-string.
11748 (octave-insert-defun): Conform to Octave's coding convention.
11749 (Bug#14285)
11750
11751 * files.el (basic-save-buffer): Don't let errors in
11752 before-save-hook prevent saving buffer.
11753
117542013-04-20 Roland Winkler <winkler@gnu.org>
11755
11756 * faces.el (read-face-name): Use completing-read if arg multiple
11757 is nil.
11758
117592013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11760
11761 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11762 displayed, move point to after the totals line.
11763 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11764 for the details.
11765
117662013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11767
11768 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11769 Add current dir to the load-path.
11770 (package-generate-autoloads): Don't rely on
11771 autoload-ensure-default-file.
11772
117732013-04-26 Reuben Thomas <rrt@sc3d.org>
11774
11775 * textmodes/remember.el (remember-store-in-files): Document that
11776 the file name format is passed to `format-time-string'.
11777
117782013-04-26 Leo Liu <sdl.web@gmail.com>
11779
11780 * progmodes/octave.el (octave-sync-function-file-names): New function.
11781 (octave-mode): Use it in before-save-hook.
11782
117832013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11786 (bug#14274).
11787
11788 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11789 \n and comment, even if it's not an implicit ; (bug#14218).
11790
117912013-04-26 Glenn Morris <rgm@gnu.org>
11792
11793 * subr.el (read-number): Once more use `read' rather than
11794 `string-to-number', to trap non-numeric input. (Bug#14254)
11795
117962013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11797
11798 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11799 Use `syntax-multiline' text property consistently instead of
11800 `font-lock-multiline'. (Bug#14237)
11801
118022013-04-26 Glenn Morris <rgm@gnu.org>
11803
11804 * emacs-lisp/shadow.el (list-load-path-shadows):
11805 No longer necessary to check for duplicate simple.el, since
11806 2012-07-07 change to init_lread to not include installation lisp
11807 directories in load-path when running uninstalled. (Bug#14270)
11808
118092013-04-26 Leo Liu <sdl.web@gmail.com>
11810
11811 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11812 (octave-mode, inferior-octave-mode): Use setq-local.
11813 (octave-not-in-string-or-comment-p): Rename to
11814 octave-in-string-or-comment-p.
11815 (octave-in-comment-p, octave-in-string-p)
11816 (octave-in-string-or-comment-p): Replace defsubst with defun.
11817
118182013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11819
11820 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11821
118222013-04-25 Bastien Guerry <bzg@gnu.org>
11823
11824 * textmodes/remember.el (remember-data-directory)
11825 (remember-directory-file-name-format): Fix custom types.
11826
118272013-04-25 Leo Liu <sdl.web@gmail.com>
11828
11829 * progmodes/octave.el (octave-completion-at-point-function):
11830 Make use of inferior octave process.
11831 (octave-initialize-completions): Remove.
11832 (inferior-octave-completion-table): New function.
11833 (inferior-octave-completion-at-point): Use it.
11834 (octave-completion-alist): Remove.
11835
118362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11839 (opascal-mode-syntax-table): New var.
11840 (opascal-literal-kind, opascal-is-literal-end)
11841 (opascal-literal-token-at): Rewrite.
11842 (opascal--literal-start-re, opascal-font-lock-keywords)
11843 (opascal--syntax-propertize): New constants.
11844 (opascal-font-lock-defaults): Adjust.
11845 (opascal-mode): Use them. Set comment-<foo> variables as well.
11846 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11847 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11848 (delphi-other-face, opascal-other-face): Remove face variables.
11849 (opascal-save-state): Remove macro.
11850 (opascal-fontifying-progress-step): Remove constant.
11851 (opascal--ignore-changes): Remove var.
11852 (opascal-set-token-property, opascal-parse-next-literal)
11853 (opascal-is-stable-literal, opascal-complete-literal)
11854 (opascal-is-literal-start, opascal-face-of)
11855 (opascal-parse-region, opascal-parse-region-until-stable)
11856 (opascal-fontify-region, opascal-after-change)
11857 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11858 (opascal-debug-parse-region, opascal-debug-parse-window)
11859 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11860 (opascal-debug-fontify-buffer): Remove.
11861 (opascal-debug-mode-map): Adjust accordingly.
11862
118632013-04-25 Leo Liu <sdl.web@gmail.com>
11864
11865 Merge octave-mod.el and octave-inf.el into octave.el with some
11866 cleanups.
11867 * progmodes/octave.el: New file renamed from octave-mod.el.
11868 * progmodes/octave-inf.el: Merged into octave.el.
11869 * progmodes/octave-mod.el: Renamed to octave.el.
11870
118712013-04-25 Tassilo Horn <tsdh@gnu.org>
11872
11873 * textmodes/reftex-vars.el
11874 (reftex-label-ignored-macros-and-environments): New defcustom.
11875
11876 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11877
118782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11881 (smie-indent-keyword): Improve the check to ensure that the next
11882 comment is really on the same line.
11883 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11884
11885 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11886 semi-colons if the line is not otherwise empty (bug#14218).
11887
118882013-04-25 Glenn Morris <rgm@gnu.org>
11889
11890 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11891
118922013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11893
11894 * progmodes/opascal.el (opascal-set-token-property): Rename from
11895 opascal-set-text-properties and only set `token' (bug#14134).
11896 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11897 (opascal-literal-text-properties): Remove.
11898 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11899 Adjust callers.
11900
119012013-04-24 Reuben Thomas <rrt@sc3d.org>
11902
11903 * textmodes/remember.el (remember-handler-functions): Add an
11904 option for a new handler `remember-store-in-files'.
11905 (remember-data-directory, remember-directory-file-name-format):
11906 New options.
11907 (remember-store-in-files): New function to store remember notes
11908 as separate files within a directory.
11909
119102013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11911
11912 * progmodes/compile.el (compilation-next-error-function):
11913 Pass "formats" to compilation-find-file (bug#11777).
11914
119152013-04-24 Glenn Morris <rgm@gnu.org>
11916
11917 * vc/vc-bzr.el (vc-bzr-print-log):
11918 * vc/vc-hg.el (vc-hg-print-log):
11919 * vc/vc-svn.el (vc-svn-print-log):
11920 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11921
11922 * vc/vc-bzr.el (vc-bzr-print-log):
11923 * vc/vc-cvs.el (vc-cvs-print-log):
11924 * vc/vc-git.el (vc-git-print-log):
11925 * vc/vc-hg.el (vc-hg-print-log):
11926 * vc/vc-mtn.el (vc-mtn-print-log):
11927 * vc/vc-rcs.el (vc-rcs-print-log):
11928 * vc/vc-sccs.el (vc-sccs-print-log):
11929 * vc/vc-svn.el (vc-svn-print-log):
11930 * vc/vc.el (vc-print-log-internal): Doc fixes.
11931
119322013-04-23 Glenn Morris <rgm@gnu.org>
11933
11934 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11935 Remove venerable code attempting to avoid substitute-command-keys.
11936
119372013-04-23 Tassilo Horn <tsdh@gnu.org>
11938
11939 * textmodes/reftex-vars.el (reftex-label-regexps):
11940 Call `reftex-compile-variables' after changes to this variable.
11941
119422013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11945 Use lexical-binding.
11946 (jit-lock-force-redisplay): Use markers, check buffer's continued
11947 existence and beware narrowed buffers.
11948 (jit-lock-fontify-now): Adjust call accordingly.
11949
119502013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11951
11952 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11953 to avoid misleading the user.
11954
119552013-04-22 Leo Liu <sdl.web@gmail.com>
11956
11957 * info-look.el: Prefer latex2e.info. (Bug#14240)
11958
119592013-04-22 Michael Albinus <michael.albinus@gmx.de>
11960
11961 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11962
11963 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11964 * net/tramp.el (tramp-call-process): ... here.
11965 (tramp-set-completion-function, tramp-parse-putty):
11966 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11967 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11968 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11969 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11970 (tramp-call-local-coding-command): Use `tramp-call-process'
11971 instead of `tramp-compat-call-process'.
11972
11973 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11974 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11975 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11976 (tramp-find-inline-compress): Improve traces.
11977 (tramp-maybe-send-script): Check for Perl binary.
11978 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11979
119802013-04-22 Daiki Ueno <ueno@gnu.org>
11981
11982 * epg.el (epg-context-pinentry-mode): New function.
11983 (epg-context-set-pinentry-mode): New function.
11984 (epg--start): Pass --pinentry-mode option to gpg command.
11985
119862013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11987
11988 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11989 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11990 `completion-at-point'. (Bug#13774)
11991
11992 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11993 default key binding for `describe-distribution' has been moved to
11994 `C-h C-o'. (Bug#13970)
11995
119962013-04-21 Glenn Morris <rgm@gnu.org>
11997
11998 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11999 Add doc strings.
12000 (vc-print-log): Clarify interactive prompt.
12001
120022013-04-20 Glenn Morris <rgm@gnu.org>
12003
12004 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12005 No longer include timestamp etc information.
12006
120072013-04-20 Roland Winkler <winkler@gnu.org>
12008
12009 * faces.el (read-face-name): Bug fix, return just one face if arg
12010 multiple is nil. (Bug#14209)
12011
120122013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12013
12014 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12015 (remove-function): Autoload.
12016
12017 * comint.el (comint-redirect-original-filter-function): Remove.
12018 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12019 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12020 (vc-cvs-annotate-command):
12021 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12022 * progmodes/prolog.el (prolog-consult-compile):
12023 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12024 Use add/remove-function instead.
12025 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12026 (gud-tooltip-process-output, gud-tooltip-tips):
12027 Use add/remove-function instead.
12028 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12029 (scheme-interaction-mode, exit-scheme-interaction-mode):
12030 Use add/remove-function instead.
12031
12032 * vc/vc-dispatcher.el: Use lexical-binding.
12033 (vc--process-sentinel): Rename from vc-process-sentinel.
12034 Change last arg to be the code to run. Don't use vc-previous-sentinel
12035 and vc-sentinel-commands any more.
12036 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12037 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12038
120392013-04-19 Masatake YAMATO <yamato@redhat.com>
12040
12041 * progmodes/sh-script.el (sh-imenu-generic-expression):
12042 Handle function names with a single character. (Bug#14111)
12043
120442013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12045
12046 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12047 for subroutines defined in an eval (bug#14182).
12048
120492013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12050
12051 * bookmark.el (bookmark-completing-read): Improve handling of empty
12052 string (bug#14176).
12053
120542013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12057
120582013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12059
12060 New faster Imenu implementation (bug#14058).
12061 * progmodes/python.el:
12062 (python-imenu-prev-index-position):
12063 (python-imenu-format-item-label-function)
12064 (python-imenu-format-parent-item-label-function)
12065 (python-imenu-format-parent-item-jump-label-function):
12066 New vars.
12067 (python-imenu-format-item-label)
12068 (python-imenu-format-parent-item-label)
12069 (python-imenu-format-parent-item-jump-label)
12070 (python-imenu--put-parent, python-imenu--build-tree)
12071 (python-imenu-create-index, python-imenu-create-flat-index)
12072 (python-util-popn): New functions.
12073 (python-mode): Set imenu-create-index-function to
12074 python-imenu-create-index.
12075
120762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * winner.el (winner-active-region): Use region-active-p, activate-mark
12079 and deactivate-mark (bug#14225).
12080
12081 * simple.el (deactivate-mark): Don't inline it.
12082
120832013-04-18 Michael Albinus <michael.albinus@gmx.de>
12084
12085 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12086
120872013-04-18 Tassilo Horn <tsdh@gnu.org>
12088
12089 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12090 file extensions from the archive-mode entry in order to prefer
12091 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12092
120932013-04-18 Leo Liu <sdl.web@gmail.com>
12094
12095 * bindings.el (help-event-list): Add ?\?.
12096
120972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * subr.el (with-wrapper-hook): Declare obsolete.
12100 * simple.el (filter-buffer-substring-function): New hook.
12101 (filter-buffer-substring): Use it.
12102 (filter-buffer-substring-functions): Mark obsolete.
12103 * minibuffer.el (completion-in-region-function): New hook.
12104 (completion-in-region): Use it.
12105 (completion-in-region-functions): Mark obsolete.
12106 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12107 * abbrev.el (abbrev-expand-function): New hook.
12108 (expand-abbrev): Use it.
12109 (abbrev-expand-functions): Mark obsolete.
12110 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12111 and :filter-return.
12112
121132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12114
12115 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12116 and do not care about match data.
12117
121182013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12121 completion tables when completing error conditions and
12122 `declare' arguments.
12123 (lisp-complete-symbol, field-complete): Mark as obsolete.
12124 (check-parens): Unmatched parens are user errors.
12125 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12126
121272013-04-17 Michal Nazarewicz <mina86@mina86.com>
12128
12129 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12130 command changed buffer (ie. `flyspell-pre-buffer' is not current
12131 buffer), which prevents making decisions based on invalid value of
12132 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12133 cause an error when `flyspell-pre-point' was nil after switching
12134 buffers.
12135 (flyspell-post-command-hook): No longer needs to change buffers when
12136 checking pre-word. While at it remove unnecessary progn.
12137
121382013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12139
12140 * textmodes/ispell.el (ispell-add-per-file-word-list):
12141 Fix `flyspell-correct-word-before-point' error when accepting
12142 words and `coment-padding' is an integer by using
12143 `comment-normalize-vars' (Bug #14214).
12144
121452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12146
12147 New defun movement commands.
12148 * progmodes/python.el (python-nav--syntactically)
12149 (python-nav--forward-defun, python-nav-backward-defun)
12150 (python-nav-forward-defun): New functions.
12151
121522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12153
12154 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12155 (python-syntax-context): Use named compiler-macro for backwards
12156 compatibility with Emacs 24.x.
12157
121582013-04-17 Leo Liu <sdl.web@gmail.com>
12159
12160 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12161 octave-hide-process-buffer.
12162
121632013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12166 (bug#14216).
12167
121682013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12169
12170 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12171 Fix adjustment of offset when receiving incomplete responses from GDB
12172 (bug#14129).
12173
121742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12175
12176 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12177 python-mode-abbrev-table.
12178 (python-skeleton-define): Adjust accordingly.
12179 (python-mode-abbrev-table): New table that inherits from it so that
12180 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12181
12182 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12183 (abbrev-symbol): Use it.
12184 (abbrev--before-point): Use it since we already handle inheritance.
12185
121862013-04-16 Leo Liu <sdl.web@gmail.com>
12187
12188 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12189 binding to info-lookup-symbol.
12190
121912013-04-16 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * minibuffer.el (completion--twq-all):
12194 * term/ns-win.el (ns-initialize-window-system):
12195 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12196
121972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12200 global bindings.
12201
12202 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12203
122042013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12205
12206 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12207 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12208 to nil.
12209 (ruby-end-of-defun): Remove the unused arg, change the docstring
12210 to reflect that this function is only used as the value of
12211 `end-of-defun-function'.
12212 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12213 to reflect an earlier change that beginning/end-of-defun functions
12214 jump between methods in a class definition, as well as top-level
12215 functions.
12216
122172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12218
12219 * minibuffer.el (minibuffer-complete): Don't just scroll
12220 a *Completions* that's been iconified.
12221 (minibuffer-force-complete): Make sure repetitions do cycle when going
12222 through completion-in-region -> minibuffer-complete.
12223
122242013-04-15 Alan Mackenzie <acm@muc.de>
12225
12226 Correct the placement of c-cpp-delimiters when there're #s not at
12227 col 0.
12228
12229 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12230 place a submatch around the #.
12231 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12232 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12233 on the #, not BOL.
12234
122352013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12238 (advice--member-p): New arg `name'.
12239 (advice--add-function, advice-member-p): Use it (bug#14202).
12240
122412013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12242
12243 Reformulate java imenu-generic-expression.
12244 The old expression contained ill formed regexps.
12245
12246 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12247 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12248 (cc-imenu-java-method-arg-regexp): New defconsts.
12249 (cc-imenu-java-build-type-args-regex): New defun.
12250 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12251 handling of spaces in the regexp.
12252
122532013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12254
12255 * textmodes/ispell.el (ispell-command-loop): Remove
12256 flyspell highlight of a word when ispell accepts it (bug #14178).
12257
122582013-04-15 Michael Albinus <michael.albinus@gmx.de>
12259
12260 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12261 uses code from the previous `ange-ftp-run-real-handler'.
12262 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12263 only in case that function exist. This is needed for proper
12264 unloading of Tramp.
12265
122662013-04-15 Tassilo Horn <tsdh@gnu.org>
12267
12268 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12269
12270 * textmodes/reftex.el (reftex-compile-variables): Use it.
12271
122722013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * files.el (normal-mode): Only use default major-mode if no other mode
12275 was specified.
12276
12277 * emacs-lisp/trace.el (trace-values): New function.
12278
12279 * files.el: Allow : in local variables (bug#14089).
12280 (hack-local-variable-regexp): New var.
12281 (hack-local-variables-prop-line, hack-local-variables): Use it.
12282
122832013-04-13 Roland Winkler <winkler@gnu.org>
12284
12285 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12286 data before it gets modified by bibtex-beginning-of-entry.
12287
122882013-04-13 Roland Winkler <winkler@gnu.org>
12289
12290 * textmodes/bibtex.el (bibtex-url): Doc fix.
12291
122922013-04-13 Roland Winkler <winkler@gnu.org>
12293
12294 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12295 does not visit a BibTeX file, exclude it from the list of buffers
12296 returned by bibtex-initialize.
12297
122982013-04-13 Stephen Berman <stephen.berman@gmx.net>
12299
12300 * window.el (split-window): Remove interactive form, since as a
12301 command this function is a special case of split-window-below.
12302 Correct doc string.
12303
123042013-04-12 Roland Winkler <winkler@gnu.org>
12305
12306 * faces.el (read-face-name): Do not override value of arg default.
12307 Allow single faces and strings as default values. Remove those
12308 elements from return value that are not faces.
12309 (describe-face): Simplify.
12310 (face-at-point): New optional args thing and multiple so that this
12311 function can provide the same functionality previously provided by
12312 read-face-name.
12313 (make-face-bold, make-face-unbold, make-face-italic)
12314 (make-face-unitalic, make-face-bold-italic, invert-face)
12315 (modify-face, read-face-and-attribute): Use face-at-point.
12316
12317 * cus-edit.el (customize-face, customize-face-other-window)
12318 * cus-theme.el (custom-theme-add-face)
12319 * face-remap.el (buffer-face-set)
12320 * facemenu.el (facemenu-set-face): Use face-at-point.
12321
123222013-04-12 Michael Albinus <michael.albinus@gmx.de>
12323
12324 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12325
123262013-04-10 Tassilo Horn <tsdh@gnu.org>
12327
12328 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12329 off leading { and trailing } from field values.
12330
123312013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12332
12333 * emacs-lisp/timer.el (timer--check): New function.
12334 (timer--time, timer-set-function, timer-event-handler): Use it.
12335 (timer-set-idle-time): Simplify.
12336 (timer--activate): CSE.
12337 (timer-event-handler): Give more info in error message.
12338 (internal-timer-start-idle): New function, moved from C.
12339
12340 * mpc.el (mpc-proc): Add `restart' argument.
12341 (mpc-proc-cmd): Use it.
12342 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12343 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12344 less often.
12345
123462013-04-10 Masatake YAMATO <yamato@redhat.com>
12347
12348 * progmodes/sh-script.el: Implement `sh-mode' own
12349 `add-log-current-defun-function' (bug#14112).
12350 (sh-current-defun-name): New function.
12351 (sh-mode): Use the function.
12352
123532013-04-09 Bastien Guerry <bzg@gnu.org>
12354
12355 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12356
123572013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12360
12361 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12362 timer (bug#14156).
12363
123642013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12365
12366 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12367 declaration.
12368
123692013-04-07 Leo Liu <sdl.web@gmail.com>
12370
12371 * pcmpl-x.el: New file.
12372
123732013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12374
12375 Do not set x-display-name until X connection is established.
12376 This is needed to prevent from weird situation described at
12377 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12378 * frame.el (make-frame): Set x-display-name after call to
12379 window system initialization function, not before.
12380 * term/x-win.el (x-initialize-window-system): Add optional
12381 display argument and use it.
12382 * term/w32-win.el (w32-initialize-window-system):
12383 * term/ns-win.el (ns-initialize-window-system):
12384 * term/pc-win.el (msdos-initialize-window-system):
12385 Add compatible optional display argument.
12386
123872013-04-06 Eli Zaretskii <eliz@gnu.org>
12388
12389 * files.el (normal-backup-enable-predicate): On MS-Windows and
12390 MS-DOS compare truenames of temporary-file-directory and of the
12391 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12392 don't fail comparison by compare-strings. Also, compare file
12393 names case-insensitively on MS-Windows and MS-DOS.
12394
123952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12398 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12399
124002013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12401
12402 * whitespace.el (whitespace-color-on, whitespace-color-off):
12403 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12404
124052013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12406
12407 * ispell.el (ispell-set-spellchecker-params):
12408 Really set `ispell-args' for all equivs.
12409
124102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12411
12412 * ido.el (ido-completions): Use extra elements of ido-decorations
12413 (bug#14143).
12414 (ido-decorations): Update docstring.
12415
124162013-04-05 Michael Albinus <michael.albinus@gmx.de>
12417
12418 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12419 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12420 nil during initialization, in order not to miss changes since the
12421 file was opened. (Bug#14140)
12422
124232013-04-05 Leo Liu <sdl.web@gmail.com>
12424
12425 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12426
124272013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12428
12429 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12430
124312013-04-04 Glenn Morris <rgm@gnu.org>
12432
12433 * electric.el (electric-pair-inhibit-predicate): Add :version.
12434
124352013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12438 when a package is required several times (bug#14082).
12439
124402013-04-04 Roland Winkler <winkler@gnu.org>
12441
12442 * faces.el (read-face-name): Behave as promised by the docstring.
12443 Assume that arg default is a list of faces.
12444 (describe-face): Call read-face-name with list of default faces.
12445
124462013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12447
12448 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12449 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12450 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12451 the header.
12452 (bookmark-exit-hook-internal): Save even if list is empty.
12453
124542013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12455
12456 * emacs-lisp/package.el (package-pinned-packages): New var.
12457 (package--add-to-archive-contents): Obey it (bug#14118).
12458
124592013-04-03 Alan Mackenzie <acm@muc.de>
12460
12461 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12462 Also adapt to the new values of element 7 of a parse state.
12463
12464 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12465 parameter `not-in-delimiter'. Handle being inside comment opener.
12466 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12467 character in case we're typing a '*' after a '/'.
12468 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12469 instead by passing the parameter to c-state-pp-to-literal.
12470
12471 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12472 for elt. 7 of a parse state.
12473
124742013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12475
12476 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12477 * international/latin1-disp.el, international/mule-util.el:
12478 * language/cyril-util.el, language/european.el, language/ind-util.el:
12479 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12480 * language/tibetan.el, language/viet-util.el:
12481 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12482
124832013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12486 (electric-pair-post-self-insert-function): Use it.
12487 (electric-pair-default-inhibit): New function, extracted from
12488 electric-pair-post-self-insert-function.
12489
124902013-03-31 Roland Winkler <winkler@gnu.org>
12491
12492 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12493
124942013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12497
124982013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12499
12500 Un-indent after "pass" and "return" statements (Bug#13888)
12501 * progmodes/python.el (python-indent-block-enders): New var.
12502 (python-indent-calculate-indentation): Use it.
12503
125042013-03-30 Michael Albinus <michael.albinus@gmx.de>
12505
12506 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12507 defun. Defining it as defalias could introduce too eager
12508 byte-compiler optimization. (Bug#14030)
12509
125102013-03-30 Chong Yidong <cyd@gnu.org>
12511
12512 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12513
125142013-03-30 Leo Liu <sdl.web@gmail.com>
12515
12516 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12517 (kmacro-execute-from-register): Pass the keyboard macro to
12518 kmacro-call-macro or repeating won't work correctly.
12519
125202013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12521
12522 * progmodes/subword.el: Back to using `forward-symbol'.
12523
12524 * subr.el (forward-whitespace, forward-symbol)
12525 (forward-same-syntax): Move from thingatpt.el.
12526
125272013-03-29 Leo Liu <sdl.web@gmail.com>
12528
12529 * kmacro.el (kmacro-to-register): New command.
12530 (kmacro-execute-from-register): New function.
12531 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12532
125332013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * mpc.el: Use defvar-local and setq-local.
12536 (mpc--proc-connect): Connection failures are not bugs.
12537 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12538 (mpc-volume-map): Bind to the up-events.
12539
125402013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12541
12542 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12543 instead of `forward-symbol'.
12544
125452013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12548 (edebug--recursive-edit): Use it.
12549 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12550 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12551
125522013-03-28 Leo Liu <sdl.web@gmail.com>
12553
12554 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12555
125562013-03-27 Eli Zaretskii <eliz@gnu.org>
12557
12558 * facemenu.el (list-colors-callback): New defvar.
12559 (list-colors-redisplay): New function.
12560 (list-colors-display): Install list-colors-redisplay as the
12561 revert-buffer-function. (Bug#14063)
12562
125632013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12566 and suffixes don't overlap (bug#14061).
12567
12568 * case-table.el: Use lexical-binding.
12569 (case-table-get-table): New function.
12570 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12571
125722013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12573
12574 * progmodes/subword.el: Add `superword-mode' to do word motion
12575 over symbol_words (parallels and leverages `subword-mode' which
12576 does word motion inside MixedCaseWords).
12577
125782013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12579
12580 * eshell/em-unix.el: Move su and sudo to...
12581 * eshell/em-tramp.el: ...Eshell tramp module.
12582
125832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12586 Change return value to be a sexp. Delay `get-buffer' to after
12587 restoring the desktop (bug#13951).
12588
125892013-03-26 Leo Liu <sdl.web@gmail.com>
12590
12591 * register.el: Move semantic tag handling back to
12592 cedet/semantic/senator.el. (Bug#14052)
12593
125942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12597 into the prompt either (bug#13963).
12598
125992013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12602 part of "(error-foo)".
12603
126042013-03-24 Juri Linkov <juri@jurta.org>
12605
12606 * replace.el (list-matching-lines-prefix-face): New defcustom.
12607 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12608 `occur-engine' if `face-differs-from-default-p' returns t.
12609 (occur-engine): Add `,' inside backquote construct to evaluate
12610 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12611 Pass `prefix-face' to the functions `occur-context-lines' and
12612 `occur-engine-add-prefix'.
12613 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12614 `prefix-face' and propertize the prefix with `prefix-face'.
12615 (Bug#14017)
12616
126172013-03-24 Leo Liu <sdl.web@gmail.com>
12618
12619 * nxml/rng-valid.el (rng-validate-while-idle)
12620 (rng-validate-quick-while-idle): Guard against deleted buffer.
12621 (Bug#13999)
12622
12623 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12624 is the last entry in kill-buffer-hook.
12625
12626 * files.el (kill-buffer-hook): Doc fix.
12627
126282013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12629
12630 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12631 Make it safe-local.
12632
12633 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12634
126352013-03-23 Leo Liu <sdl.web@gmail.com>
12636
12637 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12638 Remove.
12639
12640 * nxml/rng-valid.el (rng-validate-mode)
12641 (rng-after-change-function, rng-do-some-validation):
12642 * nxml/rng-maint.el (rng-validate-buffer):
12643 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12644 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12645 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12646 (nxml-extend-after-change-region): Use with-silent-modifications.
12647
12648 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12649 timer-idle-list.
12650
12651 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12652 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12653 timer-idle-list. (Bug#13999)
12654
126552013-03-23 Juri Linkov <juri@jurta.org>
12656
12657 * info.el (info-index-match): New face.
12658 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12659 main pattern and add text properties with the new face to matches
12660 in index entries relative to the beginning of the index entry.
12661 (Bug#14015)
12662
126632013-03-21 Eric Ludlam <zappo@gnu.org>
12664
12665 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12666 Inhibit read only while inserting objects.
12667
126682013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12669
12670 * progmodes/cfengine.el: Update docs to mention
12671 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12672 symbol motion. Remove "_" from the word syntax.
12673
126742013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12675
12676 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12677 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12678
126792013-03-20 Juri Linkov <juri@jurta.org>
12680
12681 * info.el (Info-next-reference-or-link)
12682 (Info-prev-reference-or-link): New functions.
12683 (Info-next-reference, Info-prev-reference): Use them.
12684 (Info-try-follow-nearest-node): Handle footnote navigation.
12685 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12686
126872013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12690 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12691
126922013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12693
12694 Suppress unnecessary non-ASCII chatter during build process.
12695 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12696 (batch-skkdic-convert): Suppress most of the chatter.
12697 It's not needed so much now that machines are faster,
12698 and its non-ASCII component was confusing; see Dmitry Gutov in
12699 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12700
127012013-03-20 Leo Liu <sdl.web@gmail.com>
12702
12703 * ido.el (ido-chop): Fix bug#10994.
12704
127052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12706
12707 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12708 Remove vars.
12709 (whitespace-color-on, whitespace-color-off):
12710 Use `font-lock-fontify-buffer' (Bug#13817).
12711
127122013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12715 remapping in mode-line.
12716 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12717
127182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12719
12720 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12721 value for `whitespace-line' face (Bug#13875).
12722 (whitespace-font-lock-keywords): Change description.
12723 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12724 the constructed keywords instead.
12725 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12726
127272013-03-19 Leo Liu <sdl.web@gmail.com>
12728
12729 * progmodes/compile.el (compilation-display-error): New command.
12730 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12731 C-o. (Bug#13992)
12732
127332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12734
12735 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12736
127372013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12738
12739 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12740
127412013-03-18 Michael Albinus <michael.albinus@gmx.de>
12742
12743 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12744
12745 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12746 * net/tramp-gvfs.el (top):
12747 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12748 (tramp-handle-shell-command): Use it.
12749 (tramp-dissect-file-name): Raise an error when hostname is a
12750 method name, and neither method nor user is specified.
12751
12752 * net/trampver.el: Update release number.
12753
127542013-03-18 Leo Liu <sdl.web@gmail.com>
12755
12756 Make sure eldoc can be turned off properly.
12757 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12758 eldoc-mode.
12759 (eldoc-display-message-p): Revert last change.
12760 (eldoc-display-message-no-interference-p)
12761 (eldoc-print-current-symbol-info): Tweak.
12762
127632013-03-18 Tassilo Horn <tsdh@gnu.org>
12764
12765 * doc-view.el (doc-view-new-window-function): Check the new window
12766 overlay's display property instead the char property of the
12767 buffer's first char. Use `with-selected-window' instead of
12768 `save-window-excursion' with `select-window'.
12769 (doc-view-document->bitmap): Check the current doc-view overlay's
12770 display property instead the char property of the buffer's first char.
12771
127722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12773
12774 Automate the build of ja-dic.el (Bug#13984).
12775 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12776 from the input, rather than assume that it's been done for us by the
12777 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12778 the current date into a ja-dic.el comment, as that complicates
12779 regression testing.
12780
127812013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 * whitespace.el: Fix double evaluation.
12784 (whitespace-space, whitespace-hspace, whitespace-tab)
12785 (whitespace-newline, whitespace-trailing, whitespace-line)
12786 (whitespace-space-before-tab, whitespace-indentation)
12787 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12788 obsolete defvars.
12789 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12790 (whitespace-color-on): Use a single font-lock-add-keywords call.
12791 Fix double-evaluation of face variables.
12792
127932013-03-17 Michael Albinus <michael.albinus@gmx.de>
12794
12795 * net/tramp-adb.el (tramp-adb-parse-device-names):
12796 Use `start-process' instead of `call-process'. Otherwise, the
12797 function might be blocked under MS Windows. (Bug#13299)
12798
127992013-03-17 Leo Liu <sdl.web@gmail.com>
12800
12801 Extend eldoc to display info in the mode-line. (Bug#13978)
12802 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12803 (eldoc-mode-line-string): New variable.
12804 (eldoc-minibuffer-message): New function.
12805 (eldoc-message-function): New variable.
12806 (eldoc-message): Use it.
12807 (eldoc-display-message-p)
12808 (eldoc-display-message-no-interference-p):
12809 Support eldoc-post-insert-mode.
12810
12811 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12812 (eval-expression): Run it.
12813
128142013-03-17 Roland Winkler <winkler@gnu.org>
12815
12816 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12817 strings in the list of return values.
12818
128192013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12820
12821 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12822 radix before checking for HMS forms.
12823
128242013-03-16 Leo Liu <sdl.web@gmail.com>
12825
12826 * progmodes/scheme.el: Add indentation and font-locking for λ.
12827 (Bug#13975)
12828
128292013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12832 token before point (bug#13942).
12833
128342013-03-16 Leo Liu <sdl.web@gmail.com>
12835
12836 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12837
128382013-03-16 Eli Zaretskii <eliz@gnu.org>
12839
12840 * startup.el (command-line-normalize-file-name): Fix handling of
12841 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12842 <xfq.free@gmail.com> in
12843 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12844
128452013-03-15 Michael Albinus <michael.albinus@gmx.de>
12846
12847 Sync with Tramp 2.2.7.
12848
12849 * net/trampver.el: Update release number.
12850
128512013-03-14 Tassilo Horn <tsdh@gnu.org>
12852
12853 * doc-view.el: Fix bug#13887.
12854 (doc-view-insert-image): Don't modify overlay associated to
12855 non-live windows, and implement horizontal centering of image in
12856 case it's smaller than the window.
12857 (doc-view-new-window-function): Force redisplay of new windows on
12858 doc-view buffers.
12859
128602013-03-13 Karl Fogel <kfogel@red-bean.com>
12861
12862 * saveplace.el (save-place-alist-to-file): Don't sort
12863 `save-place-alist', just pretty-print it (bug#13882).
12864
128652013-03-13 Michael Albinus <michael.albinus@gmx.de>
12866
12867 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12868 Check whether `default-file-name-coding-system' is bound.
12869 It isn't in XEmacs.
12870
128712013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12874 backquotes for `obsolete' (bug#13929).
12875
12876 * international/mule.el (find-auto-coding): Include file name in
12877 obsolescence warning (bug#13922).
12878
128792013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12880
12881 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12882 for CFEngine 3-specific indentation.
12883 (cfengine3-indent-line): Use it. Fix up category regex.
12884 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12885
128862013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * type-break.el (type-break-file-name):
12889 * textmodes/remember.el (remember-data-file):
12890 * strokes.el (strokes-file):
12891 * shadowfile.el (shadow-initialize):
12892 * saveplace.el (save-place-file):
12893 * ps-bdf.el (bdf-cache-file):
12894 * progmodes/idlwave.el (idlwave-config-directory):
12895 * net/quickurl.el (quickurl-url-file):
12896 * international/kkc.el (kkc-init-file-name):
12897 * ido.el (ido-save-directory-list-file):
12898 * emulation/viper.el (viper-custom-file-name):
12899 * emulation/vip.el (vip-startup-file):
12900 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12901 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12902
129032013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12904
12905 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12906 * language/thai-word.el: Switch to UTF-8.
12907
12908See ChangeLog.16 for earlier changes.
12909
12910;; Local Variables:
12911;; coding: utf-8
12912;; End:
12913
12914 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12915
12916 This file is part of GNU Emacs.
12917
12918 GNU Emacs is free software: you can redistribute it and/or modify
12919 it under the terms of the GNU General Public License as published by
12920 the Free Software Foundation, either version 3 of the License, or
12921 (at your option) any later version.
12922
12923 GNU Emacs is distributed in the hope that it will be useful,
12924 but WITHOUT ANY WARRANTY; without even the implied warranty of
12925 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12926 GNU General Public License for more details.
12927
12928 You should have received a copy of the GNU General Public License
12929 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.