* files.el (file-relative-name): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * files.el (file-relative-name): Doc fix (bug#15159).
4
5 * fringe.el (fringe-styles): Doc fix (bug#15239).
6
7 * isearch.el (isearch-filter-predicate): Documentation typo fix
8 (bug#15474).
9
10 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11
12 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13
14 * replace.el (replace-match-maybe-edit): Doc clarification
15 (bug#15632).
16
17 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
18
19 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
20
21 2014-02-08 Glenn Morris <rgm@gnu.org>
22
23 * help-fns.el (describe-variable):
24 Check {file,dir}-local-variables-alist, and buffer-file-name,
25 in the correct buffer.
26
27 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
28
29 * help-fns.el (describe-variable): Fix the case where
30 a value is directory-local with no dir-locals file. (Bug#16635)
31
32 2014-02-08 Glenn Morris <rgm@gnu.org>
33
34 * abbrev.el (edit-abbrevs-mode):
35 Derive from fundamental-mode. (Bug#16682)
36
37 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
38
39 * simple.el (quoted-insert): Check character validity (bug#16677).
40
41 2014-02-07 Juri Linkov <juri@jurta.org>
42
43 * desktop.el (desktop-read): Claim the lock when the owner is not
44 the current process. (Bug#16157)
45
46 2014-02-07 Juri Linkov <juri@jurta.org>
47
48 * desktop.el (desktop-buffers-not-to-save): Change default from nil
49 to "\\` ". (Bug#16651)
50
51 2014-02-07 Juri Linkov <juri@jurta.org>
52
53 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
54 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
55 (desktop-auto-save-cancel-timer): New function with some code from
56 `desktop-auto-save-set-timer'.
57 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
58 Instead of setting `desktop-save-mode' to nil, call
59 `desktop-save-mode' with arg 0. (Bug#16630)
60
61 2014-02-07 Glenn Morris <rgm@gnu.org>
62
63 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
64 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
65 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
66
67 * obsolete/iswitchb.el: Move to obsolete/.
68 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
69 since obsolete/ is not scanned for autoloads.
70 * emacs-lisp/authors.el (authors-valid-file-names):
71 Add iswitchb.el.
72
73 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
74 Disable now non-functional find-file-hook.
75
76 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
77
78 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
79 instead of ";" in order to avoid additional prompts. Let heredoc
80 scripts read from tty. (Bug#16582)
81 (tramp-send-command): No special handling of heredocs, it isn't
82 necessary anymore.
83
84 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
87 with a space (bug#16664). Limit the symbols considered to the ones
88 that are bound or fbound (bug#16646).
89
90 2014-02-06 Glenn Morris <rgm@gnu.org>
91
92 * epa.el (epa-mail-aliases): Doc fix.
93
94 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
95
96 * emacs-lisp/lisp.el (lisp-completion-at-point):
97 Use `completion-table-merge' instead of `completion-table-in-turn'
98 (bug#16604).
99
100 * minibuffer.el (completion-table-merge): New function.
101
102 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
103
104 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
105 (tramp-sh-handle-set-file-acl)
106 (tramp-sh-handle-start-file-process)
107 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
108 (tramp-find-executable, tramp-send-command): Use it.
109
110 2014-02-05 Glenn Morris <rgm@gnu.org>
111
112 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
113
114 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
115
116 * progmodes/python.el (python-shell-send-string):
117 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
118
119 2014-02-04 Anders Lindgren <andlind@gmail.com>
120
121 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
122 the names (bug#16620).
123
124 2014-02-03 Martin Rudalics <rudalics@gmx.at>
125
126 * faces.el (window-divider): New default value. Rewrite doc-string.
127 (window-divider-first-pixel, window-divider-last-pixel): New faces.
128
129 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
130
131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
132 `protected' and `public' can also be called without arguments.
133
134 2014-02-03 Glenn Morris <rgm@gnu.org>
135
136 * register.el (window-configuration-to-register)
137 (frame-configuration-to-register): Unadvertise unused argument.
138 * frameset.el (frameset-to-register): Remove unused argument.
139
140 * frameset.el (frameset-to-register):
141 * kmacro.el (kmacro-to-register):
142 * register.el (increment-register):
143 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
144 (calc-append-to-register, calc-prepend-to-register):
145 * play/gametree.el (gametree-layout-to-register)
146 (gametree-apply-register-layout):
147 * textmodes/picture.el (picture-clear-rectangle-to-register)
148 (picture-yank-rectangle-from-register):
149 * vc/emerge.el (emerge-combine-versions-register):
150 Use register-read-with-preview to read registers.
151
152 2014-02-03 João Távora <joaotavora@gmail.com>
153
154 * elec-pair.el (electric-pair-backward-delete-char): Don't error
155 when at beginning of (possibly narrowed) buffer.
156
157 2014-02-02 Daniel Colascione <dancol@dancol.org>
158
159 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
160 Also try to display local help from just before point.
161
162 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
163
164 c-parse-state. Don't "append-lower-brace-pair" in certain
165 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
166 recognised as a comment.
167
168 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
169 as well as normal comment starter.
170 (c-parse-state-get-strategy): Extra return possibility
171 'back-and-forward.
172 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
173 return value list to indicate replacement of a brace-pair cons
174 with its car.
175 (c-parse-state-1): With 'back-and-forward, only call
176 c-append-lower-brace-pair-to state-cache when cons-separated.
177
178 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
179
180 * term/ns-win.el (ns-suspend-error): New function.
181 (ns-initialize-window-system): Add ns-suspend-error to
182 suspend-hook (Bug#16612).
183
184 2014-02-02 Daniel Colascione <dancol@dancol.org>
185
186 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
187
188 2014-02-02 Daniel Colascione <dancol@dancol.org>
189
190 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
191
192 2014-02-02 Glenn Morris <rgm@gnu.org>
193
194 * register.el (register-read-with-preview, point-to-register)
195 (window-configuration-to-register, frame-configuration-to-register)
196 (jump-to-register, number-to-register, view-register, insert-register)
197 (copy-to-register, append-to-register, prepend-to-register)
198 (copy-rectangle-to-register): Doc fixes.
199
200 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
203 * emacs-lisp/find-func.el (find-function-C-source): Idem.
204 * emacs-lisp/nadvice.el (advice--cd*r): New function.
205 * help-fns.el (describe-function-1): Use it.
206
207 2014-02-02 Glenn Morris <rgm@gnu.org>
208
209 * register.el (register-preview-default): New function,
210 split from register-preview.
211 (register-preview-function): Rename from register-preview-functions,
212 make it not a hook.
213 (register-preview): Use register-preview-function.
214 (register-read-with-preview): Error on non-character event. (Bug#16595)
215
216 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
217
218 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
219 `:' before binary operators (bug#16609). Don't check for `:'
220 before `[' and `(', or their syntax status. A percent literal
221 can't end with either.
222 (ruby-font-lock-keywords): For built-ins that require arguments,
223 check that they're followed by something that looks like argument
224 (bug#16610).
225
226 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
227
228 * subr.el (butlast): Document what an omitted N means (bug#13437).
229 (nbutlast): Ditto.
230
231 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
232
233 * net/shr.el (shr-generic): Make into a defsubst to make the stack
234 depth shallower (bug#16587).
235 (shr-tag-svg): Respect `shr-inhibit-images'.
236 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
237
238 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
239
240 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
241 (ruby-smie-grammar): Make "." right-associative. Make its priority
242 lower than the ternary and all binary operators.
243 (ruby-smie-rules): Indent "(" relative to the first non-"."
244 parent, or the first "." parent at indentation.
245 Use `ruby-align-chained-calls' for indentation of "." tokens.
246 (Bug#16593)
247
248 2014-01-31 Juri Linkov <juri@jurta.org>
249
250 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
251 from `make-hash-table'.
252
253 * textmodes/ispell.el (ispell-init-process): Change message format
254 to be consistent with other messages.
255
256 2014-01-31 Glenn Morris <rgm@gnu.org>
257
258 * delsel.el (delete-selection-mode): Doc fix.
259
260 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
261 (trace-function-background): Doc fixes.
262
263 * ido.el (ido-use-virtual-buffers): Doc fix.
264 Reset :version, since the default value has not changed.
265
266 * register.el (register-preview-delay, register-read-with-preview):
267 Doc fixes.
268
269 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
270 do not mess with mail-buffer position (fixes 2009-11-03 change).
271 * progmodes/cc-mode.el (c-submit-bug-report):
272 Check auto-fill-mode is bound. (Bug#16592)
273
274 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
275
276 * startup.el (fancy-splash-image-file): New function,
277 split from fancy-splash-head.
278 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
279 so that we are both using the same image. (Bug#16574)
280
281 2014-01-30 Glenn Morris <rgm@gnu.org>
282
283 * simple.el (eval-expression): Doc fix.
284
285 * hexl.el (hexl-mode-hook):
286 * ielm.el (ielm-mode-hook):
287 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
288 (lisp-interaction-mode-hook):
289 * progmodes/cfengine.e (cfengine3-documentation-function):
290 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
291
292 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
295 is a symbol (bug#16584).
296
297 2014-01-30 Glenn Morris <rgm@gnu.org>
298
299 * help.el (help-for-help-internal): Add "P" to text.
300
301 2014-01-29 Glenn Morris <rgm@gnu.org>
302
303 * simple.el (just-one-space, cycle-spacing): Doc fixes.
304
305 2014-01-28 Martin Rudalics <rudalics@gmx.at>
306
307 * window.el (fit-frame-to-buffer): Fix calculations for margins and
308 height constraints.
309
310 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
311
312 * progmodes/hideif.el: Extend to full CPP expression syntax.
313 (hif-token-alist): Add missing tokens.
314 (hif-token-regexp): Add support for float/octal/hex immediates.
315 (hif-string-literal-regexp): New const.
316 (hif-tokenize): Recognize strings and float/octal/hex immediates.
317 (hif-exprlist): New function.
318 (hif-parse-if-exp): Use it.
319 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
320 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
321 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
322 (hif-logxor, hif-comma): New functions.
323
324 2014-01-28 Glenn Morris <rgm@gnu.org>
325
326 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
327
328 * indent.el (tab-stop-list): Doc fix. Add :version.
329
330 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
331 (cvs-append-to-ignore): Add compatibility alias.
332
333 2014-01-27 Glenn Morris <rgm@gnu.org>
334
335 * dired.el (dired-hide-details-mode): Don't autoload it,
336 since it cannot be used outside Dired buffers anyway.
337
338 * emulation/cua-base.el (cua-mode): Doc fix.
339
340 * dired.el (dired-hide-details-hide-symlink-targets)
341 (dired-hide-details-hide-information-lines)
342 (dired-hide-details-mode): Doc fixes.
343
344 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
345 * strokes.el (strokes-file): Doc fix. Bump :version.
346 (strokes-help): Doc fix.
347 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
348 * emulation/viper.el (viper): Doc fix for custom group.
349 (top-level): Remove oh-so-no-longer-relevant text about vip.
350 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
351
352 * ido.el (ido-save-directory-list-file):
353 * saveplace.el (save-place-file):
354 * calendar/timeclock.el (timeclock-file):
355 * net/quickurl.el (quickurl-url-file):
356 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
357 * progmodes/idlwave.el (idlwave-config-directory):
358 * textmodes/remember.el (remember-data-file):
359 Bump :version.
360
361 2014-01-26 Glenn Morris <rgm@gnu.org>
362
363 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
364 Doc fix. Make obsolete.
365 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
366
367 * sort.el (delete-duplicate-lines): Doc fix.
368
369 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
370
371 * progmodes/ada-mode.el (ada):
372 * woman.el (woman): Link to info manual and Commentary section.
373
374 * progmodes/flymake.el (flymake):
375 * nxml/nxml-mode.el (nxml):
376 * net/eww.el (eww):
377 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
378 * htmlfontify.el (htmlfontify):
379 * ses.el (ses):
380 * epa.el (epa):
381 * ido.el (ido): Link to info manual.
382
383 2014-01-25 Leo Liu <sdl.web@gmail.com>
384
385 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
386
387 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
388
389 * net/shr.el (shr-tag-img): Prefer the title over the alt text
390 (bug#16537).
391
392 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
393
394 * net/eww.el (eww-download-callback):
395 Fix reference to eww-download-directory.
396
397 * emacs-lisp/bytecomp.el (byte-compile-file):
398 Remove unused local variable `file-name'.
399
400 2014-01-24 Glenn Morris <rgm@gnu.org>
401
402 * woman.el (woman-default-faces, woman-monochrome-faces):
403 Fix obsolescence specification.
404
405 * subr.el (with-demoted-errors): Doc fix.
406
407 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
410 (cl--macroexp-fboundp): New function.
411 (cl--make-type-test): Use it.
412
413 2014-01-23 Glenn Morris <rgm@gnu.org>
414
415 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
416 * simple.el (eval-expression): Doc fixes.
417
418 2014-01-22 Glenn Morris <rgm@gnu.org>
419
420 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
421
422 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/package.el: Write files silently.
425 (package-autoload-ensure-default-file, package--write-file-no-coding)
426 (package-generate-description-file, package--download-one-archive)
427 (package-install-from-archive): Tell `write-region' to stay quiet.
428 (package-menu-mode, package-menu--print-info): Omit the Archive column
429 if there's only one archive.
430 (package-all-keywords, package--has-keyword-p): Remove dead code.
431
432 2014-01-22 Glenn Morris <rgm@gnu.org>
433
434 * version.el (emacs-bzr-version-bzr): Fix typo.
435
436 * version.el (emacs-repository-get-version):
437 Check either .bzr or .git, but not both.
438 Make the git case actually use the DIR argument, and return nil
439 rather than the empty string.
440 Avoid error if .git exists but the git executable is not found.
441
442 2014-01-22 Martin Rudalics <rudalics@gmx.at>
443
444 Fixes in window size functions around Bug#16430 and Bug#16470.
445 * window.el (window-total-size, window-size): New argument ROUND.
446 (window--min-delta-1, window-min-delta, window--max-delta-1):
447 Be more conservative when calculating the numbers of lines or
448 columns a window can shrink (Bug#16430).
449 (fit-window-to-buffer): Simplify code.
450 * term.el (term-window-width): Call window-body-width again.
451
452 2014-01-22 Glenn Morris <rgm@gnu.org>
453
454 * image.el (image-format-suffixes): Doc fix.
455
456 * international/quail.el (quail-define-package): Doc fix.
457
458 * emacs-lisp/authors.el (authors-valid-file-names):
459 (authors-renamed-files-alist): Additions.
460
461 * vc/vc-git.el (vc-git-print-log): Remove --follow;
462 reverts 2014-01-09 change. (Bug#16422)
463
464 * calc/calc-embed.el (thing-at-point-looking-at):
465 * emacs-lisp/map-ynp.el (x-popup-dialog):
466 * obsolete/lmenu.el (x-popup-dialog):
467 * emacs-lisp/package.el (url-recreate-url):
468 * mail/mailclient.el (clipboard-kill-ring-save):
469 * subr.el (x-popup-dialog): Update declaration.
470 * mail/rmail.el (rmail-mime-message-p):
471 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
472
473 2014-01-21 Daniel Colascione <dancol@dancol.org>
474
475 * progmodes/sh-script.el (sh--inside-noncommand-expression):
476 Correctly detect when we're inside an arithmetic expansion form
477 containing nested parenthesis.
478 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
479 to detect cases where we shouldn't expand "<<" to a heredoc
480 skeleton.
481
482 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
485 (eldoc--message-command-p): New function.
486 (eldoc-display-message-p): Use it.
487 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
488 message is not automatically erased for us.
489 (eldoc-print-current-symbol-info): Erase previous message, if any.
490
491 2014-01-21 Tassilo Horn <tsdh@gnu.org>
492
493 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
494 specify it's an interactive function.
495
496 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
497 Fix regex used for scanning for citation keys which failed for
498 citations with optional arguments.
499
500 2014-01-21 Leo Liu <sdl.web@gmail.com>
501
502 * simple.el (read--expression): Don't enable eldoc-mode.
503
504 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * simple.el (move-beginning-of-line): Make sure we don't move forward
507 (bug#16497).
508
509 2014-01-20 Juri Linkov <juri@jurta.org>
510
511 * saveplace.el (toggle-save-place, save-place-to-alist)
512 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
513 'dired-mode) before checking for dired-directory. (Bug#16477)
514
515 2014-01-20 Juri Linkov <juri@jurta.org>
516
517 * indent.el (indent-line-to): Use backward-to-indentation
518 instead of back-to-indentation. (Bug#16461)
519
520 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
521
522 Revert some of the CANNOT_DUMP fix (Bug#16494).
523 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
524 but fixing this can wait until after the next release.
525 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
526
527 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
528
529 * eshell/esh-mode.el (eshell-password-prompt-regexp):
530 Use `password-word-equivalents'.
531 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
532 to t. (Bug#5664, Bug#13124)
533
534 2014-01-19 Alan Mackenzie <acm@muc.de>
535
536 Bind open-paren-in-column-0-is-defun-start to nil at some entry
537 points.
538 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
539 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
540 * progmodes/cc-mode.el (c-before-change, c-after-change)
541 (c-font-lock-fontify-region): Bind it here.
542
543 2014-01-19 Martin Rudalics <rudalics@gmx.at>
544
545 * term.el (term-window-width): Call window-text-width instead of
546 window-width (Bug#16470).
547
548 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
549
550 * simple.el (password-word-equivalents): Remove duplicates.
551 Sort, to make this easier next time.
552 Downcase. Omit ": " after "jelszó".
553
554 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
555
556 * term/common-win.el (saved-region-selection): Defvar it.
557 (x-select-text): Set saved-region-selection (Bug#16382).
558
559 2014-01-18 Glenn Morris <rgm@gnu.org>
560
561 * emacs-lisp/authors.el (authors-aliases)
562 (authors-renamed-files-alist): Add some entries.
563
564 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
565
566 * net/tramp.el (tramp-password-prompt-regexp):
567 Use `password-word-equivalents' if available.
568 (tramp-action-password, tramp-process-one-action)
569 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
570
571 2014-01-17 Chong Yidong <cyd@gnu.org>
572
573 * simple.el (password-word-equivalents): New defcustom.
574 * comint.el (comint-password-prompt-regexp): Use it. Bump version
575 to 24.4.
576 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
577 to t. (Bug#13124)
578
579 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
582 (ruby-align-to-stmt-keywords): Change the default value.
583 Use `ruby-alignable-keywords' to generate the possible customization
584 choices.
585 (ruby-smie-rules): Instead of using a hardcoded list of alignable
586 keywords, check against the value of `ruby-alignable-keywords'
587 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
588
589 2014-01-17 Glenn Morris <rgm@gnu.org>
590
591 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
592
593 Make M-x authors return zero *Authors Errors* from current logs.
594 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
595 (authors-ignored-files): Add some entries, remove others.
596 (authors-ambiguous-files, authors-valid-file-names):
597 Add some entries.
598 (authors-renamed-files-alist): Add, remove, and adjust entries.
599 (authors-renamed-files-regexps): Add some entries.
600 Remove some very broad ones. Make some entries `lax'.
601 (authors-lax-changelogs): New constant.
602 (authors-disambiguate-file-name): Treat top-level specially.
603 (authors-lax-changelog-p): New function.
604 (authors-canonical-file-name): Check file as written against
605 authors-valid-file-names. Do not special-case etc/.
606 Handle `lax' logs and authors-renamed-files-regexps elements.
607
608 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
609
610 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
611 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
612 callers.
613
614 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
617 Assume we're already in the proper buffer.
618 Inspired by Anders Lindgren <andlind@gmail.com>.
619 (follow-post-command-hook): Call it from the right buffer.
620 (follow-comint-scroll-to-bottom): Adjust call.
621 (follow-all-followers): Use get-buffer-window-list.
622
623 2014-01-15 Daniel Colascione <dancol@dancol.org>
624
625 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
626 `buffer-file-name' in interactive-form so that we don't leave
627 pathless file names in `file-name-history'.
628
629 2014-01-15 Juri Linkov <juri@jurta.org>
630
631 * indent.el (indent-rigidly): Set deactivate-mark to nil
632 in transient indentation mode. (Bug#16438)
633
634 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
635
636 * emacs-lisp/package.el (package-desc-keywords): New function
637 (Bug#16222).
638 (describe-package-1, package-all-keywords)
639 (package--has-keyword-p): Use it.
640
641 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
642
643 * simple.el (define-alternatives): When creating the
644 COMMAND-alternatives variable, assign COMMAND as its definition
645 name so that `describe-variable' can relocate it.
646
647 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
648
649 * font-lock.el (font-lock-keywords): Fix typo in docstring
650 (bug#16307).
651
652 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
653
654 * ispell.el (ispell-region): Reset `in-comment' for new line
655 instead of wrongly reset `add-coment' (bug#13577).
656
657 2014-01-14 Daiki Ueno <ueno@gnu.org>
658
659 * epa-file.el (epa-file-write-region): Encode the region according
660 to `buffer-file-format'. Problem reported at:
661 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
662
663 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
666 so it applies in the right buffer (bug#16410).
667
668 2014-01-13 Daniel Colascione <dancol@dancol.org>
669
670 * textmodes/rst.el (rst-define-key): Provide deprecated
671 keybindings through named functions instead of anonymous ones so
672 that "??" doesn't appear in describe-mode output.
673
674 2014-01-13 Bastien Guerry <bzg@gnu.org>
675
676 * simple.el (define-alternatives): Call the selected command
677 interactively. When setting `COMMAND--implementation' for the
678 first time, tell the user how to chose another implementation.
679 Enhance the docstring.
680
681 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
684 (log-edit--match-first-line): New function.
685 (log-edit-font-lock-keywords): Use it.
686 (log-edit-mode): Make jit-lock-defer-multiline work.
687
688 2014-01-13 Bastien Guerry <bzg@gnu.org>
689
690 * rect.el (rectangle-mark-mode): When the region is not active,
691 display a message saying that the mark as been set and that
692 rectangle mode is in use.
693 (rectangle--highlight-for-redisplay): Only put an overlay with a
694 visible vertical bar when (display-graphic-p) is non-nil.
695 This partially fixes Bug#16403.
696
697 2014-01-13 Juri Linkov <juri@jurta.org>
698
699 * info.el (Info-find-file): Go to DIR before displaying the error
700 about a nonexistent file if no previous Info file is visited.
701 Use `user-error' instead of `error' for "Info file %s does not exist".
702 (Info-find-node-2): In case of a nonexistent node in unwind forms
703 go to the Top node if there is no previous node to revert to.
704 (Bug#16405)
705
706 2014-01-13 Martin Rudalics <rudalics@gmx.at>
707
708 fit-frame/window-to-buffer code fixes including one for Bug#14096.
709 * window.el (fit-frame-to-buffer): Fix doc-string.
710 Respect window-min-height/-width. Fit pixelwise when
711 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
712 when avoiding that frame goes partially off-screen.
713 (fit-window-to-buffer): Respect window-min-height/-width
714 (Bug#14096).
715
716 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
719 after an empty line.
720
721 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * net/shr.el (shr-render-region): Autoload.
724
725 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
726
727 * net/eww.el (eww-download-directory): Rename from
728 `eww-download-path' (Bug#16419).
729
730 2014-01-12 Leo Liu <sdl.web@gmail.com>
731
732 * dired-x.el (dired-mode-map): Fix last change.
733
734 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
735
736 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
737
738 Spelling fixes.
739 * emacs-lisp/generic.el (generic--normalize-comments):
740 Rename from generic--normalise-comments. All uses changed.
741 * play/bubbles.el (bubbles--neighborhood-score):
742 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
743 (bubbles--neighborhood-available)
744 (bubbles--update-neighborhood-score):
745 Rename from names with 'neighbourhood'. All uses changed.
746
747 2014-01-12 Leo Liu <sdl.web@gmail.com>
748
749 Re-implement the feature of showing eldoc info after editing.
750 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
751 (eldoc-edit-message-commands): New function.
752 (eldoc-print-after-edit): New variable.
753 (eldoc-pre-command-refresh-echo-area): Emit message only by
754 eldoc-message-commands.
755 (eldoc-mode): Restrict eldoc-message-commands to editing commands
756 if eldoc-print-after-edit is set. (Bug#16346)
757 * simple.el (read--expression): Enable eldoc-mode.
758 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
759
760 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
761 Eric S. Raymond <esr@thyrsus.com>
762
763 * version.el (emacs-repository-get-version): Enhance so the
764 function works correctly in either a Bazaar or Git repo.
765
766 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
767
768 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
769 Goes with removal of the joke manpages from /etc.
770
771 2014-01-10 K. Handa <handa@gnu.org>
772
773 * mail/rmail.el (rmail-get-coding-system):
774 Check rmail-get-coding-function before "funcall"ing it.
775
776 2014-01-10 Glenn Morris <rgm@gnu.org>
777
778 * emacs-lisp/authors.el (authors-fixed-entries):
779 Update for files that no longer exist.
780
781 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
782
783 * version.el (emacs-bzr-get-version): Restore compatibilty with
784 24.3 (Tested).
785
786 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
787
788 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
789 and Podfile.
790
791 2014-01-10 Eli Zaretskii <eliz@gnu.org>
792
793 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
794
795 2014-01-10 Chong Yidong <cyd@gnu.org>
796
797 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
798
799 2014-01-10 Anders Lindgren <andlind@gmail.com>
800
801 * follow.el (follow-cache-command-list): Include right-char and
802 left-char.
803
804 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
805
806 Spelling fixes.
807 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
808 * woman.el (woman-mark-horizontal-position):
809 Rename from woman-mark-horizonal-position. Use changed.
810
811 2014-01-10 Glenn Morris <rgm@gnu.org>
812
813 * info.el (info-initialize): If running uninstalled, ensure our
814 own info files are always found first, even if INFOPATH is set.
815
816 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
817
818 2014-01-09 David Engster <deng@randomsample.de>
819
820 * emacs-lisp/eieio-custom.el:
821 * emacs-lisp/eieio-opt.el: Set generated autoload file to
822 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
823 * emacs-lisp/eieio.el: Regenerate autoloads.
824
825 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
826
827 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
828 following renames. (Bug#8756)
829
830 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
833 (bug#16382).
834 (activate-mark): Add `no-tmm' argument.
835 (set-mark, push-mark-command): Use it instead of running
836 activate-mark-hook by hand.
837
838 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
839
840 In preparation for the move to git, sanitize out some
841 Bazaar-specific names.
842
843 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
844
845 * version.el (emacs-bzr-version): Name changed to
846 emacs-repository-version. Obsolete-variable alias made.
847 * loadup.el: Follow through on this name change.
848 * mail/emacsbug.el (report-emacs-bug): Factor out any
849 assumption about the version control system in use.
850
851 2014-01-08 David Engster <deng@randomsample.de>
852
853 * help-fns.el (help-fns-describe-function-functions):
854 New variable to call functions for augmenting help buffers.
855 (describe-function-1): Remove explicit calls to
856 `help-fns--compiler-macro', `help-fns--parent-mode' and
857 `help-fns--obsolete'. Put them in above new variable instead, and
858 call them through `run-hook-with-args'.
859 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
860 `eieio-describe-class'. Not meant for interactive use anymore,
861 but to augment existing help buffers. Remove optional second
862 argument. Create proper button for file location.
863 Rewrite function to use `insert' instead of `princ' and `prin1' where
864 possible.
865 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
866 (eieio-method-def, eieio-class-def): Move further up.
867 (describe-method, describe-generic, eieio-describe-method):
868 Remove aliases.
869 (eieio-help-constructor, eieio-help-generic): Rename from
870 `eieio-describe-constructor' and `eieio-describe-generic', resp.
871 Rewrite to use `insert' in the current buffer and use proper help
872 buttons.
873 (eieio-help-find-method-definition)
874 (eieio-help-find-class-definition): Also accept symbols as
875 arguments.
876 (eieio-help-mode-augmentation-maybee): Remove.
877 (eieio-describe-class-sb): Use `describe-function'.
878 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
879 Add `eieio-help-generic' and `eieio-help-constructor'.
880
881 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
882
883 Spelling fixes.
884 * language/china-util.el (hz-ascii-designation):
885 Rename from hz-ascii-designnation.
886 (hz-ascii-designation): Rename from hz-ascii-designnation.
887 All uses changed.
888
889 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
892 package-alist.
893
894 2014-01-08 Bastien Guerry <bzg@gnu.org>
895
896 * emacs-lisp/package.el (package-delete):
897 Correctly delete the package from package-alist.
898
899 2014-01-08 Daiki Ueno <ueno@gnu.org>
900
901 * emacs-lisp/package.el (url-recreate-url): Declare.
902 (url-http-target-url): Declare.
903 (package-handle-response): Include requested URL in the error message.
904 (package--check-signature): Don't re-signal errors from
905 package--with-work-buffer. Suggested by Stefan Monnier.
906
907 2014-01-07 Bastien Guerry <bzg@gnu.org>
908
909 * minibuffer.el (completion--try-word-completion): When both a
910 hyphen and a space are possible candidates for the character
911 following a word, display both candidates. (Bug#15980)
912
913 2014-01-07 Martin Rudalics <rudalics@gmx.at>
914
915 * window.el (balance-windows-2): While rounding don't give a
916 window more than the remainder. Bug#16351, Bug#16383.
917
918 2014-01-07 Glenn Morris <rgm@gnu.org>
919
920 * menu-bar.el (menu-bar-help-extra-packages): Remove.
921 (menu-bar-help-menu): Use view-external-packages instead.
922
923 2014-01-07 Bastien Guerry <bzg@gnu.org>
924
925 * emacs-lisp/package.el (package-delete): Also delete the package
926 name from `package-alist', not its description only.
927
928 2014-01-07 Glenn Morris <rgm@gnu.org>
929
930 * help.el (view-external-packages):
931 * menu-bar.el (menu-bar-help-extra-packages):
932 Visit efaq.info rather than etc/MORE.STUFF.
933
934 2014-01-07 Juri Linkov <juri@jurta.org>
935
936 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
937 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
938
939 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
940 that shadows RET. (Bug#16342)
941
942 2014-01-07 Chong Yidong <cyd@gnu.org>
943
944 * isearch.el (isearch-yank-char, isearch-yank-word)
945 (isearch-yank-line): Doc fix.
946
947 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
950 * emacs-lisp/elint.el (elint-find-builtins):
951 * emacs-lisp/eldoc.el (eldoc-symbol-function):
952 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
953 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
954 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
955 * apropos.el (apropos-safe-documentation):
956 * subr.el (symbol-file): Remove redundant fboundp.
957 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
958
959 2014-01-06 Bastien Guerry <bzg@gnu.org>
960
961 * hl-line.el (global-hl-line-overlay): Make a local variable.
962 (global-hl-line-overlays): New variable to store all overlays.
963 (global-hl-line-mode): Don't delete overlays from the current
964 buffer when `global-hl-line-sticky-flag' is non-nil.
965 (global-hl-line-highlight): Add new overlays to
966 `global-hl-line-overlays'.
967 (global-hl-line-unhighlight-all): New function to delete all
968 overlays when turning off `global-hl-line-mode'.
969 This fixes Bug#16183.
970
971 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * subr.el (set-transient-map): Fix nested case and docstring.
974
975 2014-01-06 Tassilo Horn <tsdh@gnu.org>
976
977 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
978 `Texinfo' entry.
979
980 2014-01-06 Daniel Colascione <dancol@dancol.org>
981
982 Fix defun navigation in vc log view.
983
984 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
985 like `beginning-of-defun'.
986 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
987 log-view-end-of-defun to log-view-end-of-defun-1. Replace
988 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
989 (log-view-extract-comment): Call `log-view-current-entry' directly
990 instead of relying on broken `log-view-beginning-of-defun' behavior.
991
992 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
993
994 Spelling fixes.
995 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
996 * emacs-lisp/debug.el (cancel-debug-on-entry):
997 * epg.el (epg-error-to-string):
998 * files.el (recover-file):
999 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1000 * mail/emacsbug.el (report-emacs-bug-hook):
1001 * mail/sendmail.el (mail-recover):
1002 * ses.el (ses-yank-resize):
1003 * term/ns-win.el (ns-print-buffer):
1004 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1005 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1006 All uses changed.
1007 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1008
1009 2014-01-06 Leo Liu <sdl.web@gmail.com>
1010
1011 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1012 to avoid shadowing global key. (Bug#16354)
1013
1014 2014-01-06 Daniel Colascione <dancol@dancol.org>
1015
1016 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1017 rst-mode.
1018
1019 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1020
1021 * window.el (balance-windows): Add mising t to fix Bug#16351.
1022
1023 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1024
1025 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1026 (bug#16285).
1027 (shr-insert): If we have a word that's longer than `shr-width',
1028 break after it anyway. Otherwise we'll do no breaking once we get
1029 such a long word.
1030
1031 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1032
1033 * net/eww.el (eww): Support single/double quote for search.
1034 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1035 (eww-history-quit): Delete and use quit-window.
1036 (eww-history-kill): Delete, because it doesn't work well and
1037 not necessary.
1038 (eww-history-mode-map): Delete some keys and add easy-menu.
1039
1040 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1041
1042 Fix misspelling of 'chinese' in rx (Bug#16237).
1043 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1044 chinese-two-byte.
1045
1046 Change subword regexps back to vars (Bug#16296).
1047 * progmodes/subword.el (subword-forward-regexp)
1048 (subword-backward-regexp): Change these back to variables.
1049
1050 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1053 syntax-begin-function (bug#16247).
1054
1055 2014-01-03 Chong Yidong <cyd@gnu.org>
1056
1057 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1058 (advice--docstring): Delete variable.
1059 (advice--make-1): Leave the docstring empty.
1060 (advice-add): Use function-documentation for advised docstring.
1061
1062 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1063 Ignore function-documentation property when getting documentation.
1064 (ad-activate-advised-definition): Use function-documentation
1065 generate the docstring.
1066 (ad-make-advised-definition): Don't call
1067 ad-make-advised-definition-docstring.
1068 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1069 Delete functions.
1070
1071 * progmodes/sql.el (sql-help): Use function-documentation instead
1072 of dynamic-docstring-function property. No need to autoload now.
1073 (sql--help-docstring): New variable.
1074 (sql--make-help-docstring): Use it.
1075
1076 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * ielm.el (ielm-tab): Retarget.
1079 (ielm-map): Use ielm-tab for tab.
1080 (ielm-complete-filename): Use comint-filename-completion.
1081 (ielm-complete-symbol): Remove.
1082 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1083 remove ielm-tab from completion-at-point-functions (bug#16224).
1084
1085 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1086 Beware signals raised by predicates (bug#16201).
1087
1088 2014-01-02 Richard Stallman <rms@gnu.org>
1089
1090 * dired-aux.el (dired-do-print): Handle printer-name.
1091
1092 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1093 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1094 (rmail-epa-decrypt): Turn off mime processing.
1095
1096 * mail/rmail.el (rmail-make-in-reply-to-field):
1097 Add parens in message-id.
1098
1099 * mail/rmail.el (rmail-get-coding-function): Variable.
1100 (rmail-get-coding-system): Use it.
1101
1102 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1103
1104 * international/mule-conf.el: Unify the charset indian-is13194.
1105 (indian-is13194): Specify unify-map.
1106
1107 2013-12-31 Leo Liu <sdl.web@gmail.com>
1108
1109 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1110
1111 2013-12-30 Daniel Colascione <dancol@dancol.org>
1112
1113 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1114 of printing a useless when we resume from sleep.
1115
1116 * progmodes/sh-script.el
1117 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1118 in indentation code. (Bug#16233)
1119
1120 2013-12-28 João Távora <joaotavora@gmail.com>
1121
1122 * elec-pair.el (electric-pair-post-self-insert-function):
1123 Don't open extra newlines at beginning of buffer. (Bug#16272)
1124
1125 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1126
1127 * frame.el (window-system-for-display): Don't allow to create a
1128 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1129
1130 2013-12-28 Glenn Morris <rgm@gnu.org>
1131
1132 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1133 Update callers.
1134
1135 * apropos.el (apropos-match-face):
1136 * calculator.el (calculator-displayer):
1137 * dabbrev.el (dabbrev-search-these-buffers-only):
1138 * face-remap.el (buffer-face-mode-face):
1139 * simple.el (yank-handled-properties):
1140 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1141 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1142 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1143 (hashcash-double-spend-database):
1144 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1145 (ruby-deep-indent-paren-style):
1146 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1147 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1148 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1149 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1150 Specify custom types.
1151
1152 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1153 * bookmark.el (bookmark-bmenu-use-header-line):
1154 * doc-view.el (doc-view-scale-internally):
1155 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1156 * register.el (register-preview-delay):
1157 * net/shr.el (shr-bullet):
1158 * progmodes/cfengine.el (cfengine-cf-promises)
1159 (cfengine-parameters-indent):
1160 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1161 * textmodes/reftex-vars.el (reftex-label-regexps):
1162 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1163
1164 * net/tls.el (tls-certtool-program): Fix default value.
1165
1166 * desktop.el (desktop-restore-in-current-display):
1167 * newcomment.el (comment-empty-lines):
1168 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1169 (idlwave-pad-keyword):
1170 * progmodes/tcl.el (tcl-tab-always-indent):
1171 * textmodes/reftex-vars.el (reftex-index-default-tag):
1172 * elec-pair.el (electric-pair-skip-whitespace):
1173 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1174
1175 * emacs-lisp/authors.el (authors-ignored-files)
1176 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1177
1178 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1179
1180 * shell.el (shell-dynamic-complete-command): Doc fix.
1181 (shell--command-completion-data): Shell completion now matches
1182 executable filenames from the current buffer's directory, on
1183 systems in which this behavior is the default (windows-nt, ms-dos).
1184
1185 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1186
1187 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1188
1189 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1192 (bug#16251).
1193
1194 * electric.el: Move all electric-pair-* to elec-pair.el.
1195 * elec-pair.el: New file, split from electric.el.
1196
1197 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1198
1199 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1200 indentation level is larger than the width, because that will
1201 infloop.
1202 (shr-insert): Fill repeatedly long texts, so that Japanese is
1203 formatted correctly (bug#16263).
1204 (shr-find-fill-point): Off by one error in comparison with the
1205 indentation.
1206
1207 2013-12-26 João Távora <joaotavora@gmail.com>
1208
1209 * electric.el (electric-pair-mode): More flexible engine for skip-
1210 and inhibit predicates, new options for pairing-related functionality.
1211 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1212 if that keeps or improves their balance in buffers.
1213 (electric-pair-delete-adjacent-pairs): Delete the pair when
1214 backspacing over adjacent matched delimiters.
1215 (electric-pair-open-extra-newline): Open extra newline when
1216 inserting newlines between adjacent matched delimiters.
1217 (electric--sort-post-self-insertion-hook):
1218 Sort post-self-insert-hook according to priority values when
1219 minor-modes are activated.
1220 * simple.el (newline-and-indent): Call newline with interactive
1221 set to t.
1222 (blink-paren-post-self-insert-function): Set priority to 100.
1223 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1224 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1225 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1226 electric-pair-open-newline-between-pairs to nil.
1227
1228 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1229
1230 * progmodes/python.el: Use lexical-binding.
1231 (python-nav-beginning-of-defun): Stop searching ASAP.
1232
1233 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1234
1235 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1236 Fix interactive spec. Doc fix. (Bug#15754)
1237
1238 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1239
1240 * emacs-lisp/byte-run.el (eval-when-compile):
1241 * progmodes/cc-defs.el (cc-eval-when-compile):
1242 Fix edebug spec (bug#16184).
1243
1244 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1245
1246 * net/shr.el (shr-visit-file): Remove debugging function.
1247 (shr-insert): Don't infloop if we can't find a good place to break
1248 the line (bug#16256).
1249
1250 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1251
1252 * progmodes/python.el:
1253 (python-nav--lisp-forward-sexp): New function.
1254 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1255 python-nav-lisp-forward-sexp-safe.
1256 (python-nav--forward-sexp): New argument SAFE allows switching
1257 forward sexp movement behavior for parens.
1258 (python-nav-forward-sexp): Throw errors on unterminated parens
1259 (Bug#16191).
1260 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1261 (python-nav-backward-sexp-safe): New functions.
1262 (python-shell-buffer-substring):
1263 Use `python-nav-forward-sexp-safe'.
1264
1265 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1266
1267 * net/shr.el (shr-find-fill-point): Don't break lines before a
1268 quotation mark.
1269 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1270 (shr-find-fill-point): Remove the special checks for the quotation
1271 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1272
1273 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1274
1275 * net/eww.el (eww-form-textarea): Use a different face for
1276 textareas than text input since they have different keymaps
1277 (bug#16142).
1278
1279 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1280
1281 * progmodes/python.el (python-nav-beginning-of-statement):
1282 Speed up (Bug#15295).
1283
1284 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1285
1286 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1287 the window configuration.
1288
1289 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1290
1291 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1292 we run on MS-Windows or MS-DOS.
1293
1294 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1295
1296 * window.el (balance-windows-area): Call window-size instead of
1297 window-height and window-width. Bug#16241.
1298
1299 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1300
1301 * net/eww.el (eww-bookmark-quit): Remove.
1302 (eww-bookmark-browse): Restore the window configuration when you
1303 choose a bookmark (bug#16144).
1304
1305 2013-12-24 Daniel Colascione <dancol@dancol.org>
1306
1307 * icomplete.el: Remove redundant :group arguments to `defcustom'
1308 throughout.
1309 (icomplete-show-matches-on-no-input): New customizable variable.
1310 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1311 we have something to show.
1312 (icomplete-exhibit): Compute completions even if we have no user input.
1313
1314 2013-12-23 Daniel Colascione <dancol@dancol.org>
1315
1316 * icomplete.el: Move `provide' to end of file.
1317
1318 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1319
1320 * net/gnutls.el (gnutls-verify-error): Add version tag.
1321
1322 2013-12-23 Chong Yidong <cyd@gnu.org>
1323
1324 * subr.el (set-transient-map): Rename from
1325 set-temporary-overlay-map. Doc fix.
1326
1327 * face-remap.el (text-scale-adjust):
1328 * indent.el (indent-rigidly):
1329 * kmacro.el (kmacro-call-macro):
1330 * minibuffer.el (minibuffer-force-complete):
1331 * repeat.el (repeat):
1332 * simple.el (universal-argument--mode):
1333 * calendar/todo-mode.el (todo-insert-item--next-param):
1334 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1335
1336 * indent.el (indent-rigidly): Use substitute-command-keys.
1337
1338 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1339
1340 * net/eww.el (eww-tag-select): Add text-property to jump to next
1341 select field.
1342 (eww): Add non-supported ftp error.
1343
1344 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1345
1346 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1347 comments. Handle electric indent after typing `?' and `!'.
1348
1349 2013-12-22 Chong Yidong <cyd@gnu.org>
1350
1351 * faces.el (face-spec-recalc): If the theme specs are not
1352 applicable to a frame, fall back on the defface spec.
1353 This prevents themes from obliterating faces on low-color terminals.
1354
1355 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1356
1357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1358 after `{'. We need it after block openers, and it doesn't seem
1359 to hurt after hash openers.
1360
1361 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1364 extracted from `ruby-smie-rules'.
1365 (ruby--electric-indent-chars): New variable.
1366 (ruby--electric-indent-p): New function.
1367 (ruby-mode): Use `electric-indent-functions' instead of
1368 `electric-indent-chars'.
1369
1370 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1371
1372 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1373 docstring.
1374 (ruby-smie-rules): Indent plus one level after `=>'.
1375
1376 2013-12-21 Richard Stallman <rms@gnu.org>
1377
1378 * simple.el (newline): Doc fix.
1379
1380 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1381
1382 * net/eww.el (eww-list-histories, eww-list-histories)
1383 (eww-history-browse, eww-history-quit, eww-history-kill)
1384 (eww-history-mode-map, eww-history-mode): New command and
1385 functions to list browser histories.
1386 (eww-form-text): Support text form with disabled
1387 and readonly attributes.
1388 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1389
1390 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1391
1392 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1393 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1394 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1395 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1396 Use `user-error'.
1397 (eww-bookmark-mode-map): Add menu.
1398 (eww-render, eww-mode): Use `setq-local'.
1399 (eww-tool-bar-map): New variable.
1400 (eww-mode): Set `tool-bar-map'.
1401 (eww-view-source): Check for `html-mode' with `fboundp'.
1402
1403 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1404
1405 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1406 elements with text inside. Also remove debugging.
1407
1408 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1409
1410 * cus-start.el (all): Add ns-use-srgb-colorspace.
1411
1412 2013-12-21 Chong Yidong <cyd@gnu.org>
1413
1414 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1415 undefined. Thus, theme settings for undefined faces do not take
1416 effect until the faces are defined with defface, the same as with
1417 theme variables.
1418
1419 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1420 (face-spec-reset-face): Don't assign extra properties in temacs.
1421 (face-spec-recalc): Apply X resources too.
1422
1423 2013-12-21 Chong Yidong <cyd@gnu.org>
1424
1425 * faces.el (face-spec-set):
1426 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1427 * custom.el (defface): Doc fixes (Bug#16203).
1428
1429 * indent.el (indent-rigidly-map): Add docstring, and move commands
1430 into named functions.
1431 (indent-rigidly-left, indent-rigidly-right)
1432 (indent-rigidly-left-to-tab-stop)
1433 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1434 indentation direction based on bidi direction, and accumulate
1435 sequential commands in a single undo boundary.
1436 (indent-rigidly--pop-undo): New utility function.
1437
1438 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1439
1440 * faces.el (read-face-name): Require crm.el when using crm-separator.
1441
1442 2013-12-20 Daniel Colascione <dancol@dancol.org>
1443
1444 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1445 so that we don't reflow comments into the shebang line.
1446
1447 2013-12-20 Juri Linkov <juri@jurta.org>
1448
1449 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1450 a position when `dired-directory' is non-nil. Check integer
1451 positions with `integerp'.
1452 (toggle-save-place, save-places-to-alist): Add check for
1453 `dired-directory'.
1454 (save-place-find-file-hook): Check integer positions with
1455 `integerp'.
1456 (save-place-dired-hook): Use `dired-goto-file' when
1457 `dired-filename' is found in the assoc list. Check integer
1458 positions with `integerp'.
1459 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1460
1461 * dired.el (dired-initial-position-hook): Rename back from
1462 `dired-initial-point-hook'.
1463 (dired-initial-position): Rename `dired-initial-point-hook' to
1464 `dired-initial-position-hook'.
1465 (dired-file-name-at-point): Doc fix. (Bug#15329)
1466
1467 2013-12-20 Juri Linkov <juri@jurta.org>
1468
1469 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1470 (read-regexp-suggestions): New function.
1471 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1472 Use `read-regexp-suggestions'. Add non-empty default to history
1473 for empty input.
1474 (occur-read-regexp-defaults-function): Remove function.
1475 (occur-read-primary-args): Use `regexp-history-last' instead of
1476 `occur-read-regexp-defaults-function'.
1477
1478 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1479 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1480 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1481 `hi-lock-read-regexp-defaults-function'. Doc fix.
1482 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1483 with `find-tag-default-as-symbol-regexp'. Doc fix.
1484 (hi-lock-read-regexp-defaults): Remove function.
1485 (hi-lock-regexp-okay): Add check for null.
1486
1487 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1488 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1489
1490 * subr.el (find-tag-default-as-symbol-regexp): New function.
1491 (find-tag-default-as-regexp): Move symbol regexp formatting to
1492 `find-tag-default-as-symbol-regexp'.
1493
1494 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1495
1496 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1497 (Bug#14179)
1498
1499 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1500
1501 * calendar/todo-mode.el: New implementation of item insertion
1502 commands and key bindings.
1503 (todo-key-prompt): New face.
1504 (todo-insert-item): New command.
1505 (todo-insert-item--parameters): New defconst, replacing defvar
1506 todo-insertion-commands-args-genlist.
1507 (todo-insert-item--param-key-alist): New defconst, replacing
1508 defvar todo-insertion-commands-arg-key-list.
1509 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1510 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1511 (todo-insert-item--next-param): New functions.
1512 (todo-insert-item--args, todo-insert-item--argleft)
1513 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1514 New variables.
1515 (todo-key-bindings-t): Change binding of "i" from
1516 todo-insertion-map to todo-insert-item.
1517 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1518 (todo-insertion-command-name, todo-insertion-commands-names)
1519 (todo-define-insertion-command, todo-insertion-commands)
1520 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1521
1522 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1523
1524 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1525 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1526 eval-when-compile.
1527 (todo-move-category): Allow choosing a non-existing todo file to
1528 move the category to, and create that file.
1529 (todo-default-priority): New user option.
1530 (todo-set-item-priority): Use it.
1531 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1532 (desktop-restore-file-buffer): Declare.
1533 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1534 (todo-modes-set-2): Locally set desktop-save-buffer to
1535 todo-desktop-save-buffer.
1536 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1537 (auto-mode-alist): Add autoload cookie.
1538
1539 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1540
1541 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1542 helpers.el was a poor choice of name.
1543 (string-remove-prefix): New function.
1544 (string-remove-suffix): New function.
1545
1546 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1547
1548 Fix assignment for new window total sizes.
1549 * window.el (window--pixel-to-size): Remove function.
1550 (window--pixel-to-total-1, window--pixel-to-total):
1551 Fix calculation of new total sizes.
1552
1553 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1554
1555 * comint.el (comint-output-filter): Fix rear-nonsticky property
1556 placement (Bug#16010).
1557
1558 2013-12-20 Chong Yidong <cyd@gnu.org>
1559
1560 * faces.el (read-color): Minor fix for completion function.
1561
1562 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1563
1564 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1565 New option. (Bug#16182)
1566 (ruby-smie--indent-to-stmt-p): Use it.
1567 (ruby-smie-rules): Revert the logic in the handling of `when'.
1568 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1569 (ruby-deep-arglist, ruby-deep-indent-paren)
1570 (ruby-deep-indent-paren-style): Update docstrings to note that the
1571 vars don't have any effect with SMIE.
1572
1573 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1574
1575 * calc/calc.el (calc-enter, calc-pop): Use the variable
1576 `calc-context-sensitive-enter'.
1577
1578 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1579
1580 * net/shr.el (shr-insert): Protect against infloops in degenerate
1581 tables.
1582
1583 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1584
1585 * progmodes/octave.el (octave): Add link to manual and octave
1586 homepage.
1587 (octave-mode-menu): Link to octave-mode manual.
1588
1589 2013-12-20 Leo Liu <sdl.web@gmail.com>
1590
1591 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1592 insertion using skeleton-end-newline. (Bug#16138)
1593
1594 2013-12-20 Juri Linkov <juri@jurta.org>
1595
1596 * replace.el (occur-engine): Use `add-face-text-property'
1597 to add the face property to matches and titles. (Bug#14645)
1598
1599 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1600 the palette of other hi-lock colors.
1601 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1602
1603 2013-12-19 Juri Linkov <juri@jurta.org>
1604
1605 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1606 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1607 (minibuffer-history-symbol): Move variable declaration closer to
1608 its usage.
1609
1610 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1611 (Bug#14785)
1612
1613 2013-12-19 Juri Linkov <juri@jurta.org>
1614
1615 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1616 New function.
1617 (log-edit-hook): Add it to :options. (Bug#16170)
1618
1619 2013-12-19 Juri Linkov <juri@jurta.org>
1620
1621 * simple.el (eval-expression-print-format): Don't check for
1622 command names and the last command. Always display additional
1623 formats of the integer result in the echo area, and insert them
1624 to the current buffer only with a zero prefix arg.
1625 Display character when char-displayable-p is non-nil.
1626 (eval-expression): With a zero prefix arg, set `print-length' and
1627 `print-level' to nil, and insert the integer values from
1628 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1629
1630 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1631 `eval-last-sexp-arg-internal'. Doc fix.
1632 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1633 `eval-last-sexp-print-value'. Doc fix.
1634 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1635 Set `print-length' and `print-level' to nil when arg is zero.
1636 (eval-last-sexp): Doc fix.
1637 (eval-defun-2): Print the integer values from
1638 `eval-expression-print-format' at the end.
1639
1640 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1641 values from `eval-expression-print-format' at the end.
1642
1643 * ielm.el (ielm-eval-input): Print the integer
1644 values from `eval-expression-print-format' at the end.
1645
1646 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1647
1648 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1649 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1650
1651 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1654 (hl-line-highlight, global-hl-line-highlight): Use it.
1655 (hl-line-overlay): Use defvar-local.
1656
1657 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1658
1659 * term/ns-win.el: Require dnd.
1660 (global-map): Remove drag items.
1661 (ns-insert-text, ns-set-foreground-at-mouse)
1662 (ns-set-background-at-mouse):
1663 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1664 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1665 New functions.
1666
1667 2013-12-19 Glenn Morris <rgm@gnu.org>
1668
1669 * emacs-lisp/ert.el (ert-select-tests):
1670 Fix string/symbol mixup. (Bug#16121)
1671
1672 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1673
1674 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1675 keywords to their parent.
1676
1677 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1678
1679 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1680 first arg to be a string (fixed dead code), or an operator symbol.
1681 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1682 operator symbols.
1683 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1684 did nothing. Don't respond to `(:after ".")', it will be called
1685 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1686 change anything. Only return indentation for binary operators
1687 when they are hanging. De-dent opening paren when its parent is
1688 `.', otherwise it looks bad when the dot is not at bol or eol
1689 (bug#16182).
1690
1691 2013-12-19 Juri Linkov <juri@jurta.org>
1692
1693 * replace.el (query-replace-read-args): Split a non-negative arg
1694 and a negative arg into separate elements.
1695 (query-replace, query-replace-regexp, replace-string)
1696 (replace-regexp): Add arg `backward'. Doc fix.
1697 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1698 move point to the beginning of the match.
1699 (replace-search, replace-highlight): Use new arg `backward'
1700 to set the value of `isearch-forward'.
1701 (perform-replace): Add arg `backward' and use it to perform
1702 replacement backward. (Bug#14979)
1703
1704 * isearch.el (isearch-query-replace): Use a negative prefix arg
1705 to call `perform-replace' with a non-nil arg `backward'.
1706
1707 2013-12-18 Juri Linkov <juri@jurta.org>
1708
1709 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1710 to the default list. Move `log-edit-show-files' to the end.
1711 Add more available functions to options.
1712 (log-edit): Move default specific settings to
1713 `log-edit-insert-message-template'. Don't move point.
1714 (log-edit-insert-message-template): New function.
1715 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1716 (Bug#16170)
1717
1718 2013-12-18 Juri Linkov <juri@jurta.org>
1719
1720 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1721 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1722
1723 2013-12-18 Leo Liu <sdl.web@gmail.com>
1724
1725 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1726 (Bug#16186)
1727
1728 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1729
1730 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1731 formats for displaying file sizes when the -s switch is given.
1732 Instead, compute a separate format for displaying the size in
1733 blocks, which is displayed in addition to the "regular" size.
1734 When -h is given in addition to -s, produce size in blocks in
1735 human-readable form as well. (Bug#16179)
1736
1737 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1738
1739 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1740 Reference tables with ~\ref{...} instead of only \ref{...}.
1741
1742 2013-12-18 Chong Yidong <cyd@gnu.org>
1743
1744 * cus-edit.el (custom-magic-alist): Fix "themed" description
1745 (Bug#14348).
1746
1747 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1748 is non-nil, do not create a new entry in the symbol's theme-value
1749 or theme-face property; update theme-settings only (Bug#14664).
1750 (custom-available-themes): Doc fix.
1751
1752 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1753 (Bug#15674).
1754
1755 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1756
1757 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1758
1759 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1760 (Bug#13914).
1761
1762 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1763
1764 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1765
1766 2013-12-18 Glenn Morris <rgm@gnu.org>
1767
1768 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1769 * cus-start.el (load-prefer-newer): New option.
1770
1771 2013-12-18 Le Wang <l26wang@gmail.com>
1772
1773 * comint.el (comint-previous-matching-input-from-input):
1774 Retain point (Bug#13404).
1775
1776 2013-12-18 Chong Yidong <cyd@gnu.org>
1777
1778 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1779
1780 2013-12-18 Glenn Morris <rgm@gnu.org>
1781
1782 * mail/emacsbug.el (report-emacs-bug):
1783 Only mention enable-multibyte-characters if non-standard.
1784
1785 2013-12-17 Juri Linkov <juri@jurta.org>
1786
1787 * arc-mode.el (archive-extract-by-file): Check if directory exists
1788 before deletion to not show irrelevant errors if it doesn't exist.
1789
1790 2013-12-17 Juri Linkov <juri@jurta.org>
1791
1792 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1793 (Bug#14751)
1794
1795 * net/eww.el (browse-web): Add alias to `eww'.
1796 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1797 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1798
1799 * net/browse-url.el (browse-url-browser-function): Move `eww'
1800 closer to similar functions.
1801
1802 * startup.el (fancy-startup-screen, fancy-about-screen):
1803 Set browse-url-browser-function to eww-browse-url locally.
1804 (Bug#14751)
1805
1806 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * window.el (window--pixel-to-total): Remove unused `mini' var.
1809 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1810 (split-window): Remove unused `new' var.
1811 (window--display-buffer): Remove unused `frame' and `delta' vars.
1812 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1813 and display-width'.
1814
1815 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1816
1817 * dired.el (dired-mark-pop-up):
1818 * register.el (register-preview): Don't bind
1819 split-height-threshold here since it's now done in
1820 display-buffer-below-selected.
1821
1822 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1823
1824 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1825 xterm-rgb-convert-to-16bit.
1826 (rxvt-register-default-colors): Standardize with
1827 xterm-register-default-colors (Bug#14078).
1828
1829 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1830
1831 * simple.el (kill-region): Pass mark first, then point, so that
1832 kill-append works right (Bug#12819).
1833 (copy-region-as-kill, kill-ring-save): Likewise.
1834
1835 2013-12-17 Leo Liu <sdl.web@gmail.com>
1836
1837 * net/rcirc.el (rcirc-add-face):
1838 * eshell/em-prompt.el (eshell-emit-prompt):
1839 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1840 (Bug#16167)
1841
1842 2013-12-17 Chong Yidong <cyd@gnu.org>
1843
1844 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1845 Suggested by Xue Fuqiao.
1846
1847 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1848
1849 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1850
1851 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * net/shr.el (shr-insert-document): Remove unused var
1854 `shr-preliminary-table-render'.
1855 (shr-rescale-image): Remove unused arg `force'.
1856 (shr-put-image): Update calls accordingly.
1857 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1858
1859 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1860
1861 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1862 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1863 :close-all, to see which indentation method to use (Bug#16116).
1864 (smie-rules-function): Document the method :close-all.
1865
1866 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1867
1868 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1869
1870 * net/eww.el (eww-display-html): If we can't find the anchor we're
1871 looking for, then go to point-min.
1872
1873 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1874
1875 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1876 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1877 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1878 Expand dir too, in case it's relative.
1879
1880 2013-12-16 Juri Linkov <juri@jurta.org>
1881
1882 * desktop.el (desktop-auto-save-timeout): Change default to
1883 `auto-save-timeout'. Doc fix.
1884 (desktop-save): Skip the timestamp in desktop-saved-frameset
1885 when checking for auto-save changes.
1886 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1887 `desktop-auto-save' is called repeatedly by the idle timer.
1888 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1889 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1890 (Bug#15331)
1891
1892 2013-12-16 Juri Linkov <juri@jurta.org>
1893
1894 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1895 (Bug#16035)
1896 (isearch-pre-command-hook): Check `this-command' for symbolp.
1897
1898 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1901
1902 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1903
1904 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1905 (cfengine3--current-function): Bring in the current-function
1906 functionality from `cfengine3--current-word'.
1907 (cfengine3-completion-function): Bring in the
1908 bounds-of-current-word functionality from
1909 `cfengine3--current-word'.
1910
1911 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1912
1913 * window.el (display-buffer-below-selected):
1914 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1915
1916 2013-12-16 Leo Liu <sdl.web@gmail.com>
1917
1918 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1919 Remove NOMSG arg and all uses changed.
1920
1921 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1924 (cua--deactivate-rectangle): Don't deactivate the mark.
1925 (cua-set-rectangle-mark): Don't set mark-active since
1926 cua--activate-rectangle already does it for us.
1927 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1928 non-rectangular region.
1929
1930 * emulation/cua-base.el (cua-repeat-replace-region):
1931 Use with-current-buffer.
1932
1933 * net/gnutls.el: Use cl-lib.
1934 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1935
1936 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1937
1938 * emacs-lisp/package.el (package-built-in-p): Support both
1939 built-in and the package.el converted package descriptions.
1940 (package-show-package-list): Allow keywords.
1941 (package-keyword-button-action): Use it instead of
1942 `finder-list-matches'.
1943 (package-menu-filter-interactive): Interactive filtering (by
1944 keyword) function.
1945 (package-menu--generate): Support keywords and change keymappings
1946 and headers when they are given.
1947 (package--has-keyword-p): Helper function.
1948 (package-menu--refresh): Use it.
1949 (package--mapc): Helper function.
1950 (package-all-keywords): Use it.
1951 (package-menu-mode-map): Set up menu items and keybindings to
1952 provide a filtering UI.
1953
1954 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1955
1956 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1957 the behavior when a certificate fails validation. Defaults to
1958 old behavior: never abort, just warn.
1959 (gnutls-negotiate): Use it.
1960
1961 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1962
1963 * window.el (display-buffer-below-selected): Never split window
1964 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1965
1966 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1967
1968 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1969 (package-buffer-info): Use it (bug#15108).
1970
1971 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * icomplete.el (icomplete-completions): Make sure the prefix is already
1974 displayed elsewhere before hiding it (bug#16219).
1975
1976 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1977
1978 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1979 open-paren tokens when preceded by a open-paren, too.
1980 (ruby-smie-rules): Handle virtual indentation after open-paren
1981 tokens specially. If there is code between it and eol, return the
1982 column where is starts (Bug#16118).
1983
1984 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1985
1986 * progmodes/cfengine.el: Fix `add-hook' doc.
1987 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1988 (cfengine3--current-word): Fix parameters.
1989 (cfengine3-make-syntax-cache): Simplify further.
1990 (cfengine3-completion-function, cfengine3--current-function):
1991 Use `assq' for symbols.
1992 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1993
1994 2013-12-13 Glenn Morris <rgm@gnu.org>
1995
1996 * loadup.el (load-path): Warn if site-load or site-init changes it.
1997 No more need to reset it when bootstrapping.
1998
1999 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2000
2001 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2002 locations for cf-promises.
2003 (cfengine-mode-syntax-functions-regex): New caching variable.
2004 (cfengine3-fallback-syntax): Fallback syntax for cases where
2005 cf-promises doesn't run.
2006 (cfengine3--current-word): Reimplement using
2007 `cfengine-mode-syntax-functions-regex'.
2008 (cfengine3-completion-function, cfengine3--current-function):
2009 Use `cfengine3-make-syntax-cache' directly.
2010 (cfengine3-clear-syntax-cache): New function.
2011 (cfengine3-make-syntax-cache): Simplify and create
2012 `cfengine-mode-syntax-functions-regex' on demand.
2013 (cfengine3-format-function-docstring): Don't call
2014 `cfengine3-make-syntax-cache' explicitly.
2015
2016 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2017
2018 Fix windmove-find-other-window broken after pixelwise resizing
2019 (Bug#16017).
2020 * windmove.el (windmove-other-window-loc): Revert change from
2021 2013-12-04.
2022 (windmove-find-other-window): Call window-in-direction.
2023 * window.el (window-in-direction): New arguments SIGN, WRAP and
2024 MINI to emulate original windmove-find-other-window behavior.
2025
2026 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * simple.el (blink-matching--overlay): New variable.
2029 (blink-matching-open): Instead of moving point, highlight the
2030 matching paren with an overlay
2031 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2032
2033 * faces.el (paren-showing-faces, show-paren-match)
2034 (show-paren-mismatch): Move from paren.el.
2035
2036 2013-12-13 Leo Liu <sdl.web@gmail.com>
2037
2038 * indent.el (indent-region): Disable progress reporter in
2039 minibuffer. (Bug#16108)
2040
2041 * bindings.el (visual-order-cursor-movement): Fix version.
2042
2043 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2044
2045 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2046 Also match after beginning of line.
2047 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2048 files. Thanks to Russell Sim. (Bug#15378)
2049
2050 2013-12-13 Juri Linkov <juri@jurta.org>
2051
2052 * simple.el <Keypad support>: Remove key bindings duplicated
2053 with bindings.el. (Bug#14397)
2054
2055 2013-12-13 Juri Linkov <juri@jurta.org>
2056
2057 * comint.el (comint-mode-map): Replace `delete-char' with
2058 `delete-forward-char'. (Bug#16109)
2059
2060 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2061
2062 * progmodes/python.el (python-indent-calculate-indentation):
2063 Fix de-denters cornercase. (Bug#15731)
2064
2065 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2068 (advice--make): Pay attention to `depth'.
2069 (advice--make-1): Don't autoload commands eagerly.
2070 * emacs-lisp/elp.el (elp-instrument-function):
2071 * emacs-lisp/trace.el (trace-function-internal):
2072 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2073
2074 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2075
2076 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2077
2078 * term/w32-win.el (w32-handle-dropped-file):
2079 * startup.el (normal-top-level):
2080 * net/browse-url.el (browse-url-file-url):
2081 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2082 decode file names using 'utf-8' rather than
2083 file-name-coding-system.
2084
2085 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2086
2087 * progmodes/python.el (python-indent-context)
2088 (python-indent-calculate-indentation): Fix auto-identation
2089 behavior for comment blocks. (Bug#15916)
2090
2091 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2092
2093 * progmodes/python.el (python-indent-calculate-indentation):
2094 When determining indentation, don't treat "return", "pass", etc., as
2095 operators when they are just string constituents. (Bug#15812)
2096
2097 2013-12-12 Juri Linkov <juri@jurta.org>
2098
2099 * uniquify.el (uniquify-buffer-name-style): Change default to
2100 `post-forward-angle-brackets'.
2101
2102 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2103 `uniquify'. Change default to `post-forward-angle-brackets'.
2104
2105 2013-12-11 Glenn Morris <rgm@gnu.org>
2106
2107 * emacs-lisp/package.el (finder-list-matches):
2108 Autoload rather than falsely declaring.
2109
2110 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2111
2112 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2113 (eww-mode-map): Use them.
2114
2115 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2116
2117 * window.el (display-buffer-in-side-window): Fix doc-string
2118 (Bug#16115).
2119
2120 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2121
2122 * vc/vc-git.el: Silence byte-compiler warnings.
2123 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2124 (log-edit-set-header): Declare.
2125
2126 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2127
2128 * Makefile.in (custom-deps, finder-data): Run output file names
2129 through unmsys--file-name. (Bug#16099)
2130
2131 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2134 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2135
2136 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2137 instead of deleting the selection "by hand" (bug#16098).
2138 Rely on insert-for-yank to yank rectangles.
2139 (cua-highlight-region-shift-only): Mark obsolete.
2140 (cua-mode): Don't enable/disable transient-mark-mode,
2141 shift-select-mode (cua-mode works both with and without them), and
2142 pc-selection-mode (obsolete).
2143 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2144 (cua--deactivate-rectangle): Deactivate it.
2145
2146 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2147 (delete-selection-helper): Make sure yank starts at the top of the
2148 deleted region.
2149 (minibuffer-keyboard-quit): Use region-active-p.
2150
2151 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2152
2153 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2154 to `delete' (bug#16109).
2155
2156 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2157
2158 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2159 info manual and show keybindings and set `:group' keyword.
2160
2161 2013-12-11 Juri Linkov <juri@jurta.org>
2162
2163 * delsel.el (delete-active-region): Let-bind `this-command'
2164 to prevent `kill-region' from changing its original value.
2165 (delete-selection-helper): Handle `overwrite-mode' for the type
2166 `kill' exactly the same way as for the type `t'.
2167 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2168 Support more commands. (Bug#13312)
2169
2170 2013-12-11 Juri Linkov <juri@jurta.org>
2171
2172 * bindings.el: Map kp keys to non-kp keys systematically
2173 with basic modifiers control, meta and shift. (Bug#14397)
2174
2175 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2176
2177 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2178 "Close browser" menu items. Fix wrong function of "List
2179 bookmarks".
2180
2181 2013-12-11 Juri Linkov <juri@jurta.org>
2182
2183 * misearch.el (multi-isearch-buffers): Set the value of
2184 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2185 arg of isearch-forward to t.
2186 (multi-isearch-buffers-regexp): Set the value of
2187 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2188 arg of isearch-forward-regexp to t.
2189 (multi-isearch-files): Set the value of
2190 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2191 arg of isearch-forward to t.
2192 (multi-isearch-files-regexp): Set the value of
2193 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2194 arg of isearch-forward-regexp to t. (Bug#16035)
2195
2196 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2197 arg of isearch-forward to t.
2198 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2199 arg of isearch-forward-regexp to t.
2200 (dired-isearch-filter-filenames): Remove unnecessary check for
2201 `dired-isearch-filenames'.
2202
2203 * comint.el (comint-history-isearch-backward):
2204 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2205 (comint-history-isearch-backward-regexp):
2206 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2207
2208 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2209
2210 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2211 unmsys--file-name. (Bug#16099)
2212
2213 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2214
2215 * emacs-lisp/package.el (package-keyword-button-action):
2216 Remove finder.el require dependency.
2217
2218 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2219
2220 * emacs-lisp/package.el: Require finder.el.
2221 (describe-package-1): Add keyword buttons.
2222 (package-make-button): New convenience function.
2223 (package-keyword-button-action): Keyword button action using
2224 `finder-list-matches'.
2225
2226 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2227
2228 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2229 last commit.
2230
2231 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2232
2233 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2234 symlinked files.
2235
2236 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2239 after the end of a percent literal.
2240
2241 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2242
2243 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2244 Handle caret-delimited strings (Bug#16079).
2245
2246 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2247
2248 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2249 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2250 `ruby-parse-partial' (Bug#16078).
2251
2252 2013-12-09 Leo Liu <sdl.web@gmail.com>
2253
2254 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2255
2256 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2257
2258 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2259 (js-switch-indent-offset): New option.
2260 (js--proper-indentation): Use it. And handle the case when
2261 "default" is actually a key in an object literal.
2262 (js--same-line): New function.
2263 (js--multi-line-declaration-indentation): Use it.
2264 (js--indent-in-array-comp, js--array-comp-indentation):
2265 New functions.
2266 (js--proper-indentation): Use them, to handle array comprehension
2267 continuations.
2268
2269 2013-12-08 Leo Liu <sdl.web@gmail.com>
2270
2271 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2272 (flymake-make-overlay): Remove arg MOUSE-FACE.
2273 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2274
2275 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2278 New function.
2279 (redisplay-highlight-region-function): Use it.
2280
2281 * emulation/cua-base.el (cua--explicit-region-start)
2282 (cua--last-region-shifted): Remove.
2283 (cua--deactivate): Use deactivate-mark.
2284 (cua--pre-command-handler-1): Don't handle shift-selection.
2285 (cua--post-command-handler-1): Don't change transient-mark-mode.
2286 (cua--select-keymaps): Use region-active-p rather than
2287 cua--explicit-region-start or cua--last-region-shifted.
2288 (cua-mode): Enable shift-select-mode.
2289
2290 2013-12-08 Leo Liu <sdl.web@gmail.com>
2291
2292 * progmodes/flymake.el (flymake-popup-current-error-menu):
2293 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2294 (flymake-posn-at-point-as-event, flymake-popup-menu)
2295 (flymake-make-emacs-menu): Remove. (Bug#16077)
2296
2297 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * rect.el (rectangle-mark-mode): Activate mark even if
2300 transient-mark-mode is off (bug#16066).
2301 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2302 is > mark and at bolp.
2303
2304 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2305 (region-extract-function): Use it.
2306 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2307 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2308 Delete functions.
2309 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2310 kill-ring-save, kill-region, delete-char, delete-forward-char.
2311 Ignore self-insert-iso.
2312
2313 * emulation/cua-gmrk.el (cua--init-global-mark):
2314 Ignore `self-insert-iso'.
2315
2316 * emulation/cua-base.el (cua--prefix-copy-handler)
2317 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2318 checking cua--rectangle.
2319 (cua-delete-region): Use region-extract-function.
2320 (cua-replace-region): Delete function.
2321 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2322 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2323 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2324 (cua--init-keymaps): Don't remap delete-selection commands.
2325 (cua-mode): Use delete-selection-mode instead of rolling our own
2326 (bug#16085).
2327
2328 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2329 Obey region-extract-function.
2330
2331 Make registers and delete-selection-mode work on rectangles.
2332 * register.el (describe-register-1): Don't modify the register's value.
2333 (copy-to-register): Obey region-extract-function.
2334 * delsel.el (delete-active-region): Obey region-extract-function.
2335
2336 2013-12-08 Leo Liu <sdl.web@gmail.com>
2337
2338 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2339 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2340 (flymake-compilation-prevents-syntax-check)
2341 (flymake-start-syntax-check-on-newline)
2342 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2343 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2344 (flymake-xml-program, flymake-master-file-dirs)
2345 (flymake-master-file-count-limit)
2346 (flymake-allowed-file-name-masks): Relocate.
2347 (flymake-makehash, flymake-float-time)
2348 (flymake-replace-regexp-in-string, flymake-split-string)
2349 (flymake-get-temp-dir): Remove.
2350 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2351 (flymake-current-row, flymake-selected-frame)
2352 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2353 related functions. (Bug#16077)
2354
2355 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2356
2357 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2358
2359 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2360
2361 * help-fns.el (describe-function-1): Use new advice-* functions
2362 rather than old ad-* functions. Fix function type description and
2363 source links for advised functions and subrs.
2364
2365 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2366
2367 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2368
2369 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * progmodes/compile.el (compilation-start):
2372 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2373
2374 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2375 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2376
2377 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2378
2379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2380 Touch up the last change.
2381
2382 2013-12-06 Leo Liu <sdl.web@gmail.com>
2383
2384 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2385 (inferior-octave-startup): Always use "octave> " for prompt.
2386 (octave-goto-function-definition)
2387 (octave-sync-function-file-names)
2388 (octave-find-definition-default-filename): Remove redundant backquotes.
2389
2390 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2391
2392 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2393 syntax for `?'.
2394 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2395 where appropriate already.
2396 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2397 end of method names (Bug#15874).
2398
2399 2013-12-06 Juri Linkov <juri@jurta.org>
2400
2401 * isearch.el (isearch--saved-overriding-local-map):
2402 New internal variable.
2403 (isearch-mode): Set it to the initial value of
2404 `overriding-terminal-local-map'.
2405 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2406 with `isearch--saved-overriding-local-map'. (Bug#16035)
2407
2408 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2409
2410 * progmodes/octave.el (inferior-octave-completion-table):
2411 Turn back into function, use `completion-table-with-cache'
2412 (Bug#11906). Update all references.
2413
2414 * minibuffer.el (completion-table-with-cache): New function.
2415
2416 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2417
2418 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2419
2420 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2421
2422 * net/eww.el (eww-current-source): New variable to store page
2423 source.
2424 (eww-display-html, eww-mode, eww-save-history)
2425 (eww-restore-history): Use it.
2426 (eww-view-source): New command to view page source.
2427 Opportunistically uses `html-mode' to highlight the buffer.
2428 (eww-mode-map): Install it.
2429
2430 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2431
2432 * net/dbus.el (dbus-unregister-service)
2433 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2434 Fix docstring.
2435 (dbus-unregister-service): Skip :serial entries in
2436 `dbus-registered-objects-table'.
2437 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2438
2439 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2440
2441 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2442 around keywords with extra `split-string' argument.
2443
2444 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2445
2446 * windmove.el (windmove-other-window-loc): Handle navigation
2447 between windows (excluding the minibuffer window - Bug#16017).
2448
2449 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2452 in D-Bus type syntax.
2453 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2454 preserve unibyte strings. (Bug#16048)
2455
2456 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2459 Call force-mode-line-update is the proper buffer (bug#16042).
2460
2461 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2462
2463 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2464 `log-edit-remember-comment', make argument optional. Adjust all
2465 callers.
2466 (log-edit-mode): Add `log-edit-remember-comment' to
2467 `kill-buffer-hook' locally.
2468 (log-edit-kill-buffer): Don't remember comment explicitly since
2469 the buffer is killed anyway.
2470
2471 2013-12-04 Juri Linkov <juri@jurta.org>
2472
2473 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2474 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2475
2476 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2477
2478 * notifications.el (notifications-close-notification): Call the
2479 D-Bus method with ID being a `:uint32'. (Bug#16030)
2480
2481 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2482
2483 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2484
2485 2013-12-03 Juri Linkov <juri@jurta.org>
2486
2487 * progmodes/compile.el (compilation-start): Rename window alist
2488 entry `no-display-ok' to `allow-no-window'.
2489
2490 * simple.el (shell-command): Add window alist entry
2491 `allow-no-window' to `display-buffer'.
2492 (async-shell-command): Doc fix.
2493
2494 * window.el (display-buffer-no-window): New action function.
2495 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2496
2497 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2498
2499 * vc/log-edit.el (log-edit-set-header): Extract from
2500 `log-edit-toggle-header'.
2501 (log-edit-extract-headers): Separate the summary, when extracted
2502 from header, from the rest of the message with an empty line.
2503
2504 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2505 line, if present, to the Summary header.
2506
2507 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2510 in current-buffer (bug#16029).
2511
2512 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2513
2514 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2515 (debugger-mode-map): Bind it.
2516 (debugger--backtrace-base): New function.
2517 (debugger-eval-expression): Use it.
2518 (debugger-frame-number): Skip local vars when present.
2519 (debugger--locals-visible-p, debugger--insert-locals)
2520 (debugger--show-locals, debugger--hide-locals): New functions.
2521
2522 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2525 "LC_ALL".
2526 (tramp-get-remote-locale): New defun.
2527 (tramp-open-connection-setup-interactive-shell): Use it.
2528
2529 2013-12-02 Leo Liu <sdl.web@gmail.com>
2530
2531 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2532
2533 * progmodes/sh-script.el (sh-shell-process):
2534 * progmodes/octave.el (inferior-octave-process-live-p):
2535 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2536 (gdb-inferior-io-sentinel):
2537 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2538
2539 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2542 `save-selected-window' to `log-edit-hide-buf'. This makes
2543 `log-edit-show-files' idempotent.
2544 (log-edit-show-files): Mark the new window as dedicated.
2545
2546 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2547
2548 * vc/log-edit.el (log-edit-mode-map): Add binding for
2549 `log-edit-kill-biffer'.
2550 (log-edit-hide-buf): Add a FIXME comment.
2551 (log-edit-add-new-comment): New function, extracted from
2552 `log-edit-done'.
2553 (log-edit-done, log-edit-add-to-changelog): Use it.
2554 (log-edit-kill-buffer): New command.
2555
2556 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2557
2558 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2559 instead of killing the buffer.
2560
2561 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2564
2565 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2566
2567 * net/eww.el (eww-form-checkbox-selected-symbol)
2568 (eww-form-checkbox-symbol): New customizable variable.
2569 (eww-form-checkbox, eww-toggle-checkbox):
2570 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2571
2572 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2573 (shr--get-media-pref, shr--extract-best-source): New function.
2574 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2575 no :src tag was specified.
2576
2577 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2578 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2579 Use \\` to match beginning of string instead of ^.
2580 (eww-browse-with-external-browser): Provide optional URL parameter.
2581 (eww-render): Set `eww-current-title' back to "".
2582
2583 * net/shr.el (shr-tag-video): Display content for video if no
2584 poster is available.
2585 (shr-tag-audio): Add support for <audio> tag.
2586
2587 * net/eww.el (eww-text-input-types): New const.
2588 (eww-process-text-input): Treat input types in
2589 `eww-text-input-types' as text.
2590
2591 * net/shr.el (shr-tag-table): Fix comment typo.
2592
2593 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2594
2595 * net/eww.el (eww-follow-link): New command to avoid reloading
2596 pages when we follow #target links (bug#15243).
2597 (eww-quit): Special mode buffers shouldn't query before exiting.
2598
2599 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2600
2601 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2602 forms.
2603
2604 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2605
2606 * net/eww.el (eww-restore-history): Update the window title after
2607 moving in the history.
2608 (eww-current-dom): New variable used to save the current DOM.
2609
2610 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2611
2612 * vc/log-edit.el (log-edit-mode-map): Add binding for
2613 `log-edit-beginning-of-line'.
2614 (log-edit-setup-add-author): New user option.
2615 (log-edit-beginning-of-line): New command.
2616 (log-edit): Move major mode call above the contents setup so that
2617 the local variable values are already applied.
2618 (log-edit): Only insert "Author: " when
2619 `log-edit-setup-add-author' is non-nil.
2620 (log-edit): When SETUP is non-nil, position point after ": "
2621 instead of point-min.
2622
2623 2013-12-01 Glenn Morris <rgm@gnu.org>
2624
2625 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2626
2627 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2628
2629 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2630 redisplay to make sure the initial frame gets a chance to become
2631 visible. (Bug#16014)
2632
2633 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2634
2635 Support resizing frames and windows pixelwise.
2636 * cus-start.el (frame-resize-pixelwise)
2637 (window-resize-pixelwise): New entries.
2638 * emacs-lisp/debug.el (debug): Use window-total-height instead
2639 of window-total-size.
2640 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2641 * help.el (describe-bindings-internal): Call help-buffer
2642 (temp-buffer-max-width): New option.
2643 (resize-temp-buffer-window, help-window-setup)
2644 (with-help-window): Rewrite.
2645 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2646 dragging dividers.
2647 * window.el (frame-char-size, window-min-pixel-height)
2648 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2649 (window-min-pixel-width, window-safe-min-pixel-size)
2650 (window-combination-p, window-safe-min-size)
2651 (window-resizable-p, window--size-to-pixel)
2652 (window--pixel-to-size, window--resize-apply-p): New functions.
2653 (window-safe-min-height): Fix doc-string.
2654 (window-size, window-min-size, window--min-size-1)
2655 (window-sizable, window-sizable-p, window--min-delta-1)
2656 (window-min-delta, window--max-delta-1, window-max-delta)
2657 (window--resizable, window--resizable-p, window-resizable)
2658 (window-full-height-p, window-full-width-p, window-at-side-p)
2659 (window--in-direction-2, window-in-direction)
2660 (window--resize-reset-1, window--resize-mini-window)
2661 (window-resize, window-resize-no-error)
2662 (window--resize-child-windows-normal)
2663 (window--resize-child-windows, window--resize-siblings)
2664 (window--resize-this-window, window--resize-root-window)
2665 (window--resize-root-window-vertically)
2666 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2667 (maximize-window, minimize-window, delete-window)
2668 (quit-restore-window, window-split-min-size, split-window)
2669 (balance-windows-2, balance-windows)
2670 (balance-windows-area-adjust, balance-windows-area)
2671 (window--state-get-1, window-state-get, window--state-put-1)
2672 (window--state-put-2, window-state-put)
2673 (display-buffer-record-window, window--display-buffer):
2674 Make functions handle pixelwise sizing of windows.
2675 (display-buffer--action-function-custom-type)
2676 (display-buffer-fallback-action):
2677 Add display-buffer-in-previous-window.
2678 (display-buffer-use-some-window): Resize window to height it had
2679 before.
2680 (fit-window-to-buffer-horizontally): New option.
2681 (fit-frame-to-buffer): Describe new values.
2682 (fit-frame-to-buffer-bottom-margin): Replace with
2683 fit-frame-to-buffer-margins.
2684 (window--sanitize-margin): New function.
2685 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2686 using window-text-pixel-size.
2687
2688 2013-11-30 Glenn Morris <rgm@gnu.org>
2689
2690 * emacs-lisp/bytecomp.el (byte-compile-form):
2691 Make the `interactive-only' warning like the `obsolete' one.
2692 * comint.el (comint-run):
2693 * files.el (insert-file-literally, insert-file):
2694 * replace.el (replace-string, replace-regexp):
2695 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2696 (goto-line, insert-buffer, next-line, previous-line):
2697 Tweak `interactive-only' spec.
2698
2699 Stop keeping (most) generated cedet grammar files in the repository.
2700 * Makefile.in (semantic): New.
2701 (compile-main): Depend on semantic.
2702
2703 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2706 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2707
2708 * uniquify.el (uniquify-buffer-name-style): Change default.
2709
2710 * loadup.el: Preload "uniquify".
2711
2712 * time.el (display-time-update): Update all mode lines (bug#15999).
2713
2714 * electric.el (electric-indent-mode): Enable by default.
2715 * loadup.el: Preload "electric".
2716
2717 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2718
2719 * emacs-lisp/helpers.el (string-empty-p): New function.
2720 (string-blank-p): New function.
2721
2722 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2723
2724 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2725 (Bug#14029).
2726
2727 2013-11-29 Andreas Politz <politza@fh-trier.de>
2728 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2729 allow non-lambda lists as functions.
2730 (imenu--in-alist): Don't recurse into non-subalists.
2731 (imenu): Don't pass function itself as an argument (Bug#14029).
2732
2733 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * progmodes/python.el (python-mode-map): Remove binding for ":".
2736 (python-indent-electric-colon): Remove command.
2737 (python-indent-post-self-insert-function): Integrate the previous code
2738 of python-indent-electric-colon. Make it conditional on
2739 electric-indent-mode.
2740 (python-mode): Add ?: to electric-indent-chars.
2741 Move python-indent-post-self-insert-function to the end of
2742 post-self-insert-hook.
2743
2744 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * doc-view.el (doc-view-goto-page): Update mode-line.
2747
2748 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2749
2750 2013-11-27 Glenn Morris <rgm@gnu.org>
2751
2752 * international/charprop.el, international/uni-bidi.el:
2753 * international/uni-category.el, international/uni-combining.el:
2754 * international/uni-comment.el, international/uni-decimal.el:
2755 * international/uni-decomposition.el, international/uni-digit.el:
2756 * international/uni-lowercase.el, international/uni-mirrored.el:
2757 * international/uni-name.el, international/uni-numeric.el:
2758 * international/uni-old-name.el, international/uni-titlecase.el:
2759 * international/uni-uppercase.el:
2760 Remove generated files from VCS repository.
2761
2762 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2763
2764 * filenotify.el (file-notify-add-watch): Don't special-case
2765 w32notify when computing the directory to watch.
2766
2767 2013-11-27 Glenn Morris <rgm@gnu.org>
2768
2769 Make bootstrap without generated uni-*.el files possible again.
2770 * loadup.el: Update command-line-args checking for unidata-gen.
2771 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2772 * composite.el, international/characters.el:
2773 Handle unicode tables being undefined.
2774
2775 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2776 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2777 (compile-main): Depend on leim rule.
2778 (leim): New rule.
2779 * loadup.el: Move leim-list.el to leim/ subdirectory.
2780 * startup.el (normal-top-level): No more leim directory.
2781 * international/ja-dic-cnv.el (skkdic-convert):
2782 Disable version-control and autoloads in output files.
2783 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2784 Disable version-control and autoloads in output files.
2785 * leim/quail: Move here from ../leim.
2786 * leim/quail/hangul.el (hangul-input-method-activate):
2787 Add autoload cookie.
2788 (generated-autoload-load-name): Set file-local value.
2789 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2790 (generated-autoload-load-name): Set file-local value.
2791
2792 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2793
2794 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2795 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2796 (eww-quit): Ask confirmation before quitting eww.
2797
2798 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2799
2800 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2801 reading output from Diff on MS-Windows and MS-DOS.
2802
2803 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2804
2805 * emacs-lisp/helpers.el (string-reverse): New function.
2806
2807 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2810 names on MS Windows, like "/[::1]:".
2811
2812 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2813 SWITCHES.
2814
2815 2013-11-26 Glenn Morris <rgm@gnu.org>
2816
2817 * progmodes/python.el (python-indent-guess-indent-offset):
2818 Avoid corner-case error. (Bug#15975)
2819
2820 Preload leim-list.el. (Bug#4789)
2821 * loadup.el: Load leim-list.el when found.
2822 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2823
2824 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2825
2826 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2827
2828 * emacs-lisp/helpers.el (string-join): New function.
2829
2830 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2831
2832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2833 Mark as obsolete and replace it with a symbol property.
2834 (byte-compile-form): Use new 'interactive-only property.
2835 * comint.el, files.el, replace.el, simple.el:
2836 Apply new 'interactive-only properly.
2837
2838 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2839
2840 * window.el (display-buffer-at-bottom): Make sure that
2841 split-window-sensibly creates the new window on bottom
2842 (Bug#15961).
2843
2844 2013-11-23 David Kastrup <dak@gnu.org>
2845
2846 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2847 on the conflict markers when available.
2848 (smerge--get-marker): New function.
2849 (smerge-end-re, smerge-base-re): Add subgroup.
2850
2851 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * frame.el (handle-focus-in, handle-focus-out): Add missing
2854 interactive spec.
2855
2856 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2859 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2860
2861 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2864 (gomoku--last-pos): New var.
2865 (gomoku--intangible-chars): New const.
2866 (gomoku--intangible): New function.
2867 (gomoku-mode): Use it. Derive from special-mode.
2868 (gomoku-move-up): Adjust line count.
2869 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2870 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2871 Simplify accordingly.
2872
2873 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2874 Remove blink-cursor code.
2875 (blink-cursor-timer-function, blink-cursor-suspend):
2876 Don't special-case GUIs.
2877 (blink-cursor-mode): Use focus-in/out-hook.
2878
2879 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2882 work when annotation is invisible (Bug#13886).
2883
2884 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2885
2886 * json.el (json-alist-p): Only return non-nil if the alist has
2887 simple keys (Bug#13518).
2888
2889 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2890
2891 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2892 when control-statement is the first statement in a buffer (Bug#15956).
2893
2894 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * imenu.el (imenu-generic-skip-comments-and-strings):
2897 New option (Bug#15560).
2898 (imenu--generic-function): Use it.
2899
2900 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2901
2902 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2903 (Bug#13898)
2904
2905 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2906
2907 * emacs-lisp/helpers.el: Add some string helpers.
2908 (string-trim-left): Removes leading whitespace.
2909 (string-trim-right): Removes trailing whitespace.
2910 (string-trim): Removes leading and trailing whitespace.
2911
2912 * subr.el (string-suffix-p): New function.
2913
2914 2013-11-23 Glenn Morris <rgm@gnu.org>
2915
2916 * progmodes/python.el (python-shell-send-file):
2917 Add option to delete file when done. (Bug#15647)
2918 (python-shell-send-string, python-shell-send-region): Use it.
2919
2920 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2921
2922 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2923 to set buffer-read-only to t, never to nil. (Bug#15938)
2924
2925 * textmodes/tex-mode.el (latex-noindent-environments):
2926 Add safe-local-variable property. (Bug#15936)
2927
2928 2013-11-23 Glenn Morris <rgm@gnu.org>
2929
2930 * textmodes/enriched.el (enriched-mode): Doc fix.
2931 * emacs-lisp/authors.el (authors-renamed-files-alist):
2932 Add enriched.doc -> enriched.txt.
2933
2934 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2935
2936 2013-11-22 Leo Liu <sdl.web@gmail.com>
2937
2938 * progmodes/octave.el (inferior-octave-startup): Spit out error
2939 message.
2940
2941 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2942
2943 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2944 Improve docstring.
2945 Add :version.
2946 (ruby-encoding-magic-comment-style): Add :version.
2947
2948 2013-11-22 Leo Liu <sdl.web@gmail.com>
2949
2950 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2951 (Bug#15076)
2952 (octave-help-mode): Adapt to change to help-mode-finish to use
2953 derived-mode-p on 2013-09-17.
2954 (inferior-octave-prompt): Also match octave-gui.
2955 (octave-kill-process): Don't ask twice. (Bug#10564)
2956
2957 2013-11-22 Leo Liu <sdl.web@gmail.com>
2958
2959 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2960 (inferior-octave-startup, inferior-octave-check-process)
2961 (inferior-octave-track-window-width-change)
2962 (octave-completion-at-point, octave-eldoc-function): Use it.
2963 (octave-kill-process): Provide confirmation. (Bug#10564)
2964
2965 2013-11-21 Leo Liu <sdl.web@gmail.com>
2966
2967 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2968 Fix obsolete variable comment-use-global-state.
2969
2970 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2971
2972 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2973 Add `octave-source-file'.
2974 (octave-source-file): New function. (Bug#15935)
2975
2976 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2977
2978 * net/eww.el (eww-local-regex): New variable.
2979 (eww): Use it to detect localhost and similar.
2980
2981 2013-11-21 Leo Liu <sdl.web@gmail.com>
2982
2983 Add completion for command `ag'.
2984 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2985 (pcomplete/ag): New function.
2986 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2987
2988 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2991 (bug#14646).
2992 (make-obsolete): Remove interactive spec.
2993
2994 2013-11-21 Glenn Morris <rgm@gnu.org>
2995
2996 * startup.el (command-line-1): Use path-separator with -L.
2997
2998 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2999
3000 * emacs-lisp/package.el (describe-package-1): Add package archive
3001 to shown fields.
3002
3003 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3004
3005 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3006 Change default to "# encoding: %s" to differentiate it from the
3007 default Ruby encoding comment template.
3008
3009 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3010
3011 * ses.el (ses-mode): Doc fix. (Bug#14748)
3012
3013 2013-11-20 Leo Liu <sdl.web@gmail.com>
3014
3015 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3016
3017 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3018
3019 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3020 when rebase or bisect are in progress.
3021
3022 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3023
3024 * filenotify.el (file-notify-add-watch): Doc fix.
3025
3026 2013-11-19 Leo Liu <sdl.web@gmail.com>
3027
3028 * obsolete/rcompile.el: Mark obsolete.
3029
3030 * progmodes/compile.el (compilation-start)
3031 (compilation-goto-locus, compilation-find-file):
3032 Pass no-display-ok and handle nil value from display-buffer.
3033 (Bug#13594)
3034
3035 * window.el (display-buffer-alist, display-buffer): Document the
3036 new parameter no-display-ok. Return either a window or nil
3037 but never a non-window value.
3038
3039 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3041 * electric.el (electric-indent-mode-map): Remove.
3042 (electric-indent-mode): Change the global-map instead (bug#15915).
3043
3044 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3045 Use add-function.
3046
3047 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * emacs-lisp/nadvice.el (remove-function): Align with
3050 add-function's behavior.
3051
3052 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3053 (gdb--string-regexp): New constant.
3054 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3055 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3056 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3057 submatch 1.
3058 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3059 Adjust use accordingly.
3060 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3061
3062 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3063
3064 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3065 interpolation curlies (Bug#15914).
3066
3067 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3068
3069 * calc/calc.el (calc-context-sensitive-enter): New variable.
3070 (calc-enter): Use `calc-context-sensitive-enter'.
3071
3072 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3073
3074 * progmodes/cfengine.el: Version bump.
3075 (cfengine-cf-promises): New defcustom to locate cf-promises.
3076 (cfengine3-vartypes): Add new "data" type.
3077 (cfengine3--current-word): New function to get current name-like
3078 word or its bounds.
3079 (cfengine3--current-function): New function to look up a CFEngine
3080 function's definition.
3081 (cfengine3-format-function-docstring): New function.
3082 (cfengine3-make-syntax-cache): New function.
3083 (cfengine3-documentation-function): New function: ElDoc glue.
3084 (cfengine3-completion-function): New function: completion glue.
3085 (cfengine3-mode): Set `compile-command',
3086 `eldoc-documentation-function', and add to
3087 `completion-at-point-functions'.
3088
3089 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3090
3091 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3092 `tramp-current-connection'.
3093
3094 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3097 nil/self/true/false with "end of symbol".
3098
3099 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3100
3101 * subr.el (version-regexp-alist): Fix a typo.
3102
3103 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3104
3105 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3106 "en_US.utf8" and "LC_CTYPE" to "".
3107 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3108 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3109
3110 2013-11-15 Leo Liu <sdl.web@gmail.com>
3111
3112 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3113
3114 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * progmodes/gud.el (ctl-x-map):
3117 Remove C-x SPC binding. (Bug#12342)
3118 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3119
3120 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3121
3122 * subr.el (version-regexp-alist):
3123 Recognize hg, svn and darcs versions as snapshot versions.
3124
3125 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3126 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3127 (ruby--encoding-comment-required-p): Extract from
3128 `ruby-mode-set-encoding'.
3129 (ruby-mode-set-encoding): Add the ability to always insert an
3130 utf-8 encoding comment. Fix and simplify coding comment update
3131 logic.
3132
3133 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp-gvfs.el (top): Run init code only when
3136 `tramp-gvfs-enabled' is not nil.
3137 (tramp-gvfs-enabled): Check also :system bus.
3138
3139 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 Sync with upstream verilog-mode revision 78e66ba.
3142 * progmodes/verilog-mode.el (verilog-end-of-defun)
3143 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3144 (verilog-get-end-of-defun): Remove unused argument.
3145 (verilog-comment-depth): Remove unused local `e'.
3146 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3147 Don't pass arg to verilog-get-end-of-defun.
3148
3149 2013-11-14 Glenn Morris <rgm@gnu.org>
3150
3151 * obsolete/assoc.el (aget): Prefix dynamic variable.
3152
3153 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3154
3155 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * widget.el, hfy-cmap.el: Remove bogus package version number.
3158
3159 2013-11-13 Glenn Morris <rgm@gnu.org>
3160
3161 * replace.el (replace-eval-replacement):
3162 Try to give more helpful error message. (Bug#15836)
3163
3164 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3165 (archive-7z-update): Avoid custom type mismatches.
3166
3167 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3168
3169 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3170
3171 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3172 address can be empty.
3173
3174 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3175 Accept nil SWITCHES.
3176 (tramp-gvfs-handle-write-region): Implement APPEND.
3177
3178 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3179
3180 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3181 binary "|" operator and closing block args delimiter.
3182 Remove FIXME comment referring to Ruby 1.8-only syntax.
3183 (ruby-smie--implicit-semi-p): Not after "|" operator.
3184 (ruby-smie--closing-pipe-p): New function.
3185 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3186 (ruby-smie-rules): Indent after "|".
3187
3188 2013-11-12 Glenn Morris <rgm@gnu.org>
3189
3190 * ps-print.el (ps-face-attribute-list):
3191 Handle anonymous faces. (Bug#15827)
3192
3193 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3194
3195 * window.el (display-buffer-other-frame): Fix doc-string.
3196 (Bug#15868)
3197
3198 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3201
3202 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3203
3204 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3205 (tramp-sh-handle-file-local-copy): Don't write a message when
3206 saving temporary files.
3207
3208 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3209 both directories are remote.
3210 (tramp-smb-handle-directory-files): Do not return double entries.
3211 Do not expand full file names.
3212 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3213 (tramp-smb-handle-write-region): Implement APPEND.
3214 (tramp-smb-get-stat-capability): Fix a stupid bug.
3215
3216 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3219
3220 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3221
3222 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3223 throwing error over malformed let/let* (bug#15814).
3224
3225 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * iswitchb.el (iswitchb-mode): Mark obsolete.
3228
3229 2013-11-11 Glenn Morris <rgm@gnu.org>
3230
3231 * international/uni-bidi.el, international/uni-category.el:
3232 * international/uni-name.el, international/uni-numeric.el:
3233 Regenerate for Unicode 6.3.0.
3234
3235 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * net/tramp.el (tramp-methods):
3238 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3239 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3240
3241 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3242
3243 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3244 Force highlighting text after Summary keyword in doc face for rpm.
3245
3246 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3247
3248 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3249 available and the word has no wildcards, append one to the grep pattern.
3250 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3251 (ispell-complete-word): Call `ispell-lookup-words' with the value
3252 independent of `ispell-look-p'.
3253
3254 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3255
3256 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3257 Not after "||".
3258 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3259 their parent.
3260
3261 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3264 (ruby-font-lock-keywords): Use backquote.
3265
3266 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3267
3268 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3269 (ruby-smie--backward-token): Only consider full-string matches.
3270
3271 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3272
3273 * faces.el (describe-face): Add distant-foreground.
3274
3275 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3276
3277 * progmodes/ruby-mode.el: Improve encoding comment handling.
3278 (ruby-encoding-magic-comment-style): New option.
3279 (ruby-custom-encoding-magic-comment-template): New option.
3280 (ruby--insert-coding-comment, ruby--detect-encoding):
3281 New functions extracted from `ruby-mode-set-encoding'.
3282 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3283 to control the style of the auto-inserted encoding comment.
3284
3285 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3286
3287 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3288 Use `smie-backward-sexp' with token argument.
3289
3290 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3291
3292 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3293 Remove instrumentation code.
3294
3295 2013-11-08 Glenn Morris <rgm@gnu.org>
3296
3297 * progmodes/autoconf.el (autoconf-mode):
3298 Tweak comment-start-skip. (Bug#15822)
3299
3300 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3303 at bobp (bug#15826).
3304 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3305
3306 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3307
3308 * man.el (Man-start-calling): New macro, extracted from
3309 Man-getpage-in-background.
3310 (Man-getpage-in-background): Use it.
3311 (Man-update-manpage): New command.
3312 (Man-mode-map): Bind it.
3313
3314 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3317 of "and", "or", "&&" and "||".
3318 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3319 argument. Prohibit opening curly brace because it could only be a
3320 block opener in that position.
3321 (ruby-smie--forward-token, ruby-smie--backward-token):
3322 Separate "|" from "&" or "*" going after it. That can happen in block
3323 arguments.
3324 (ruby-smie--indent-to-stmt): New function, seeks the end of
3325 previous statement or beginning of buffer.
3326 (ruby-smie-rules): Use it.
3327 (ruby-smie-rules): Check if there's a ":" before a curly block
3328 opener candidate; if there is, it's a hash.
3329
3330 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3333 (cl--block-wrapper): Fix last accidental change.
3334
3335 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3338 Instrument, in order to hunt failure on hydra.
3339
3340 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3341
3342 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3343 malformed bindings form (bug#15814).
3344
3345 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3348 "." compared to " @ ". This incidentally fixes some indentation
3349 examples with "do".
3350 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3351 (ruby-smie-grammar): New tokens: "and" and "or".
3352 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3353 Exclude "and" and "or". Remove "do" in order to work around token
3354 priorities.
3355 (ruby-smie-rules): Add all infix tokens. Handle the case of
3356 beginning-of-buffer.
3357
3358 2013-11-06 Glenn Morris <rgm@gnu.org>
3359
3360 * Makefile.in (setwins_almost, setwins_for_subdirs):
3361 Avoid accidental matches.
3362
3363 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * menu-bar.el (popup-menu): Use key-binding.
3366
3367 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3368
3369 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3370 menus, support also the menus produced by minor modes.
3371 (Bug#15817)
3372
3373 2013-11-06 Leo Liu <sdl.web@gmail.com>
3374
3375 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3376 DISTANCE to bound the search. All uses changed. (Bug#15808)
3377
3378 2013-11-06 Glenn Morris <rgm@gnu.org>
3379
3380 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3381 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3382 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3383
3384 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * electric.el (electric-indent-just-newline): New command.
3387 (electric-indent-mode-map): New keymap.
3388 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3389 Re-add :group which weren't redundant.
3390
3391 * electric.el (electric-indent-local-mode): New minor mode.
3392 (electric-indent-functions-without-reindent): New var.
3393 (electric-indent-post-self-insert-function): Use it.
3394 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3395
3396 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3397
3398 * international/quail.el (quail-help): Be more explicit about the
3399 meaning of the labels shown on the keys. (Bug#15800)
3400
3401 * startup.el (normal-top-level): Load the subdirs.el files before
3402 setting the locale environment. (Bug#15805)
3403
3404 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3407 via arguments so as to get the right ones (bug#15418).
3408
3409 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3410
3411 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3412
3413 Fix problems found while writing a test suite.
3414
3415 * net/tramp-compat.el (tramp-compat-load): New defun.
3416 * net/tramp.el (tramp-handle-load): Use it.
3417
3418 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3419 "(numberp ok-if-already-exists)" correctly.
3420
3421 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3422
3423 * international/characters.el (glyphless-char-display-control):
3424 Add usage note.
3425
3426 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3427
3428 * progmodes/python.el (python-mode):
3429 * progmodes/scheme.el (scheme-mode):
3430 * progmodes/prolog.el (prolog-mode):
3431 * progmodes/ruby-mode.el (ruby-mode):
3432 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3433 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3434
3435 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * rect.el (rectangle--highlight-for-redisplay):
3438 * emacs-lisp/smie.el (smie--next-indent-change):
3439 Use buffer-chars-modified-tick.
3440
3441 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3442
3443 * electric.el (electric-indent-post-self-insert-function):
3444 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3445
3446 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3447
3448 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3449
3450 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3451
3452 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3453 (bug#15786).
3454
3455 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3458
3459 * progmodes/python.el: Fix up last change.
3460 (python-shell--save-temp-file): New function.
3461 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3462 `string' comes from the current buffer.
3463 (python-shell-send-string-no-output): Remove `msg' arg.
3464 (python--use-fake-loc): New var.
3465 (python-shell-buffer-substring): Obey it. Try to compensate for the
3466 extra coding line added by python-shell--save-temp-file.
3467 (python-shell-send-region): Use python-shell--save-temp-file and
3468 python-shell-send-file directly. Add `nomain' argument.
3469 (python-shell-send-buffer): Use python-shell-send-region.
3470 (python-electric-pair-string-delimiter): New function.
3471 (python-mode): Use it.
3472
3473 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3474
3475 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3476 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3477 environment and decoding all of the default-directory's to here
3478 from command-line.
3479 (command-line): Decode also argv[0].
3480
3481 * loadup.el: Error out if default-directory is a multibyte string
3482 when we are dumping.
3483
3484 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3485
3486 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3487
3488 * emacs-lisp/package.el (package-menu-mode)
3489 (package-menu--print-info, package-menu--archive-predicate):
3490 Add Archive column to package list.
3491
3492 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3493
3494 Fix problems found while writing a test suite.
3495
3496 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3497 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3498 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3499 to nil when running original file name handler. Otherwise,
3500 there are problems with constructs like "$$FOO".
3501
3502 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3503 for `localname'.
3504
3505 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3506
3507 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3508
3509 * subr.el (version<, version<=, version=):
3510 Update docstrings with information for snapshot versions.
3511
3512 * helpers.el: New library for misc helper functions.
3513 (hash-table-keys): New function returning a list of hash keys.
3514 (hash-table-values): New function returning a list of hash values.
3515
3516 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3517
3518 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3519 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3520
3521 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3522
3523 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3524 checking whether point is after a 1-letter word.
3525
3526 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3527
3528 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3529 Don't infloop when expanding region over `multiline' syntax-type that
3530 begins a line (bug#15778).
3531
3532 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3535 Make it into a proper minor mode.
3536 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3537 (rectangle-mark-mode-map): New keymap.
3538 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3539
3540 2013-11-04 Glenn Morris <rgm@gnu.org>
3541
3542 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3543
3544 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3547 (ruby-smie-rules): Use smie-rule-parent instead.
3548
3549 * emacs-lisp/smie.el (smie-rule-parent): Always call
3550 smie-indent-virtual rather than only for hanging tokens.
3551 (smie--next-indent-change): New helper command.
3552
3553 2013-11-03 Glenn Morris <rgm@gnu.org>
3554
3555 * Makefile.in (abs_srcdir): Remove.
3556 (emacs): Unset EMACSLOADPATH.
3557
3558 2013-11-02 Glenn Morris <rgm@gnu.org>
3559
3560 * Makefile.in (EMACS): Use a relative filename.
3561 (abs_top_builddir): Remove.
3562 (custom-deps, finder-data, autoloads): Use --chdir.
3563
3564 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3565
3566 Use relative filenames in TAGS files.
3567 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3568 (lisptagsfiles4, TAGS): Use relative file names.
3569 (TAGS-LISP): Remove.
3570 (maintainer-clean): No more TAGS-LISP file.
3571
3572 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3573 (lisptagsfiles4): Use absolute filenames again.
3574 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3575 Remove all *loaddefs files, not just the first. Remove esh-groups.
3576 (maintainer-clean): Delete TAGS, TAGS-LISP.
3577
3578 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3579
3580 * emacs-lisp/package.el (package-version-join):
3581 Recognize snapshot versions.
3582
3583 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3584
3585 * subr.el (version-regexp-alist): Add support for snapshot versions.
3586
3587 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3588
3589 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3590 New function, replacement for `smie-rule-parent' for when we want to
3591 skip over our direct parent if it's an assignment token..
3592 (ruby-smie-rules): Use it.
3593
3594 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3595
3596 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3597 unconditionally. Remove now unnecessary forward declarations.
3598 Remove XEmacs-specific setup.
3599 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3600 (ruby-font-lock-syntactic-keywords)
3601 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3602 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3603 (ruby-here-doc-end-syntax): Remove.
3604 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3605 defined as function.
3606
3607 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3608
3609 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3610
3611 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3612
3613 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3614 table and abbrev table, `define-derived-mode' does that for us
3615 anyway.
3616
3617 2013-11-01 Glenn Morris <rgm@gnu.org>
3618
3619 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3620 files is atomic for some time, so no parallel compilation issues).
3621
3622 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3623
3624 * faces.el (face-x-resources): Add :distant-foreground.
3625 (region): Use :distant-foreground for gtk and ns.
3626
3627 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3628
3629 Allow multiple bibliographies when BibLaTeX is used rather than
3630 BibTeX.
3631 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3632 (reftex-locate-bibliography-files): Us it.
3633
3634 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3635
3636 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3637 allow comments in pbm files.
3638
3639 * term/w32-win.el (dynamic-library-alist): Support newer versions
3640 of libjpeg starting with v7: look only for the DLL from the
3641 version against which Emacs was built.
3642 Support versions of libpng beyond 1.4.x.
3643 Support libtiff v4.x.
3644
3645 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3646
3647 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3648 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3649 Add property :safe.
3650 (ruby-deep-arglist): Add property :type.
3651
3652 2013-10-31 Glenn Morris <rgm@gnu.org>
3653
3654 * Makefile.in (custom-deps, finder-data): No need to setq the target
3655 variables, we are in the right directory and the defaults work fine.
3656
3657 2013-10-30 Glenn Morris <rgm@gnu.org>
3658
3659 * Makefile.in (autoloads): Do not use abs_lisp.
3660
3661 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3662 `newline' does not respect `standard-output', so use `princ'.
3663
3664 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3665
3666 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3667 * buff-menu.el (Buffer-menu--unmark): New function.
3668 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3669
3670 2013-10-30 Glenn Morris <rgm@gnu.org>
3671
3672 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3673
3674 * emacs-lisp/package.el (lm-homepage): Declare.
3675
3676 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3677 Fix doc typos.
3678
3679 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3680
3681 * Makefile.in (finder-data, autoloads, update-subdirs)
3682 (compile-main, compile-clean, compile-always, bootstrap-clean):
3683 Check return value of cd.
3684 (compile-calc): Remove.
3685
3686 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3689
3690 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3691 (byte-compile-and-folded): New function.
3692 (=, <, >, <=, >=): Use it.
3693
3694 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3695 (path-separator, null-device, buffer-file-coding-system)
3696 (lpr-headers-switches): Check system-type before modifying them.
3697 (find-buffer-file-type-coding-system): Mark obsolete.
3698 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3699 find-file-not-found-set-buffer-file-coding-system.
3700 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3701 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3702 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3703 (w32-direct-print-region-helper, w32-direct-print-region-function)
3704 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3705 * startup.el (normal-top-level-add-subdirs-to-load-path):
3706 * ps-print.el (ps-print-region-function):
3707 * lpr.el (print-region-function): Use new name.
3708
3709 * subr.el (custom-declare-variable-early): Remove function.
3710 (custom-declare-variable-list): Remove var.
3711 (error, user-error): Remove `while' loop.
3712 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3713 (user-emacs-directory-warning, locate-user-emacs-file):
3714 Move to files.el.
3715 * simple.el (read-quoted-char-radix, read-quoted-char):
3716 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3717 Move from subr.el.
3718 * custom.el (custom-declare-variable-list): Don't process
3719 custom-declare-variable-list.
3720
3721 * progmodes/python.el (python-shell-get-buffer): New function.
3722 (python-shell-get-process): Use it.
3723 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3724 Python which encoding was used. Don't split-string since we only care
3725 about the first line. Return the temp-file, if applicable.
3726 (python-shell-send-region): Tell compile.el how to turn locations in
3727 the temp-file into locations in the source buffer.
3728
3729 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * subr.el (undefined): Add missing behavior from the C code for
3732 unbound keys.
3733
3734 * rect.el: Use lexical-binding. Add new rectangular region support.
3735 (rectangle-mark): New command.
3736 (rectangle--region): New var.
3737 (deactivate-mark-hook): Reset rectangle--region.
3738 (rectangle--extract-region, rectangle--insert-for-yank)
3739 (rectangle--highlight-for-redisplay)
3740 (rectangle--unhighlight-for-redisplay): New functions.
3741 (region-extract-function, redisplay-unhighlight-region-function)
3742 (redisplay-highlight-region-function): Use them to handle
3743 rectangular region.
3744 * simple.el (region-extract-function): New var.
3745 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3746 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3747 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3748 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3749 (redisplay-unhighlight-region-function)
3750 (redisplay-highlight-region-function): New vars.
3751 (redisplay--update-region-highlight): New function.
3752 (pre-redisplay-function): Use it.
3753 (exchange-point-and-mark): Don't deactivate the mark before
3754 reactivate-it anyway.
3755 * comint.el (comint-kill-region): Remove yank-handler argument.
3756 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3757 (delete-char): Remove property, since it's now part of their
3758 default behavior.
3759 (self-insert-iso): Remove property since this command doesn't exist.
3760
3761 * emacs-lisp/package.el (package--download-one-archive)
3762 (describe-package-1): Don't query the user about final newline.
3763
3764 2013-10-29 Daniel Colascione <dancol@dancol.org>
3765
3766 * net/tramp.el (tramp-methods): Document new functionality.
3767 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3768 tramp-hostname-checker if method provides one instead of scanning
3769 argument list for "%h" to decide hostname acceptability.
3770
3771 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3774 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3775 Handle COPY-CONTENTS. (Bug#15737)
3776
3777 2013-10-28 Daiki Ueno <ueno@gnu.org>
3778
3779 * epa-file.el
3780 (epa-file-cache-passphrase-for-symmetric-encryption):
3781 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3782
3783 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3784
3785 * image.el (defimage):
3786 (image-load-path): Doc fixes.
3787
3788 2013-10-27 Alan Mackenzie <acm@muc.de>
3789
3790 Indent statements in macros following "##" correctly.
3791 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3792 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3793
3794 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3795
3796 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3797
3798 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3799
3800 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3801 after `=' is probably a new expression.
3802
3803 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3804
3805 * man.el (man-imenu-title): New option.
3806 (Man-mode-map): Add menu. (Bug#15722)
3807 (Man-mode): Add imenu to menu.
3808
3809 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3810
3811 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3812 specific in what the first arg can be: a non-keyword word,
3813 string/regexp/percent literal opener, opening paren, or unary
3814 operator followed directly by word.
3815
3816 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3819 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3820 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3821 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3822 Remove vars, they do not apply any more.
3823 (prolog-mode-abbrev-table): Remove redundant declaration.
3824 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3825 (prolog-use-smie): Remove.
3826 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3827 supported by prolog-electric-if-then-else-flag.
3828 (prolog-mode-variables, prolog-menu): Use setq-local.
3829 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3830 Remove binding to `Backspace' since this key doesn't exist anyway.
3831 Remove bindings for electric self-inserting keys.
3832 (prog-mode): Assume it's defined.
3833 (prolog-post-self-insert): New function.
3834 (prolog-mode): Use it.
3835 (prolog-indent-line, prolog-indent-level)
3836 (prolog-find-indent-of-matching-paren)
3837 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3838 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3839 (prolog-goto-next-paren, prolog-in-string-or-comment)
3840 (prolog-tokenize, prolog-inside-mline-comment)
3841 (prolog-find-start-of-mline-comment): Remove functions.
3842 (prolog-find-unmatched-paren, prolog-clause-end)
3843 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3844 (prolog-electric--if-then-else): Rename from
3845 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3846 (prolog-tokenize-searchkey): Remove const.
3847 (prolog-clause-info): Use forward-sexp.
3848 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3849 (prolog-electric-if-then-else): Remove commands.
3850 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3851 for use in post-self-insert-hook.
3852 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3853 for use in post-self-insert-hook.
3854 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3855 for use in post-self-insert-hook.
3856 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3857 adapt it for use in post-self-insert-hook.
3858
3859 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3860
3861 * emacs-lisp/ert.el (ert-run-tests-interactively):
3862 Use `completing-read'. (Bug#9756)
3863
3864 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3865
3866 * simple.el (line-move): Call line-move-1 instead of
3867 line-move-visual when the current window hscroll is zero, but
3868 temporary-goal-column indicates we will need to hscroll as result
3869 of the movement. (Bug#15712)
3870
3871 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3872
3873 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3874 capitalization. Use :visible instead of :active.
3875 Fix `ruby-indent-exp' reference. Add menu items for the generic
3876 commands that are used with SMIE.
3877 (ruby-do-end-to-brace): Insert space after `{'.
3878
3879 2013-10-25 John Anthony <john@jo.hnanthony.com>
3880
3881 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3882
3883 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3884
3885 2013-10-25 Glenn Morris <rgm@gnu.org>
3886
3887 * vc/vc.el (vc-print-log): Don't use a working revision unless
3888 one was explicitly specified. (Bug#15322)
3889
3890 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * subr.el (add-to-list): Preserve return value in compiler-macro
3893 (bug#15692).
3894
3895 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3896
3897 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3898 result. Ask user to retry using '-all' flag. (Bug#15701)
3899
3900 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emacs-lisp/smie.el: New smie-config system.
3903 (smie-config): New defcustom.
3904 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3905 (smie-config-guess, smie-config-save): New commands.
3906 (smie-config--mode-local, smie-config--buffer-local)
3907 (smie-config--trace, smie-config--modefuns): New vars.
3908 (smie-config--advice, smie-config--mode-hook)
3909 (smie-config--setter, smie-config-local, smie-config--get-trace)
3910 (smie-config--guess-value, smie-config--guess): New functions.
3911 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3912 text properties. Treat "string fence" syntax like string syntax.
3913
3914 * progmodes/sh-script.el (sh-use-smie): Change default.
3915 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3916 (sh-var-value): Simplify by CSE.
3917 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3918 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3919 is used.
3920 (sh-guess-basic-offset): Use cl-incf.
3921 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3922
3923 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3924
3925 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3926 (bug#15699).
3927
3928 2013-10-24 Glenn Morris <rgm@gnu.org>
3929
3930 * Makefile.in (abs_top_srcdir): Remove.
3931 (update-subdirs): Use relative path to update-subdirs.
3932
3933 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3934
3935 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3936 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3937 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3938 Call unmsys--file-name before expand-file-name, not after it.
3939
3940 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3941
3942 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3943 (ert-test-skipped): New error.
3944 (ert-skip, ert-stats-skipped): New defuns.
3945 (ert--skip-unless): New macro.
3946 (ert-test-skipped): New struct.
3947 (ert--run-test-debugger, ert-test-result-type-p)
3948 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3949 (ert--stats-set-test-and-result, ert-char-for-test-result)
3950 (ert-string-for-test-result, ert-run-tests-batch)
3951 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3952 Handle skipped tests. (Bug#9803)
3953
3954 2013-10-24 Glenn Morris <rgm@gnu.org>
3955
3956 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3957
3958 * Makefile.in (abs_top_srcdir): New, set by configure.
3959 (update-subdirs): Correct build-aux location.
3960
3961 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3964 value, whether we could auto-deduce `backend', or not.
3965
3966 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3967 with parameters" example. Simplify the "is it block or is it
3968 hash" check, but also make it more thorough.
3969
3970 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3971
3972 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3973
3974 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3977 { if it is hanging.
3978
3979 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3980 :before ";".
3981
3982 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3983
3984 * progmodes/compile.el (compilation-directory-matcher)
3985 (compilation-page-delimiter):
3986 Support GNU Make-4.0 directory quoting. (Bug#15678)
3987
3988 2013-10-23 Leo Liu <sdl.web@gmail.com>
3989
3990 * ido.el (ido-tidy): Handle read-only text.
3991
3992 2013-10-23 Glenn Morris <rgm@gnu.org>
3993
3994 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3995 (emacs, compile, compile-always):
3996 Quote entities that might contain whitespace.
3997 (custom-deps, finder-data, autoloads): Use abs_lisp.
3998 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3999 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4000 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4001
4002 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4003
4004 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4005 Use `following-char'.
4006
4007 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4010 * progmodes/ruby-mode.el (ruby-smie-rules):
4011 Remove corresponding workaround. Fix indentation rule of ";" so it
4012 also applies when ";" is the parent.
4013
4014 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4015
4016 * frame.el (display-screens, display-pixel-height)
4017 (display-pixel-width, display-mm-width, display-backing-store)
4018 (display-save-under, display-planes, display-color-cells)
4019 (display-visual-class, display-monitor-attributes-list):
4020 Mention the optional ‘display’ argument in doc strings.
4021
4022 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4023
4024 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4025 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4026
4027 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4028
4029 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4030 TODO. Add "." after " @ ".
4031 (ruby-smie--at-dot-call): New function. Checks if point at method
4032 call with explicit target.
4033 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4034 to the method name tokens when it precedes them.
4035 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4036 (ruby-smie-rules): Add rule for indentation before and after "."
4037 token.
4038
4039 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * textmodes/remember.el (remember-diary-extract-entries):
4042 Avoid add-to-list.
4043
4044 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4045 an instruction.
4046
4047 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4048
4049 * progmodes/ruby-mode.el (ruby-smie-grammar):
4050 Add (almost) all infix operators.
4051 (ruby-smie--implicit-semi-p): Add new operator chars.
4052
4053 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4054 `smie-down-list'.
4055 (ruby-smie--args-separator-p): Check that there's no newline
4056 between method call and its arguments.
4057
4058 2013-10-20 Alan Mackenzie <acm@muc.de>
4059
4060 Allow comma separated lists after Java "implements".
4061
4062 * progmodes/cc-engine.el (c-backward-over-enum-header):
4063 Parse commas.
4064 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4065 from a "disallowed" list in enum fontification.
4066
4067 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4068
4069 * startup.el (default-frame-background-mode): Remove unused defvar.
4070
4071 * progmodes/verilog-mode.el (verilog-mode): Don't set
4072 comment-indent-function globally.
4073
4074 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4075
4076 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4077 Move Info menu item creation to ns-win.el.
4078
4079 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4080 in menu bar.
4081
4082 * menu-bar.el: Move GNUstep specific menus...
4083
4084 * term/ns-win.el (ns-initialize-window-system): ... to here.
4085
4086 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * simple.el (newline): Only run post-self-insert-hook when
4089 called interactively.
4090
4091 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4092
4093 * icomplete.el (icomplete-with-completion-tables): Add :version.
4094
4095 2013-10-19 Alan Mackenzie <acm@muc.de>
4096
4097 Fix fontification bugs with constructors and const.
4098
4099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4100 CASE 2) Remove the check for the absence of a suffix construct
4101 after a function declaration with only types (no identifiers) in
4102 the parentheses. Also, accept a function declaration with just a
4103 type inside the parentheses, if this type can be positively
4104 recognised as such, or if a prefix keyword like "explicit" nails
4105 down the construct as a declaration.
4106
4107 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4108
4109 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4110 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4111 the problem whereby selecting a menu item that leads to a
4112 minibuffer prompt moves the cursor out of the minibuffer window,
4113 making it hard to type at the prompt. Suggested by Stefan Monnier
4114 <monnier@iro.umontreal.ca>.
4115
4116 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4117
4118 * menu-bar.el: Don't make Services menu.
4119
4120 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4121
4122 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4123 (ffap-alist): Use ffap-c++-mode for c++-mode.
4124 (ffap-c++-path): New variable.
4125 (ffap-c++-mode): New function.
4126
4127 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4128
4129 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4130
4131 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4132
4133 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4134 introduced on 2013-09-08, which results in an infinite loop
4135 requesting a password.
4136
4137 2013-10-18 Glenn Morris <rgm@gnu.org>
4138
4139 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4140
4141 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4142
4143 Sync with upstream verilog-mode revision 1a6ecec7.
4144 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4145 (verilog-mode-release-date): Remove.
4146 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4147 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4148 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4149 (verilog-auto-tieoff-ignore-regexp)
4150 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4151 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4152 (verilog-signals-with, verilog-dir-cache-preserving)
4153 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4154 Doc fixes.
4155 (verilog-case-fold): New option, to control case folding in
4156 regexp searches, bug597.
4157 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4158 (verilog-string-match-fold, verilog-in-paren-count)
4159 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4160 (verilog-at-close-struct-p): New functions.
4161 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4162 (verilog-forward-sexp, verilog-set-auto-endcomments):
4163 (verilog-leap-to-case-head): Handle "unique0" case.
4164 (verilog-in-constraint-re): New constant.
4165 (verilog-keywords, verilog-type-font-keywords):
4166 Add some SystemVerilog 1800-2012 keywords.
4167 (verilog-label-be): Remove unimplemented argument, bug669.
4168 (verilog-batch-execute-func): When batch expanding clear
4169 create-lockfiles to prevent spurious user locks when a file ends
4170 up not changing.
4171 (verilog-calculate-indent, verilog-calc-1)
4172 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4173 (verilog-do-indent): Fix indentation of nested constraints
4174 and structures.
4175 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4176 (verilog-auto-inst-param): Use verilog-string-match-fold.
4177 (verilog-read-inst-module-matcher):
4178 Fix AUTOINST on gate primitives with #1.
4179 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4180 Reads all user-defined typed variables.
4181 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4182 (verilog-signals-matching-regexp)
4183 (verilog-signals-not-matching-regexp, verilog-auto):
4184 Respect verilog-case-fold.
4185 (verilog-diff-report): Fix line count.
4186 (verilog-auto-assign-modport): Remove unused local `modi'.
4187 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4188 better handle multidimensional arrays.
4189 Fix packed array ports misadding bit index in AUTOINST, bug637.
4190 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4191 to not double-declare existing outputs and inputs, respectively.
4192 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4193 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4194 (verilog-sk-uvm-component): New skeleton.
4195 (verilog-submit-bug-report): Add verilog-case-fold,
4196 remove verilog-mode-release-date.
4197
4198 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4199
4200 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4201 as before.
4202
4203 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4204
4205 * textmodes/remember.el (remember): Set buffer-offer-save in
4206 remember buffers (bug#13566).
4207
4208 2013-10-18 Daniel Colascione <dancol@dancol.org>
4209
4210 When evaluating forms in ielm, direct standard output to ielm
4211 buffer. Add new ielm-return-for-effect command. Remove trailing
4212 whitespace throughout.
4213
4214 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4215 (ielm-return-for-effect): New command.
4216 (ielm-send-input): Accept optional `for-effect' parameter.
4217 (ielm-eval-input): Accept optional `for-effect' parameter.
4218 Bind `standard-output' to stream we create using
4219 `ielm-standard-output-impl'. Suppress printing result when
4220 `for-effect'.
4221 (ielm-standard-output-impl): New function.
4222 (inferior-emacs-lisp-mode): Explain new features in documentation.
4223
4224 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4225
4226 Code cleanup.
4227
4228 * net/tramp.el (tramp-debug-message): Do not check for connection
4229 buffer.
4230 (tramp-message): Use "vector" connection property.
4231
4232 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4233 (tramp-equal-remote, tramp-eshell-directory-change)
4234 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4235 (tramp-adb-handle-rename-file)
4236 * net/tramp-cmds.el (tramp-list-remote-buffers)
4237 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4238 * net/tramp-compat.el (tramp-compat-process-running-p)
4239 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4240 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4241 (tramp-gvfs-handle-rename-file)
4242 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4243 (tramp-set-file-uid-gid)
4244 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4245 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4246 of `file-remote-p'.
4247
4248 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4249 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4250 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4251 (tramp-gw-open-network-stream): Suppress unrelated traces.
4252
4253 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4254 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4256 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4257 connection property.
4258
4259 * net/tramp-cache.el (top): Suppress traces when reading
4260 persistency file.
4261
4262 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4263 Refactor common code. Improve debug message.
4264 (tramp-maybe-open-connection)
4265 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4266 connection buffer too early.
4267
4268 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4269 from `tramp-smb-actions-with-acl'.
4270 (tramp-smb-actions-set-acl): New defconst.
4271 (tramp-smb-handle-copy-directory)
4272 (tramp-smb-action-get-acl): New defun, renamed from
4273 `tramp-smb-action-with-acl'.
4274 (tramp-smb-action-set-acl): New defun.
4275 (tramp-smb-handle-set-file-acl): Rewrite.
4276
4277 2013-10-17 Glenn Morris <rgm@gnu.org>
4278
4279 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4280
4281 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * skeleton.el (skeleton-newline): Remove.
4284 (skeleton-internal-1): Use (insert "\n") instead.
4285
4286 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4287 let-bindings.
4288
4289 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4290 forward-sexp-function while we redo its job (bug#15613).
4291
4292 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4293
4294 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4295 represented by lists.
4296
4297 2013-10-16 Glenn Morris <rgm@gnu.org>
4298
4299 * tmm.el (tmm--history): New dynamic variable.
4300 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4301
4302 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4305 (tramp-smb-errors): Add error messages.
4306 (tramp-smb-actions-with-acl): New defconst.
4307 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4308 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4309 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4310 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4311 (tramp-smb-get-stat-capability): Fix tests.
4312
4313 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4314
4315 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4316 (bug#15580).
4317
4318 2013-10-16 Glenn Morris <rgm@gnu.org>
4319
4320 * ansi-color.el (ansi-color-drop-regexp):
4321 Add 1J, 1K, 2K. (Bug#15617)
4322
4323 * files.el (hack-local-variables--warned-lexical): New.
4324 (hack-local-variables):
4325 Warn about misplaced lexical-binding. (Bug#15616)
4326
4327 * net/eww.el (eww-render): Always set eww-current-url,
4328 and update header line. (Bug#15622)
4329 (eww-display-html): ... Rather than just doing it here.
4330
4331 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4332
4333 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4334 menu navigations commands.
4335
4336 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4337
4338 * progmodes/subword.el (subword-capitalize): Be careful when
4339 the search for [[:alpha:]] fails (bug#15580).
4340
4341 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4342
4343 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4344 to commands that scroll the menu.
4345
4346 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4347
4348 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4349 Handle methods ending with `?' and `!'.
4350
4351 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4352
4353 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4354 `japanese-cp932' to `cp932' to fix the problem where saving a
4355 source file written in Shift_JIS twice would end up having
4356 `coding: japanese-cp932' which Ruby could not recognize.
4357 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4358 in `ruby-encoding-map'.
4359 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4360 doesn't need to be explicitly declared in magic comment.
4361 (ruby-encoding-map): Add type declaration for better customize UI.
4362
4363 2013-10-13 Glenn Morris <rgm@gnu.org>
4364
4365 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4366 Occur buffers are read-only. http://bugs.debian.org/720775
4367
4368 * emacs-lisp/authors.el (authors-fixed-entries):
4369 Comment out old alpha stuff.
4370
4371 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4372
4373 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4374 to `after-save-hook' instead of `before-save-hook'.
4375 (ruby-mode-set-encoding): Use the value of coding system used to
4376 write the file. Call `basic-save-buffer-1' after modifying the
4377 buffer.
4378
4379 2013-10-13 Alan Mackenzie <acm@muc.de>
4380
4381 Fix indentation/fontification of Java enum with
4382 "implements"/generic.
4383
4384 * progmodes/cc-engine.el (c-backward-over-enum-header):
4385 Extracted from the three other places and enhanced to handle generics.
4386 (c-inside-bracelist-p): Uses new function above.
4387 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4388 function above.
4389 (c-font-lock-enum-tail): Uses new function above.
4390
4391 2013-10-13 Kenichi Handa <handa@gnu.org>
4392
4393 * international/mule-cmds.el (select-safe-coding-system): Remove a
4394 superfluous condition in chekcing whether a coding system is safe
4395 or not.
4396
4397 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4398
4399 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4400
4401 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4402
4403 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4404
4405 2013-10-13 Glenn Morris <rgm@gnu.org>
4406
4407 * menu-bar.el (menu-bar-update-buffers):
4408 Unify Buffers menu prompt string. (Bug#15576)
4409
4410 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4411
4412 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4413 Add some entries.
4414 (authors-fixed-entries): Use accented form of name.
4415
4416 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4419 method calls (bug#15594).
4420 (ruby-smie--args-separator-p): New function.
4421 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4422 recognize paren-free method calls.
4423
4424 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4425 internals of universal-argument.
4426
4427 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4428
4429 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4430 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4431 dropped menu on second mouse click on the menu bar.
4432
4433 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4436 (explicit-shell-file-name): Declare.
4437 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4438 (sh-completion-at-point-function): New function.
4439 (sh-mode): Use it.
4440 (sh-smie--keyword-p): Remove unused argument.
4441 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4442 vars.
4443 (sh-set-shell): Always setup SMIE, even if we use the
4444 old indentation code.
4445
4446 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4447
4448 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4449 cases of ? and =.
4450 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4451 predicate would return nil are almost non-existent.
4452 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4453
4454 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4455 cache also after commands that modify the buffer but don't move
4456 point.
4457
4458 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * env.el (substitute-env-in-file-name): New function.
4461 (substitute-env-vars): Extend the meaning of the optional arg.
4462
4463 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4464
4465 * term/w32-win.el (dynamic-library-alist): Define separate lists
4466 of GIF DLLs for versions before and after 5.0.0 of giflib.
4467 (Bug#15531)
4468
4469 2013-10-10 João Távora <joaotavora@gmail.com>
4470
4471 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4472 not locked, use last revision and current source as
4473 defaults. (Bug#15569)
4474
4475 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4476
4477 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4478 menu-bar is hidden.
4479
4480 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4481
4482 * window.el (pop-to-buffer-same-window): Fix doc-string.
4483 (Bug#15492)
4484
4485 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4488
4489 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4490
4491 * calendar/icalendar.el (icalendar-import-file):
4492 Fix interactive spec. (Bug#15482)
4493
4494 2013-10-10 Glenn Morris <rgm@gnu.org>
4495
4496 * desktop.el (desktop-save): Default to saving in .emacs.d,
4497 since PWD is no longer in desktop-path by default. (Bug#15319)
4498
4499 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4500 now that text mode has a menu with the same entry.
4501 (menu-bar-text-mode-auto-fill): Remove now unused func.
4502 * textmodes/text-mode.el (text-mode-map):
4503 Use auto-fill help text from menu-bar.el.
4504
4505 2013-10-10 John Anthony <john@jo.hnanthony.com>
4506
4507 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4508
4509 2013-10-09 Juri Linkov <juri@jurta.org>
4510
4511 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4512 instead of this-command-keys. Add universal-argument-more and
4513 universal-argument-minus to the list of prefix commands. (Bug#15568)
4514
4515 2013-10-09 Glenn Morris <rgm@gnu.org>
4516
4517 * vc/vc-svn.el (vc-svn-create-repo):
4518 Expand paths in file://... url. (Bug#15446)
4519
4520 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4521 Add some entries.
4522 (authors): Remove unused local variables.
4523
4524 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * profiler.el: Create a more coherent calltree from partial backtraces.
4527 (profiler-format): Hide the tail with `invisible' so that C-s can still
4528 find the hidden elements.
4529 (profiler-calltree-depth): Don't recurse so enthusiastically.
4530 (profiler-function-equal): New hash-table-test.
4531 (profiler-calltree-build-unified): New function.
4532 (profiler-calltree-build): Use it.
4533 (profiler-report-make-name-part): Indent the calltree less.
4534 (profiler-report-mode): Add visibility specs for profiler-format.
4535 (profiler-report-expand-entry, profiler-report-toggle-entry):
4536 Expand the whole subtree when provided with a prefix arg.
4537
4538 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4539
4540 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4541 iuwu-mod token.
4542 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4543 hanging iuwu-mod token.
4544 (ruby-smie--forward-token): Do not include a dot after a token in
4545 that token.
4546 (ruby-smie--backward-token): Likewise.
4547
4548 2013-10-08 Juri Linkov <juri@jurta.org>
4549
4550 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4551 to isearch-other-control-char.
4552 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4553 and isearch-post-command-hook to post-command-hook.
4554 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4555 and isearch-post-command-hook from post-command-hook.
4556 (isearch-unread-key-sequence)
4557 (isearch-reread-key-sequence-naturally)
4558 (isearch-lookup-scroll-key, isearch-other-control-char)
4559 (isearch-other-meta-char): Remove functions.
4560 (isearch-pre-command-hook, isearch-post-command-hook):
4561 New functions based on isearch-other-meta-char rewritten
4562 relying on the new behavior of overriding-terminal-local-map
4563 that does not replace the local keymaps any more. (Bug#15200)
4564
4565 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4566
4567 Support menus on text-mode terminals.
4568 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4569 functionality.
4570
4571 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4572
4573 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4574 Move here from mouse.el.
4575 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4576 and arrow keys.
4577 (tty-menu-navigation-map): New map for TTY menu navigation.
4578
4579 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4580
4581 * frame.el (display-mouse-p): Report text-mode mouse as available
4582 on w32.
4583 (display-popup-menus-p): Report availability if mouse is
4584 available; don't condition on window-system.
4585
4586 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4587 (tty-menu-selected-face): New faces.
4588
4589 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4592 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4593 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4594 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4595 New constants.
4596 (lisp-mode-variables): New `elisp' argument.
4597 (emacs-lisp-mode): Use it.
4598 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4599 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4600
4601 * indent.el: Use lexical-binding.
4602 (indent-region): Add progress reporter.
4603 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4604 last step.
4605 (indent--next-tab-stop): New function to implement this behavior.
4606 (tab-to-tab-stop, move-to-tab-stop): Use it.
4607
4608 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4609
4610 * indent.el (indent-rigidly--current-indentation): New function.
4611 (indent-rigidly-map): New var.
4612 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4613
4614 2013-10-08 Bastien Guerry <bzg@gnu.org>
4615
4616 * register.el (insert-register): Fix 2013-10-07 change.
4617
4618 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * progmodes/perl-mode.el: Use lexical-binding.
4621 Remove redundant :group args.
4622 (perl-nochange): Change default to be closer to other major modes's
4623 standard behavior.
4624 (perl-indent-line): Don't consider text on current line as a
4625 valid beginning of function from which to indent.
4626
4627 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4628 with more than one argument (bug#15538).
4629
4630 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4631
4632 * vc/pcvs.el: Use lexical-binding.
4633 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4634 environment of `eval'.
4635 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4636 than a list of expressions. Adjust callers.
4637 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4638
4639 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4640
4641 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4642 case of the dot in a chained method call being on the following line.
4643
4644 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * electric.el (electric-indent-inhibit): New var.
4647 (electric-indent-post-self-insert-function): Use it.
4648 * progmodes/python.el (python-mode): Set it.
4649
4650 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4651 open braces.
4652
4653 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4654
4655 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4656 (css-mode): Use electric-indent-chars.
4657
4658 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4659 (font-lock-beg, font-lock-end): Move before first use.
4660 (nxml-mode): Use syntax-propertize-function.
4661 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4662 (nxml-extend-after-change-region): Remove.
4663 * nxml/xmltok.el: Use lexical-binding.
4664 (xmltok-save): Use `declare'.
4665 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4666 * nxml/nxml-util.el: Use lexical-binding.
4667 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4668 Use `declare'.
4669 * nxml/nxml-ns.el: Use lexical-binding.
4670 (nxml-ns-save): Use `declare'.
4671 (nxml-ns-prefixes-for): Avoid add-to-list.
4672 * nxml/rng-match.el: Use lexical-binding.
4673 (rng--ipattern): Use cl-defstruct.
4674 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4675 (rng-cons-group-after, rng-subst-group-after)
4676 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4677 Use closures instead of `(lambda...).
4678
4679 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4680
4681 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4682 of BEG and END.
4683
4684 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4685 Use `tramp-handle-insert-file-contents'.
4686 (tramp-gvfs-handle-insert-file-contents): Remove function.
4687
4688 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4689 Use `save-restriction' in order to keep markers.
4690
4691 * net/trampver.el: Update release number.
4692
4693 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * progmodes/compile.el (compilation-parse-errors):
4696 Use compilation--put-prop.
4697 (compilation--ensure-parse): Check compilation-multiline.
4698
4699 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4700
4701 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4702 lexical-binding.
4703
4704 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4705
4706 * progmodes/ruby-mode.el: Fix recently added tests.
4707 (ruby-smie-grammar): Add - and +.
4708 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4709 (ruby-smie--backward-id): New functions.
4710 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4711 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4712 any more.
4713
4714 2013-10-07 Leo Liu <sdl.web@gmail.com>
4715
4716 * register.el (register-preview-delay)
4717 (register-preview-functions): New variables.
4718 (register-read-with-preview, register-preview)
4719 (register-describe-oneline): New functions.
4720 (point-to-register, window-configuration-to-register)
4721 (frame-configuration-to-register, jump-to-register)
4722 (number-to-register, view-register, insert-register)
4723 (copy-to-register, append-to-register, prepend-to-register)
4724 (copy-rectangle-to-register): Use register-read-with-preview to
4725 read register. (Bug#15525)
4726
4727 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4728
4729 * net/network-stream.el (network-stream-open-starttls): Don't add
4730 --insecure if it's already present, because that gnutls-cli
4731 rejects getting that parameter twice.
4732
4733 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4734
4735 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4736 keyword, too.
4737
4738 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 * newcomment.el (comment-use-global-state): Change default value
4741 to t, mark obsolete (Bug#15251).
4742 (comment-beginning): In addition to `comment-to-syntax', check the
4743 value of `comment-use-global-state'.
4744
4745 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4748 (ruby-comment-column): Follow the global default, by default.
4749 (ruby-smie-grammar): Add assignment syntax.
4750 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4751 open-paren, a comma, or a \.
4752 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4753 and line continuations.
4754 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4755 followed by implicit semi-colons. Add rule for string concatenation
4756 and for indentation at BOB.
4757 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4758
4759 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4760 calling next-sexp, since next-token may have skipped chars which
4761 next-sexp doesn't know should be skipped!
4762
4763 2013-10-05 Leo Liu <sdl.web@gmail.com>
4764
4765 * progmodes/octave.el (octave-send-region):
4766 Call compilation-forget-errors.
4767
4768 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4769
4770 * vc/vc-svn.el (vc-svn-find-admin-dir):
4771 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4772 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4773 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4774 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4775
4776 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4779
4780 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * subr.el (read-passwd): Hide chars even when called within a context
4783 where after-change-functions is disabled (bug#15501).
4784 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4785 until we removed ourself from overriding-terminal-local-map.
4786
4787 2013-10-04 Leo Liu <sdl.web@gmail.com>
4788
4789 * progmodes/octave.el (inferior-octave-mode):
4790 Call compilation-forget-errors.
4791
4792 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4793
4794 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4795
4796 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4797
4798 * net/secrets.el (secrets-create-collection): Add optional
4799 argument ALIAS. Use proper Label keyword. Append ALIAS as
4800 dbus-call-method argument. (Bug#15516)
4801
4802 2013-10-04 Leo Liu <sdl.web@gmail.com>
4803
4804 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4805 (inferior-octave-compilation-font-lock-keywords): New variables.
4806 (compilation-error-regexp-alist)
4807 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4808 (inferior-octave-mode): Use compilation-shell-minor-mode.
4809
4810 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4811
4812 * minibuffer.el (completion--replace): Be careful that `end' might be
4813 a marker.
4814
4815 2013-10-03 Daiki Ueno <ueno@gnu.org>
4816
4817 Add support for package signature checking.
4818 * emacs-lisp/package.el (url-http-file-exists-p)
4819 (epg-make-context, epg-context-set-home-directory)
4820 (epg-verify-string, epg-context-result-for)
4821 (epg-signature-status, epg-signature-to-string)
4822 (epg-check-configuration, epg-configuration)
4823 (epg-import-keys-from-file): Declare.
4824 (package-check-signature): New user option.
4825 (package-unsigned-archives): New user option.
4826 (package-desc): Add `signed' field.
4827 (package-load-descriptor): Set `signed' field if .signed file exists.
4828 (package--archive-file-exists-p): New function.
4829 (package--check-signature): New function.
4830 (package-install-from-archive): Check package signature.
4831 (package--download-one-archive): Check archive signature.
4832 (package-delete): Remove .signed file.
4833 (package-import-keyring): New command.
4834 (package-refresh-contents): Import default keyring.
4835 (package-desc-status): Add "unsigned" status.
4836 (describe-package-1, package-menu--print-info)
4837 (package-menu-mark-delete, package-menu--find-upgrades)
4838 (package-menu--status-predicate): Support "unsigned" status.
4839
4840 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4843 the new compilation scheme using the new byte-codes.
4844
4845 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4846 (byte-pophandler): New byte codes.
4847 (byte-goto-ops): Adjust accordingly.
4848 (byte-compile--use-old-handlers): New var.
4849 (byte-compile-catch): Use new byte codes depending on
4850 byte-compile--use-old-handlers.
4851 (byte-compile-condition-case--old): Rename from
4852 byte-compile-condition-case.
4853 (byte-compile-condition-case--new): New function.
4854 (byte-compile-condition-case): New function that dispatches depending
4855 on byte-compile--use-old-handlers.
4856 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4857 when we can.
4858
4859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4860 Optimize under `condition-case' and `catch' if
4861 byte-compile--use-old-handlers is nil.
4862 (disassemble-offset): Handle new bytecodes.
4863
4864 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * subr.el (error): Use `declare'.
4867 (decode-char, encode-char): Use advertised-calling-convention instead
4868 of the docstring to discourage use of the `restriction' arg.
4869
4870 2013-10-03 Daiki Ueno <ueno@gnu.org>
4871
4872 * epg.el (epg-verify-file): Add a comment saying that it does not
4873 notify verification error as a return value nor a signal.
4874 (epg-verify-string): Ditto.
4875
4876 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4877
4878 * progmodes/compile.el (compilation-start): Try globbing the arg to
4879 `cd' (bug#15417).
4880
4881 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4882
4883 Sync with Tramp 2.2.8.
4884
4885 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4886 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4887 * net/trampver.el: Update release number.
4888
4889 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4890
4891 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4892 and default-process-coding-system for darwin only.
4893
4894 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4897
4898 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4899
4900 * vc/vc-git.el (vc-git-grep): Disable pager.
4901
4902 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4903
4904 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4905 Use :url instead of :homepage, as per
4906 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4907
4908 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4909 non-nil, use `syntax-ppss' (Bug#15251).
4910
4911 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4912
4913 * progmodes/octave.el (inferior-octave-startup-file):
4914 Prefer ~/.emacs.d/init_octave.m.
4915
4916 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4917
4918 * emacs-lisp/package.el (package-desc-from-define):
4919 Accept additional arguments as plist, convert them to an alist and store
4920 them in the `extras' slot.
4921 (package-generate-description-file): Convert extras alist back to
4922 plist and append to the `define-package' form arguments.
4923 (package--alist-to-plist): New function.
4924 (package--ac-desc): Add `extras' slot.
4925 (package--add-to-archive-contents): Check if the archive-contents
4926 vector is long enough, and if it is, pass its `extras' slot value
4927 to `package-desc-create'.
4928 (package-buffer-info): Call `lm-homepage', pass the returned value
4929 to `package-desc-from-define'.
4930 (describe-package-1): Render the homepage button (Bug#13291).
4931
4932 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4933 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4934
4935 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4936
4937 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4938 and default-process-coding-system to utf-8-unix (Bug#15402).
4939
4940 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4941
4942 * subr.el (looking-back): Do not recommend using looking-back.
4943
4944 2013-09-28 Alan Mackenzie <acm@muc.de>
4945
4946 Fix indentation/fontification of Java enum with "implements".
4947
4948 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4949 regexp which matches "implements", etc., in Java.
4950 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4951 specifier clauses coming after "enum".
4952 * progmodes/cc-fonts.el (c-font-lock-declarations)
4953 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4954 after "enum".
4955
4956 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4957
4958 * faces.el (region): Change ns_selection_color to
4959 ns_selection_fg_color, add ns_selection_bg_color.
4960
4961 2013-09-28 Leo Liu <sdl.web@gmail.com>
4962
4963 * progmodes/octave.el (inferior-octave-completion-table)
4964 (inferior-octave-completion-at-point): Minor tweaks.
4965
4966 * textmodes/ispell.el (ispell-lookup-words): Rename from
4967 lookup-words. (Bug#15460)
4968 (lookup-words): Obsolete.
4969 (ispell-complete-word, ispell-command-loop): All uses changed.
4970
4971 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4972
4973 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4974 (octave-mode-menu): Add octave-send-buffer.
4975 (octave-send-buffer): New function.
4976
4977 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4978
4979 * progmodes/octave.el (octave-mode-map): Add key binding for
4980 octave-lookfor.
4981 (octave-mode-menu): Add octave-lookfor.
4982 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4983 octave-lookfor.
4984 (octave-lookfor): New function.
4985
4986 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * emacs-lisp/cl-macs.el:
4989 (cl--loop-destr-temps): Remove.
4990 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4991 its convention.
4992 (cl--loop-set-iterator-function): New function.
4993 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4994 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4995 Bind `it' with `let' instead of substituting it with `cl-subst'.
4996 (cl--unused-var-p): New function.
4997 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4998 Eliminate some unused variable warnings (bug#15326).
4999
5000 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5001
5002 * doc-view.el (doc-view-scale-reset): Rename from
5003 `doc-view-reset-zoom-level'.
5004 (doc-view-scale-adjust): New command.
5005 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5006 `doc-view-scale-adjust'.
5007
5008 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5009
5010 * doc-view.el (doc-view-reset-zoom-level): New command.
5011 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5012 zoom commands (bug#15466).
5013
5014 2013-09-26 Kenichi Handa <handa@gnu.org>
5015
5016 * international/quail.el (quail-help): Make it not a command.
5017
5018 2013-09-26 Leo Liu <sdl.web@gmail.com>
5019
5020 * minibuffer.el (completion-all-sorted-completions): Make args
5021 optional as they are.
5022
5023 2013-09-25 Daniel Colascione <dancol@dancol.org>
5024
5025 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5026 specs are and that they're not evaluated.
5027
5028 2013-09-24 Sam Steingold <sds@gnu.org>
5029
5030 * midnight.el (clean-buffer-list-kill-regexps)
5031 (clean-buffer-list-kill-buffer-names): Update for the new Man
5032 buffer naming which includes the object name.
5033
5034 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5037 (eshell-parse-command, eshell-parse-pipeline): Use it since
5038 eshell-separate-commands requires a dynamic scoped var.
5039 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5040
5041 2013-09-23 Leo Liu <sdl.web@gmail.com>
5042
5043 * autoinsert.el (auto-insert-alist): Make the value of
5044 lexical-binding match its file setting.
5045
5046 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5047
5048 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5049
5050 * autoarg.el (autoarg-kp-digit-argument):
5051 * electric.el (Electric-command-loop):
5052 * kmacro.el (kmacro-step-edit-insert):
5053 Do not set universal-argument-num-events.
5054
5055 2013-09-22 Leo Liu <sdl.web@gmail.com>
5056
5057 * files.el (interpreter-mode-alist): Add octave.
5058
5059 2013-09-21 Alan Mackenzie <acm@muc.de>
5060
5061 C++: fontify identifier in declaration following "public:" correctly.
5062 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5063 to match "public", etc.
5064 (c-decl-prefix-re): Add ":" into the C++ value.
5065 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5066 bit. Add a check for a ":" preceded by "public", etc.
5067
5068 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5069
5070 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5071 recognized by GDB 7.5 and later.
5072
5073 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5074
5075 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5076
5077 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * subr.el (internal--call-interactively): New const.
5080 (called-interactively-p): Use it (bug#3984).
5081
5082 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5083
5084 * vc/pcvs.el (cvs-mode-ignore):
5085 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5086 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5087
5088 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5091 (eshell-ls-orig-insert-directory): Remove.
5092 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5093 (eshell-ls-use-in-dired): Use advice-add/remove.
5094 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5095 Add `orig-fun' arg for use in :around advice.
5096 Make it check (redundantly) eshell-ls-use-in-dired.
5097
5098 2013-09-19 Glenn Morris <rgm@gnu.org>
5099
5100 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5101
5102 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5103
5104 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5105
5106 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5107
5108 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5109 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5110 (tramp-get-remote-python): New defuns.
5111 (tramp-get-remote-uid-with-perl)
5112 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5113 contributed by yary <not.com@gmail.com> (tiny change).
5114 (tramp-get-remote-uid-with-python)
5115 (tramp-get-remote-gid-with-python): New defuns. Python code
5116 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5117 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5118
5119 2013-09-19 Glenn Morris <rgm@gnu.org>
5120
5121 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5122
5123 * eshell/em-unix.el (eshell-remove-entries):
5124 Rename argument to avoid name-clash with global `top-level'.
5125
5126 * eshell/esh-proc.el (eshell-kill-process-function):
5127 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5128 (eshell-reset-after-proc): Remove unused arg `proc'.
5129
5130 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5131 (directory-files-and-attributes): Mark unused arg.
5132
5133 * eshell/em-unix.el (eshell-remove-entries):
5134 Remove unused arg `path'. Update callers.
5135
5136 * eshell/em-hist.el (eshell-hist-parse-arguments):
5137 Remove unused arg `silent'. Update callers.
5138
5139 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5140 Fix (f)boundp mix-up.
5141
5142 * eshell/em-smart.el (eshell-smart-scroll-window)
5143 (eshell-disable-after-change):
5144 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5145
5146 2013-09-18 Alan Mackenzie <acm@muc.de>
5147
5148 Fix fontification of type when followed by "const".
5149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5150 "known" types from fontification.
5151
5152 2013-09-18 Glenn Morris <rgm@gnu.org>
5153
5154 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5155 (chart-face-list): Drop Emacsen without display-color-p.
5156
5157 * net/eww.el (libxml-parse-html-region): Declare.
5158 (eww-display-html): Explicit error if no libxml2 support.
5159
5160 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5161
5162 * image.el (image-type-from-buffer, image-multi-frame-p):
5163 Remove --without-x warning/error.
5164
5165 * mouse.el (mouse-yank-primary):
5166 * term.el (term-mouse-paste):
5167 Reorder to silence --without-x compilation.
5168
5169 * mpc.el (doc-view-mode): Silence --without-x compilation.
5170
5171 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5172 Silence --without-x compilation.
5173
5174 * progmodes/gud.el (gud-find-file, gud-mode):
5175 Silence --without-x compilation.
5176 (tooltip-mode): Declare.
5177
5178 * wdired.el (dired-backup-overwrite): Remove declaration.
5179 (wdired-mode-map): Add doc string.
5180
5181 * custom.el (x-get-resource): Declare.
5182
5183 * eshell/em-glob.el (ange-cache):
5184 * eshell/em-unix.el (ange-cache): Declare.
5185
5186 * faces.el (x-display-list, x-open-connection, x-get-resource):
5187 Declare.
5188
5189 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5190 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5191 Declare.
5192
5193 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5194
5195 * net/gnutls.el (gnutls-log-level): Declare.
5196
5197 * net/shr.el (image-size, image-animate): Declare.
5198
5199 * simple.el (font-info): Declare.
5200
5201 * subr.el (x-popup-dialog): Declare.
5202
5203 * term/common-win.el (x-select-enable-primary)
5204 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5205 Declare.
5206
5207 * term/ns-win.el (x-handle-args): Declare.
5208
5209 * term/x-win.el (x-select-enable-clipboard): Declare.
5210
5211 * term/w32-win.el (create-default-fontset): Declare.
5212
5213 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5214 Declare.
5215
5216 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5217 (fit-frame-to-buffer): Explicit error if --without-x.
5218 (mouse-autoselect-window-select): Silence compiler.
5219
5220 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5221
5222 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5223 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5224 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5225 * eshell/esh-util.el (eshell-sublist):
5226 Remove unused local variables.
5227
5228 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5229
5230 * textmodes/two-column.el: Make 2C-split work for --without-x.
5231 (scroll-bar-columns): Autoload.
5232 (top-level): Require fringe when compiling.
5233
5234 2013-09-18 Leo Liu <sdl.web@gmail.com>
5235
5236 * subr.el (add-hook): Robustify to handle closure as well.
5237
5238 2013-09-17 Glenn Morris <rgm@gnu.org>
5239
5240 * simple.el (messages-buffer-mode-map): Unbind "g".
5241
5242 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * help-mode.el (help-mode-finish): Use derived-mode-p.
5245 Remove obsolete highlighting.
5246
5247 * play/life.el (life-mode): Use define-derived-mode. Derive from
5248 special-mode.
5249 (life): Let-bind inhibit-read-only.
5250 (life-setup): Avoid `setq'. Use `life-mode'.
5251
5252 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5253 which should not be needed any more.
5254 (package-menu-refresh, package-menu-describe-package): Use user-error.
5255
5256 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5257 (eshell-post-rewrite-command-hook): Make obsolete.
5258 (eshell-parse-command): Simplify.
5259 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5260 (eshell--cmd): Declare.
5261 (eshell-parse-pipeline): Remove unused var `final-p'.
5262 Pass a dynvar to eshell-post-rewrite-command-hook.
5263 Implement the new eshell-post-rewrite-command-function.
5264 (eshell-invoke-directly): Remove unused arg `input'.
5265 * eshell/esh-io.el (eshell-io-initialize):
5266 Use eshell-post-rewrite-command-function (bug#15399).
5267 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5268 adjust to new calling convention.
5269 (eshell-create-handles): Rename args to avoid clashing with dynvar
5270 `standard-output'.
5271
5272 2013-09-17 Glenn Morris <rgm@gnu.org>
5273
5274 * simple.el (messages-buffer-mode): New major mode.
5275 (messages-buffer): New function.
5276 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5277 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5278 (ert-run-test): Use `messages-buffer' function.
5279 (ert--force-message-log-buffer-truncation): Ignore read-only.
5280 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5281 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5282
5283 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5286
5287 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5288
5289 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5290
5291 * icomplete.el (icomplete-in-buffer): New var.
5292 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5293 vars and replace them with functions.
5294 (icomplete-minibuffer-setup): Adjust accordingly.
5295 (icomplete--completion-table, icomplete--completion-predicate)
5296 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5297 New functions.
5298 (icomplete-forward-completions, icomplete-backward-completions)
5299 (icomplete-simple-completing-p, icomplete-exhibit)
5300 (icomplete-completions): Use them.
5301 (icomplete--in-region-buffer): New var.
5302 (icomplete--in-region-setup): New function.
5303 (icomplete-mode): Use it.
5304
5305 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5306 (bug#15379).
5307 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5308 return args and options.
5309 (eshell-eval-using-options): Use the new return value of
5310 eshell--do-opts to set the options's vars in their scope.
5311 (eshell--set-option): Rename from eshell-set-option.
5312 Add arg `opt-vals'.
5313 (eshell--process-option): Rename from eshell-process-option.
5314 Add arg `opt-vals'.
5315 (eshell--process-args): Use an `opt-vals' alist to store the options's
5316 values during their processing and return them additionally to the
5317 remaining args.
5318
5319 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5320
5321 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5322 continuation character an operator, as far as indentation is
5323 concerned (Bug#15369).
5324
5325 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5326
5327 * window.el (window--state-put-2): Don't process buffer state
5328 when buffer doesn't exist any more (Bug#15382).
5329
5330 2013-09-15 Glenn Morris <rgm@gnu.org>
5331
5332 * eshell/em-unix.el (eshell/rm):
5333 Make -f ignore missing files. (Bug#15373)
5334
5335 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5336 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5337 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5338
5339 2013-09-14 Glenn Morris <rgm@gnu.org>
5340
5341 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5342
5343 2013-09-13 Glenn Morris <rgm@gnu.org>
5344
5345 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5346 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5347
5348 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5349
5350 * frame.el (x-focus-frame): Mark as declared in frame.c.
5351
5352 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * ls-lisp.el: Use advice-add.
5355 (original-insert-directory): Remove.
5356 (ls-lisp--insert-directory): Rename from insert-directory; add
5357 `orig-fun' argument.
5358 (insert-directory): Advise.
5359
5360 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5361
5362 * term.el (term-emulate-terminal): Decode the command string
5363 before passing it to term-command-hook. (Bug#15337)
5364
5365 2013-09-13 Glenn Morris <rgm@gnu.org>
5366
5367 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5368
5369 * eshell/esh-ext.el (eshell-search-path): Declare.
5370
5371 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5372 Otherwise an error occurs if eshell-dirs module not loaded.
5373
5374 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5375
5376 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5377
5378 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5379 `tramp-check-proper-host'. Check for a valid method name.
5380
5381 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5382 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5383 * net/tramp-sh.el (tramp-maybe-open-connection):
5384 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5385
5386 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5387 also for hash values.
5388
5389 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * term/ns-win.el (parameters): Don't declare as dynamic.
5392 (before-make-frame-hook): Don't add ineffective function.
5393
5394 * eshell/*.el: Use lexical-binding (bug#15231).
5395
5396 2013-09-12 Kenichi Handa <handa@gnu.org>
5397
5398 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5399
5400 2013-09-12 Glenn Morris <rgm@gnu.org>
5401
5402 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5403 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5404
5405 * subr.el (do-after-load-evaluation): Also give compiler warnings
5406 when obsolete files are used (except by obsolete files).
5407
5408 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5409 in the status output, assume `filename' is the first. (Bug#15322)
5410
5411 * vc/vc.el (vc-deduce-fileset): Doc fix.
5412
5413 * calc/calc-help.el (Info-goto-node):
5414 * progmodes/cperl-mode.el (Info-find-node):
5415 * vc/ediff.el (Info-goto-node): Update declarations.
5416
5417 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5418
5419 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5420 (vc-bzr-pull): Require vc-dispatcher.
5421 * vc/vc-git.el (vc-compilation-mode): Declare.
5422 (vc-git-pull): Require vc-dispatcher.
5423
5424 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5425
5426 * progmodes/octave.el (help-button-action): Declare.
5427
5428 * shell.el (shell-directory-tracker): Output error as a message
5429 rather than just returning it as a string.
5430 (shell-process-pushd): Remove useless use of message.
5431
5432 * dframe.el (dframe-timer-fn):
5433 * files.el (dir-locals-read-from-file):
5434 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5435 (mpc-format):
5436 * reveal.el (reveal-post-command):
5437 * saveplace.el (load-save-place-alist-from-file):
5438 * shell.el (shell-resync-dirs):
5439 * w32-common-fns.el (x-get-selection-value):
5440 * emacs-lisp/copyright.el (copyright-find-copyright):
5441 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5442 * emulation/tpu-edt.el (tpu-copy-keyfile):
5443 * play/bubbles.el (bubbles--mark-neighbourhood):
5444 * progmodes/executable.el
5445 (executable-make-buffer-file-executable-if-script-p):
5446 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5447
5448 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 Cleanup Eshell to rely less on dynamic scoping.
5451 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5452 last-value, and ext-command here. Bind `args' closer to `body'.
5453 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5454 (eshell--args): Declare new dynamic var.
5455 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5456 last-value, and ext-command. Pass `args' to `body'.
5457 (eshell-process-args): Bind eshell--args.
5458 (eshell-set-option): Use eshell--args.
5459 * eshell/eshell.el (eshell): Use derived-mode-p.
5460 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5461 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5462 (eshell-glob-function): Declare.
5463 * eshell/esh-util.el: Require cl-lib.
5464 (eshell-read-hosts-file): Avoid add-to-list.
5465 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5466 `err'.
5467 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5468 Declare.
5469 (eshell/diff): Remove unused var `err'.
5470 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5471 `killflag'.
5472 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5473 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5474 first use.
5475 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5476 Move declaration before first use.
5477 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5478 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5479 rely on cl-return.
5480
5481 2013-09-12 Glenn Morris <rgm@gnu.org>
5482
5483 * term/ns-win.el (global-map): Remove binding for ispell-next,
5484 deleted 1999-05-29. (Bug#15357)
5485
5486 2013-09-11 Glenn Morris <rgm@gnu.org>
5487
5488 * echistory.el (electric-command-history): Remove call to deleted func.
5489
5490 * play/landmark.el (landmark-mode): Fix typos.
5491
5492 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5493 Check cvs-sort-ignore-file is bound.
5494
5495 * savehist.el: No need for cl when compiling on Emacs.
5496
5497 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5500 (bug#15338).
5501 (eshell-self-insert-command, eshell-send-invisible):
5502 Remove unused argument.
5503 (eshell-handle-control-codes): Remove unused var `orig'.
5504 Avoid delete-backward-char.
5505
5506 * files.el (set-auto-mode): Simplify a bit further.
5507
5508 2013-09-11 Glenn Morris <rgm@gnu.org>
5509
5510 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5511 (set-auto-mode): Don't regexp-quote elements.
5512 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5513 * progmodes/cc-mode.el (interpreter-mode-alist):
5514 * progmodes/ruby-mode.el (interpreter-mode-alist):
5515 Revert previous change.
5516
5517 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * play/snake.el (snake-mode):
5520 * play/mpuz.el (mpuz-mode):
5521 * play/landmark.el (lm-mode):
5522 * play/blackbox.el (blackbox-mode):
5523 * play/5x5.el (5x5-mode):
5524 * obsolete/options.el (Edit-options-mode):
5525 * net/quickurl.el (quickurl-list-mode):
5526 * net/newst-treeview.el (newsticker-treeview-mode):
5527 * mail/rmailsum.el (rmail-summary-mode):
5528 * mail/mspools.el (mspools-mode):
5529 * locate.el (locate-mode):
5530 * ibuffer.el (ibuffer-mode):
5531 * emulation/ws-mode.el (wordstar-mode):
5532 * emacs-lisp/debug.el (debugger-mode):
5533 * array.el (array-mode):
5534 * net/eudc.el (eudc-mode): Use define-derived-mode.
5535 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5536 Move initialization into declaration.
5537 (mairix-searches-mode): Use define-derived-mode.
5538 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5539 (eudc-edit-hotlist): Use dolist.
5540 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5541 (Man-mode): Use define-derived-mode.
5542 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5543 (Info-edit-mode): Use define-derived-mode.
5544 (Info-cease-edit): Use Info-mode.
5545 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5546 into declaration.
5547 (eshell-mode): Use define-derived-mode.
5548 * chistory.el (command-history-mode-map): Rename from
5549 command-history-map.
5550 (command-history-mode): Use define-derived-mode.
5551 (Command-history-setup): Remove function.
5552 * calc/calc.el (calc-trail-mode-map): New var.
5553 (calc-trail-mode): Use define-derived-mode.
5554 (calc-trail-buffer): Set calc-main-buffer manually.
5555 * bookmark.el (bookmark-insert-annotation): New function.
5556 (bookmark-edit-annotation): Use it.
5557 (bookmark-edit-annotation-mode): Make it a proper major mode.
5558 (bookmark-send-edited-annotation): Use derived-mode-p.
5559 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5560 closer to its ideal place. Use \' to match EOS.
5561
5562 * profiler.el (profiler-calltree-find): Use function-equal.
5563
5564 2013-09-10 Glenn Morris <rgm@gnu.org>
5565
5566 * files.el (interpreter-mode-alist): Convert to regexps.
5567 (set-auto-mode): Adapt for this. (Bug#15306)
5568 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5569 Comment out unused variable.
5570 * progmodes/cc-mode.el (interpreter-mode-alist):
5571 * progmodes/python.el (interpreter-mode-alist):
5572 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5573 * progmodes/sh-script.el (sh-set-shell):
5574 No longer use interpreter-mode-alist to get list of shells.
5575
5576 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5577
5578 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * simple.el: Use set-temporary-overlay-map for universal-argument.
5581 (universal-argument-map): Don't use default-bindings (bug#15317).
5582 Bind switch-frame explicitly. Replace universal-argument-minus with
5583 a conditional binding.
5584 (universal-argument-num-events, saved-overriding-map): Remove.
5585 (restore-overriding-map): Remove.
5586 (universal-argument--mode): Rename from save&set-overriding-map,
5587 and rewrite.
5588 (universal-argument, universal-argument-more, negative-argument)
5589 (digit-argument): Adjust accordingly.
5590 (universal-argument-minus): Remove.
5591 (universal-argument-other-key): Remove.
5592
5593 * subr.el (with-demoted-errors): Add `format' argument.
5594
5595 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5596
5597 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5598 `tramp-cleanup-connection'.
5599
5600 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5601 parameters KEEP-DEBUG and KEEP-PASSWORD.
5602
5603 * net/tramp.el (tramp-file-name-handler):
5604 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5605 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5606 (tramp-maybe-open-connection):
5607 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5608 Use `tramp-cleanup-connection'.
5609
5610 * net/tramp-sh.el (tramp-maybe-open-connection):
5611 Catch 'uname-changed inside the progress reporter.
5612
5613 2013-09-10 Glenn Morris <rgm@gnu.org>
5614
5615 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5616
5617 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5618 returns "alternate access method" in mode (eg "-rw-r--r--.").
5619
5620 2013-09-08 Glenn Morris <rgm@gnu.org>
5621
5622 * saveplace.el (load-save-place-alist-from-file):
5623 Demote errors. (Bug#15305)
5624
5625 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5626
5627 Improve compatibility with older Emacsen, and XEmacs.
5628
5629 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5630 only if it is bound. It isn't for XEmacs.
5631 (with-tramp-progress-reporter): Do not let-bind `result'.
5632 This yields to scoping errors in XEmacs.
5633 (tramp-handle-make-auto-save-file-name): New function, moved from
5634 tramp-sh.el.
5635
5636 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5637 for `make-auto-save-file-name'.
5638 (tramp-adb--gnu-switches-to-ash):
5639 Use `tramp-compat-replace-regexp-in-string'.
5640
5641 * net/tramp-cache.el (tramp-cache-print): Call
5642 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5643
5644 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5645 bound. It isn't for XEmacs.
5646
5647 * net/tramp-compat.el (tramp-compat-copy-file):
5648 Catch `wrong-number-of-arguments' error.
5649 (tramp-compat-replace-regexp-in-string): New defun.
5650
5651 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5652 for `make-auto-save-file-name'.
5653 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5654 `copy-file'.
5655 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5656 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5657 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5658
5659 * net/tramp-gw.el (tramp-gw-open-network-stream):
5660 Use `tramp-compat-replace-regexp-in-string'.
5661
5662 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5663 Call `tramp-handle-make-auto-save-file-name'.
5664 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5665 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5666 (tramp-sh-file-inotifywait-process-filter):
5667 Use `tramp-compat-replace-regexp-in-string'.
5668 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5669
5670 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5671 for `make-auto-save-file-name'.
5672 (tramp-smb-handle-copy-directory):
5673 Call `tramp-compat-replace-regexp-in-string'.
5674 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5675 (tramp-smb-handle-copy-file): Improve error message.
5676 (tramp-smb-handle-rename-file): Rename directly only in case
5677 `newname' does not exist yet. This is a restriction of smbclient.
5678 (tramp-smb-maybe-open-connection): Rerun the function only when
5679 `auth-sources' is non-nil.
5680
5681 2013-09-08 Kenichi Handa <handa@gnu.org>
5682
5683 * international/characters.el: Set category "^" (Combining) for
5684 more characters.
5685
5686 2013-09-07 Alan Mackenzie <acm@muc.de>
5687
5688 Correctly fontify Java class constructors.
5689 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5690 in Java Mode.
5691 (c-recognize-typeless-decls): Set the Java value to t.
5692 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5693 While handling a "(", add a check for, effectively, Java, and handle a
5694 "typeless" declaration there.
5695
5696 2013-09-07 Roland Winkler <winkler@gnu.org>
5697
5698 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5699 field subtitle for entry type book.
5700
5701 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * minibuffer.el: Make minibuffer-complete call completion-in-region
5704 rather than other way around.
5705 (completion--some, completion-pcm--find-all-completions):
5706 Don't delay signals when debugging.
5707 (minibuffer-completion-contents): Beware fields within the
5708 minibuffer contents.
5709 (completion-all-sorted-completions): Use defvar-local.
5710 (completion--do-completion, completion--cache-all-sorted-completions)
5711 (completion-all-sorted-completions, minibuffer-force-complete):
5712 Add args `beg' and `end'.
5713 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5714 (minibuffer-complete): Use completion-in-region.
5715 (completion-complete-and-exit): New fun, extracted from
5716 minibuffer-complete-and-exit.
5717 (minibuffer-complete-and-exit): Use it.
5718 (completion--complete-and-exit): Rename from
5719 minibuffer--complete-and-exit.
5720 (completion-in-region--single-word): New function, extracted from
5721 minibuffer-complete-word.
5722 (minibuffer-complete-word): Use it.
5723 (display-completion-list): Make `common-substring' argument obsolete.
5724 (completion--in-region): Call completion--in-region-1 instead of
5725 minibuffer-complete.
5726 (completion-help-at-point): Pass boundaries to
5727 minibuffer-completion-help as args rather than via an overlay.
5728 (completion-pcm--string->pattern): Use `any-delim'.
5729 (completion-pcm--optimize-pattern): New function.
5730 (completion-pcm--pattern->regex): Handle `any-delim'.
5731 * icomplete.el (icomplete-forward-completions)
5732 (icomplete-backward-completions, icomplete-completions):
5733 Adjust calls to completion-all-sorted-completions and
5734 completion--cache-all-sorted-completions.
5735 (icomplete-with-completion-tables): Default to t.
5736 * emacs-lisp/crm.el (crm--current-element): Rename from
5737 crm--select-current-element. Don't put an overlay but return the
5738 boundaries instead.
5739 (crm--completion-command): Take two new args to bind to the boundaries.
5740 (crm-completion-help): Adjust accordingly.
5741 (crm-complete): Use completion-in-region.
5742 (crm-complete-word): Use completion-in-region--single-word.
5743 (crm-complete-and-exit): Use completion-complete-and-exit.
5744
5745 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5748 than dynamically.
5749
5750 2013-09-06 Juri Linkov <juri@jurta.org>
5751
5752 * info.el (Info-display-images-node): When image file doesn't exist
5753 display text version of the image if it's provided in the Info file.
5754 Otherwise, display the location of missing image from SRC attribute.
5755 Add help-echo text property from ALT attribute. (Bug#15279)
5756
5757 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5760 (edit-abbrevs-mode): Use define-derived-mode.
5761
5762 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5763 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5764 that it's defined.
5765 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5766 Use define-derived-mode.
5767
5768 * epg.el (epg-start-encrypt): Minor CSE simplification.
5769
5770 2013-09-06 William Xu <william.xwl@gmail.com>
5771
5772 * arc-mode.el: Add support for 7za (bug#15264).
5773 (archive-7z-program): New var.
5774 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5775 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5776 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5777
5778 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5779
5780 Remove URL syntax.
5781
5782 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5783 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5784 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5785 (tramp-postfix-host-format, tramp-file-name-regexp)
5786 (tramp-completion-file-name-regexp)
5787 (tramp-completion-dissect-file-name)
5788 (tramp-handle-substitute-in-file-name): Remove 'url case.
5789 (tramp-file-name-regexp-url)
5790 (tramp-completion-file-name-regexp-url): Remove constants.
5791
5792 2013-09-06 Glenn Morris <rgm@gnu.org>
5793
5794 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5795
5796 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5797
5798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5799 keywords" below "here-doc beginnings" (Bug#15270).
5800
5801 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * subr.el (pop): Use `car-safe'.
5804 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5805 to detect unused `pop' return value.
5806
5807 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5808 var `block-regexp'.
5809 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5810 (python-fill-string): Remove unused var `marker'.
5811 (python-skeleton-add-menu-items): Remove unused var `items'.
5812
5813 * international/mule-cmds.el: Require CL.
5814 (find-coding-systems-for-charsets): Avoid add-to-list.
5815 (sanitize-coding-system-list): New function, extracted from
5816 select-safe-coding-system-interactively.
5817 (select-safe-coding-system-interactively): Use it.
5818 (read-input-method-name): Accept symbols for `default'.
5819
5820 * emacs-lisp/advice.el (defadvice): Add indent rule.
5821
5822 2013-09-05 Daniel Hackney <dan@haxney.org>
5823
5824 * dired-x.el:
5825 * net/ange-ftp.el:
5826 * net/browse-url.el:
5827 * net/dbus.el:
5828 * net/eudc.el:
5829 * net/eudcb-ldap.el:
5830 * net/eww.el:
5831 * net/imap.el:
5832 * printing.el:
5833 * vc/ediff-diff.el:
5834 * vc/ediff-init.el:
5835 * vc/ediff-merg.el:
5836 * vc/ediff-mult.el:
5837 * vc/ediff-util.el:
5838 * vc/ediff-wind.el:
5839 * vc/ediff.el:
5840 * vc/emerge.el:
5841 * vc/pcvs.el:
5842 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5843 byte compiler. Remove some unused let-bound variables.
5844
5845 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5848 a "ref-cell", since it gets better optimized (bug#14883).
5849
5850 2013-09-05 Glenn Morris <rgm@gnu.org>
5851
5852 * progmodes/cc-awk.el (c-forward-sws): Declare.
5853
5854 2013-09-04 Glenn Morris <rgm@gnu.org>
5855
5856 * generic-x.el [rul-generic-mode]: Require cc-mode.
5857 (c++-mode-syntax-table): Declare.
5858 (rul-generic-mode-syntax-table): Init in the defvar.
5859
5860 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5863 (vc-do-command, vc-set-async-update):
5864 * vc/vc-mtn.el (vc-mtn-dir-status):
5865 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5866 (vc-hg-pull, vc-hg-merge-branch):
5867 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5868 (vc-git-merge-branch):
5869 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5870 (vc-cvs-dir-status-files):
5871 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5872 (vc-bzr-dir-status-files):
5873 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5874 * vc/vc-annotate.el: Use lexical-binding.
5875 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5876 (vc-sentinel-movepoint): Declare.
5877 (vc-annotate): Don't use `goto-line'.
5878 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5879 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5880 (vc-sentinel-movepoint): Declare.
5881 * vc/vc-svn.el: Use lexical-binding.
5882 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5883 * vc/vc-sccs.el:
5884 * vc/vc-rcs.el: Use lexical-binding.
5885
5886 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5887 `deleted'. Don't drop errors silently.
5888
5889 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5890
5891 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5892
5893 * vc/vc.el (vc-ignore): Rewrite.
5894 (vc-default-ignore): New function.
5895 (vc-default-ignore-completion-table): Use find-ignore-file.
5896
5897 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5898 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5899 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5900 Remove. Most code moved to vc.el.
5901
5902 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5905 * net/tramp-smb.el (tramp-smb-get-file-entries):
5906 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5907 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5908
5909 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5910 Update call to it.
5911 (eww-change-select): Remove unused var `properties'.
5912 (eww-make-unique-file-name): Remove unused var `base'.
5913
5914 * finder.el (finder-compile-keywords): Don't mess with windows.
5915
5916 * calculator.el (calculator-funcall): Fix typo in last change.
5917
5918 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5919
5920 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5921 <pkg>-autoloads.el file stop us.
5922
5923 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5924 warnings, and factor out common code.
5925
5926 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5927
5928 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5929 two-character operators and whether the character preceding them
5930 changes their meaning (Bug#15208).
5931
5932 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5933
5934 Format code sent to Python shell for robustness.
5935 * progmodes/python.el (python-shell-buffer-substring):
5936 New function.
5937 (python-shell-send-region, python-shell-send-buffer): Use it.
5938
5939 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5940
5941 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5942 * net/tramp.el (tramp-user-error): ... here.
5943 (tramp-find-method, tramp-check-proper-host)
5944 (tramp-dissect-file-name, tramp-debug-message)
5945 (tramp-handle-shell-command):
5946 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5948
5949 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5950
5951 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5952
5953 * avoid.el (mouse-avoidance-point-position)
5954 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5955 returns nil.
5956
5957 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5958
5959 * progmodes/python.el (python-shell-completion-get-completions):
5960 Drop use of deleted `comint-last-prompt-overlay'.
5961 (python-nav-if-name-main): New command.
5962
5963 2013-09-01 Glenn Morris <rgm@gnu.org>
5964
5965 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5966 Avoid leading space in $wins. Otherwise the sed command used by
5967 eg compile-main ends up containing "/*.el". (Bug#15170)
5968
5969 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5970
5971 2013-08-30 Glenn Morris <rgm@gnu.org>
5972
5973 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5974 Fix is-this-a-directory logic. (Bug#15220)
5975
5976 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * textmodes/css-mode.el: Use SMIE.
5979 (css-smie-grammar): New var.
5980 (css-smie--forward-token, css-smie--backward-token)
5981 (css-smie-rules): New functions.
5982 (css-mode): Use them.
5983 (css-navigation-syntax-table): Remove var.
5984 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5985 (css-indent-calculate, css-indent-line): Remove functions.
5986
5987 Misc changes to reduce use of `(lambda...); and other cleanups.
5988 * cus-edit.el: Use lexical-binding.
5989 (customize-push-and-save, customize-apropos)
5990 (custom-buffer-create-internal): Use closures.
5991 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5992 * progmodes/ada-xref.el: Use setq.
5993 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5994 * dframe.el: Use lexical-binding.
5995 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5996 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5997 * descr-text.el: Use lexical-binding.
5998 (describe-text-widget, describe-text-sexp, describe-property-list):
5999 Use closures.
6000 * comint.el (comint-history-isearch-push-state): Use a closure.
6001 * calculator.el: Use lexical-binding.
6002 (calculator-number-to-string): Make it work with lexical-binding.
6003 (calculator-funcall): Same and use cl-letf.
6004
6005 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6006 (lisp--company-doc-string, lisp--company-location): New functions.
6007 (lisp-completion-at-point): Use them to improve Company support.
6008
6009 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6010 params of lambda expressions.
6011 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6012 (ruby-smie--opening-pipe-p): New function.
6013 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6014 symbols and matched |...| for formal params.
6015 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6016 from being treated as hanging. Handle "rescue".
6017
6018 2013-08-29 Glenn Morris <rgm@gnu.org>
6019
6020 * progmodes/cc-engine.el (c-pull-open-brace):
6021 Move definition before use.
6022
6023 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6026 are immutable. Don't use `unsafe' any more.
6027 (cl--defsubst-expand): Don't substitute at the same time as keeping
6028 a residual unused let-binding. Don't use `unsafe' any more.
6029
6030 2013-08-29 Glenn Morris <rgm@gnu.org>
6031
6032 * calendar/cal-china.el (calendar-chinese-year-cache):
6033 Recenter on 2015.
6034
6035 * nxml/nxml-util.el (nxml-debug-clear-inside):
6036 Use cl-loop rather than loop.
6037
6038 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6039
6040 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6041
6042 2013-08-28 Glenn Morris <rgm@gnu.org>
6043
6044 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6045
6046 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6047
6048 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6049
6050 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6051
6052 * simple.el (repeat-complex-command--called-interactively-skip):
6053 New function.
6054 (repeat-complex-command): Use it (bug#14136).
6055
6056 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6057 (c-define-abbrev-table): Add `doc' argument.
6058 (c-mode-abbrev-table, c++-mode-abbrev-table)
6059 (objc-mode-abbrev-table, java-mode-abbrev-table)
6060 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6061 (awk-mode-abbrev-table): Use it.
6062 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6063 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6064 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6065 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6066 Move initialization into the declaration; and remove any
6067 autoload cookie.
6068
6069 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6070 and dynamic let binding.
6071
6072 * vc/smerge-mode.el: Remove redundant :group args.
6073
6074 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6075 to load-path.
6076
6077 2013-08-28 Juri Linkov <juri@jurta.org>
6078
6079 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6080 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6081 (isearch-other-meta-char): Handle an undefined shifted printing
6082 character by downshifting it. (Bug#15200)
6083
6084 2013-08-28 Juri Linkov <juri@jurta.org>
6085
6086 * isearch.el (isearch-search): Change regexp error message for
6087 non-regexp searches. (Bug#15166)
6088
6089 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6090
6091 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6092 for portability to hosts where /bin/sh has problems.
6093
6094 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6097
6098 2013-08-27 Juri Linkov <juri@jurta.org>
6099
6100 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6101 in the keyboard macro. (Bug#15126)
6102
6103 2013-08-27 Juri Linkov <juri@jurta.org>
6104
6105 * isearch.el (isearch-quote-char): Comment out converting unibyte
6106 to multibyte, thus syncing with its `quoted-insert' counterpart.
6107 (Bug#15166)
6108
6109 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6110
6111 * window.el (display-buffer-use-some-window): Add missing
6112 argument in call of get-largest-window (Bug#15185).
6113 Reported by Stephen Leake.
6114
6115 2013-08-27 Glenn Morris <rgm@gnu.org>
6116
6117 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6118
6119 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6122 from a matcher-function unless there's no more matches (bug#15161).
6123
6124 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6125
6126 * minibuffer.el: Revert change from 2013-08-20.
6127
6128 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6129 with text property `tramp-default', if appropriate.
6130 (tramp-check-proper-host): New defun.
6131 (tramp-dissect-file-name): Do not check hostname. Revert change
6132 of 2013-03-18.
6133 (tramp-backtrace): Make VEC-OR-PROC optional.
6134
6135 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6136 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6137 * net/tramp-sh.el (tramp-maybe-open-connection):
6138 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6139 Apply `tramp-check-proper-host'.
6140
6141 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6142
6143 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6144 lambda expression in order to have `describe-variable' display it.
6145
6146 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6149 BUF can be optional. (Bug#15186)
6150
6151 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6152
6153 * progmodes/flymake.el (flymake-get-real-file-name-function):
6154 Fix broken customization. (Bug#15184)
6155
6156 2013-08-25 Alan Mackenzie <acm@muc.de>
6157
6158 Improve indentation of bracelists defined by macros (without "=").
6159
6160 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6161 expansion begins with "{", regard it as bracelist when it doesn't
6162 contain a ";".
6163
6164 Parse C++ inher-intro when there's a template split over 2 lines.
6165
6166 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6167 rigorously the search for "class" etc. followed by ":".
6168
6169 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6170 random languages a regexp which never matches rather than nil.
6171
6172 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6173
6174 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6175 (c-awk-regexp-one-line-possibly-open-char-list-re)
6176 (c-awk-one-line-possibly-open-regexp-re)
6177 (c-awk-one-line-non-syn-ws*-re): Remove.
6178 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6179 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6180 (c-awk-space*-unclosed-regexp-/-re): New constants.
6181 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6182 aren't regexp delimiters.
6183
6184 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6185 handling for a rare situation in AWK Mode involving unterminated
6186 strings/regexps.
6187
6188 2013-08-23 Glenn Morris <rgm@gnu.org>
6189
6190 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6191
6192 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6193
6194 * files.el (create-file-buffer): If the result would begin with
6195 spaces, prepend a "|" instead of removing them. (Bug#15162)
6196
6197 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6200 text-properties (bug#15155).
6201
6202 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6203 exist any more.
6204 (calc-keypad-redraw): Remove unused var `pad'.
6205 (calc-keypad-press): Remove unused var `menu'.
6206
6207 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6208
6209 * window.el (display-buffer-pop-up-frame):
6210 Call pop-up-frame-function with BUFFER current so `make-frame' will
6211 use it as the new frame's buffer (Bug#15133).
6212
6213 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * calendar/timeclock.el: Minor cleanups.
6216 (timeclock-ask-before-exiting, timeclock-use-display-time):
6217 Use `symbol'.
6218 (timeclock-modeline-display): Define as alias before the
6219 actual definition.
6220 (timeclock-mode-line-display): Use define-minor-mode.
6221 (timeclock-day-list-template): Make it a function, add an argument.
6222 (timeclock-day-list-required, timeclock-day-list-length)
6223 (timeclock-day-list-debt, timeclock-day-list-span)
6224 (timeclock-day-list-break): Adjust calls accordingly.
6225
6226 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6229 Use read--expression so that completion works again.
6230
6231 2013-08-21 Sam Steingold <sds@gnu.org>
6232
6233 Add rudimentary inferior shell interaction
6234 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6235 (sh-set-shell): Reset it.
6236 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6237 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6238
6239 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * align.el: Use lexical-binding.
6242 (align-region): Simplify accordingly.
6243
6244 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6247
6248 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6249 `non-essential' up.
6250
6251 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6252
6253 * net/tramp.el:
6254 * net/tramp-adb.el:
6255 * net/tramp-cmds.el:
6256 * net/tramp-ftp.el:
6257 * net/tramp-gvfs.el:
6258 * net/tramp-gw.el:
6259 * net/tramp-sh.el: Don't wrap external variable declarations by
6260 `eval-when-compile'.
6261
6262 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6263
6264 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6265 now that Emacs supports ImageMagick animations.
6266
6267 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6268
6269 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6270 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6271
6272 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6273
6274 * window.el (mouse-autoselect-window-select): Do autoselect when
6275 mouse pointer is on margin.
6276
6277 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6278
6279 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6280
6281 2013-08-16 Glenn Morris <rgm@gnu.org>
6282
6283 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6284 Handle "Remote Directory" response of some clients. (Bug#15058)
6285
6286 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6287 Tweak warning. (Bug#14926)
6288
6289 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6290 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6291
6292 * image-mode.el (image-mode-map): Add menu items to reverse,
6293 increase, decrease, reset animation speed.
6294 (image--set-speed, image-increase-speed, image-decrease-speed)
6295 (image-reverse-speed, image-reset-speed): New functions.
6296 (image-mode-map): Add bindings for speed commands.
6297
6298 * image.el (image-animate-get-speed, image-animate-set-speed):
6299 New functions.
6300 (image-animate-timeout): Respect image :speed property.
6301
6302 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6305 previous line (bug#15101).
6306 (debugger-eval-expression, debugger-record-expression):
6307 Use read--expression (bug#15102).
6308
6309 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6310
6311 Remove byte compiler warnings, visible when compiling with
6312 `byte-compile-force-lexical-warnings' set to t.
6313
6314 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6315 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6316 (tramp-handle-unhandled-file-name-directory)
6317 (tramp-handle-file-notify-add-watch, tramp-action-login)
6318 (tramp-action-succeed, tramp-action-permission-denied)
6319 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6320 arguments with "_".
6321
6322 * net/tramp-adb.el (tramp-adb-parse-device-names)
6323 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6324 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6325 (tramp-adb-handle-file-truename): Remove unused arguments.
6326
6327 * net/tramp-cache.el (tramp-flush-directory-property)
6328 (tramp-flush-connection-property, tramp-list-connections)
6329 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6330
6331 * net/tramp-compat.el (tramp-compat-make-temp-file):
6332 Rename FILENAME to F.
6333
6334 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6335 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6336 (tramp-zeroconf-parse-workstation-device-names)
6337 (tramp-zeroconf-parse-webdav-device-names)
6338 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6339
6340 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6341 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6342
6343 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6344 arguments.
6345 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6346 (tramp-sh-handle-insert-file-contents-literally)
6347 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6348 with "_".
6349 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6350 Remove unused variables.
6351
6352 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6353 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6354 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6355
6356 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6357 Make them a defconst.
6358 (tramp-uuencode-region): Remove unused variable.
6359
6360 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * frameset.el (frameset--prop-setter): New function.
6363 (frameset-prop): Add gv-setter declaration.
6364 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6365 parameter was already set in FILTERED. Doc fix.
6366 (frameset--record-minibuffer-relationships): Allow saving a
6367 minibufferless frame without its corresponding minibuffer frame.
6368 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6369 frame, if the frame id matches.
6370 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6371 frames before orphaned ones.
6372 (frameset-restore): Warn about orphaned windows, instead of error out.
6373
6374 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6375
6376 * window.el (window-make-atom): Don't overwrite parameter
6377 already present.
6378 (display-buffer-in-atom-window): Handle special case where we
6379 split an already atomic window.
6380 (window--major-non-side-window, display-buffer-in-side-window)
6381 (window--side-check): Ignore minibuffer window when walking
6382 window tree.
6383 (window-deletable-p): Return 'frame only if no other frame uses
6384 our minibuffer window.
6385 (record-window-buffer): Run buffer-list-update-hook.
6386 (split-window): Make sure window--check-frame won't destroy an
6387 existing atomic window in case the new window gets nested
6388 inside.
6389 (display-buffer-at-bottom): Ignore minibuffer window when
6390 walking window tree. Don't split a side window.
6391 (pop-to-buffer): Don't set-buffer here, the select-window call
6392 should do that.
6393 (mouse-autoselect-window-select): Autoselect only if we are in the
6394 text portion of the window.
6395
6396 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6397
6398 * net/shr.el (shr-parse-image-data): New function to grab both the
6399 data itself and the Content-Type.
6400 (shr-put-image): Use it.
6401
6402 * net/eww.el (eww-display-image): Ditto.
6403
6404 * image.el (image-content-type-suffixes): New variable.
6405
6406 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6407
6408 * progmodes/python.el (python-imenu--build-tree)
6409 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6410
6411 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6412
6413 * simple.el (backward-word): Mention the optional argument.
6414
6415 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * frameset.el (frameset--make): Rename constructor from make-frameset.
6418 (frameset-p, frameset-valid-p): Don't autoload.
6419 (frameset-valid-p): Use normal accessors.
6420
6421 2013-08-13 Glenn Morris <rgm@gnu.org>
6422
6423 * progmodes/compile.el (compile-command): Tweak example in doc.
6424 * obsolete/scribe.el (scribe-mode):
6425 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6426
6427 * mail/feedmail.el (feedmail-confirm-outgoing)
6428 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6429
6430 * cus-start.el (truncate-partial-width-windows): Fix type.
6431
6432 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6433
6434 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6435
6436 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * emacs-lisp/timer.el (timer--time-setter): New function.
6439 (timer--time): Use it as gv-setter.
6440
6441 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6442 setter is not a symbol.
6443
6444 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6445
6446 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6447 if sending fails. This makes debugging easier.
6448
6449 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6450
6451 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6452 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6453 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6454
6455 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6456
6457 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6458
6459 2013-08-12 Glenn Morris <rgm@gnu.org>
6460
6461 * format.el (format-annotate-function):
6462 Handle read-only text properties in the source. (Bug#14887)
6463
6464 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6465
6466 * net/eww.el (eww-display-html): Ignore coding system errors.
6467 One web site uses "utf-8lias" as the coding system.
6468
6469 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6470
6471 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6472
6473 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6474
6475 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6476 (tutorial--detailed-help): Remove unused local variables.
6477 (tutorial--save-tutorial-to): Use ignore-errors.
6478 (help-with-tutorial): Use looking-at-p.
6479
6480 * view.el (view-buffer-other-window, view-buffer-other-frame):
6481 Mark unused arguments.
6482
6483 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6484 (woman-select-symbol-fonts, woman, woman-find-file)
6485 (woman-insert-file-contents, woman-non-underline-faces):
6486 Use string-match-p.
6487 (woman1-unquote): Move declaration.
6488
6489 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6490 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6491 argument. Remove unused local variable.
6492 (xml-parse-elem-type): Use string-match-p.
6493 (xml-substitute-numeric-entities): Use ignore-errors.
6494
6495 * calculator.el (calculator): Mark unused argument.
6496 (calculator-paste, calculator-quit, calculator-integer-p):
6497 Use ignore-errors.
6498 (calculator-string-to-number, calculator-decimal, calculator-exp)
6499 (calculator-op-or-exp): Use string-match-p.
6500
6501 * dired.el (dired-buffer-more-recently-used-p): Declare.
6502 (dired-insert-set-properties, dired-insert-old-subdirs):
6503 Use ignore-errors.
6504
6505 * dired-aux.el (dired-compress): Use ignore-errors.
6506 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6507 (dired-do-async-shell-command, dired-do-shell-command)
6508 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6509 (dired-insert-subdir-validate): Use string-match-p.
6510 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6511 (dired-add-entry): Use string-match-p, looking-at-p.
6512 (dired-insert-subdir-newpos): Remove unused local variable.
6513
6514 * filenotify.el (file-notify-callback): Remove unused local variable.
6515
6516 * filesets.el (filesets-error): Mark unused argument.
6517 (filesets-which-command-p, filesets-filter-dir-names)
6518 (filesets-directory-files, filesets-get-external-viewer)
6519 (filesets-ingroup-get-data): Use string-match-p.
6520
6521 * find-file.el (ff-other-file-name, ff-other-file-name)
6522 (ff-find-the-other-file, ff-cc-hh-converter):
6523 Remove unused local variables.
6524 (ff-get-file-name): Use string-match-p.
6525 (ff-all-dirs-under): Use ignore-errors.
6526
6527 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6528 (follow-select-if-visible): Remove unused local variable.
6529
6530 * forms.el (read-file-filter): Move declaration.
6531 (forms--make-format, forms--make-parser, forms-insert-record):
6532 Quote function with #'.
6533 (forms--update): Use string-match-p. Quote function with #'.
6534
6535 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6536 (help-make-xrefs): Use looking-at-p.
6537 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6538
6539 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6540 (ibuffer-confirm-operation-on): Use string-match-p.
6541
6542 * msb.el (msb-item-handler, msb-dired-item-handler):
6543 Mark unused arguments.
6544
6545 * ses.el (ses-decode-cell-symbol)
6546 (ses-kill-override): Remove unused local variable.
6547 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6548 (ses-load): Use ignore-errors, looking-at-p.
6549 (ses-jump-safe): Use ignore-errors.
6550 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6551
6552 * tabify.el (untabify, tabify): Mark unused arguments.
6553
6554 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6555 Mark unused argument.
6556 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6557 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6558
6559 * emacs-lisp/timer.el (timer--time): Define setter with
6560 gv-define-setter to avoid deprecation warning.
6561
6562 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6563 (*record-cmpl-statistics-p*): Remove (was commented out).
6564 (cmpl-statistics-block): Remove (body was commented out).
6565 All callers changed.
6566 (add-completions-from-buffer, load-completions-from-file):
6567 Remove unused variables.
6568
6569 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6570
6571 * filecache.el (file-cache-delete-file-list):
6572 Print message only when told so.
6573 (file-cache-files-matching): Use #' in mapconcat argument.
6574
6575 * ffap.el (ffap-url-at-point): Fix reference to variable
6576 thing-at-point-default-mail-uri-scheme.
6577
6578 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * subr.el (define-error): New function.
6581 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6582 error-file-not-found and define with define-error.
6583 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6584 and define with define-error.
6585 * userlock.el (file-locked, file-supersession):
6586 * simple.el (mark-inactive):
6587 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6588 * progmodes/ada-mode.el (ada-mode-errors):
6589 * play/life.el (life-extinct):
6590 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6591 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6592 * nxml/rng-util.el (rng-error):
6593 * nxml/rng-uri.el (rng-uri-error):
6594 * nxml/rng-match.el (rng-compile-error):
6595 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6596 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6597 * nxml/nxml-rap.el (nxml-scan-error):
6598 * nxml/nxml-outln.el (nxml-outline-error):
6599 * net/soap-client.el (soap-error):
6600 * net/gnutls.el (gnutls-error):
6601 * net/ange-ftp.el (ftp-error):
6602 * mpc.el (mpc-proc-error):
6603 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6604 (json-number-format, json-string-escape, json-string-format)
6605 (json-key-format, json-object-format):
6606 * jka-compr.el (compression-error):
6607 * international/quail.el (quail-error):
6608 * international/kkc.el (kkc-error):
6609 * emacs-lisp/ert.el (ert-test-failed):
6610 * calc/calc.el (calc-error, inexact-result, math-overflow)
6611 (math-underflow):
6612 * bookmark.el (bookmark-error-no-filename):
6613 * epg.el (epg-error): Define with define-error.
6614
6615 * time.el (display-time-event-handler)
6616 (display-time-next-load-average): Don't call sit-for since it seems
6617 unnecessary (bug#15045).
6618
6619 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6620 Use #' instead of ' to quote functions.
6621 (checkdoc-output-mode): Use setq-local.
6622 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6623 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6624 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6625 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6626 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6627 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6628 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6629 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6630
6631 * ido.el (ido-completion-help): Fix up compiler warning.
6632
6633 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * frameset.el (frameset-p): Add autoload cookie.
6636 (frameset--jump-to-register): New function, based on code moved from
6637 register.el.
6638 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6639
6640 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6641 (frameset-restore, frameset-save, frameset-session-filter-alist):
6642 Remove declarations.
6643 (register-alist): Doc fix.
6644 (frameset-to-register): Move to frameset.el.
6645 (jump-to-register, describe-register-1): Remove frameset-specific code.
6646
6647 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * allout-widgets.el (allout-widgets-pre-command-business)
6650 (allout-widgets-post-command-business)
6651 (allout-widgets-after-change-handler)
6652 (allout-decorate-item-and-context, allout-set-boundary-marker)
6653 (allout-body-modification-handler)
6654 (allout-graphics-modification-handler): Mark ignored arguments.
6655 (allout-widgets-post-command-business)
6656 (allout-widgets-exposure-change-processor)
6657 (allout-widgets-exposure-undo-processor)
6658 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6659 (allout-parse-item-at-point, allout-decorate-item-guides)
6660 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6661 * allout.el (epa-passphrase-callback-function): Declare.
6662 (allout-overlay-insert-in-front-handler)
6663 (allout-overlay-interior-modification-handler)
6664 (allout-isearch-end-handler, allout-chart-siblings)
6665 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6666 (allout-yank-processing, allout-process-exposed)
6667 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6668 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6669 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6670 (lisp-indent-defform): Mark ignored arguments.
6671 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6672 (calculate-lisp-indent): Remove unused variables.
6673 * international/characters.el (indian-2-column, arabic-2-column)
6674 (tibetan): Mark ignored arguments.
6675 (use-cjk-char-width-table): Mark ignored arguments.
6676 Remove unused variables.
6677 * international/fontset.el (build-default-fontset-data)
6678 (x-compose-font-name, create-fontset-from-fontset-spec):
6679 Mark ignored arguments.
6680 (fontset-plain-name): Remove unused variables.
6681 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6682 (keyboard-coding-system): Mark ignored arguments.
6683 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6684 * help.el (resize-temp-buffer-window):
6685 * window.el (display-buffer-in-major-side-window)
6686 (display-buffer-in-side-window, display-buffer-in-previous-window):
6687 Remove unused variables.
6688 * isearch.el (isearch-forward-symbol):
6689 * version.el (emacs-bzr-version-bzr):
6690 * international/mule-cmds.el (current-language-environment):
6691 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6692 (x-handle-display):
6693 * term/pc-win.el (x-list-fonts, x-display-planes)
6694 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6695 (x-server-version, x-display-screens, x-display-mm-height)
6696 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6697 (x-selection-owner-p, x-own-selection-internal)
6698 (x-disown-selection-internal, x-get-selection-internal)
6699 (msdos-initialize-window-system):
6700 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6701 * term/x-win.el (x-handle-no-bitmap-icon):
6702 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6703 (vc-default-find-file-hook, vc-default-extra-menu):
6704 Mark ignored arguments.
6705
6706 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6709 break-condition in the context of the debugged code (bug#12685).
6710
6711 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6712
6713 * comint.el:
6714 Do not use an overlay to highlight the last prompt. (Bug#14744)
6715 (comint-mode): Make comint-last-prompt buffer local.
6716 (comint-last-prompt): New variable.
6717 (comint-last-prompt-overlay): Remove. Superseded by
6718 comint-last-prompt.
6719 (comint-snapshot-last-prompt, comint-output-filter):
6720 Use comint-last-prompt.
6721
6722 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6725 (frameset-save): Check validity of the resulting frameset.
6726
6727 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6728
6729 * ido.el (ido-record-command): Add doc string.
6730
6731 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * frameset.el (frameset): Do not disable creation of the default
6734 frameset-p predicate. Doc fix.
6735 (frameset-valid-p): New function, copied from the old predicate-p.
6736 Add additional checks.
6737 (frameset-restore): Check with frameset-valid-p.
6738 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6739 (frameset-name, frameset-description, frameset-properties)
6740 (frameset-states): Add docstring.
6741 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6742 (frameset-filter-alist): Doc fixes.
6743
6744 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6745
6746 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6747
6748 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6751 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6752 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6753 (byte-compile-normal-call): Remove obsolescence check.
6754
6755 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6756
6757 * frameset.el (frameset-restore): Doc fix.
6758
6759 * register.el (frameset-frame-id, frameset-frame-with-id)
6760 (frameset-p, frameset-restore, frameset-save): Declare.
6761 (register-alist): Document framesets.
6762 (frameset-session-filter-alist): Declare.
6763 (frameset-to-register): New function.
6764 (jump-to-register): Implement jumping to framesets. Doc fix.
6765 (describe-register-1): Describe framesets.
6766
6767 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6768
6769 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6772 Use lexical-binding.
6773
6774 * frameset.el (frameset): Use type vector, not list (incompatible
6775 change). Do not declare a new constructor, use the default one.
6776 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6777 `name' and `description', respectively, and add read-only slot
6778 `timestamp'. Doc fixes.
6779 (frameset-copy, frameset-persistent-filter-alist)
6780 (frameset-filter-alist, frameset-switch-to-gui-p)
6781 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6782 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6783 (frameset-filter-iconified, frameset-keep-original-display-p):
6784 Doc fixes.
6785 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6786 Rename from frameset-filter-(save|restore)-param. All callers changed.
6787 Doc fix.
6788 (frameset-p): Adapt to change to vector and be more thorough.
6789 Change arg name to OBJECT. Doc fix.
6790 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6791 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6792 All callers changed.
6793 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6794 All callers changed.
6795 (frameset--record-minibuffer-relationships): Rename from
6796 frameset--process-minibuffer-frames. All callers changed.
6797 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6798 Use new default constructor (again). Doc fix.
6799 (frameset--find-frame-if): Rename from `frameset--find-frame.
6800 All callers changed.
6801 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6802 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6803 Doc fix.
6804 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6805 PARAMETERS and WINDOW-STATE, respectively.
6806 (frameset-restore): Add new keyword argument PREDICATE.
6807 Reset frameset--target-display to nil. Doc fix.
6808
6809 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6812 (bat-mode): Use it.
6813 (bat-mode-syntax-table): Mark \n as end-of-comment.
6814 (bat-font-lock-keywords): Remove comment rule.
6815
6816 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6817 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6818
6819 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6820 (byte-compile-callargs-warn): Use `push'.
6821 (byte-compile-arglist-warn): Ignore higher-order "calls".
6822 (byte-compile-file-form-autoload): Use `pcase'.
6823 (byte-compile-function-form): If quoting a symbol, check that it exists.
6824
6825 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6826
6827 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6828 and add a few popular commands found in batch files.
6829 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6830 (dos-mode): Doc fixes.
6831
6832 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6835 (dos-mode): Use setq-local. Add space after "rem".
6836 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6837 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6838
6839 2013-08-07 Arni Magnusson <arnima@hafro.is>
6840
6841 * progmodes/dos.el: New file.
6842 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6843 dos-mode.
6844
6845 2013-08-06 Glenn Morris <rgm@gnu.org>
6846
6847 * calendar/calendar.el: Add new faces, and day-header-array.
6848 (calendar-weekday-header, calendar-weekend-header)
6849 (calendar-month-header): New faces.
6850 (calendar-day-header-construct): New function.
6851 (calendar-day-header-width): Also :set calendar-day-header-array.
6852 (calendar-american-month-header, calendar-european-month-header)
6853 (calendar-iso-month-header): Use calendar- faces.
6854 (calendar-generate-month):
6855 Use calendar-day-header-array for day headers; apply faces to them.
6856 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6857 (calendar-abbrev-construct): Add optional maxlen argument.
6858 (calendar-day-name-array): Doc fix.
6859 (calendar-day-name-array, calendar-abbrev-length)
6860 (calendar-day-abbrev-array):
6861 Also :set calendar-day-header-array, and maybe redraw.
6862 (calendar-day-header-array): New option. (Bug#15007)
6863 (calendar-font-lock-keywords): Set to nil and make obsolete.
6864 (calendar-day-name): Add option to use header array.
6865
6866 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
6868 * net/shr.el (shr-render-td): Remove debugging.
6869 (shr-render-td): Make width computation consistent by defaulting
6870 all zero-width columns to 10 characters. This may not be optimal,
6871 but it's at least consistent.
6872 (shr-make-table-1): Redo last change to fix the real problem in
6873 colspan handling.
6874
6875 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6876
6877 * files.el (cache-long-line-scans):
6878 Make obsolete alias to `cache-long-scans'.
6879
6880 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * frameset.el (frameset, frameset-filter-alist)
6883 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6884 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6885 (frameset-compute-pos): Rename from frameset--compute-pos,
6886 and add docstring.
6887 (frameset-move-onscreen): Use frameset-compute-pos.
6888 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6889
6890 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6891 Fix typos in docstrings.
6892
6893 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6894
6895 * frame.el (get-other-frame): Tiny cleanup.
6896
6897 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6898
6899 * vc/vc.el (vc-default-ignore-completion-table):
6900 Silence byte-compiler warning.
6901
6902 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6903 slot, which can indeed be nil.
6904 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6905 Move entry for `left' from persistent to live filter alist.
6906 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6907 Doc fixes.
6908 (frameset-filter-params): When restoring a frame, copy items added to
6909 `filtered', to avoid unwittingly modifying the original parameters.
6910 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6911 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6912
6913 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6914 to use looking-at-p instead of looking-at. (Bug#15028)
6915
6916 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 Revert introduction of isearch-filter-predicates (bug#14714).
6919 Rely on add-function instead.
6920 * isearch.el (isearch-filter-predicates): Rename it back to
6921 isearch-filter-predicate.
6922 (isearch-message-prefix): Use advice-function-mapc and advice
6923 properties to get the isearch-message-prefix.
6924 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6925 instead of run-hook-with-args-until-failure.
6926 (isearch-filter-visible): Not obsolete any more.
6927 * loadup.el: Preload nadvice.
6928 * replace.el (perform-replace): Revert to funcall
6929 instead of run-hook-with-args-until-failure.
6930 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6931 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6932 dired-isearch-filenames-toggle; make it into a proper minor mode.
6933 Use add/remove-function.
6934 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6935 Call the minor-mode rather than add/remove-hook.
6936 (dired-isearch-filter-filenames):
6937 Remove isearch-message-prefix property.
6938 * info.el (Info--search-loop): New function, extracted from Info-search.
6939 Funcall isearch-filter-predicate instead of
6940 run-hook-with-args-until-failure isearch-filter-predicates.
6941 (Info-search): Use it.
6942 (Info-mode): Use isearch-filter-predicate instead of
6943 isearch-filter-predicates.
6944
6945 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6946
6947 Do not call to `selected-window' where it is assumed by default.
6948 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6949 `window-hscroll', `window-width', `window-height', `window-buffer',
6950 `window-frame', `window-start', `window-point', `next-window'
6951 and `window-display-table'.
6952 * abbrev.el (abbrev--default-expand):
6953 * bs.el (bs--show-with-configuration):
6954 * buff-menu.el (Buffer-menu-mouse-select):
6955 * calc/calc.el (calc):
6956 * calendar/calendar.el (calendar-generate-window):
6957 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6958 (diary-make-entry):
6959 * comint.el (send-invisible, comint-dynamic-complete-filename)
6960 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6961 * completion.el (complete):
6962 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6963 * disp-table.el (describe-current-display-table):
6964 * doc-view.el (doc-view-insert-image):
6965 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6966 * ehelp.el (with-electric-help):
6967 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6968 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6969 * emacs-lisp/helper.el (Helper-help-scroller):
6970 * emulation/cua-base.el (cua--post-command-handler-1):
6971 * eshell/esh-mode.el (eshell-output-filter):
6972 * ffap.el (ffap-gnus-wrapper):
6973 * help-macro.el (make-help-screen):
6974 * hilit-chg.el (highlight-compare-buffers):
6975 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6976 * hl-line.el (global-hl-line-highlight):
6977 * icomplete.el (icomplete-simple-completing-p):
6978 * isearch.el (isearch-done):
6979 * jit-lock.el (jit-lock-stealth-fontify):
6980 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6981 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6982 * mpc.el (mpc-tagbrowser, mpc):
6983 * net/rcirc.el (rcirc-any-buffer):
6984 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6985 * play/landmark.el (landmark-max-width, landmark-max-height):
6986 * play/zone.el (zone):
6987 * progmodes/compile.el (compilation-goto-locus):
6988 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6989 * progmodes/etags.el (find-tag-other-window):
6990 * progmodes/fortran.el (fortran-column-ruler):
6991 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6992 * progmodes/verilog-mode.el (verilog-point-text):
6993 * reposition.el (reposition-window):
6994 * rot13.el (toggle-rot13-mode):
6995 * server.el (server-switch-buffer):
6996 * shell.el (shell-dynamic-complete-command)
6997 (shell-dynamic-complete-environment-variable):
6998 * simple.el (insert-buffer, set-selective-display)
6999 (delete-completion-window):
7000 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7001 (speedbar-recenter):
7002 * startup.el (fancy-splash-head):
7003 * textmodes/ispell.el (ispell-command-loop):
7004 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7005 * tutorial.el (help-with-tutorial):
7006 * vc/add-log.el (add-change-log-entry):
7007 * vc/compare-w.el (compare-windows):
7008 * vc/ediff-help.el (ediff-indent-help-message):
7009 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7010 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7011 (ediff-setup-control-frame):
7012 * vc/emerge.el (emerge-position-region):
7013 * vc/pcvs-util.el (cvs-bury-buffer):
7014 * window.el (walk-windows, mouse-autoselect-window-select):
7015 * winner.el (winner-set-conf, winner-undo): Related users changed.
7016
7017 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7018
7019 * frameset.el (frameset--set-id): Doc fix.
7020 (frameset-frame-id, frameset-frame-id-equal-p)
7021 (frameset-locate-frame-id): New functions.
7022 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7023 (frameset-restore): Use them.
7024
7025 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7026
7027 Do not call to `selected-frame' where it is assumed by default.
7028 Affected functions are `raise-frame', `redraw-frame',
7029 `frame-first-window', `frame-terminal' and `delete-frame'.
7030 * calendar/appt.el (appt-disp-window):
7031 * epg.el (epg-wait-for-completion):
7032 * follow.el (follow-delete-other-windows-and-split)
7033 (follow-avoid-tail-recenter):
7034 * international/mule.el (set-terminal-coding-system):
7035 * mail/rmail.el (rmail-mail-return):
7036 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7037 * progmodes/f90.el (f90-add-imenu-menu):
7038 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7039 * server.el (server-switch-buffer):
7040 * simple.el (delete-completion-window):
7041 * talk.el (talk):
7042 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7043 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7044 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7045 * vc/ediff.el (ediff-documentation): Related users changed.
7046 * frame.el (selected-terminal): Remove the leftover.
7047
7048 2013-08-05 Glenn Morris <rgm@gnu.org>
7049
7050 * calendar/calendar.el (calendar-generate-month):
7051 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7052 (calendar-generate-month, calendar-font-lock-keywords):
7053 Fix for calendar-day-header-width > length of any day name.
7054
7055 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * desktop.el (desktop-clear): Use new name of sort predicate.
7058
7059 * frameset.el (frameset): Add docstring. Move :version property to its
7060 own `version' slot.
7061 (frameset-copy): Rename from copy-frameset.
7062 (frameset-p): Check more thoroughly.
7063 (frameset-prop): Do not check for :version, which is no longer a prop.
7064 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7065 Use new :never value instead of t.
7066 (frameset-filter-alist): Expand and clarify docstring.
7067 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7068 (frameset-filter-minibuffer, frameset-filter-save-param)
7069 (frameset-filter-restore-param, frameset-filter-iconified):
7070 Add pointer to docstring of frameset-filter-alist.
7071 (frameset-filter-params): Rename filter values to be more meaningful:
7072 :never instead of t, and reverse the meanings of :save and :restore.
7073 (frameset--process-minibuffer-frames): Clarify error message.
7074 (frameset-save): Avoid unnecessary and confusing call to framep.
7075 Use new BOA constructor for framesets.
7076 (frameset--reuse-list): Doc fix.
7077 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7078 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7079 (frameset-minibufferless-first-p): Doc fix.
7080 Rename from frameset-sort-frames-for-deletion.
7081 (frameset-restore): Doc fixes. Use new function names.
7082 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7083
7084 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * desktop.el (desktop-restore-forces-onscreen)
7087 (desktop-restore-reuses-frames): Document :keyword constant values.
7088 (desktop-filter-parameters-alist): Remove, now identical to
7089 frameset-filter-alist.
7090 (desktop--filter-tty*): Remove, moved to frameset.el.
7091 (desktop-save-frameset, desktop-restore-frameset):
7092 Do not pass :filters argument.
7093
7094 * frameset.el (frameset-live-filter-alist)
7095 (frameset-persistent-filter-alist): New variables.
7096 (frameset-filter-alist): Use them. Add autoload cookie.
7097 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7098 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7099 `frameset--id' (it's supposed to be internal to frameset.el).
7100 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7101 (frameset--initial-params): New function.
7102 (frameset--get-frame): Use it. Doc fix.
7103 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7104 Accept :all, not 'all.
7105 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7106 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7107 with fbound symbols. Fix frame id matching, and remove matching ids if
7108 the frame being restored is deleted. Obey :delete.
7109
7110 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * subr.el (macrop): New function.
7113 (text-clone--maintaining): New var.
7114 (text-clone--maintain): Rename from text-clone-maintain. Use it
7115 instead of inhibit-modification-hooks.
7116
7117 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7118 a proxy, so as handle autoloads and redefinitions of the target.
7119 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7120
7121 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7122 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7123 (pcase--mutually-exclusive-p): New function.
7124 (pcase--split-consp): Use it.
7125 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7126 mutually exclusive with the current predicate.
7127
7128 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7129 (edebug-macrop): Remove. Use `macrop' instead.
7130 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7131 (ad-macro-p):
7132 * eshell/esh-cmd.el (eshell-macrop):
7133 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7134
7135 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7138 (advice-mapc): New function, using it.
7139 (advice-function-member-p): New function.
7140 (advice--normalize): Store the cdr in advice--saved-rewrite since
7141 that's the part that will be changed.
7142 (advice--symbol-function): New function.
7143 (advice-remove): Handle removal before the function is defined.
7144 Adjust to new advice--saved-rewrite.
7145 (advice-member-p): Use advice-function-member-p and
7146 advice--symbol-function.
7147
7148 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7149
7150 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7151 (frameset-filter-minibuffer): Doc fix.
7152 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7153 (frameset--set-id, frameset--process-minibuffer-frames)
7154 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7155 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7156
7157 * desktop.el (desktop-clear): Only delete frames when called
7158 interactively and desktop-restore-frames is non-nil. Doc fix.
7159 (desktop-read): Set desktop-saved-frameset to nil.
7160
7161 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7162
7163 * vc/vc.el (vc-ignore): Rewrite.
7164 (vc-default-ignore-completion-table):
7165 (vc--read-lines):
7166 (vc--add-line, vc--remove-regexp): New functions.
7167
7168 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7169 (vc-svn-ignore-completion-table): New function.
7170
7171 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7172 (vc-hg-ignore-completion-table):
7173 (vc-hg-find-ignore-file): New functions.
7174
7175 * vc/vc-git.el (vc-git-ignore): Rewrite.
7176 (vc-git-ignore-completion-table):
7177 (vc-git-find-ignore-file): New functions.
7178
7179 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7180
7181 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7182 (vc-bzr-ignore-completion-table):
7183 (vc-bzr-find-ignore-file): New functions.
7184
7185 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7186
7187 * frameset.el (frameset-prop): New function and setter.
7188 (frameset-save): Do not modify frame list passed by the caller.
7189
7190 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7193
7194 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7197 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7198
7199 * custom.el (custom-initialize-default, custom-initialize-set)
7200 (custom-initialize-reset, custom-initialize-changed): Affect the
7201 toplevel-default-value (bug#6275, bug#14586).
7202 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7203 for bug#6275.
7204
7205 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7206
7207 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7208 Add cl-def* expressions.
7209
7210 * frameset.el (frameset-filter-params): Fix order of arguments.
7211
7212 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7213
7214 Move code related to saving frames to frameset.el.
7215 * desktop.el: Require frameset.
7216 (desktop-restore-frames): Doc fix.
7217 (desktop-restore-reuses-frames): Rename from
7218 desktop-restoring-reuses-frames.
7219 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7220 (desktop-clear): Clear frames too.
7221 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7222 (desktop--filter-tty*, desktop-save, desktop-read):
7223 Use frameset functions.
7224 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7225 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7226 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7227 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7228 (desktop--process-minibuffer-frames, desktop-save-frames)
7229 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7230 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7231 (desktop--sort-states, desktop-restoring-frames-p)
7232 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7233 (desktop-restoring-frameset-p, desktop-restore-frameset)
7234 (desktop--check-dont-save, desktop-save-frameset): New functions.
7235 (desktop--app-id): New constant.
7236 (desktop-first-buffer, desktop-buffer-ok-count)
7237 (desktop-buffer-fail-count): Move before first use.
7238 * frameset.el: New file.
7239
7240 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * files.el: Use lexical-binding.
7243 (dir-locals-read-from-file): Remove unused `err' variable.
7244 (hack-dir-local-variables--warned-coding): New var.
7245 (hack-dir-local-variables): Use it to avoid repeated warnings.
7246 (make-backup-file-name--default-function): New function.
7247 (make-backup-file-name-function): Use it as default.
7248 (buffer-stale--default-function): New function.
7249 (buffer-stale-function): Use it as default.
7250 (revert-buffer-insert-file-contents--default-function): New function.
7251 (revert-buffer-insert-file-contents-function): Use it as default.
7252 (insert-directory): Avoid add-to-list.
7253
7254 * autorevert.el (auto-revert-handler): Simplify.
7255 Use buffer-stale--default-function.
7256
7257 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7258
7259 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7260
7261 * whitespace.el (whitespace-ensure-local-variables): New function.
7262 (whitespace-cleanup-region): Call it.
7263 (whitespace-turn-on): Call it.
7264
7265 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7266
7267 Complete file name handlers.
7268
7269 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7270 (tramp-handle-verify-visited-file-modtime)
7271 (tramp-handle-file-notify-rm-watch): New functions.
7272 (tramp-call-process): Do not bind `default-directory'.
7273
7274 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7275 Order alphabetically.
7276 [access-file, add-name-to-file, dired-call-process]:
7277 [dired-compress-file, file-acl, file-notify-rm-watch]:
7278 [file-ownership-preserved-p, file-selinux-context]:
7279 [make-directory-internal, make-symbolic-link, set-file-acl]:
7280 [set-file-selinux-context, set-visited-file-modtime]:
7281 [verify-visited-file-modtime]: Add handler.
7282 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7283
7284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7285 [file-notify-add-watch, file-notify-rm-watch]:
7286 [set-file-times, set-visited-file-modtime]:
7287 [verify-visited-file-modtime]: Add handler.
7288 (with-tramp-gvfs-error-message)
7289 (tramp-gvfs-handle-set-visited-file-modtime)
7290 (tramp-gvfs-fuse-file-name): Remove.
7291 (tramp-gvfs-handle-file-notify-add-watch)
7292 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7293 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7294
7295 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7296 Order alphabetically.
7297 [file-notify-rm-watch ]: Use default Tramp handler.
7298 [executable-find]: Remove private handler.
7299 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7300 `default-directory'.
7301 (tramp-sh-handle-executable-find)
7302 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7303 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7304 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7305 Do not use `format' in `tramp-message'.
7306
7307 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7308 [file-notify-rm-watch, set-visited-file-modtime]:
7309 [verify-visited-file-modtime]: Add handler.
7310 (tramp-smb-call-winexe): Do not bind `default-directory'.
7311
7312 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7313
7314 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7315
7316 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7317
7318 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7319 use it.
7320 (log-view-diff-changeset): Same.
7321 (log-view-diff-common): Call backend command `previous-revision'
7322 to find out the previous revision, in both cases. Swap the
7323 variables `to' and `fr', so that `fr' usually refers to the
7324 earlier revision (Bug#14989).
7325
7326 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7327
7328 * ibuf-ext.el (ibuffer-filter-by-filename):
7329 Make it work with dired buffers too.
7330
7331 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7332
7333 * emacs-lisp/re-builder.el (reb-color-display-p):
7334 * files.el (save-buffers-kill-terminal):
7335 * net/browse-url.el (browse-url):
7336 * server.el (server-save-buffers-kill-terminal):
7337 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7338 Prefer nil to selected-frame for the first arg of frame-parameter.
7339
7340 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7341
7342 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7343
7344 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7345
7346 * minibuffer.el (completion--twq-all): Try and preserve each
7347 completion's case choice (bug#14907).
7348
7349 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7350
7351 * net/network-stream.el (open-network-stream): Mention the new
7352 :nogreeting parameter.
7353 (network-stream-open-starttls): Use the :nogreeting parameter
7354 (bug#14938).
7355
7356 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7357
7358 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7359 more natural than popping.
7360
7361 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7362 (shr-urlify): Highlight under mouse.
7363
7364 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7365
7366 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7367
7368 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7369
7370 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7371 buffer for output.
7372
7373 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7374 point-min==1. Fix search string. Fix parentheses missing.
7375
7376 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7377 assume point-min==1. Fix search string. Fix parentheses missing.
7378
7379 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7380
7381 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7382 buffer for output.
7383
7384 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7385
7386 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7387 initial frame is minibuffer-less. (Bug#14841)
7388
7389 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7392 option.
7393
7394 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7395 (tramp-maybe-open-connection): Use it.
7396
7397 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7400 minimal set of parameters passed when creating a frame, because
7401 the minibuffer status of a frame cannot be changed later.
7402
7403 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7404
7405 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7406 replace-regexp-in-string and inadvertent omissions in previous change.
7407 (todo-filter-items): Ensure only file names are comma-separated in
7408 name of filtered items buffer.
7409
7410 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * desktop.el: Optionally force offscreen frames back onscreen.
7413 (desktop-restoring-reuses-frames): New option.
7414 (desktop--compute-pos, desktop--move-onscreen): New functions.
7415 (desktop--make-frame): Use desktop--move-onscreen.
7416
7417 2013-07-27 Alan Mackenzie <acm@muc.de>
7418
7419 Fontify a Java generic method as a function.
7420 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7421 value to t.
7422
7423 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7424
7425 * calendar/todo-mode.el: Add command to rename todo files.
7426 (todo-rename-file): New command.
7427 (todo-key-bindings-t): Add key binding for it. Change the
7428 bindings of todo-filter-regexp-items(-multifile) to use `x'
7429 instead of `r', since the latter is better suited to the new
7430 renaming command.
7431
7432 2013-07-27 Alan Mackenzie <acm@muc.de>
7433
7434 Make Java try-with-resources statement parse properly.
7435 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7436 (c-block-stmt-1-2-key): New language constants/variables.
7437 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7438 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7439 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7440 with c-block-stmt-1-2-key.
7441
7442 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7443
7444 * desktop.el (desktop--make-frame): Apply most frame parameters after
7445 creating the frame to force (partially or totally) offscreen frames to
7446 be restored as such.
7447
7448 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7449
7450 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7451 (Bug#14948)
7452
7453 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7456 `base' arg of backtrace-frame.
7457
7458 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7459
7460 * simple.el (list-processes): Doc fix.
7461
7462 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * desktop.el (desktop--select-frame):
7465 Try harder to reuse existing frames.
7466
7467 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7470 (edebug-eval): Use backtrace-eval.
7471 (edebug--display, edebug--recursive-edit): Don't let-bind the
7472 edebug-outer-* vars that keep track of variables we locally let-bind.
7473 (edebug-outside-excursion): Don't restore outside values of locally
7474 let-bound vars.
7475 (edebug--display): Use user-error.
7476 (cl-lexical-debug, cl-debug-env): Remove.
7477
7478 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7479
7480 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7481 are restored to be sure that they are visible before deleting any
7482 remaining ones.
7483
7484 2013-07-26 Matthias Meulien <orontee@gmail.com>
7485
7486 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7487 vc-print-root-log. (Bug#14948)
7488
7489 2013-07-26 Richard Stallman <rms@gnu.org>
7490
7491 Add aliases for encrypting mail.
7492 * epa.el (epa-mail-aliases): New option.
7493 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7494 Bind inhibit-read-only so read-only text doesn't ruin everything.
7495 (epa-mail-default-recipients): New subroutine broken out.
7496 Handle epa-mail-aliases.
7497
7498 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 Add support for lexical variables to the debugger's `e' command.
7501 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7502 vars, except for debugger-outer-match-data.
7503 (debugger-frame-number): Move check for "on a function call" from
7504 callers into it. Add `skip-base' argument.
7505 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7506 (debugger-env-macro): Only reset the state stored in non-variables,
7507 i.e. current-buffer and match-data.
7508 (debugger-eval-expression): Rewrite using backtrace-eval.
7509 * subr.el (internal--called-interactively-p--get-frame): Remove.
7510 (called-interactively-p):
7511 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7512 `base' arg of backtrace-frame instead.
7513
7514 2013-07-26 Glenn Morris <rgm@gnu.org>
7515
7516 * align.el (align-regexp): Doc fix. (Bug#14857)
7517 (align-region): Explicit error if subexpression missing/does not match.
7518
7519 * simple.el (global-visual-line-mode):
7520 Do not duplicate the mode lighter. (Bug#14858)
7521
7522 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7523
7524 * window.el (display-buffer): In display-buffer bind
7525 split-window-keep-point to t, bug#14829.
7526
7527 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7528
7529 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7530 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7531 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7532 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7533 Change accordingly.
7534 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7535 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7536
7537 2013-07-25 Glenn Morris <rgm@gnu.org>
7538
7539 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7540
7541 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7542
7543 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7544 parameter to modify-frame-parameters if the value has not changed;
7545 this is a workaround for bug#14949.
7546 (desktop--make-frame): On cl-delete-if call, check parameter name,
7547 not full parameter.
7548
7549 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7550
7551 * vc/vc.el (vc-ignore): New function.
7552
7553 * vc/vc-svn.el (vc-svn-ignore): New function.
7554
7555 * vc/vc-hg.el (vc-hg-ignore): New function.
7556
7557 * vc/vc-git.el (vc-git-ignore): New function.
7558
7559 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7560 (vc-dir-ignore): New function.
7561
7562 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7563 (cvs-append-to-ignore): Move here from pcvs.el.
7564
7565 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7566
7567 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7568
7569 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7572 (desktop-restore-frames): Warn when deleting an existing frame failed.
7573
7574 2013-07-24 Glenn Morris <rgm@gnu.org>
7575
7576 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7577
7578 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7579
7580 * filenotify.el (file-notify-supported-p):
7581 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7582 Remove functions.
7583
7584 * autorevert.el (auto-revert-use-notify):
7585 (auto-revert-notify-add-watch):
7586 * net/tramp.el (tramp-file-name-for-operation):
7587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7589 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7590 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7591 Remove `file-notify-supported-p' entry.
7592
7593 2013-07-24 Glenn Morris <rgm@gnu.org>
7594
7595 * printing.el: Replace all uses of deleted ps-windows-system,
7596 ps-lp-system, ps-flatten-list with lpr- versions.
7597
7598 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7601 checked with memq (bug#14935).
7602
7603 * files.el (revert-buffer-function): Use a non-nil default.
7604 (revert-buffer-preserve-modes): Declare var to
7605 provide access to the `preserve-modes' argument.
7606 (revert-buffer): Let-bind it.
7607 (revert-buffer--default): New function, extracted from revert-buffer.
7608
7609 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * lpr.el: Signal print errors more prominently.
7612 (print-region-function): Don't default to nil.
7613 (lpr-print-region): New function, extracted from print-region-1.
7614 Check lpr's return value and signal an error in case of problem.
7615 (print-region-1): Use it.
7616 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7617 versions instead.
7618 (ps-printer-name): Default to nil.
7619 (ps-printer-name-option): Default to lpr-printer-switch.
7620 (ps-print-region-function): Don't default to nil.
7621 (ps-postscript-code-directory): Simplify default.
7622 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7623 (ps-string-list, ps-eval-switch, ps-flatten-list)
7624 (ps-flatten-list-1): Remove.
7625 (ps-multibyte-buffer): Avoid setq.
7626 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7627 (print-region-function, ps-print-region-function): Don't set them here.
7628
7629 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7630
7631 * ido.el (ido-fractionp):
7632 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7633 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7634 (ido-max-directory-size, ido-max-dir-file-cache)
7635 (ido-decorations): Doc fix.
7636
7637 * ansi-color.el: Fix old URL.
7638
7639 2013-07-23 Michael R. Mauger <michael@mauger.com>
7640
7641 * progmodes/sql.el: Version 3.3
7642 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7643 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7644 (sql-interactive-remove-continuation-prompt): Rewrite, use
7645 functions above. Fix continuation prompt and complete output line
7646 handling.
7647 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7648 redirected output buffer.
7649 (sql-mode): Restore deleted code (Bug#13591).
7650
7651 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7652
7653 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7654
7655 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7656
7657 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7658
7659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7662
7663 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7664
7665 * desktop.el (desktop-clear): Simplify; remove useless checks
7666 against invalid buffer names.
7667 (desktop-list*): Use cl-list*.
7668 (desktop-buffer-info, desktop-create-buffer): Simplify.
7669
7670 2013-07-23 Leo Liu <sdl.web@gmail.com>
7671
7672 * bookmark.el (bookmark-make-record): Restore NAME as a default
7673 value. (Bug#14933)
7674
7675 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7678 extracted from autoload--insert-text.
7679 (autoload--insert-text): Remove.
7680 (autoload--print-cookie-text): New function, extracted from
7681 autoload--insert-cookie-text.
7682 (autoload--insert-cookie-text): Remove.
7683 (autoload-generate-file-autoloads): Adjust calls accordingly.
7684
7685 * winner.el (winner-hook-installed-p): Remove.
7686 (winner-mode): Simplify accordingly.
7687
7688 * subr.el (add-to-list): Fix compiler-macro when `append' is
7689 not constant. Don't use `cl-member' for the base case.
7690
7691 * progmodes/subword.el: Fix boundary case (bug#13758).
7692 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7693 own group.
7694 (subword-backward-regexp): Make it a constant.
7695 (subword-forward-internal): Don't treat a trailing capital as the
7696 beginning of a word.
7697
7698 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7699
7700 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7701 global value of tabulated-list-revert-hook (bug#14930).
7702
7703 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * desktop.el: Require 'cl-lib.
7706 (desktop-before-saving-frames-functions): New hook.
7707 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7708 for frames being saved. Rename from desktop--save-minibuffer-frames.
7709 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7710 Do not save frames with non-nil `desktop-dont-save' parameter.
7711 Filter out deleted frames.
7712 (desktop--find-frame): Use cl-find-if.
7713 (desktop--select-frame): Use cl-(first|second|third) to access values
7714 of desktop-mini.
7715 (desktop--make-frame): Use cl-delete-if.
7716 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7717 (desktop-restore-frames): Use cl-(first|second|third) to access values
7718 of desktop-mini. Look for visible frame at the end, not while
7719 restoring frames.
7720
7721 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7722 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7723 Use string-match-p, looking-at-p (bug#14927).
7724
7725 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * desktop.el (desktop-saved-frame-states):
7728 Rename from desktop--saved-states; all users changed.
7729 (desktop-save-frames): Rename from desktop--save-frames.
7730 Do not save state to desktop file.
7731 (desktop-save): Save desktop-saved-frame-states to desktop file
7732 and reset to nil.
7733 (desktop-restoring-frames-p): New function.
7734 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7735 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7736 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7737
7738 * desktop.el: Correctly restore iconified frames.
7739 (desktop--filter-iconified-position): New function.
7740 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7741
7742 2013-07-20 Glenn Morris <rgm@gnu.org>
7743
7744 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7745 Let `message' do the formatting.
7746 (def-gdb-preempt-display-buffer): Add explicit format.
7747
7748 * image-dired.el (image-dired-track-original-file):
7749 Use with-current-buffer.
7750 (image-dired-track-thumbnail): Use with-current-buffer.
7751 Avoid changing point of wrong window.
7752
7753 * image-dired.el (image-dired-track-original-file):
7754 Avoid changing point of wrong window. (Bug#14909)
7755
7756 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7757
7758 * progmodes/gdb-mi.el (gdb-done-or-error):
7759 Guard against "%" in gdb output. (Bug#14127)
7760
7761 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7762
7763 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7764 (Bug#14826)
7765
7766 * international/mule.el (coding-system-iso-2022-flags): Fix last
7767 change.
7768
7769 2013-07-20 Kenichi Handa <handa@gnu.org>
7770
7771 * international/mule.el (coding-system-iso-2022-flags):
7772 Add `8-bit-level-4'. (Bug#8522)
7773
7774 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7775
7776 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7777 (bug#14815).
7778
7779 * net/eww.el (eww-process-text-input): Allow inputting when the
7780 point is at the start of the line, as the properties aren't
7781 front-sticky.
7782
7783 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7784 degenerate widths.
7785
7786 2013-07-19 Richard Stallman <rms@gnu.org>
7787
7788 * epa.el (epa-popup-info-window): Doc fix.
7789
7790 * subr.el (split-string): New arg TRIM.
7791
7792 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7795 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7796
7797 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7798
7799 * filenotify.el (file-notify--library): Rename from
7800 `file-notify-support'. Do not autoload. Adapt all uses.
7801 (file-notify-supported-p): New defun.
7802
7803 * autorevert.el (auto-revert-use-notify):
7804 Use `file-notify-supported-p' instead of `file-notify-support'.
7805 Adapt docstring.
7806 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7807
7808 * net/tramp.el (tramp-file-name-for-operation):
7809 Add `file-notify-supported-p'.
7810
7811 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7812 New defun.
7813 (tramp-sh-file-name-handler-alist): Add it as handler for
7814 `file-notify-supported-p '.
7815
7816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7818 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7819 Add `ignore' as handler for `file-notify-*' functions.
7820
7821 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7822
7823 * simple.el (line-move-partial, line-move): Don't start vscroll or
7824 scroll-up if the current line is not taller than the window.
7825 (Bug#14881)
7826
7827 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7828
7829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7830 highlight question marks in the method names as strings.
7831 (ruby-block-beg-keywords): Inline.
7832 (ruby-font-lock-keyword-beg-re): Extract from
7833 `ruby-font-lock-keywords'.
7834
7835 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7836
7837 * frame.el (blink-cursor-blinks): New defcustom.
7838 (blink-cursor-blinks-done): New defvar.
7839 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7840 (blink-cursor-timer-function): Check if number of blinks has been
7841 done on X and NS.
7842 (blink-cursor-suspend, blink-cursor-check): New defuns.
7843
7844 2013-07-15 Glenn Morris <rgm@gnu.org>
7845
7846 * edmacro.el (edmacro-format-keys): Fix previous change.
7847
7848 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7849
7850 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7851 The hack didn't work outside English locales anyway.
7852
7853 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7854
7855 * simple.el (define-alternatives): Rename from alternatives-define,
7856 per RMS' suggestion.
7857
7858 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7859
7860 * desktop.el (desktop-restore-frames): Change default to t.
7861 (desktop-restore-in-current-display): Now offer more options.
7862 (desktop-restoring-reuses-frames): New customization option.
7863 (desktop--saved-states): Doc fix.
7864 (desktop-filter-parameters-alist): New variable, renamed and expanded
7865 from desktop--excluded-frame-parameters.
7866 (desktop--target-display): New variable.
7867 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7868 (desktop--filter-tty*, desktop--filter-*-color)
7869 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7870 (desktop--filter-save-desktop-parm)
7871 (desktop-restore-in-original-display-p): New functions.
7872 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7873 (desktop--save-minibuffer-frames): New function, inspired by a similar
7874 function from Martin Rudalics.
7875 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7876 (desktop--restore-in-this-display-p): Remove.
7877 (desktop--find-frame): Rename from desktop--find-frame-in-display
7878 and add predicate argument.
7879 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7880 (desktop--reuse-list): New variable.
7881 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7882 New functions.
7883 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7884
7885 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7888
7889 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7890
7891 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7892 Highlight conversion methods on Kernel.
7893
7894 2013-07-13 Alan Mackenzie <acm@muc.de>
7895
7896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7897 and comment it out. This out-commenting enables certain C++
7898 declarations to be parsed correctly.
7899
7900 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7901
7902 * international/mule.el (define-coding-system): Doc fix.
7903
7904 * simple.el (default-font-height): Don't call font-info if the
7905 frame's default font didn't change since the frame was created.
7906 (Bug#14838)
7907
7908 2013-07-13 Leo Liu <sdl.web@gmail.com>
7909
7910 * ido.el (ido-read-file-name): Guard against non-symbol value.
7911
7912 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7913
7914 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7915 in nested defuns.
7916
7917 2013-07-13 Leo Liu <sdl.web@gmail.com>
7918
7919 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7920 ido-set-matches call. (Bug#6852)
7921
7922 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7923
7924 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7925 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7926 Ruby 2.0.
7927 (ruby-font-lock-keywords): Distinguish calls to functions with
7928 module-like names from module references. Highlight character
7929 literals.
7930
7931 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7932
7933 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7934 (gdb-send): Handle continued commands. (Bug#14847)
7935
7936 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7937
7938 * desktop.el (desktop--v2s): Remove unused local variable.
7939 (desktop-save-buffer): Make defvar-local; adjust docstring.
7940 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7941 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7942
7943 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7944
7945 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7946
7947 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7948
7949 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7950 (Bug#14842)
7951
7952 2013-07-12 Glenn Morris <rgm@gnu.org>
7953
7954 * doc-view.el: Require cl-lib at runtime too.
7955 (doc-view-remove-if): Remove.
7956 (doc-view-search-next-match, doc-view-search-previous-match):
7957 Use cl-remove-if.
7958
7959 * edmacro.el: Require cl-lib at runtime too.
7960 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7961 (edmacro-mismatch, edmacro-subseq): Remove.
7962
7963 * shadowfile.el: Require cl-lib.
7964 (shadow-remove-if): Remove.
7965 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7966 Use cl-remove-if.
7967
7968 * wid-edit.el: Require cl-lib.
7969 (widget-choose): Use cl-remove-if.
7970 (widget-remove-if): Remove.
7971
7972 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7973 (ebrowse-delete-if-not): Remove.
7974 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7975 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7976 Use cl-delete-if-not.
7977
7978 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7981 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7982
7983 2013-07-12 Leo Liu <sdl.web@gmail.com>
7984
7985 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7986
7987 2013-07-11 Glenn Morris <rgm@gnu.org>
7988
7989 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7990 (edebug-gensym-index, edebug-gensym):
7991 Remove reimplementation of cl-gensym.
7992 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7993
7994 * thumbs.el: Require cl-lib at run-time too.
7995 (thumbs-gensym-counter, thumbs-gensym):
7996 Remove reimplementation of cl-gensym.
7997 (thumbs-temp-file): Use cl-gensym.
7998
7999 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8000 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8001 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8002 (ert--union, ert--gensym-counter, ert--gensym-counter)
8003 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8004 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8005 (ert-make-test-unbound, ert--expand-should-1)
8006 (ert--expand-should, ert--should-error-handle-error)
8007 (should-error, ert--explain-equal-rec)
8008 (ert--plist-difference-explanation, ert-select-tests)
8009 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8010 Use cl-lib functions rather than reimplementations.
8011
8012 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp.el (tramp-methods): Extend docstring.
8015 (tramp-connection-timeout): New defcustom.
8016 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8017 (with-tramp-progress-reporter): Simplify.
8018 (tramp-process-actions): Improve messages.
8019
8020 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8021 * net/tramp-sh.el (tramp-maybe-open-connection):
8022 Use `tramp-connection-timeout'.
8023 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8024 (Bug#14808)
8025
8026 2013-07-11 Leo Liu <sdl.web@gmail.com>
8027
8028 * ido.el (ido-read-file-name): Conform to the requirements of
8029 read-file-name. (Bug#11861)
8030 (ido-read-directory-name): Conform to the requirements of
8031 read-directory-name.
8032
8033 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8034
8035 * subr.el (delay-warning): New function.
8036
8037 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8038
8039 * simple.el (default-line-height): New function.
8040 (line-move-partial, line-move): Use it instead of computing the
8041 line height inline.
8042 (line-move-partial): Always compute ROWH. If the last line is
8043 partially-visible, but its text is completely visible, allow
8044 cursor to enter such a partially-visible line.
8045
8046 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8047
8048 Improve error messages. (Bug#14808)
8049
8050 * net/tramp.el (tramp-current-connection): New defvar, moved from
8051 tramp-sh.el.
8052 (tramp-message-show-progress-reporter-message): Remove, not
8053 needed anymore.
8054 (tramp-error-with-buffer): Show message in minibuffer.
8055 Discard input before waiting. Reset connection timestamp.
8056 (with-tramp-progress-reporter): Improve messages.
8057 (tramp-process-actions): Use progress reporter. Delete process in
8058 case of error. Improve messages.
8059
8060 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8061 Call `tramp-error-with-buffer' with vector and buffer.
8062 (tramp-current-connection): Remove.
8063 (tramp-maybe-open-connection): The car of
8064 `tramp-current-connection' are the first 3 slots of the vector.
8065
8066 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8067
8068 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8069 inside continued strings.
8070
8071 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8072
8073 Timestamp fixes for undo (Bug#14824).
8074 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8075
8076 2013-07-10 Leo Liu <sdl.web@gmail.com>
8077
8078 * files.el (require-final-newline): Allow safe local value.
8079 (Bug#14834)
8080
8081 2013-07-09 Leo Liu <sdl.web@gmail.com>
8082
8083 * ido.el (ido-read-directory-name): Handle fallback.
8084 (ido-read-file-name): Update DIR to ido-current-directory.
8085 (Bug#1516)
8086 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8087
8088 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8089
8090 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8091 "autoload". Remove "warn lower camel case" section, previously
8092 commented out. Highlight negation char. Do not highlight the
8093 target in singleton method definitions.
8094
8095 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * faces.el (tty-setup-hook): Declare the hook.
8098
8099 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8100 and detect when a guard/pred depends on local vars (bug#14773).
8101 (pcase--u1): Adjust caller.
8102
8103 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8104
8105 * simple.el (line-move-partial, line-move): Account for
8106 line-spacing.
8107 (line-move-partial): Avoid setting vscroll when the last
8108 partially-visible line in window is of default height.
8109
8110 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111
8112 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8113 been used a while.
8114
8115 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * subr.el (read-quoted-char): Remove unused local variable `char'.
8118
8119 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8120
8121 * ediff.el (ediff-version): Version update.
8122 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8123 (ediff-merge-with-ancestor-command, ediff-directories-command)
8124 (ediff-directories3-command, ediff-merge-directories-command)
8125 (ediff-merge-directories-with-ancestor-command): New functions.
8126 All are command-line interfaces to ediff: to facilitate calling
8127 Emacs with the appropriate ediff functions invoked.
8128
8129 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8130 (viper-save-kill-buffer): Check if buffer is modified.
8131
8132 * viper.el (viper-version): Version update.
8133 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8134
8135 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8138 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8139 (viper-intercept-ESC-key): Simplify.
8140 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8141 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8142 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8143 (viper-setup-ESC-to-escape): New functions.
8144 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8145 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8146
8147 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8148
8149 * simple.el (default-font-height, window-screen-lines):
8150 New functions.
8151 (line-move, line-move-partial): Use them instead of
8152 frame-char-height and window-text-height. This makes scrolling
8153 text smoother when the buffer's default face uses a font that is
8154 different from the frame's default font.
8155
8156 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8157
8158 * files.el (write-file): Do not display confirm dialog for NS,
8159 it does its own dialog, which can't be canceled (Bug#14578).
8160
8161 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8162
8163 * simple.el (line-move-partial): Adjust the row returned by
8164 posn-at-point for the current window-vscroll. (Bug#14567)
8165
8166 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8167
8168 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8169 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8170 spaces.
8171
8172 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8173
8174 * window.el (window-state-put-stale-windows): New variable.
8175 (window--state-put-2): Save list of windows without matching buffer.
8176 (window-state-put): Remove "bufferless" windows if possible.
8177
8178 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * simple.el (alternatives-define): Remove leftover :group keyword.
8181 Tweak docstring.
8182
8183 2013-07-06 Leo Liu <sdl.web@gmail.com>
8184
8185 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8186 (ido-enable-virtual-buffers): New variable.
8187 (ido-buffer-internal, ido-toggle-virtual-buffers)
8188 (ido-make-buffer-list): Use it.
8189 (ido-exhibit): Support turning on and off virtual buffers
8190 automatically.
8191
8192 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8193
8194 * simple.el (alternatives-define): New macro.
8195
8196 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * subr.el (read-quoted-char): Use read-key.
8199 (sit-for): Let read-event decode tty input (bug#14782).
8200
8201 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8202
8203 * calendar/todo-mode.el: Add handling of file deletion, both by
8204 mode command and externally. Fix various related bugs.
8205 Clarify Commentary and improve some documentation strings and code.
8206 (todo-delete-file): New command.
8207 (todo-check-file): New function.
8208 (todo-show): Handle external deletion of the file we're trying to
8209 show (bug#14688). Replace called-interactively-p by an optional
8210 prefix argument to avoid problematic interaction with catch form
8211 when byte compiled (bug#14702).
8212 (todo-quit): Handle external deletion of the archive's todo file.
8213 Make sure the buffer that was visiting the archive file is still
8214 live before trying to bury it.
8215 (todo-category-completions): Handle external deletion of any
8216 category completion files.
8217 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8218 of todo files, in case of external deletion.
8219 (todo-add-file): Replace unnecessary setq by let-binding.
8220 (todo-find-archive): Check whether there are any archives.
8221 Replace unnecessary setq by let-binding.
8222 (todo-archive-done-item): Use find-file-noselect to get the
8223 archive buffer whether or not the archive already exists.
8224 Remove superfluous code. Use file size instead of buffer-file-name to
8225 check if the archive is new; if it is, update list of archives.
8226 (todo-default-todo-file): Allow nil to be a valid value for when
8227 there are no todo files.
8228 (todo-reevaluate-default-file-defcustom): Use corrected definition
8229 of todo-default-todo-file.
8230 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8231 (todo-delete-category, todo-show-categories-table)
8232 (todo-category-number): Clarify comment.
8233 (todo-filter-items): Clarify documentation string.
8234 (todo-show-current-file, todo-display-as-todo-file)
8235 (todo-reset-and-enable-done-separator): Tweak documentation string.
8236 (todo-done-separator): Make separator length window-width, since
8237 bug#2749 is now fixed.
8238
8239 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8240
8241 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8242 Support both "gvfs-monitor-dir" and "inotifywait".
8243 (tramp-sh-file-inotifywait-process-filter): Rename from
8244 `tramp-sh-file-notify-process-filter'.
8245 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8246 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8247
8248 2013-07-05 Leo Liu <sdl.web@gmail.com>
8249
8250 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8251
8252 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8253
8254 * frame.el (display-pixel-height, display-pixel-width)
8255 (display-mm-height, display-mm-width): Mention behavior on
8256 multi-monitor setups in docstrings.
8257 (w32-display-monitor-attributes-list): Declare function.
8258 (display-monitor-attributes-list): Use it.
8259
8260 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8261
8262 * filenotify.el: New package.
8263
8264 * autorevert.el (top): Require filenotify.el.
8265 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8266 instead.
8267 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8268 (auto-revert-notify-handler): Use `file-notify-*' functions.
8269
8270 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8271
8272 * net/tramp.el (tramp-file-name-for-operation):
8273 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8274
8275 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8276 for `file-notify-add-watch' and `file-notify-rm-watch'.
8277 (tramp-process-sentinel): Improve trace.
8278 (tramp-sh-handle-file-notify-add-watch)
8279 (tramp-sh-file-notify-process-filter)
8280 (tramp-sh-handle-file-notify-rm-watch)
8281 (tramp-get-remote-inotifywait): New defuns.
8282
8283 2013-07-03 Juri Linkov <juri@jurta.org>
8284
8285 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8286 call of `occur-read-primary-args' to interactive spec.
8287
8288 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8289 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8290
8291 2013-07-03 Matthias Meulien <orontee@gmail.com>
8292
8293 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8294 `Buffer-menu-multi-occur'. Add it to the menu.
8295 (Buffer-menu-mode): Document it in docstring.
8296 (Buffer-menu-multi-occur): New command. (Bug#14673)
8297
8298 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8299
8300 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8301 keywords and built-ins.
8302
8303 2013-07-03 Glenn Morris <rgm@gnu.org>
8304
8305 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8306
8307 Make info-xref checks case-sensitive by default
8308 * info.el (Info-find-node, Info-find-in-tag-table)
8309 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8310 Add option for exact case matching of nodes.
8311 * info-xref.el (info-xref): New custom group.
8312 (info-xref-case-fold): New option.
8313 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8314
8315 2013-07-03 Leo Liu <sdl.web@gmail.com>
8316
8317 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8318
8319 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8320
8321 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8322 middle of block statement initially, lower the depth. Remove
8323 FIXME comment, not longer valid. Remove middle of block statement
8324 detection, no need to do that anymore since we've been using
8325 `ruby-parse-region' here.
8326
8327 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8328
8329 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8330
8331 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8332
8333 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8334
8335 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8338 (desktop-restore-in-current-display): New customization option.
8339 (desktop--excluded-frame-parameters): Add `font'.
8340 (desktop--save-frames): Rename from desktop--save-windows.
8341 (desktop--restore-in-this-display-p): New function.
8342 (desktop--make-full-frame): Remove unwanted width/height from
8343 full(width|height) frames.
8344 (desktop--restore-frames): Rename from desktop--restore-windows.
8345 Obey desktop-restore-current-display. Do not delete old frames or
8346 select a new frame unless we were able to restore at least one frame.
8347
8348 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8349
8350 * files.el (find-file-noselect): Simplify conditional expression.
8351
8352 * textmodes/remember.el (remember-append-to-file):
8353 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8354
8355 Add `remember-notes' function to store random notes across Emacs
8356 restarts.
8357 * textmodes/remember.el (remember-data-file): Add :set callback to
8358 affect notes buffer (if any).
8359 (remember-notes): New command.
8360 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8361 New defcustoms for the `remember-notes' function.
8362 (remember-notes-save-and-bury-buffer): New command.
8363 (remember-notes-mode-map): New variable.
8364 (remember-mode): New minor mode.
8365 (remember-notes--kill-buffer-query): New function.
8366 * startup.el (initial-buffer-choice): Add notes to custom type.
8367
8368 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8369
8370 * bindings.el (right-char, left-char): Don't call sit-for, this is
8371 no longer needed. Use arithmetic comparison only for numerical
8372 arguments.
8373
8374 * international/mule-cmds.el (select-safe-coding-system):
8375 Handle the case of FROM being a string correctly. (Bug#14755)
8376
8377 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378
8379 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8380 progression on degenerate tables.
8381 (shr-rescale-image): ImageMagick animated images currently don't work.
8382
8383 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8384
8385 Some fixes and improvements for desktop frame restoration.
8386 It is still experimental and disabled by default.
8387 * desktop.el (desktop--save-windows): Put the selected frame at
8388 the head of the list.
8389 (desktop--make-full-frame): New function.
8390 (desktop--restore-windows): Try to re-select the frame that was
8391 selected upon saving. Do not abort if some frames fail to restore,
8392 just show an error message and continue. Set up maximized frames
8393 so they have default non-maximized dimensions.
8394
8395 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8396
8397 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8398 Don't start heredoc inside a string or comment.
8399
8400 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8401
8402 * bindings.el (visual-order-cursor-movement): New defcustom.
8403 (right-char, left-char): Provide visual-order cursor motion by
8404 calling move-point-visually. Update the doc strings.
8405
8406 2013-06-28 Kenichi Handa <handa@gnu.org>
8407
8408 * international/mule.el (define-coding-system): New coding system
8409 properties :inhibit-null-byte-detection,
8410 :inhibit-iso-escape-detection, and :prefer-utf-8.
8411 (set-buffer-file-coding-system): If :charset-list property of
8412 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8413 appropriate for setting.
8414
8415 * international/mule-cmds.el (select-safe-coding-system):
8416 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8417 multibyte characters, return utf-8 (or one of its siblings).
8418
8419 * international/mule-conf.el (prefer-utf-8): New coding system.
8420 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8421 files.
8422
8423 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8424
8425 * net/shr.el (shr-render-region): New function.
8426
8427 * net/eww.el: Autoload `eww-browse-url'.
8428
8429 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8430
8431 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8432 Adapt to `package-desc-version' being a list.
8433 Use `package--ac-desc-version' to retrieve version from a package
8434 archive element.
8435
8436 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8437
8438 New experimental feature to save&restore window and frame setup.
8439 * desktop.el (desktop-save-windows): New defcustom.
8440 (desktop--saved-states): New var.
8441 (desktop--excluded-frame-parameters): New defconst.
8442 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8443 (desktop--restore-windows, desktop--save-windows): New functions.
8444 (desktop-save): Call `desktop--save-windows'.
8445 (desktop-read): Call `desktop--restore-windows'.
8446
8447 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
8449 * net/shr.el (add-face-text-property): Remove compat definition.
8450
8451 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8452
8453 * info.el (Info-try-follow-nearest-node): Move search for footnote
8454 above search for node name to prevent missing a footnote (bug#14717).
8455
8456 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8457
8458 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8459
8460 2013-06-27 Leo Liu <sdl.web@gmail.com>
8461
8462 * net/eww.el (eww-read-bookmarks): Check file size.
8463
8464 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8467 advice--pending if newdef is nil or an autoload (bug#13820).
8468 (advice-mapc): New function.
8469
8470 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8471
8472 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8473 probably.
8474 (eww-mode-map): Add a menu bar.
8475 (eww-add-bookmark): New command.
8476 (eww-bookmark-mode): New mode and commands.
8477 (eww-add-bookmark): Remove newlines from the title.
8478 (eww-bookmark-browse): Don't bug out if it's the only window.
8479
8480 2013-06-26 Glenn Morris <rgm@gnu.org>
8481
8482 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8483 (hfy-size): Handle ttys. (Bug#14668)
8484
8485 * info-xref.el: Update for Texinfo 5 change in *note format.
8486 (info-xref-node-re, info-xref-note-re): New constants.
8487 (info-xref-check-buffer): Use info-xref-note-re.
8488
8489 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8492
8493 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8494 nil terminate the loop (bug#14718).
8495
8496 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497
8498 * net/eww.el: Rework history traversal. When going forward/back,
8499 put these actions into the history, too, so that they can be
8500 replayed.
8501 (eww-render): Move the history reset to the correct buffer.
8502
8503 2013-06-25 Juri Linkov <juri@jurta.org>
8504
8505 * files-x.el (modify-dir-local-variable): Change the header comment
8506 in the file with directory local variables. (Bug#14692)
8507
8508 * files-x.el (read-file-local-variable-value): Add `default'.
8509 (Bug#14710)
8510
8511 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8512
8513 * net/eww.el (eww-make-unique-file-name): Create a unique file
8514 name before saving to entering `y' accidentally asynchronously.
8515
8516 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8517
8518 * net/eww.el (eww-download): New command and keystroke.
8519
8520 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
8522 * net/eww.el (eww-copy-page-url): Change name of command.
8523
8524 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8525 be more consistent with Info and dired.
8526
8527 * net/eww.el (eww-mode-map): Ditto.
8528
8529 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8532 packages from archives.
8533 (package-archive-contents): Change format; include obsolete packages.
8534 (package-desc): Use `dir' to mark builtin packages.
8535 (package--from-builtin): Set the `dir' field to `builtin'.
8536 (generated-autoload-file, version-control): Declare.
8537 (package-compute-transaction): Change first arg and return value to be
8538 lists of package-descs. Adjust to new package-archive-contents format.
8539 (package--add-to-archive-contents): Adjust to new
8540 package-archive-contents format.
8541 (package-download-transaction): Arg is now a list of package-descs.
8542 (package-install): If `pkg' is a package name, pass it as
8543 a requirement, so it is subject to the usual (e.g. disabled) checks.
8544 (describe-package): Accept package-desc as well.
8545 (describe-package-1): Describe a specific package-desc. Add links to
8546 other package-descs for the same package name.
8547 (package-menu-describe-package): Pass the actual package-desc.
8548 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8549 works correctly.
8550 (package-desc-status): New function.
8551 (package-menu--refresh): New function, extracted
8552 from package-menu--generate.
8553 (package-menu--generate): Use it.
8554 (package-delete): Update package-alist.
8555 (package-menu-execute): Don't call package-initialize.
8556
8557 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8558 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8559 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8560 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8561 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8562 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8563
8564 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (window--state-get-1): Workaround for bug#14527.
8567 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8568
8569 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8570
8571 * net/eww.el (eww-back-url): Implement the history by stashing all
8572 the data into a list.
8573 (eww-forward-url): Allow going forward in the history, too.
8574
8575 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8578 for values and use read--expression for expressions (bug#14710).
8579 (read-file-local-variable): Avoid setq.
8580 (read-file-local-variable-mode): Use minor-mode-list.
8581
8582 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8583
8584 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8585 for DOI URLs.
8586
8587 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8588
8589 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8590 Update imenu-support when dialect changes.
8591
8592 2013-06-25 Leo Liu <sdl.web@gmail.com>
8593
8594 * ido.el (ido-read-internal): Allow forward slash on windows.
8595
8596 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8597
8598 * net/eww.el (eww): Start of strings is \\`, not ^.
8599
8600 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8601
8602 * net/shr.el (shr-browse-url): Fix interactive spec.
8603
8604 * net/eww.el (eww): Add a trailing slash to domain names.
8605
8606 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8609
8610 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611
8612 * net/shr.el (shr-browse-url): Use an external browser if given a
8613 prefix.
8614
8615 * net/eww.el (eww-external-browser): Move to shr.
8616
8617 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8618
8619 * net/eww.el (eww): Work more correctly for file: URLs.
8620 (eww-detect-charset): Allow quoted charsets.
8621 (eww-yank-page-url): New command and keystroke.
8622
8623 2013-06-24 Daiki Ueno <ueno@gnu.org>
8624
8625 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8626 file name of gpg executable.
8627 (epg-context-program): New function.
8628 (epg-context-home-directory): New function.
8629 (epg-context-set-program): New function.
8630 (epg-context-set-home-directory): New function.
8631 (epg--start): Use `epg-context-program' instead of
8632 'epg-gpg-program'.
8633 (epg--list-keys-1): Likewise.
8634
8635 2013-06-24 Leo Liu <sdl.web@gmail.com>
8636
8637 * ido.el (ido-read-internal): Fix bug#14620.
8638
8639 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8640
8641 * faces.el (face-documentation): Simplify.
8642 (read-face-attribute, tty-find-type, x-resolve-font-name):
8643 Use `string-match-p'.
8644 (list-faces-display): Use `string-match-p'. Simplify.
8645 (face-spec-recalc): Check face to avoid face alias loops.
8646 (read-color): Use `string-match-p' and non-capturing parenthesis.
8647
8648 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8649
8650 * net/shr.el (shr-rescale-image): Use the new
8651 :max-width/:max-height functionality.
8652
8653 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8654
8655 * net/eww.el (eww-search-prefix): New variable.
8656 (eww): Use it.
8657 (eww-external-browser): New variable.
8658 (eww-mode-map): New keystroke.
8659 (eww-browse-with-external-browser): New command.
8660
8661 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8662
8663 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8664
8665 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8666 Don't skip aligning the next header field when padding is 0;
8667 otherwise, field width is not respected unless the title is as
8668 wide as the field.
8669
8670 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * emacs-lisp/package.el (package-el-version): Remove.
8673 (package-process-define-package): Fix inf-loop.
8674 (package-install): Allow symbols as arguments again.
8675
8676 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8677
8678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8679 add some more keyword-like methods.
8680 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8681
8682 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8683
8684 * bs.el (bs-buffer-show-mark): Make defvar-local.
8685 (bs-mode): Use setq-local.
8686
8687 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8688 (emacs-lock--try-unlocking): Make defvar-local.
8689
8690 2013-06-22 Glenn Morris <rgm@gnu.org>
8691
8692 * play/cookie1.el (cookie-apropos): Minor simplification.
8693
8694 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8695
8696 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8697
8698 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8699 `regexp-opt', it breaks the build during dumping.
8700
8701 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8702
8703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8704 Highlight keyword-like methods on Kernel and Module with
8705 font-lock-builtin-face.
8706 (auto-mode-alist): Consolidate different entries into one regexp
8707 and add more *file-s.
8708
8709 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8710
8711 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8712
8713 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8714 (diary-entry): Use it in the action of this button type instead of
8715 diary-goto-entry.
8716
8717 * calendar/todo-mode.el: New version.
8718 (todo-add-category): Append new category to end of file and give
8719 it the highest number, instead of putting it at the beginning and
8720 giving it 0. Incorporate noninteractive functionality.
8721 (todo-forward-category): Adapt to 1-based category numbering.
8722 Allow skipping over archived categories.
8723 (todo-backward-category): Derive from todo-forward-category.
8724 (todo-backward-item, todo-forward-item): Make noninteractive and
8725 delegate interactive part to new commands. Make sensitive to done items.
8726 (todo-categories): Make value an alist of category names and
8727 vectors of item counts.
8728 (todo-category-beg): Make a defconst.
8729 (todo-category-number): Use 1 instead of 0 as initial value.
8730 (todo-category-select): Make sensitive to overlays, optional item
8731 highlighting and done items.
8732 (todo-delete-item): Make sensitive to overlays and marked and done items.
8733 (todo-edit-item): Make sensitive to overlays and editing of
8734 date/time header optional. Add format checks.
8735 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8736 no-op if point is not on an item. Advertise using todo-edit-quit.
8737 (todo-edit-mode): Make sensitive to new format, font-locking, and
8738 multiple todo files.
8739 (todo-insert-item, todo-insert-item-here): Derive from
8740 todo-basic-insert-item and extend functionality.
8741 (todo-item-end, todo-item-start): Make sensitive to done items.
8742 (todo-item-string): Don't return text properties. Restore point.
8743 (todo-jump-to-category): Make sensitive to multiple todo files and
8744 todo archives. Use extended category completion.
8745 (todo-lower-item, todo-raise-item): Rename to *-priority and
8746 derive from todo-set-item-priority.
8747 (todo-mode): Derive from special-mode. Make sensitive to new
8748 format, font-locking and multiple todo files. Make read-only.
8749 (todo-mode-map): Don't suppress digit keys, so they can supply
8750 prefix arguments. Add many new key bindings.
8751 (todo-prefix): Insert as an overlay instead of file text.
8752 Change semantics from diary date expression to purely visual mark.
8753 (todo-print): Rename to todo-print-buffer. Make buffer display
8754 features printable. Remove option to restrict number of items
8755 printed. Add option to print to file.
8756 (todo-print-function): Rename to todo-print-buffer-function.
8757 (todo-quit): Extend to handle exiting new todo modes.
8758 (todo-remove-item): Make sensitive to overlays.
8759 (todo-save): Extend to buffers of filtered items.
8760 (todo-show): Make sensitive to done items, multiple todo files and
8761 new todo modes. Offer to convert legacy todo file before creating
8762 first new todo file.
8763 (todo-show-priorities): Rename to todo-top-priorities.
8764 Change semantics of value 0.
8765 (todo-top-priorities): Rename to todo-filter-top-priorities,
8766 derive from todo-filter-items and extend functionality.
8767 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8768 and extend functionality to other types of filtered items.
8769 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8770 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8771 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8772 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8773 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8774 (todo-edit-mode-hook, todo-entry-prefix-function)
8775 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8776 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8777 (todo-initials, todo-insert-threshold, todo-item-string-start)
8778 (todo-line-string, todo-menu, todo-mode-hook)
8779 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8780 (todo-print-priorities, todo-remove-separator)
8781 (todo-save-top-priorities-too, todo-string-count-lines)
8782 (todo-string-multiline-p, todo-time-string-format)
8783 (todo-tmp-buffer-name): Remove.
8784 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8785 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8786 (todo-edit-category-diary-inclusion)
8787 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8788 (todo-edit-file, todo-edit-item-date-day)
8789 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8790 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8791 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8792 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8793 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8794 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8795 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8796 (todo-filter-top-priorities-multifile, todo-find-archive)
8797 (todo-find-filtered-items-file, todo-go-to-source-item)
8798 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8799 (todo-jump-to-archive-category, todo-lower-category)
8800 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8801 (todo-move-category, todo-move-item, todo-next-button)
8802 (todo-next-item, todo-padded-string, todo-powerset)
8803 (todo-previous-button, todo-previous-item)
8804 (todo-print-buffer-to-file, todo-raise-category)
8805 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8806 (todo-set-category-number, todo-set-item-priority)
8807 (todo-set-top-priorities-in-category)
8808 (todo-set-top-priorities-in-file, todo-show-categories-table)
8809 (todo-sort-categories-alphabetically-or-numerically)
8810 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8811 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8812 (todo-toggle-item-header, todo-toggle-item-highlighting)
8813 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8814 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8815 (todo-unarchive-items, todo-unmark-category): New commands.
8816 (todo-absolute-file-name, todo-add-to-buffer-list)
8817 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8818 (todo-basic-insert-item, todo-category-completions)
8819 (todo-category-number, todo-category-string-matcher-1)
8820 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8821 (todo-check-format, todo-clear-matches)
8822 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8823 (todo-current-category, todo-date-string-matcher)
8824 (todo-define-insertion-command, todo-diary-expired-matcher)
8825 (todo-diary-goto-entry, todo-diary-item-p)
8826 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8827 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8828 (todo-done-item-section-p, todo-done-separator)
8829 (todo-done-string-matcher, todo-files, todo-filter-items)
8830 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8831 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8832 (todo-insert-category-line, todo-insert-item-from-calendar)
8833 (todo-insert-sort-button, todo-insert-with-overlays)
8834 (todo-insertion-command-name, todo-insertion-key-bindings)
8835 (todo-label-to-key, todo-longest-category-name-length)
8836 (todo-make-categories-list, todo-mode-external-set)
8837 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8838 (todo-modes-set-3, todo-multiple-filter-files)
8839 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8840 (todo-read-category, todo-read-date, todo-read-dayname)
8841 (todo-read-file-name, todo-read-time)
8842 (todo-reevaluate-category-completions-files-defcustom)
8843 (todo-reevaluate-default-file-defcustom)
8844 (todo-reevaluate-filelist-defcustoms)
8845 (todo-reevaluate-filter-files-defcustom)
8846 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8847 (todo-reset-done-separator, todo-reset-done-separator-string)
8848 (todo-reset-done-string, todo-reset-global-current-todo-file)
8849 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8850 (todo-reset-prefix, todo-set-categories)
8851 (todo-set-date-from-calendar, todo-set-show-current-file)
8852 (todo-set-top-priorities, todo-short-file-name)
8853 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8854 (todo-total-item-counts, todo-update-buffer-list)
8855 (todo-update-categories-display, todo-update-categories-sexp)
8856 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8857 New functions.
8858 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8859 New major modes.
8860 (todo-categories, todo-display, todo-edit, todo-faces)
8861 (todo-filtered): New defgroups.
8862 (todo-archived-only, todo-button, todo-category-string, todo-date)
8863 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8864 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8865 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8866 (todo-add-item-if-new-category, todo-always-add-time-string)
8867 (todo-categories-align, todo-categories-archived-label)
8868 (todo-categories-category-label, todo-categories-diary-label)
8869 (todo-categories-done-label, todo-categories-number-separator)
8870 (todo-categories-todo-label, todo-categories-totals-label)
8871 (todo-category-completions-files, todo-completion-ignore-case)
8872 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8873 (todo-done-separator-string, todo-done-string)
8874 (todo-files-function, todo-filter-done-items, todo-filter-files)
8875 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8876 (todo-initial-category, todo-initial-file, todo-item-mark)
8877 (todo-legacy-date-time-regexp, todo-mode-line-function)
8878 (todo-nondiary-marker, todo-number-prefix)
8879 (todo-print-buffer-function, todo-show-current-file)
8880 (todo-show-done-only, todo-show-first, todo-show-with-done)
8881 (todo-skip-archived-categories, todo-top-priorities-overrides)
8882 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8883 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8884 New defcustoms.
8885 (todo-category-done, todo-date-pattern, todo-date-string-start)
8886 (todo-diary-items-buffer, todo-done-string-start)
8887 (todo-filtered-items-buffer, todo-item-start)
8888 (todo-month-abbrev-array, todo-month-name-array)
8889 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8890 (todo-top-priorities-buffer): New defconsts.
8891 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8892 (todo-categories-with-marks, todo-category-string-face)
8893 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8894 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8895 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8896 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8897 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8898 (todo-font-lock-keywords, todo-global-current-todo-file)
8899 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8900 (todo-insertion-commands-args)
8901 (todo-insertion-commands-args-genlist)
8902 (todo-insertion-commands-names, todo-insertion-map)
8903 (todo-key-bindings-t, todo-key-bindings-t+a)
8904 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8905 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8906 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8907 (todo-visited): New variables.
8908
8909 2013-06-21 Glenn Morris <rgm@gnu.org>
8910
8911 * play/cookie1.el (cookie-apropos): Add optional display argument.
8912 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8913 (psychoanalyze-pinhead): Use cookie-doctor.
8914
8915 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8916
8917 * emacs-lisp/package.el (tar-get-file-descriptor)
8918 (tar--extract): Declare.
8919
8920 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8921
8922 Extend flymake's warning predicate to be a function (bug#14217).
8923 * progmodes/flymake.el (flymake-warning-predicate): New.
8924 (flymake-parse-line): Use it.
8925 (flymake-warning-re): Make obsolete alias to
8926 `flymake-warning-predicate'.
8927
8928 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8931 (package-obsolete-list): Remove.
8932 (package-activate): Remove min-version argument. Add `force' argument.
8933 Adjust to new package-alist format.
8934 (package-mark-obsolete): Remove.
8935 (package-unpack): Force reload of the package's autoloads.
8936 (package-installed-p): Check builtins if the installed package is not
8937 recent enough.
8938 (package-initialize): Don't reset package-obsolete-list.
8939 Don't specify which package version to activate.
8940 (package-process-define-package, describe-package-1)
8941 (package-menu--generate): Adjust to new package-alist format.
8942
8943 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8944
8945 * allout-widgets.el (allout-widgets-mode-off)
8946 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8947 (allout-widgets-post-command-business)
8948 (allout-widgets-after-copy-or-kill-function)
8949 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8950 (allout-decorate-item-and-context)
8951 (allout-graphics-modification-handler): Fix typos in docstrings.
8952 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8953
8954 * cmuscheme.el (scheme-start-file): Doc fix.
8955 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8956 (scheme-input-filter): Use `string-match-p'.
8957
8958 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8959
8960 * dired-x.el: Use Dired consistently in docstrings.
8961
8962 * dired.el: Use Dired consistently in docstrings.
8963 (dired-readin, dired-mode): Use `setq-local'.
8964 (dired-switches-alist): Make defvar-local.
8965 (dired-buffers-for-dir): Use `zerop'.
8966 (dired-safe-switches-p, dired-switches-escape-p)
8967 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8968 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8969 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8970 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8971 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8972 (dired-toggle-marks, dired-mark-files-containing-regexp)
8973 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8974 (dired-flag-auto-save-files, dired-flag-backup-files):
8975 Use `looking-at-p'.
8976 (dired-mark-files-regexp, dired-build-subdir-alist):
8977 Use `string-match-p', `looking-at-p'.
8978
8979 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8980 (direct-print-region-helper): Use `string-match-p'.
8981
8982 2013-06-21 Leo Liu <sdl.web@gmail.com>
8983
8984 * comint.el (comint-redirect-results-list-from-process):
8985 Fix infinite loop.
8986
8987 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8988
8989 * net/eww.el (eww-update-header-line-format): Quote % characters.
8990
8991 2013-06-21 Glenn Morris <rgm@gnu.org>
8992
8993 * play/cookie1.el (cookie): New custom group.
8994 (cookie-file): New option.
8995 (cookie-check-file): New function.
8996 (cookie): Make it interactive. Make start and end messages optional.
8997 Interactively, display the result. Default to cookie-file.
8998 (cookie-insert): Default to cookie-file.
8999 (cookie-snarf): Make start and end messages optional.
9000 Default to cookie-file. Use with-temp-buffer.
9001 (cookie-read): Rename from read-cookie.
9002 Make start and end messages optional. Default to cookie-file.
9003 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9004 Do not autoload it.
9005 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9006 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9007
9008 2013-06-21 Leo Liu <sdl.web@gmail.com>
9009
9010 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9011
9012 2013-06-21 Glenn Morris <rgm@gnu.org>
9013
9014 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9015
9016 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9017 Daniel Hackney <dan@haxney.org>
9018
9019 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9020 Consolidate the single-file vs tarball code.
9021 (package-desc-suffix): New function.
9022 (package-desc-full-name): Don't bother inlining it.
9023 (package-load-descriptor): Return the new package-desc.
9024 (package-mark-obsolete): Remove unused arg `package'.
9025 (package-unpack): Make it work for single files as well.
9026 Make it update package-alist.
9027 (package--make-autoloads-and-stuff): Rename from
9028 package--make-autoloads-and-compile. Don't compile any more.
9029 (package--compile): New function.
9030 (package-generate-description-file): New function, extracted from
9031 package-unpack-single.
9032 (package-unpack-single): Remove.
9033 (package--with-work-buffer): Add indentation and debugging info.
9034 (package-download-single): Remove.
9035 (package-install-from-archive): Rename from package-download-tar, make
9036 it take a pkg-desc, and make it work for single files as well.
9037 (package-download-transaction): Simplify.
9038 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9039 external tar program.
9040 (package-install-from-buffer): Remove `pkg-desc' argument.
9041 Use package-tar-file-info for tar-mode buffers.
9042 (package-install-file): Simplify accordingly.
9043 (package-archive-base): Change to take a pkg-desc.
9044 * tar-mode.el (tar--check-descriptor): New function, extracted from
9045 tar-get-descriptor.
9046 (tar-get-descriptor): Use it.
9047 (tar-get-file-descriptor): New function.
9048 (tar--extract): New function, extracted from tar-extract.
9049 (tar--extract): Use it.
9050 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9051 case the summary uses non-ascii. Adjust to new calling convention of
9052 package-tar-file-info.
9053
9054 2013-06-21 Leo Liu <sdl.web@gmail.com>
9055
9056 * comint.el (comint-redirect-results-list-from-process):
9057 Fix random delay. (Bug#14681)
9058
9059 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9060
9061 * profiler.el (profiler-format-number): Use log, not log10.
9062
9063 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9066
9067 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9070 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9071 yet available.
9072 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9073 (AUTOGENEL): ... here.
9074 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9075 (cl--defsubst-expand): Use it.
9076
9077 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9078
9079 * subr.el (log10): Move here from C code, and declare as obsolete.
9080 All uses of (log10 X) replaced with (log X 10).
9081
9082 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9083
9084 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9085 Declare with `defvar-local'.
9086 (tabulated-list-use-header-line, tabulated-list-entries)
9087 (tabulated-list-padding, tabulated-list-printer)
9088 (tabulated-list-sort-key): Declare with `defvar-local'.
9089 (tabulated-list-init-header, tabulated-list-print-fake-header):
9090 Use `setq-local'.
9091
9092 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9093
9094 * arc-mode.el (archive-mode): Add `archive-write-file' to
9095 `write-contents-functions' also for remote files. (Bug#14652)
9096
9097 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9098
9099 * cus-edit.el (custom-commands): Fix typos.
9100 (custom-display): Fix tooltip text.
9101 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9102 Fix typos in docstrings.
9103 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9104 (custom-unlispify-menu-entry, custom-magic-value-create)
9105 (custom-add-see-also, custom-group-value-create): Use ?\s.
9106 (custom-guess-type, customize-apropos, editable-field)
9107 (custom-face-value-create): Use `string-match-p'.
9108 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9109
9110 * custom.el (custom-load-symbol): Use `string-match-p'.
9111
9112 * ansi-color.el: Convert to lexical binding.
9113 (ansi-colors): Fix URL.
9114 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9115 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9116 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9117
9118 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119
9120 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9121
9122 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9123
9124 2013-06-19 Tom Tromey <tromey@redhat.com>
9125
9126 * net/eww.el (eww-top-url): Remove.
9127 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9128 (eww-render): Set new variables. Don't set eww-top-url.
9129 (eww-handle-link): Handle "prev", "home", and "contents".
9130 Downcase the rel text.
9131 (eww-top-url): Choose best top URL.
9132
9133 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134
9135 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9136 relying in widget.el. Using widget.el leads to too many
9137 user interface inconsistencies.
9138 (eww-self-insert): Implement entering commands in text fields.
9139 (eww-process-text-input): New function to make text input field editing
9140 work.
9141 (eww-submit): Rewrite to use the new-style form methods.
9142 (eww-select-display): Display the correct selected item.
9143 (eww-change-select): Implement changing the select value.
9144 (eww-toggle-checkbox): Implement radio/checkboxes.
9145 (eww-update-field): Fix compilation error.
9146 (eww-tag-textarea): Implement <textarea>.
9147
9148 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9149 we don't shadow mode-specific bindings.
9150
9151 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9152 nothing to push.
9153
9154 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9155
9156 2013-06-19 Glenn Morris <rgm@gnu.org>
9157
9158 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9159
9160 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9161
9162 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9163 not needed.
9164
9165 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9166
9167 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9168
9169 * net/browse-url.el (browse-url-browser-function):
9170 `eww-browse-url' has the right calling signature, `eww' does not.
9171
9172 2013-06-19 Glenn Morris <rgm@gnu.org>
9173
9174 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9175 Only eval autoloaded macros.
9176 (byte-compile-autoload): Only give the macro warning for macros.
9177
9178 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9179 (ps-underlined-faces): Declare.
9180
9181 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9182 (speedbar-add-supported-extension): Declare.
9183
9184 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9185 Don't include a date stamp in the header of the generated file;
9186 it leads to needless differences between output files.
9187
9188 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9189
9190 * net/secrets.el (secrets-struct-secret-content-type):
9191 Replace check of introspection data by a test call of "CreateItem".
9192 Some servers do not offer introspection.
9193
9194 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * electric.el (electric-pair-mode): Improve interaction with
9197 electric-layout-mode.
9198 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9199 (electric-pair-syntax): Use text-mode-syntax-table in comments
9200 and strings.
9201 (electric-pair--insert): New function.
9202 (electric-pair-post-self-insert-function): Use it and
9203 electric--after-char-pos.
9204
9205 2013-06-19 Leo Liu <sdl.web@gmail.com>
9206
9207 * progmodes/octave.el (octave-help): Fix regexp.
9208
9209 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9210
9211 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9212 (shr-table-horizontal-line): Allow nil as a value, and change the
9213 default.
9214 (shr-insert-table-ruler): Respect the nil value.
9215
9216 2013-06-18 Tom Tromey <tromey@barimba>
9217
9218 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9219 New defvars.
9220 (eww-open-file): New defun.
9221 (eww-render): Initialize new variables.
9222 (eww-display-html): Handle "link" and "a".
9223 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9224 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9225 (eww-back-url): Rename from eww-previous-url.
9226 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9227 New defuns.
9228
9229 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9230
9231 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9232 Distinguish ternary operator tokens from slash symbol and slash
9233 char literal.
9234
9235 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9236
9237 Convert symbol prettification into minor mode and global minor mode.
9238
9239 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9240 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9241 (prettify-symbols--keywords): Rename from
9242 `prog-prettify-symbols-alist' and make a local defvar.
9243 (prettify-symbols--compose-symbol): Rename from
9244 `prog--prettify-font-lock-compose-symbol'.
9245 (prettify-symbols--make-keywords): Rename from
9246 `prog-prettify-font-lock-symbols-keywords' and simplify.
9247 (prog-prettify-install): Remove.
9248 (prettify-symbols-mode): New minor mode, based on
9249 `prog-prettify-install'.
9250 (turn-on-prettify-symbols-mode): New function.
9251 (global-prettify-symbols-mode): New globalized minor mode.
9252
9253 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9254 * progmodes/cfengine.el (cfengine3-mode):
9255 * progmodes/perl-mode.el (perl-mode): Don't call
9256 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9257
9258 2013-06-18 Juri Linkov <juri@jurta.org>
9259
9260 * files-x.el (modify-file-local-variable-message): New function.
9261 (modify-file-local-variable)
9262 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9263 and call `modify-file-local-variable-message' when it's non-nil.
9264 (add-file-local-variable, delete-file-local-variable)
9265 (add-file-local-variable-prop-line)
9266 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9267 and use it. (Bug#9820)
9268
9269 2013-06-18 Juri Linkov <juri@jurta.org>
9270
9271 * emulation/vi.el (vi-shell-op):
9272 * emulation/vip.el (vip-execute-com, ex-command):
9273 * emulation/viper-cmd.el (viper-exec-bang):
9274 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9275 the call of `shell-command-on-region'. (Bug#14637)
9276
9277 * simple.el (shell-command-on-region): Doc fix.
9278
9279 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9282 (bug#14633).
9283
9284 2013-06-18 Glenn Morris <rgm@gnu.org>
9285
9286 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9287
9288 * newcomment.el (comment-search-forward, comment-search-backward):
9289 Doc fix. (Bug#14376)
9290
9291 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9292
9293 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9294 (buffer-face-mode-invoke): Doc fix.
9295
9296 2013-06-18 Matthias Meulien <orontee@gmail.com>
9297
9298 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9299 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9300
9301 2013-06-18 Glenn Morris <rgm@gnu.org>
9302
9303 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9304 Replace obsolete function generic-make-keywords with its expansion.
9305
9306 * progmodes/python.el (ffap-alist): Declare.
9307
9308 * textmodes/reftex.el (bibtex-mode-map): Declare.
9309
9310 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9313 (package-unpack, package-unpack-single): Return the pkg-dir.
9314 (package-download-transaction): Use it to update package-alist.
9315
9316 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9317
9318 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9319 possible choice.
9320
9321 2013-06-17 Juri Linkov <juri@jurta.org>
9322
9323 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9324
9325 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9326
9327 * emacs-lisp/package.el (package-load-descriptor):
9328 Remove `with-syntax-table' call, `read' doesn't need it.
9329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9330
9331 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * startup.el (command-line): Expand package name returned by
9334 `package--description-file' (bug#14639).
9335
9336 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9337
9338 * emacs-lisp/package.el (package-load-descriptor): Do not call
9339 `emacs-lisp-mode', just use its syntax table.
9340
9341 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9342
9343 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9344 `font-lock-extra-managed-props' if any prettifying keyword is added.
9345 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9346 (prog-mode): Use `setq-local'.
9347
9348 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * international/characters.el (standard-case-table): Set syntax of ?»
9351 and ?« to punctuation.
9352
9353 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9354
9355 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9356 Save relevant match data before calling `syntax-ppss' (bug#14595).
9357
9358 2013-06-15 Juri Linkov <juri@jurta.org>
9359
9360 * files-x.el (modify-file-local-variable-prop-line): Add local
9361 variables to the end of the existing comment on the first line.
9362 Use `file-auto-mode-skip' to skip interpreter magic line,
9363 and also skip XML declaration.
9364
9365 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * startup.el (package--builtin-versions): New var.
9368 (package-subdirectory-regexp): Remove.
9369 (package--description-file): Hard code its value instead.
9370
9371 * emacs-lisp/package.el: Don't activate packages older than builtin.
9372 (package-obsolete-list): Rename from package-obsolete-alist, and make
9373 it into a simple list of package-desc.
9374 (package-strip-version): Remove.
9375 (package-built-in-p): Use package--builtin-versions.
9376 (package-mark-obsolete): Simplify.
9377 (package-process-define-package): Mark it obsolete if older than the
9378 builtin version.
9379 (package-handle-response): Use line-end-position.
9380 (package-read-archive-contents, package--download-one-archive):
9381 Simplify.
9382 (package--add-to-archive-contents): Skip if older than the builtin or
9383 installed version.
9384 (package-menu-describe-package): Fix last change.
9385 (package-list-unversioned): New var.
9386 (package-menu--generate): Use it.
9387
9388 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9389 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9390 (autoload-builtin-package-versions): New variable.
9391 (autoload-generate-file-autoloads): Use them.
9392 Remove the list of autoloaded functions/macros from the
9393 (autoload...) comments.
9394
9395 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9396
9397 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9398
9399 * simple.el (line-move-partial): Don't jump to the next screen
9400 line as soon as it becomes visible. Instead, continue enlarging
9401 the vscroll until the portion of a tall screen line that's left on
9402 display is about the height of the frame's default font.
9403 (Bug#14567)
9404
9405 2013-06-15 Glenn Morris <rgm@gnu.org>
9406
9407 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9408 compilation-error-regexp-alist void, or local while let-bound.
9409
9410 * progmodes/make-mode.el (makefile-mode-syntax-table):
9411 Treat "=" as punctuation. (Bug#14614)
9412
9413 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9414
9415 * help-fns.el (describe-variable):
9416 Add extra line for permanent-local variables.
9417
9418 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9419
9420 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9421 Add export, import, library. (Bug#9164)
9422 (library): Set indent function.
9423
9424 2013-06-14 Glenn Morris <rgm@gnu.org>
9425
9426 * term/xterm.el (xterm--query):
9427 Stop after first matching handler. (Bug#14615)
9428
9429 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9430
9431 Add support for dired in saveplace.
9432 * dired.el (dired-initial-position-hook): New variable.
9433 (dired-initial-position): Call hook to place cursor position.
9434 * saveplace.el (save-place-to-alist): Add dired position.
9435 (save-place-dired-hook): New function.
9436
9437 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9440 through a symbol rather than letrec.
9441
9442 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9443 (package-desc): Add `dir' field.
9444 (package-desc-full-name): New function.
9445 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9446 (package-maybe-load-descriptor): Remove.
9447 (package-load-all-descriptors): Just call package-load-descriptor.
9448 (package--disabled-p): New function.
9449 (package-desc-vers, package-desc-doc): Remove aliases.
9450 (package--dir): Remove function.
9451 (package-activate): Check if a package is disabled.
9452 (package-process-define-package): New function, extracted from
9453 define-package.
9454 (define-package): Turn into a place holder.
9455 (package-unpack-single, package-tar-file-info):
9456 Use package--description-file.
9457 (package-compute-transaction): Use package--disabled-p.
9458 (package-download-transaction): Don't call
9459 package-maybe-load-descriptor since they're all loaded anyway.
9460 (package-install): Change argument to be a pkg-desc.
9461 (package-delete): Use a single pkg-desc argument.
9462 (describe-package-1): Use package-desc-dir instead of package--dir.
9463 Use package-desc property instead of package-symbol.
9464 (package-install-button-action): Adjust accordingly.
9465 (package--push): Rewrite.
9466 (package-menu--print-info): Adjust accordingly. Change the ID format
9467 to be a pkg-desc.
9468 (package-menu-describe-package, package-menu-get-status)
9469 (package-menu--find-upgrades, package-menu-mark-upgrades)
9470 (package-menu-execute, package-menu--name-predicate):
9471 Adjust accordingly.
9472 * startup.el (package--description-file): New function.
9473 (command-line): Use it.
9474 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9475 Use package-desc-version.
9476
9477 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9478 (byte-compile-preprocess): Use it.
9479 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9480 can't quite recognize.
9481 (byte-compile-add-to-list): Remove.
9482 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9483 (cconv-closure-convert): Add assertion.
9484
9485 * emacs-lisp/map-ynp.el: Use lexical-binding.
9486 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9487 Factor out some repeated code.
9488
9489 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * subr.el (with-eval-after-load): New macro.
9492 (eval-after-load): Allow form to be a function.
9493 take advantage of lexical-binding.
9494 (do-after-load-evaluation): Use dolist and adjust to new format.
9495 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9496
9497 2013-06-13 Juri Linkov <juri@jurta.org>
9498
9499 * replace.el (perform-replace): Display "symbol " and other search
9500 modes from `isearch-message-prefix' in the *Help* buffer.
9501
9502 * isearch.el (isearch-query-replace): Add " symbol" and other
9503 possible search modes from `isearch-message-prefix' to the prompt.
9504 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9505 when reading a regexp to collect.
9506
9507 2013-06-13 Juri Linkov <juri@jurta.org>
9508
9509 * isearch.el (word-search-regexp): Match whitespace if the search
9510 string begins or ends in whitespace. The LAX arg is applied to
9511 both ends of the search string. Use `regexp-quote' and explicit
9512 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9513 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9514 boundaries are replaced with symbol boundaries, and characters
9515 between symbols match non-word non-symbol syntax. (Bug#14602)
9516
9517 2013-06-13 Juri Linkov <juri@jurta.org>
9518
9519 * isearch.el (isearch-del-char): Don't exceed the length of
9520 `isearch-string' by the prefix arg. (Bug#14563)
9521
9522 2013-06-13 Juri Linkov <juri@jurta.org>
9523
9524 * isearch.el (isearch-yank-word, isearch-yank-line)
9525 (isearch-char-by-name, isearch-quote-char)
9526 (isearch-printing-char, isearch-process-search-char):
9527 Add optional count prefix arg. (Bug#14563)
9528
9529 * international/isearch-x.el
9530 (isearch-process-search-multibyte-characters):
9531 Add optional count prefix arg.
9532
9533 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9534
9535 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9536 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9537 lexical-binding.
9538
9539 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9540
9541 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9542
9543 2013-06-13 Glenn Morris <rgm@gnu.org>
9544
9545 * startup.el (tty-handle-args):
9546 Don't just discard "--" and anything after. (Bug#14608)
9547
9548 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9549
9550 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9551
9552 Implement changes in Secret Service API. Make it backward compatible.
9553 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9554 (secrets-create-item): Use it. Prefix properties with interface.
9555
9556 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9557
9558 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9559 (term-emulate-terminal): Respect term-suppress-hard-newline.
9560
9561 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9562
9563 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9564 Only remove a `thumb-file' overlay. (Bug#14548)
9565
9566 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9567
9568 * mail/reporter.el (reporter-submit-bug-report):
9569 Handle missing package-name. (Bug#14600)
9570
9571 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9572
9573 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9574 (reftex-citation-prompt, reftex-default-bibliography)
9575 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9576 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9577 (reftex-bib-sort-author, reftex-bib-sort-year)
9578 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9579 (reftex-extract-bib-entries-from-thebibliography)
9580 (reftex-get-bibkey-default, reftex-get-bib-names)
9581 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9582 (reftex-format-bib-entry, reftex-parse-bibitem)
9583 (reftex-format-bibitem, reftex-do-citation)
9584 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9585 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9586 (reftex-insert-bib-matches, reftex-format-citation)
9587 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9588 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9589 existing comments into docstrings.
9590
9591 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9592
9593 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9594
9595 2013-06-12 Andreas Schwab <schwab@suse.de>
9596
9597 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9598 for auto-save files.
9599
9600 2013-06-12 Glenn Morris <rgm@gnu.org>
9601
9602 * ido.el (ido-delete-ignored-files): Remove.
9603 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9604 Go back to calling ido-ignore-item-p directly.
9605
9606 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9607
9608 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9609
9610 * ido.el (ido-delete-ignored-files): New function,
9611 split from ido-make-file-list-1.
9612 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9613 (ido-make-file-list-1): Use ido-delete-ignored-files.
9614
9615 2013-06-12 Leo Liu <sdl.web@gmail.com>
9616
9617 * progmodes/octave.el (inferior-octave-startup)
9618 (inferior-octave-completion-table)
9619 (inferior-octave-track-window-width-change)
9620 (octave-eldoc-function-signatures, octave-help)
9621 (octave-find-definition): Use single quoted strings.
9622 (inferior-octave-startup-args): Change default value.
9623 (inferior-octave-startup): Do not hard code "-i" and
9624 "--no-line-editing".
9625 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9626 (inferior-octave-directory-tracker): Use it.
9627 (octave-goto-function-definition): Robustify.
9628 (octave-help): Support highlighting operators in 'See also'.
9629 (octave-find-definition): Find subfunctions only in Octave mode.
9630
9631 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * help-fns.el (help-fns--compiler-macro): If the handler function is
9634 named, then put a link to it.
9635 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9636 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9637 (cl-typep): Use it.
9638 (cl-eval-when): Simplify debug spec.
9639 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9640 compiler-macro function instead of setting `compiler-macro-file'.
9641
9642 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9643
9644 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9645 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9646
9647 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9648 Daniel Hackney <dan@haxney.org>
9649
9650 First part of Daniel Hackney's patch to package.el.
9651 * emacs-lisp/package.el: Use defstruct.
9652 (package-desc): New, main struct.
9653 (package--bi-desc, package--ac-desc): New structs, used to describe the
9654 format in external files.
9655 (package-desc-vers): Replace with package-desc-version accessor.
9656 (package-desc-doc): Replace with package-desc-summary accessor.
9657 (package-activate-1): Remove `package' arg since the pkg-vec now
9658 includes the name.
9659 (define-package): Use package-desc-from-define.
9660 (package-unpack-single): Change file-name arg to be a symbol.
9661 (package--add-to-archive-contents): Use package-desc-create and new
9662 accessor functions to package--ac-desc.
9663 (package-buffer-info, package-tar-file-info): Return a package-desc.
9664 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9665 arg to be a package-desc.
9666 (package-install-file): Adjust accordingly. Use \' to match EOS.
9667 (package--from-builtin): New function.
9668 (describe-package-1, package-menu--generate): Use it.
9669 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9670 (package-generate-autoloads): Idem and return the name of the file.
9671 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9672 Change pkg-info arg to be a package-desc.
9673 Use package-make-ac-desc.
9674 (package-upload-file): Use \' to match EOS.
9675 * finder.el (finder-compile-keywords): Use package-make-builtin.
9676
9677 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * vc/vc.el (vc-deduce-fileset): Change error message.
9680 (vc-read-backend): New function.
9681 (vc-next-action): Use it.
9682
9683 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9684
9685 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9686 (prolog-font-lock-keywords): Use regexp-opt instead.
9687 Don't manually highlight strings.
9688 (prolog-mode-variables): Simplify comment-start-skip.
9689 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9690
9691 * emacs-lisp/generic.el (generic--normalise-comments)
9692 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9693 (generic-mode-set-comments): Use them.
9694 (generic-bracket-support): Use setq-local.
9695 (generic-make-keywords-list): Declare obsolete.
9696
9697 2013-06-11 Glenn Morris <rgm@gnu.org>
9698
9699 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9700 Prettify after setting font-lock-defaults. (Bug#14574)
9701
9702 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9703
9704 * replace.el (query-replace, occur-read-regexp-defaults-function)
9705 (replace-search):
9706 * subr.el (declare-function, number-sequence, local-set-key)
9707 (substitute-key-definition, locate-user-emacs-file)
9708 (with-silent-modifications, split-string, eval-after-load):
9709 Fix typos, remove unneeded backslashes and reflow some docstrings.
9710
9711 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9714 default for Elisp files.
9715
9716 2013-06-11 Glenn Morris <rgm@gnu.org>
9717
9718 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9719 although define-derived-mode was doing this anyway. (Bug#14583)
9720
9721 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9722
9723 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9724 Fix make-variable-buffer-local call to refer to the correct variable.
9725
9726 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9727
9728 * eshell/em-term.el (eshell-visual-commands)
9729 (eshell-visual-subcommands, eshell-visual-options):
9730 Add summary line to docstrings. Add cross-references.
9731
9732 2013-06-10 Glenn Morris <rgm@gnu.org>
9733
9734 * epa.el (epa-read-file-name): New function. (Bug#14510)
9735 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9736
9737 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9738
9739 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9740 output redirection to be ignored with visual commands.
9741
9742 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9743
9744 * eshell/em-term.el (eshell-visual-command-p): New function.
9745 (eshell-term-initialize): Move long lambda to separate function
9746 eshell-visual-command-p.
9747 * eshell/em-dirs.el (eshell-dirs-initialise):
9748 * eshell/em-script.el (eshell-script-initialize):
9749 Add missing #' to lambda.
9750
9751 2013-06-08 Leo Liu <sdl.web@gmail.com>
9752
9753 * progmodes/octave.el (octave-add-log-current-defun): New function.
9754 (octave-mode): Set add-log-current-defun-function.
9755 (octave-goto-function-definition): Do not move point if not found.
9756 (octave-find-definition): Enhance to try subfunctions first.
9757
9758 2013-06-08 Glenn Morris <rgm@gnu.org>
9759
9760 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9761 (byte-compile-backward-char, byte-compile-backward-word):
9762 Improve previous change, to handle non-explicit nil.
9763
9764 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9767 (smie--opener/closer-at-point): New function.
9768 (smie--matching-block-data): Use it. Don't match from right after an
9769 opener or right before a closer. Obey smie-blink-matching-inners.
9770 Don't signal a mismatch for repeated inners like "switch..case..case".
9771
9772 2013-06-07 Leo Liu <sdl.web@gmail.com>
9773
9774 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9775 to t. (Bug#14303)
9776 (octave-function-header-regexp): Fix. (Bug#14570)
9777 (octave-help-mode-finish-hook, octave-help-mode-finish):
9778 Remove. Just use temp-buffer-show-hook.
9779
9780 * newcomment.el (comment-search-backward): Revert last change.
9781 (Bug#14434)
9782
9783 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9784
9785 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9786
9787 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9788 through xargs, to avoid failure due to MS-Windows limitations on
9789 command-line length.
9790
9791 2013-06-06 Glenn Morris <rgm@gnu.org>
9792
9793 * font-lock.el (lisp-font-lock-keywords-2):
9794 Treat user-error like error.
9795
9796 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9797 (byte-compile-backward-char, byte-compile-backward-word):
9798 Handle explicit nil arguments. (Bug#14565)
9799
9800 2013-06-05 Alan Mackenzie <acm@muc.de>
9801
9802 * isearch.el (isearch-allow-prefix): New user option.
9803 (isearch-other-meta-char): Don't exit isearch when a prefix
9804 argument is typed whilst `isearch-allow-prefix' is non-nil.
9805 (Bug#9706)
9806
9807 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * autorevert.el (auto-revert-notify-handler): Use memq.
9810 Hide assertion failure.
9811
9812 * skeleton.el: Use cl-lib.
9813 (skeleton-further-elements): Use defvar-local.
9814 (skeleton-insert): Use cl-progv.
9815
9816 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9817
9818 * progmodes/prog-mode.el (prog-prettify-symbols)
9819 (prog-prettify-install): Update docstrings.
9820
9821 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * simple.el: Move all the prog-mode code to prog-mode.el.
9824 * progmodes/prog-mode.el: New file.
9825 * loadup.el: Add prog-mode.el.
9826
9827 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9828
9829 * simple.el (prog-prettify-symbols): Add version.
9830 (prog-prettify-install): Add convenience function to prettify symbols.
9831
9832 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9833 (perl--augmented-font-lock-keywords-1)
9834 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9835 variables and use it.
9836
9837 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9838 (cfengine3-mode): Remove unneeded variable and use it.
9839
9840 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9841 (lisp--augmented-font-lock-keywords-1)
9842 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9843 Remove unneeded variables and use it.
9844
9845 2013-06-05 João Távora <joaotavora@gmail.com>
9846
9847 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9848 to point when opening the connection. (Bug#14380)
9849
9850 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * subr.el (load-history-regexp, load-history-filename-element)
9853 (eval-after-load, after-load-functions, do-after-load-evaluation)
9854 (eval-next-after-load, display-delayed-warnings)
9855 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9856 definition of save-match-data.
9857 (overriding-local-map): Remove accidental obsolescence declaration.
9858
9859 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9860
9861 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9862
9863 Generalize symbol prettify support to prog-mode and implement it
9864 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9865 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9866 (prog--prettify-font-lock-compose-symbol)
9867 (prog-prettify-font-lock-symbols-keywords): New variables and
9868 functions to support symbol prettification.
9869 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9870 (lisp--augmented-font-lock-keywords-1)
9871 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9872 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9873 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9874 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9875 Implement prettify of -> => :: strings.
9876 * progmodes/perl-mode.el (perl-prettify-symbols)
9877 (perl--font-lock-compose-symbol)
9878 (perl--font-lock-symbols-keywords): Move to prog-mode.
9879 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9880 (perl-font-lock-keywords-1)
9881 (perl-font-lock-keywords-2): Remove explicit prettify support.
9882 (perl--augmented-font-lock-keywords)
9883 (perl--augmented-font-lock-keywords-1)
9884 (perl--augmented-font-lock-keywords-2, perl-mode):
9885 Implement prettify support.
9886
9887 2013-06-05 Leo Liu <sdl.web@gmail.com>
9888
9889 Re-implement smie matching block highlight using
9890 show-paren-data-function. (Bug#14395)
9891 * emacs-lisp/smie.el (smie-matching-block-highlight)
9892 (smie--highlight-matching-block-overlay)
9893 (smie--highlight-matching-block-lastpos)
9894 (smie-highlight-matching-block)
9895 (smie-highlight-matching-block-mode): Remove.
9896 (smie--matching-block-data-cache): New variable.
9897 (smie--matching-block-data): New function.
9898 (smie-setup): Use smie--matching-block-data for
9899 show-paren-data-function.
9900
9901 * progmodes/octave.el (octave-mode-menu): Fix.
9902 (octave-find-definition): Skip garbage lines.
9903
9904 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 Fix compilation error with simultaneous dynamic+lexical scoping.
9907 Add warning when a defvar appears after the first let-binding.
9908 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9909 (byte-compile-close-variables): Initialize it.
9910 (byte-compile--declare-var): New function.
9911 (byte-compile-file-form-defvar)
9912 (byte-compile-file-form-define-abbrev-table)
9913 (byte-compile-file-form-custom-declare-variable): Use it.
9914 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9915 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9916 (byte-compile-bind): Handle dynamic bindings that shadow
9917 lexical bindings.
9918 (byte-compile-unbind): Make arg non-optional.
9919 (byte-compile-let): Simplify.
9920 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9921 (cconv--analyse-function, cconv-analyse-form): Populate it.
9922 Protect byte-compile-bound-variables to limit the scope of defvars.
9923 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9924 Remove unneeded rule for `declare'.
9925
9926 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9927 so as to avoid depending on cl-adjoin at run-time.
9928 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9929
9930 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9931 (macroexp--warn-and-return): Use it.
9932
9933 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * subr.el: Convert to lexical binding.
9936 (overriding-local-map): Make obsolete.
9937 (add-to-list): Doc fix. Add compiler macro.
9938 (read-key): Swap values of local maps.
9939
9940 2013-06-05 Leo Liu <sdl.web@gmail.com>
9941
9942 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9943
9944 2013-06-04 Leo Liu <sdl.web@gmail.com>
9945
9946 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9947 (compilation-auto-jump): Suppress the "Mark set" message to give
9948 way to exit message.
9949
9950 2013-06-04 Alan Mackenzie <acm@muc.de>
9951
9952 Remove faulty optimisation from indentation calculation.
9953 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9954 search limit based on 2000 characters back from indent-point.
9955
9956 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9957
9958 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9959
9960 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * emacs-lisp/lisp.el: Use lexical-binding.
9963 (lisp--local-variables-1, lisp--local-variables): New functions.
9964 (lisp--local-variables-completion-table): New var.
9965 (lisp-completion-at-point): Use it complete let-bound vars.
9966
9967 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9968 eagerly (bug#14422).
9969
9970 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9971
9972 * autorevert.el (auto-revert-notify-enabled)
9973 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9974 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9975 (auto-revert-notify-handler): Handle also gfilenotify.
9976
9977 * subr.el (file-notify-handle-event): New defun. Replacing ...
9978 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9979 Remove.
9980
9981 2013-06-03 Juri Linkov <juri@jurta.org>
9982
9983 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9984 `M-s h .'. (Bug#14427)
9985
9986 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9987 command `hi-lock-face-symbol-at-point'.
9988 (hi-lock-face-symbol-at-point): New command.
9989 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9990 (hi-lock-menu): Add `highlight-symbol-at-point'.
9991 (hi-lock-mode): Doc fix.
9992
9993 * isearch.el (isearch-forward-symbol-at-point): New command.
9994 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9995 (isearch-highlight-regexp): Add a regexp which matches
9996 words/symbols for word/symbol mode.
9997
9998 * subr.el (find-tag-default-bounds): New function with the body
9999 mostly moved from `find-tag-default'.
10000 (find-tag-default): Move most code to `find-tag-default-bounds',
10001 call it and apply `buffer-substring-no-properties' afterwards.
10002
10003 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10004
10005 * eshell/em-term.el (eshell-term-initialize):
10006 Use `cl-intersection' rather than `intersection'.
10007
10008 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10009
10010 * vc/log-view.el: Doc fix.
10011 (log-view-mode-map): Copy keymap from `special-mode-map'.
10012
10013 2013-06-02 Eric Ludlam <zappo@gnu.org>
10014
10015 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10016 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10017 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10018 (eieio-unbound, eieio-default-superclass)
10019 (eieio--define-field-accessors, method-static, method-before)
10020 (method-primary, method-after, method-num-lists)
10021 (method-generic-before, method-generic-primary)
10022 (method-generic-after, method-num-slots)
10023 (eieio-specialized-key-to-generic-key)
10024 (eieio--check-type, class-v, class-p)
10025 (eieio-class-name, define-obsolete-function-alias)
10026 (eieio-class-parents-fast, eieio-class-children-fast)
10027 (same-class-fast-p, class-constructor, generic-p)
10028 (generic-primary-only-p, generic-primary-only-one-p)
10029 (class-option-assoc, class-option, eieio-object-p)
10030 (class-abstract-p, class-method-invocation-order)
10031 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10032 (eieio-class-un-autoload, eieio-defclass)
10033 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10034 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10035 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10036 (eieio-defgeneric-reset-generic-form)
10037 (eieio-defgeneric-form-primary-only)
10038 (eieio-defgeneric-reset-generic-form-primary-only)
10039 (eieio-defgeneric-form-primary-only-one)
10040 (eieio-defgeneric-reset-generic-form-primary-only-one)
10041 (eieio-unbind-method-implementations)
10042 (eieio--defmethod, eieio--typep)
10043 (eieio-perform-slot-validation, eieio-validate-slot-value)
10044 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10045 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10046 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10047 (eieio-slot-name-index, eieio-class-slot-name-index)
10048 (eieio-set-defaults, eieio-initarg-to-attribute)
10049 (eieio-attribute-to-initarg, eieio-c3-candidate)
10050 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10051 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10052 (eieio-class-precedence-list, eieio-generic-call-methodname)
10053 (eieio-generic-call-arglst, eieio-generic-call-key)
10054 (eieio-generic-call-next-method-list)
10055 (eieio-pre-method-execution-functions, eieio-generic-call)
10056 (eieio-generic-call-primary-only, eieiomt-method-list)
10057 (eieiomt-optimizing-obarray, eieiomt-install)
10058 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10059 (eieio-generic-form, eieio-defmethod, make-obsolete)
10060 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10061 (defclass): Remove `eval-and-compile' from macro.
10062 (call-next-method, shared-initialize): Instead of using
10063 `scoped-class' variable, use new eieio--scoped-class, and
10064 eieio--with-scoped-class.
10065 (initialize-instance): Rename local variable 'scoped-class' to
10066 'this-class' to remove ambiguitity from old global.
10067
10068 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10069 eieio.el.
10070 (eieio--scoped-class-stack): New variable.
10071 (eieio--scoped-class): New fcn.
10072 (eieio--with-scoped-class): New scoping macro.
10073 (eieio-defclass): Use pushnew instead of add-to-list.
10074 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10075 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10076 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10077 `scoped-class' variable, use new eieio--scoped-class, and
10078 eieio--with-scoped-class.
10079
10080 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10081
10082 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10083
10084 * eshell/esh-ext.el (eshell-external-command): Pass args to
10085 `eshell-find-interpreter'.
10086 (eshell-find-interpreter): Add new second parameter ARGS.
10087
10088 * eshell/em-script.el (eshell-script-initialize): Add second arg
10089 to the function added as MATCH to `eshell-interpreter-alist'.
10090
10091 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10092 the function added as MATCH to `eshell-interpreter-alist'.
10093
10094 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10095 (eshell-visual-options): New defcustom.
10096 (eshell-escape-control-x): Adapt docstring.
10097 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10098 `eshell-visual-options' in addition to `eshell-visual-commands'.
10099 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10100
10101 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10102
10103 * progmodes/python.el (python-indent-block-enders): Add break,
10104 continue and raise keywords.
10105
10106 2013-06-01 Glenn Morris <rgm@gnu.org>
10107
10108 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10109
10110 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10111 * progmodes/cc-cmds.el (delete-forward-p):
10112 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10113 * progmodes/cc-engine.el (buffer-syntactic-context):
10114 * progmodes/cc-fonts.el (face-property-instance):
10115 * progmodes/cc-mode.el (set-keymap-parents):
10116 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10117 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10118 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10119 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10120 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10121
10122 * progmodes/cc-vars.el (other): Emacs has this widget since
10123 at least 21.1, so don't (re)define it.
10124
10125 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10126 Replace the obsolete alias pcomplete-arg-quote-list.
10127
10128 2013-06-01 Leo Liu <sdl.web@gmail.com>
10129
10130 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10131 punctuation syntax.
10132 (inferior-octave-minimal-columns)
10133 (inferior-octave-last-column-width): New variables.
10134 (inferior-octave-track-window-width-change): New function.
10135 (inferior-octave-mode): Adjust column width so that Octave output,
10136 for example from 'ls', can fit into the window nicely.
10137
10138 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10139
10140 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10141 Highlight expansions inside regexp literals.
10142
10143 2013-05-31 Glenn Morris <rgm@gnu.org>
10144
10145 * obsolete/sym-comp.el (symbol-complete):
10146 Replace obsolete completion-annotate-function.
10147
10148 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10149
10150 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10151
10152 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10153 New function, checks if point is inside a literal that allows
10154 expression expansion.
10155 (ruby-syntax-propertize-expansion): Use it.
10156 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10157 around the body.
10158
10159 2013-05-30 Juri Linkov <juri@jurta.org>
10160
10161 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10162 to "\M-si".
10163 (isearch-invisible): New variable.
10164 (isearch-forward): Doc fix.
10165 (isearch-mode): Set `isearch-invisible'
10166 to the value of `search-invisible'.
10167 (isearch-toggle-case-fold): Doc fix.
10168 (isearch-toggle-invisible): New command.
10169 (isearch-query-replace): Let-bind `search-invisible'
10170 to the value of `isearch-invisible'.
10171 (isearch-search): Use `isearch-invisible' instead of
10172 `search-invisible'. Let-bind `search-invisible'
10173 to the value of `isearch-invisible'. (Bug#11378)
10174
10175 2013-05-30 Juri Linkov <juri@jurta.org>
10176
10177 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10178 call when `query-flag' is nil and `search-invisible' is non-nil.
10179 (Bug#11746)
10180
10181 2013-05-30 Glenn Morris <rgm@gnu.org>
10182
10183 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10184
10185 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10186 (cc-require): Suppress spurious "noruntime" warnings.
10187 (cc-require-when-compile): Use fboundp, for sake of compiler.
10188
10189 * progmodes/cc-mode.el: Move load of cc-vars before that of
10190 cc-langs (which in turn loads cc-vars), to quieten compiler.
10191
10192 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * paren.el: Simplify the code.
10195 (show-paren-mode): Always start the timer.
10196 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10197 (show-paren--overlay, show-paren--overlay-1): Rename from
10198 show-paren-overlay and show-paren-overlay-1, and initialize to an
10199 overlay rather than to nil.
10200 (show-paren-function): Misc cleanup and simplifications.
10201
10202 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * paren.el (show-paren-data-function): New hook.
10205 (show-paren--default): New function, extracted from show-paren-function.
10206 (show-paren-function): Use show-paren-data-function.
10207
10208 2013-05-30 Glenn Morris <rgm@gnu.org>
10209
10210 * ielm.el (ielm-map, ielm-complete-symbol):
10211 Use completion-at-point rather than obsolete functions.
10212 (inferior-emacs-lisp-mode): Doc fix.
10213 Set completion-at-point-functions, rather than
10214 comint-dynamic-complete-functions.
10215
10216 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10217 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10218 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10219
10220 * image.el (image-animated-p): Tweak definition.
10221
10222 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10223 (rlogin-process-connection-type): Tweak default. Add set-after.
10224 (rlogin-host): Doc fix.
10225 (rlogin): Tweak prompt.
10226 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10227
10228 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10229 * progmodes/tcl.el (inferior-tcl-mode-map):
10230 Use completion-at-point rather than obsolete alias.
10231
10232 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10233
10234 * minibuffer.el (read-file-name-completion-ignore-case):
10235 Move before completion--in-region, for eager macro expansion.
10236
10237 2013-05-29 Juri Linkov <juri@jurta.org>
10238
10239 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10240 for total count of matching lines. Add `global-matches' for total
10241 count of matches. Rename `matches' to `lines' for count of
10242 matching lines. Add `matches' for count of matches.
10243 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10244 to `prev-line' for line number of prev match endpt.
10245 Increment `matches' for every match. Print the number of
10246 matching lines in the header.
10247 (occur-context-lines): Rename `lines' to `curr-line'.
10248 Rename `prev-lines' to `prev-line'. (Bug#14017)
10249
10250 2013-05-29 Juri Linkov <juri@jurta.org>
10251
10252 * replace.el (perform-replace): Add `skip-read-only-count',
10253 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10254 Increment them for corresponding conditions and report the number
10255 of skipped occurrences in the final message. (Bug#11746)
10256 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10257 (replace-string, replace-regexp): Doc fix.
10258
10259 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10262
10263 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10264 prog-mode-map (bug#14504).
10265
10266 2013-05-29 Leo Liu <sdl.web@gmail.com>
10267
10268 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10269 (octave-help): Small simplification.
10270
10271 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10272 off the highlight first.
10273
10274 2013-05-29 Glenn Morris <rgm@gnu.org>
10275
10276 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10277 Handle idlwave-last-system-routine-info-cons-cell being nil.
10278
10279 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10280 (idlwave-write-paths): Simplify via with-temp-buffer.
10281
10282 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10283 * emulation/cua-rect.el: Also load cua-base at run time.
10284
10285 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10286 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10287 (cperl-imenu-on-info): Require imenu.
10288
10289 2013-05-28 Alan Mackenzie <acm@muc.de>
10290
10291 Handle "capitalised keywords" correctly.
10292 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10293
10294 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10295
10296 * eshell/em-unix.el: Add -r option to cp.
10297
10298 2013-05-28 Glenn Morris <rgm@gnu.org>
10299
10300 * vc/vc-arch.el (vc-exec-after): Declare.
10301 (vc-switches): Autoload.
10302 * vc/vc-bzr.el: No need to require vc when compiling.
10303 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10304 (vc-resynch-buffer, vc-dir-refresh): Declare.
10305 (vc-setup-buffer, vc-switches): Autoload.
10306 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10307 (vc-resynch-buffer): Declare.
10308 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10309 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10310 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10311 (grep-read-regexp, grep-read-files, grep-expand-template)
10312 (vc-dir-refresh): Declare.
10313 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10314 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10315 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10316 * vc/vc-mtn.el (vc-exec-after): Declare.
10317 (vc-switches): Autoload.
10318 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10319 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10320 (vc-file-tree-walk): Declare.
10321 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10322 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10323 (vc-tag-precondition, vc-rename-master): Autoload.
10324 * vc/vc-svn.el (vc-exec-after): Declare.
10325 (vc-switches, vc-setup-buffer): Autoload.
10326 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10327 Autoload.
10328 (vc-resynch-buffer): Declare.
10329
10330 * obsolete/fast-lock.el (byte-compile-warnings):
10331 Don't warn about obsolete features in this obsolete file.
10332
10333 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10334 Move definition before use.
10335
10336 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10337 (dun-unix-verbs): Remove dun-zippy.
10338 (dun-zippy): Remove function.
10339
10340 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10341
10342 2013-05-27 Juri Linkov <juri@jurta.org>
10343
10344 * replace.el (replace-search): New function with code moved out
10345 from `perform-replace'.
10346 (replace-highlight, replace-dehighlight): Move function definitions
10347 up closer to `replace-search'. (Bug#11746)
10348
10349 2013-05-27 Juri Linkov <juri@jurta.org>
10350
10351 * replace.el (perform-replace): Ignore invisible matches.
10352 In addition to checking `query-replace-skip-read-only', also
10353 filter out matches by calling `run-hook-with-args-until-failure'
10354 on `isearch-filter-predicates', and also check `search-invisible'
10355 for t or call `isearch-range-invisible'.
10356 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10357
10358 2013-05-27 Juri Linkov <juri@jurta.org>
10359
10360 * isearch.el (isearch-filter-predicates): Rename from
10361 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10362 (isearch-message-prefix): Display text from the property
10363 `isearch-message-prefix' of the currently active filters.
10364 (isearch-search): Don't compare `isearch-filter-predicate' with
10365 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10366 on `isearch-filter-predicates'. Also check `search-invisible' for t
10367 or call `isearch-range-invisible'.
10368 (isearch-filter-visible): Make obsolete.
10369 (isearch-lazy-highlight-search):
10370 Call `run-hook-with-args-until-failure' on
10371 `isearch-filter-predicates' and use `isearch-range-invisible'.
10372
10373 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10374 `isearch-filter-predicates' instead of `funcall'ing
10375 `isearch-filter-predicate'.
10376 (Info-mode): Set `Info-isearch-filter' to
10377 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10378
10379 * dired-aux.el (dired-isearch-filter-predicate-orig):
10380 Remove variable.
10381 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10382 (dired-isearch-filenames-end): Add and remove
10383 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10384 instead of changing the value of `isearch-filter-predicate'.
10385 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10386 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10387 Put property `isearch-message-prefix' to "filename " on
10388 `dired-isearch-filter-filenames'.
10389
10390 * wdired.el (wdired-change-to-wdired-mode):
10391 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10392 locally instead of changing `isearch-filter-predicate'.
10393 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10394
10395 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10396
10397 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10398 return the commit hash (Bug#14459). Also set the
10399 `vc-git-detached' property.
10400 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10401 (vc-git-mode-line-string): Use the same help-echo format whether
10402 in detached mode or not, because we know the actual revision now.
10403 When in detached mode, shorten the revision to 7 chars.
10404
10405 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * emacs-lisp/easy-mmode.el (define-minor-mode):
10408 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10409 mode hook and provide a docstring.
10410
10411 2013-05-27 Alan Mackenzie <acm@muc.de>
10412
10413 Remove spurious syntax-table text properties inserted by C-y.
10414 * progmodes/cc-mode.el (c-after-change): Also clear hard
10415 syntax-table property with value nil.
10416
10417 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10420 when reading the events; the buffer layout shall not be changed.
10421
10422 2013-05-27 Leo Liu <sdl.web@gmail.com>
10423
10424 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10425 New variable.
10426 (inferior-octave-directory-tracker): Automatically re-sync
10427 default-directory.
10428 (octave-help): Improve handling of 'See also'.
10429
10430 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * doc-view.el: Minor naming convention tweaks.
10433 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10434
10435 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10436 even if there's no `display' property yet (bug#14435).
10437
10438 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10439
10440 * subr.el (unmsys--file-name): Rename from reveal-filename.
10441
10442 * Makefile.in (custom-deps, finder-data, autoloads)
10443 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10444 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10445 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10446
10447 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10450 error-completion on the first 2 args of condition-case (bug#14446).
10451 Don't burp at EOB.
10452
10453 2013-05-25 Leo Liu <sdl.web@gmail.com>
10454
10455 * comint.el (comint-previous-matching-input): Do not flood the
10456 *Messages* buffer with trivial messages.
10457
10458 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * progmodes/flymake.el (flymake-nop): Don't return a string.
10461 (flymake-set-at): Fix typo.
10462
10463 * simple.el (read--expression): New function, extracted from
10464 eval-expression. Set completion-at-point-functions (bug#14465).
10465 (eval-expression, eval-minibuffer): Use it.
10466
10467 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10468
10469 * progmodes/flymake.el (flymake-save-buffer-in-file)
10470 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10471 (flymake-selected-frame, flymake-log, flymake-ins-after)
10472 (flymake-set-at, flymake-get-buildfile-from-cache)
10473 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10474 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10475 Refine the doc string.
10476 (flymake-get-file-name-mode-and-masks): Reformat.
10477 (flymake-get-real-file-name-function): Fix a minor bug.
10478
10479 2013-05-24 Juri Linkov <juri@jurta.org>
10480
10481 * progmodes/grep.el (grep-mode-font-lock-keywords):
10482 Support =linenumber= format used by git-grep for lines with
10483 function names. (Bug#13549)
10484
10485 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10488 0 after a semi-colon; it works better for smie-auto-fill.
10489 (octave--indent-new-comment-line): New function.
10490 (octave-indent-new-comment-line): Use it (indirectly).
10491 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10492 modify comment-line-break-function.
10493
10494 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10495 (smie-setup): Use add-function to set it.
10496
10497 2013-05-24 Sam Steingold <sds@gnu.org>
10498
10499 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10500 argument (before the `interactive' argument).
10501
10502 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * image-mode.el (image-mode-winprops): Add winprops to
10505 image-mode-winprops-alist before running
10506 image-mode-new-window-functions.
10507 * doc-view.el (doc-view-new-window-function): Don't delay
10508 doc-view-goto-page via timers (bug#14435).
10509
10510 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10511
10512 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10513 (doc-view-desktop-save-buffer): New function.
10514 (doc-view-restore-desktop-buffer): New function.
10515 (desktop-buffer-mode-handlers):
10516 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10517 handler.
10518 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10519 `desktop-save-buffer' function.
10520
10521 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10524 (tramp-gvfs-file-name-handler): Raise a user error when
10525 `tramp-gvfs-enabled' is nil.
10526 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10527 Do not raise a user error when loading package. (Bug#14447)
10528
10529 * net/xesam.el: Move to obsolete/.
10530
10531 2013-05-24 Glenn Morris <rgm@gnu.org>
10532
10533 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10534
10535 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10536
10537 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10538 (Info-find-node, Man-getpage-in-background): Declare.
10539
10540 * mail/unrmail.el (unrmail):
10541 Replace obsolete detect-coding-with-priority.
10542
10543 * net/socks.el (socks-split-string): Use this rather than split-string.
10544 (socks-nslookup-host): Update for above change.
10545 (dynamic-choice, s5-dynamic-choice-match)
10546 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10547 Comment out unused code.
10548
10549 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10550 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10551 (gud-tooltip-echo-area): Make obsolete.
10552 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10553
10554 * progmodes/js.el (js--optimize-arglist): Declare.
10555
10556 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10557
10558 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10559 (ediff-window-C): Declare.
10560
10561 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10562 Tweak requires to silence compiler.
10563
10564 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10565 (he-search-string, he-tried-table, he-expand-list)
10566 (he-init-string, he-string-member, he-substitute-string)
10567 (he-reset-string): Declare.
10568
10569 * obsolete/options.el (list-options): Use custom-variable-p,
10570 rather than obsolete alias.
10571
10572 2013-05-23 Sam Steingold <sds@gnu.org>
10573
10574 * simple.el (shell-command-on-region): Pass the `replace' argument
10575 down to `call-process-region' to comply with the doc as reported on
10576 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10577
10578 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * emacs-lisp/smie.el (smie-indent-forward-token)
10581 (smie-indent-backward-token): Handle string tokens (bug#14381).
10582
10583 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10584
10585 * ielm.el (ielm-menu): New menu.
10586 (inferior-emacs-lisp-mode): Set comment-start.
10587
10588 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10589
10590 * textmodes/reftex.el (reftex-ref-style-toggle):
10591 Fix deactivate action.
10592
10593 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10594 Add cleveref macros.
10595
10596 * textmodes/reftex-parse.el
10597 (reftex-locate-bibliography-files): Accept options for
10598 bibliography commands.
10599 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10600 Add addbibresource. Basic Biblatex support.
10601
10602 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10603
10604 * net/tramp-gvfs.el (top):
10605 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10606 when loading package. (Bug#14447)
10607
10608 2013-05-23 Glenn Morris <rgm@gnu.org>
10609
10610 * progmodes/js.el: No need to load comint when compiling.
10611 (ring-insert, comint-send-string, comint-send-input)
10612 (comint-last-input-end, ido-chop): Declare.
10613
10614 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10615 * vc/ediff-mult.el: Adjust requires.
10616 (ediff-directories-internal, ediff-directory-revisions-internal)
10617 (ediff-patch-file-internal): Declare.
10618 * vc/ediff-ptch.el: Adjust requires.
10619 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10620 (ediff-find-file): Autoload.
10621 * vc/ediff-util.el: No need to load ediff when compiling.
10622 (ediff-regions-internal): Declare.
10623 * vc/ediff-wind.el: Adjust requires.
10624 (ediff-compute-toolbar-width): Define when compiling.
10625 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10626 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10627 (dired-get-filename, dired-get-marked-files)
10628 (ediff-last-dir-patch, ediff-patch-default-directory)
10629 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10630 (ediff-patch-buffer-internal): Declare.
10631
10632 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10633 (ispell-process, ispell-buffer-local-words, lm-summary)
10634 (lm-section-start, lm-section-end): Declare.
10635 (checkdoc-ispell-init): Simplify.
10636
10637 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10638 (he-string-member, he-reset-string, he-substitute-string): Declare.
10639
10640 * eshell/em-ls.el: Adjust requires.
10641 (eshell-glob-regexp): Declare.
10642 * eshell/em-tramp.el: Adjust requires.
10643 (eshell-parse-command): Autoload.
10644 * eshell/em-xtra.el: Adjust requires.
10645 (eshell-parse-command): Autoload.
10646 * eshell/esh-ext.el: Adjust requires.
10647 (eshell-parse-command, eshell-close-handles): Autoload.
10648 * eshell/esh-io.el: Adjust requires.
10649 (eshell-output-filter): Autoload.
10650 * eshell/esh-util.el: No need to load tramp when compiling.
10651 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10652 Declare.
10653 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10654 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10655 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10656 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10657 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10658 * eshell/esh-opt.el, eshell/esh-proc.el:
10659 * eshell/esh-var.el: Adjust requires.
10660 * eshell/eshell.el: Do not require esh-util twice.
10661 (eshell-add-input-to-history): Declare.
10662 (eshell-command): Check history module is active before using it.
10663
10664 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10665
10666 2013-05-22 Leo Liu <sdl.web@gmail.com>
10667
10668 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10669
10670 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10671
10672 * autorevert.el (auto-revert-notify-add-watch)
10673 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10674 it indicates changes in file modification time.
10675
10676 2013-05-22 Glenn Morris <rgm@gnu.org>
10677
10678 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10679 Always delete the autoloaded function from the noruntime and
10680 unresolved functions lists.
10681
10682 * allout.el: No need to load epa, epg, overlay when compiling.
10683 (epg-context-set-passphrase-callback, epg-list-keys)
10684 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10685 (epg-key-user-id-list): Declare.
10686
10687 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10688 (viper-set-parsing-style-toggling-macro)
10689 (viper-set-emacs-state-searchstyle-macros):
10690 Use called-interactively-p on Emacs.
10691 (viper-looking-back): Make it an obsolete alias. Update callers.
10692 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10693 Use looking-back rather than viper-looking-back.
10694 (viper-tmp-insert-at-eob, viper-enlarge-region)
10695 (viper-read-string-with-history, viper-register-to-point)
10696 (viper-append-to-register, viper-change-state-to-vi)
10697 (viper-backward-char-carefully, viper-forward-char-carefully)
10698 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10699 (viper-change-state-to-emacs): Declare.
10700 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10701 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10702 * emulation/viper-mous.el: Do not load viper-cmd.
10703 (viper-backward-char-carefully, viper-forward-char-carefully)
10704 (viper-forward-word, viper-adjust-window): Declare.
10705
10706 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10707
10708 * progmodes/idlw-help.el (idlwave-help-fontify):
10709 Use called-interactively-p.
10710
10711 * term/w32console.el (w32-get-console-codepage)
10712 (w32-get-console-output-codepage): Declare.
10713
10714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10715 Remove unnecessary declarations.
10716 (dframe-message): Doc fix.
10717
10718 * info.el (dframe-select-attached-frame, dframe-current-frame):
10719 Declare.
10720
10721 * speedbar.el (speedbar-message): Make it an obsolete alias.
10722 Update all callers.
10723 (speedbar-with-attached-buffer)
10724 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10725 (speedbar-with-writable): Use backquote.
10726 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10727 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10728 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10729 rather than speedbar- aliases.
10730 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10731 (speedbar-make-specialized-keymap, speedbar-insert-button)
10732 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10733 (speedbar-do-function-pointer): Declare.
10734 (rmail-speedbar-button, rmail-speedbar-find-file)
10735 (rmail-speedbar-move-message):
10736 Use dframe-with-attached-buffer rather than speedbar- alias.
10737 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10738 (dframe-message, speedbar-make-specialized-keymap)
10739 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10740 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10741 (speedbar-insert-button, dframe-select-attached-frame)
10742 (dframe-maybee-jump-to-attached-frame)
10743 (speedbar-change-initial-expansion-list)
10744 (speedbar-previously-used-expansion-list-name): Declare.
10745 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10746 Use dframe-message, dframe-with-attached-buffer rather than
10747 speedbar- aliases.
10748 (gud-sentinel): Silence compiler.
10749 * progmodes/vhdl-mode.el (speedbar-refresh)
10750 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10751 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10752 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10753 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10754 (speedbar-file-lists, speedbar-make-tag-line)
10755 (speedbar-line-directory, speedbar-goto-this-file)
10756 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10757 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10758 (speedbar-make-button, speedbar-reset-scanners)
10759 (speedbar-files-item-info, speedbar-line-text)
10760 (speedbar-find-file-in-frame, speedbar-set-timer)
10761 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10762 (speedbar-with-writable): Do not (re)define it.
10763 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10764 rather than speedbar- alias.
10765
10766 2013-05-21 Leo Liu <sdl.web@gmail.com>
10767
10768 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10769 menu items.
10770 (octave-mode): Tweak fill-nobreak-predicate.
10771 (inferior-octave-startup): Check process to avoid infinite loop.
10772 (inferior-octave): Pop to buffer first to show abornmal process
10773 exit information.
10774
10775 2013-05-21 Glenn Morris <rgm@gnu.org>
10776
10777 * printing.el (pr-menu-bar): Define when compiling.
10778
10779 2013-05-21 Leo Liu <sdl.web@gmail.com>
10780
10781 * progmodes/octave.el (octave-auto-fill): Remove.
10782 (octave-indent-new-comment-line): Improve.
10783 (octave-mode): Use auto fill mode through
10784 comment-line-break-function and fill-nobreak-predicate.
10785 (octave-goto-function-definition): Support DEFUN_DLD.
10786 (octave-beginning-of-defun): Small tweak.
10787 (octave-help): Show parent directory.
10788
10789 2013-05-21 Glenn Morris <rgm@gnu.org>
10790
10791 * files.el (dired-unmark):
10792 * progmodes/gud.el (gdb-input): Update declarations.
10793
10794 * calculator.el (electric, ehelp): No need to load when compiling.
10795 (Electric-command-loop, electric-describe-mode): Declare.
10796
10797 * doc-view.el (doc-view-current-converter-processes): Move before use.
10798
10799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10800 Move MODE-set-explicitly definition before use.
10801
10802 * international/mule-diag.el (mule-diag):
10803 Don't use obsolete window-system-version.
10804
10805 * mail/feedmail.el (smtpmail): No need to load when compiling.
10806 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10807
10808 * mail/mail-utils.el (rfc822): No need to load when compiling.
10809 (rfc822-addresses): Autoload it.
10810 (mail-strip-quoted-names): Trivial simplification.
10811
10812 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10813 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10814
10815 * net/snmp-mode.el (tempo): Don't duplicate requires.
10816
10817 * progmodes/prolog.el (info): No need to load when compiling.
10818 (comint): Require before shell requires it.
10819 (Info-goto-node): Autoload it.
10820 (Info-follow-nearest-node): Declare.
10821 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10822
10823 * textmodes/artist.el (picture-mode-exit): Declare.
10824
10825 * textmodes/reftex-parse.el (reftex-parse-from-file):
10826 Trivial rewrite so the compiler can parse it better.
10827
10828 2013-05-20 Leo Liu <sdl.web@gmail.com>
10829
10830 * progmodes/octave.el (octave-help-mode-map)
10831 (octave-help-mode-finish-hook): New variables.
10832 (octave-help-mode, octave-help-mode-finish): New functions.
10833 (octave-help): Use octave-help-mode.
10834
10835 2013-05-20 Glenn Morris <rgm@gnu.org>
10836
10837 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10838
10839 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10840
10841 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10842 start at point, so that expansion starting right after opening
10843 slash in a regexp is recognized.
10844 (ruby-syntax-before-regexp-re): New defvar, extracted from
10845 ruby-syntax-propertize-function. Since the value of this regexp
10846 is looked up at runtime now, we should be able to turn
10847 `ruby-syntax-methods-before-regexp' into a defcustom later.
10848 (ruby-syntax-propertize-function): Split regexp matching into two
10849 parts, for opening and closing slashes. That allows us to skip
10850 over string interpolations and support multiline regexps.
10851 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10852 for them, which calls `ruby-syntax-propertize-expansion'.
10853 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10854 call to `ruby-syntax-propertize-function'.
10855 (ruby-syntax-propertize-expansion): Extracted from
10856 `ruby-syntax-propertize-expansions'. Handles one expansion.
10857 (ruby-syntax-propertize-percent-literal): Leave point right after
10858 the percent symbol, so that the expression expansion rule can
10859 propertize the contents.
10860 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10861 heredoc openers.
10862 (ruby-syntax-propertize-expansions): Remove.
10863
10864 2013-05-18 Juri Linkov <juri@jurta.org>
10865
10866 * man.el (Man-default-man-entry): Remove `-' from the end
10867 of the default value. (Bug#14400)
10868
10869 2013-05-18 Glenn Morris <rgm@gnu.org>
10870
10871 * comint.el (comint-password-prompt-regexp):
10872 Allow "password for XXX" where XXX contains colons (eg https://...).
10873
10874 2013-05-18 Leo Liu <sdl.web@gmail.com>
10875
10876 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10877 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10878 (octave-source-directories): Don't check process.
10879 (octave-source-directories, octave-find-definition): Doc fix.
10880
10881 2013-05-18 Glenn Morris <rgm@gnu.org>
10882
10883 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10884 Remove backspace/delete bindings. (Bug#14392)
10885
10886 * cus-dep.el (custom-make-dependencies): Sort the output.
10887 (custom-versions-load-alist): Convert comment to doc.
10888
10889 2013-05-17 Leo Liu <sdl.web@gmail.com>
10890
10891 * newcomment.el (comment-search-backward): Stricter in finding
10892 comment start. (Bug#14303)
10893
10894 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10895 (octave-comment-start-skip): Properly anchored.
10896
10897 2013-05-17 Leo Liu <sdl.web@gmail.com>
10898
10899 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10900 Clean up when turned off. (Bug#14395)
10901 (smie--highlight-matching-block-overlay): No longer buffer-local.
10902 (smie-highlight-matching-block): Adjust.
10903
10904 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10905
10906 Doc string fix for "nanoseconds" (Bug#14406).
10907 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10908 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10909
10910 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10911
10912 * calc/calc-units.el (math-extract-units): Preserve powers
10913 of units.
10914
10915 2013-05-17 Leo Liu <sdl.web@gmail.com>
10916
10917 * subr.el (delete-consecutive-dups): New function.
10918 * ido.el (ido-set-matches-1): Use it.
10919 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10920 * ido.el (ido-remove-consecutive-dups): Remove.
10921
10922 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10925 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10926 regexp-opt's `words'.
10927
10928 2013-05-16 Leo Liu <sdl.web@gmail.com>
10929
10930 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10931 (smie--highlight-matching-block-overlay)
10932 (smie--highlight-matching-block-lastpos)
10933 (smie--highlight-matching-block-timer): New variables.
10934 (smie-highlight-matching-block): New function.
10935 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10936 (smie-setup): Conditionally enable smie-blink-matching-open.
10937
10938 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10939
10940 Sync with upstream verilog-mode r840.
10941 * progmodes/verilog-mode.el (verilog-mode-version)
10942 (verilog-mode-release-date): Update.
10943 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10944 (verilog-sig-tieoff): Fix string error on
10945 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10946 (verilog-read-decls): Fix parameters confusing
10947 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10948
10949 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10950
10951 * subr.el (reveal-filename): New function.
10952
10953 * loadup.el: Compute Emacs executable versions on MS-Windows,
10954 where executables have the .exe extension. Add a hard link
10955 emacs-XX.YY.ZZ.exe on MS-Windows.
10956
10957 * Makefile.in (XARGS_LIMIT): New variable.
10958 (custom-deps, finder-data, autoloads)
10959 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10960 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10961 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10962 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10963
10964 2013-05-16 Leo Liu <sdl.web@gmail.com>
10965
10966 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10967 (octave-mode-menu, octave-mode-map): Remove its uses.
10968
10969 2013-05-16 Reto Zimmermann <reto@gnu.org>
10970
10971 Sync with upstream vhdl mode v3.34.2.
10972 * progmodes/vhdl-mode.el: Use `push' throughout.
10973 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10974 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10975 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10976 (vhdl-actual-generic-name): New option to derive actual generic name.
10977 (vhdl-port-paste-signals): Replace formal by actual generics.
10978 (vhdl-beautify): New name for old group vhdl-align. Update users.
10979 (vhdl-beautify-options): New option.
10980 (vhdl-last-input-event): New compat alias. Use throughout.
10981 (vhdl-goto-line): Replace user level function `goto-line'.
10982 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10983 vhdl-fix-statement-buffer.
10984 (vhdl-create-mode-menu): Add some entries.
10985 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10986 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10987 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10988 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10989 to force statements on one line.
10990 (vhdl-remove-trailing-spaces-region):
10991 New, split from vhdl-remove-trailing-spaces.
10992 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10993 Respect vhdl-beautify-options.
10994 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10995 (vhdl-update-sensitivity-list): Not add with index if exists without.
10996 Not include array index with signal. Ignore keywords in comments.
10997 (vhdl-get-visible-signals): Regexp tweaks.
10998 (vhdl-template-component-inst): Handle empty library.
10999 (vhdl-template-type): Add template for 'enum' type.
11000 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11001 Use vhdl-replace-string.
11002 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11003 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11004 (vhdl-speedbar-initialize): Update for above name change.
11005 (vhdl-compose-wire-components): Fix in handling of constants.
11006 (vhdl-error-regexp-emacs-alist): New variable.
11007 (vhdl-error-regexp-add-emacs): New function;
11008 adds support for new compile.el (Emacs 22+)
11009 (vhdl-generate-makefile-1): Change target order for single lib. units.
11010 Allow use of absolute file names.
11011
11012 2013-05-16 Leo Liu <sdl.web@gmail.com>
11013
11014 * simple.el (prog-indent-sexp): Indent enclosing defun.
11015
11016 2013-05-15 Glenn Morris <rgm@gnu.org>
11017
11018 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11019 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11020 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11021 (whitespace-highlight): Move to whitespace group.
11022
11023 * comint.el (comint-source):
11024 * pcmpl-linux.el (pcmpl-linux):
11025 * shell.el (shell-faces):
11026 * eshell/esh-opt.el (eshell-opt):
11027 * international/ccl.el (ccl): Remove empty custom groups.
11028
11029 * completion.el (dynamic-completion-mode):
11030 * jit-lock.el (jit-lock-debug-mode):
11031 * minibuffer.el (completion-in-region-mode):
11032 * type-break.el (type-break-mode-line-message-mode)
11033 (type-break-query-mode):
11034 * emulation/tpu-edt.el (tpu-edt-mode):
11035 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11036 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11037 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11038
11039 * term/xterm.el (xterm): Change parent group to terminals.
11040
11041 * master.el (master): Remove empty custom group.
11042 (master-mode): Remove unused :group argument.
11043 * textmodes/refill.el (refill): Remove empty custom group.
11044 (refill-mode): Remove unused :group argument.
11045
11046 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11047
11048 * cus-dep.el: Provide a feature.
11049 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11050 Don't mistakenly ignore files whose basenames match a basename
11051 from preloaded-file-list (eg cedet/ede/simple.el).
11052 Add a fallback method for getting :group.
11053
11054 2013-05-15 Juri Linkov <juri@jurta.org>
11055
11056 * isearch.el (isearch-char-by-name): Rename from
11057 `isearch-insert-char-by-name'. Doc fix.
11058 (isearch-forward): Mention `isearch-char-by-name' in
11059 the docstring. (Bug#13348)
11060
11061 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11062 `exit-minibuffer' instead of
11063 `isearch-nonincremental-exit-minibuffer'.
11064 (isearch-edit-string): Remove mention of
11065 `isearch-nonincremental-exit-minibuffer' from docstring.
11066 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11067 (isearch-forward-exit-minibuffer)
11068 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11069
11070 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * loadup.el: Just use unversioned DOC.
11073
11074 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11075 literals as extending to EOB.
11076 (nxml-last-fontify-end): Remove unused variable.
11077 (nxml-after-change1): Use with-silent-modifications.
11078 (nxml-extend-after-change-region): Simplify.
11079 (nxml-extend-after-change-region1): Remove function.
11080 (nxml-after-change1): Don't adjust for dependent regions.
11081 (nxml-fontify-matcher): Simplify.
11082 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11083 (xmltok-add-dependent): Remove function.
11084 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11085 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11086 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11087 unclosed <[[, <?, comment, and other literals as extending to EOB.
11088 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11089 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11090 Remove functions.
11091 (rng-do-some-validation-1): Don't mark dependent regions.
11092 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11093 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11094 (nxml-clear-dependent-regions): Remove functions.
11095 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11096 (nxml-ensure-scan-up-to-date):
11097 Don't clear&mark dependent regions.
11098
11099 2013-05-15 Leo Liu <sdl.web@gmail.com>
11100
11101 * progmodes/octave.el (octave-goto-function-definition):
11102 Improve and fix callers.
11103
11104 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11105
11106 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11107 the setter (bug#14387).
11108
11109 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11110 surrounding group (bug#14402).
11111
11112 2013-05-14 Juri Linkov <juri@jurta.org>
11113
11114 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11115 (Bug#14390)
11116
11117 2013-05-14 Glenn Morris <rgm@gnu.org>
11118
11119 * progmodes/f90.el (f90-imenu-generic-expression):
11120 Fix typo in 2013-05-08 change. (Bug#14402)
11121
11122 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11123
11124 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11125 Remove signals for which replies are never received.
11126
11127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11128
11129 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11130 (gdb-handler-alist, gdb-handler-number): Remove variables.
11131 (gdb-handler-list): New variable.
11132 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11133 (gdb-pending-handler-p, gdb-handle-reply)
11134 (gdb-remove-all-pending-triggers): New functions.
11135 (gdb-discard-unordered-replies): New defcustom.
11136 (gdb-handler): New defstruct.
11137 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11138 instead of gdb-pending-triggers. Update docstring.
11139 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11140 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11141 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11142 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11143 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11144 (gdb-frame-handler): Pending triggers are now automatically managed.
11145 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11146 Remove argument.
11147 (gdb-input): Automatically handles pending triggers. Update docstring.
11148 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11149 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11150 Update comments.
11151 (gdb-done-or-error): Now use gdb-handle-reply.
11152
11153 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11154
11155 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11156 gdb-debug-log.
11157
11158 2013-05-14 Glenn Morris <rgm@gnu.org>
11159
11160 * subr.el (user-emacs-directory-warning): New option.
11161 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11162
11163 2013-05-14 Leo Liu <sdl.web@gmail.com>
11164
11165 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11166 during redisplay.
11167 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11168 (octave-font-lock-texinfo-comment): Fix invalid search bound
11169 error: wrong side of point.
11170
11171 2013-05-14 Glenn Morris <rgm@gnu.org>
11172
11173 * progmodes/flymake.el (flymake-xml-program): New option.
11174 (flymake-xml-init): Use it.
11175
11176 * term/xterm.el: Provide a feature.
11177
11178 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11179
11180 2013-05-13 Glenn Morris <rgm@gnu.org>
11181
11182 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11183 Add compat aliases as a hack workaround. (Bug#14384)
11184
11185 2013-05-13 Leo Liu <sdl.web@gmail.com>
11186
11187 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11188 ###, and %!.
11189 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11190 C-M-q.
11191 (octave-comment-start-skip): Include %!.
11192 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11193
11194 2013-05-12 Leo Liu <sdl.web@gmail.com>
11195
11196 * progmodes/octave.el (inferior-octave-startup): Store the value
11197 of __octave_srcdir__ for octave-source-directories.
11198 (inferior-octave-check-process): New function refactored out of
11199 inferior-octave-send-list-and-digest.
11200 (octave-source-directories)
11201 (octave-find-definition-filename-function): New variables.
11202 (octave-source-directories)
11203 (octave-find-definition-default-filename): New functions.
11204 (octave-find-definition): Improve to find functions implemented in C++.
11205
11206 2013-05-12 Glenn Morris <rgm@gnu.org>
11207
11208 * calendar/diary-lib.el (diary-outlook-format-1):
11209 Don't include dayname in the output. (Bug#14349)
11210
11211 2013-05-11 Glenn Morris <rgm@gnu.org>
11212
11213 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11214
11215 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11216 Treat cc-provide like provide.
11217
11218 2013-05-11 Kevin Ryde <user42@zip.com.au>
11219
11220 * cus-dep.el (custom-make-dependencies):
11221 Use generated-autoload-load-name for the sake of files such
11222 such cedet/semantic/bovine/c.el, where the base file name
11223 is not in load-path. (Bug#5277)
11224
11225 2013-05-11 Glenn Morris <rgm@gnu.org>
11226
11227 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11228 Provide features.
11229
11230 2013-05-11 Leo Liu <sdl.web@gmail.com>
11231
11232 * progmodes/octave.el (octave-indent-comment): Improve.
11233 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11234 (octave-eldoc-function-signatures, octave-eldoc-function):
11235 New functions.
11236 (octave-mode, inferior-octave-mode): Add eldoc support.
11237
11238 2013-05-11 Richard Stallman <rms@gnu.org>
11239
11240 * epa.el (epa-decrypt-file): Take output file name as argument
11241 and read it using `interactive'.
11242
11243 2013-05-11 Leo Liu <sdl.web@gmail.com>
11244
11245 * progmodes/octave.el (octave-beginning-of-line)
11246 (octave-end-of-line): Check before using up-list because it jumps
11247 out of more syntactic contructs since moving to smie.
11248 (octave-indent-comment): New function.
11249 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11250 (octave-begin-keywords, octave-end-keywords)
11251 (octave-reserved-words, octave-smie-bnf-table)
11252 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11253
11254 2013-05-11 Glenn Morris <rgm@gnu.org>
11255
11256 * faces.el (internal-face-x-get-resource):
11257 * frame.el (ns-display-monitor-attributes-list):
11258 * calc/calc-aent.el (math-to-radians-2):
11259 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11260 Fix declarations.
11261
11262 * calc/calc-menu.el: Make it loadable in isolation.
11263
11264 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11265 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11266 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11267 (eudc-bbdb-query-internal): Require 'bbdb.
11268
11269 * lpr.el (lpr-headers-switches):
11270 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11271
11272 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11273
11274 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11275
11276 * term.el (term-set-escape-char): Make it idempotent.
11277
11278 2013-05-10 Leo Liu <sdl.web@gmail.com>
11279
11280 * progmodes/octave.el (inferior-octave-completion-table):
11281 No longer a function and all uses changed. Use cache to speed up
11282 completion due to bug#11906.
11283 (octave-beginning-of-defun): Re-write to be more general.
11284
11285 2013-05-10 Glenn Morris <rgm@gnu.org>
11286
11287 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11288
11289 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * comint.el (comint-redirect-send-command-to-process): Use :around
11292 rather than :override for comint-redirect-filter.
11293 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11294 Call it instead of comint-redirect-original-filter-function (which
11295 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11296
11297 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11298
11299 * frame.el (display-monitor-attributes-list): Add NS case.
11300 (ns-display-monitor-attributes-list): Declare.
11301
11302 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11303
11304 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11305
11306 2013-05-09 Glenn Morris <rgm@gnu.org>
11307
11308 * international/fontset.el (vertical-centering-font-regexp):
11309 Set standard-value.
11310
11311 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11312
11313 * bookmark.el (bookmark-search-delay):
11314 * cus-start.el (vertical-centering-font-regexp):
11315 * ps-mule.el (ps-mule-font-info-database-default):
11316 * ps-print.el (ps-default-fg, ps-default-bg):
11317 * type-break.el (type-break-good-break-interval):
11318 * whitespace.el (whitespace-indentation-regexp)
11319 (whitespace-space-after-tab-regexp):
11320 * emacs-lisp/testcover.el (testcover-1value-functions)
11321 (testcover-noreturn-functions, testcover-progn-functions)
11322 (testcover-prog1-functions):
11323 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11324 * eshell/em-glob.el (eshell-glob-translate-alist):
11325 * play/tetris.el (tetris-tty-colors):
11326 * progmodes/cpp.el (cpp-face-default-list):
11327 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11328 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11329 (idlwave-help-browser-generic-args):
11330 * progmodes/make-mode.el (makefile-special-targets-list):
11331 * progmodes/python.el (python-shell-virtualenv-path):
11332 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11333 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11334 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11335 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11336 * textmodes/reftex-vars.el (reftex-format-label-function):
11337 * textmodes/remember.el (remember-diary-file): Fix custom types.
11338
11339 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11340 Add :version.
11341
11342 2013-05-09 Leo Liu <sdl.web@gmail.com>
11343
11344 * progmodes/octave.el (inferior-octave-completion-at-point):
11345 Restore file completion. (Bug#14300)
11346 (inferior-octave-startup): Fix incorrect highlighting for the
11347 first prompt.
11348
11349 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * progmodes/ruby-mode.el: First cut at SMIE support.
11352 (ruby-use-smie): New var.
11353 (ruby-smie-grammar): New constant.
11354 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11355 (ruby-smie--forward-token, ruby-smie--backward-token)
11356 (ruby-smie-rules): New functions.
11357 (ruby-mode-variables): Setup SMIE if applicable.
11358
11359 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11360
11361 * simple.el (line-move-visual): Signal beginning/end of buffer
11362 only if vertical-motion moved less than it was requested. Avoids
11363 silly incorrect error messages when there are display strings with
11364 multiple newlines at EOL.
11365
11366 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11369 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11370 (prolog-char-quote-workaround):
11371 * progmodes/cperl-mode.el (cperl-under-as-char):
11372 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11373 Mark as obsolete.
11374 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11375 their declaration.
11376 (vhdl-mode-syntax-table-init): Remove.
11377
11378 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11379 last change.
11380
11381 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11382 syntax for "_".
11383 (ld-script-font-lock-keywords):
11384 Change regexps to use things like \_< and \_>.
11385
11386 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11387 Change all regexps to use things like \_< and \_>.
11388
11389 * progmodes/autoconf.el (autoconf-definition-regexp)
11390 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11391 Handle a _ with symbol syntax.
11392 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11393
11394 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11395 Consolidate declaration.
11396 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11397 the declaration.
11398 (ada-create-syntax-table): Remove.
11399 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11400 already has the right syntax nowadays.
11401 (ada-goto-next-word): Don't change the syntax of "_".
11402
11403 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11404 with-wrapper-hook.
11405
11406 2013-05-08 Sam Steingold <sds@gnu.org>
11407
11408 * thingatpt.el (thing-at-point): Accept optional second argument
11409 NO-PROPERTIES to strip the text properties from the return value.
11410 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11411 to `thing-at-point' instead of stripping the properties ourselves.
11412 Also, when `thing-at-point' fails to find a url, prepend "http://"
11413 to the filename at point on the assumption that the user is
11414 pointing at something like gnu.org/gnu.
11415
11416 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11417
11418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11419 * faces.el (crm-separator):
11420 Silence byte-compiler.
11421
11422 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11423 (tool-bar-map): Remove unneeded defvars.
11424
11425 2013-05-08 Leo Liu <sdl.web@gmail.com>
11426
11427 Re-work a fix for bug#10994 based on Le Wang's patch.
11428 * ido.el (ido-remove-consecutive-dups): New helper.
11429 (ido-completing-read): Use it.
11430 (ido-chop): Revert fix for bug#10994.
11431
11432 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11433
11434 * cus-edit.el (custom-save-variables):
11435 Pretty-print long values. (Bug#14187)
11436
11437 2013-05-08 Glenn Morris <rgm@gnu.org>
11438
11439 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11440 (m4-mode-syntax-table): Init in the defvar.
11441 (m4-mode-abbrev-table): Let define-derived-mode define it.
11442
11443 2013-05-08 Tom Tromey <tromey@redhat.com>
11444
11445 * progmodes/m4-mode.el (m4-mode-syntax-table):
11446 Do not treat "_" as word constituent. (Bug#14167)
11447
11448 2013-05-07 Glenn Morris <rgm@gnu.org>
11449
11450 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11451 Remove explicit eshell-isearch-cancel-map.
11452
11453 * progmodes/f90.el (f90-smart-end-names): New option.
11454 (f90-smart-end): Doc fix.
11455 (f90-end-block-optional-name): New constant.
11456 (f90-block-match): Respect f90-smart-end-names.
11457
11458 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11461 about implicit semi-colons (bug#14218).
11462
11463 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11464
11465 * frame.el (display-monitor-attributes-list)
11466 (frame-monitor-attributes): New functions.
11467
11468 2013-05-06 Leo Liu <sdl.web@gmail.com>
11469
11470 * progmodes/octave.el (octave-syntax-propertize-function): Change
11471 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11472 (octave-font-lock-keywords): Use octave-operator-regexp.
11473 (octave-completion-at-point): Rename from
11474 octave-completion-at-point-function.
11475 (inferior-octave-directory-tracker): Robustify.
11476 (octave-text-functions): Remove and fix its uses. No such things
11477 any more.
11478
11479 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/trace.el (trace--display-buffer): New function.
11482 (trace-make-advice): Use it.
11483
11484 2013-05-06 Juri Linkov <juri@jurta.org>
11485
11486 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11487 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11488 Doc fix.
11489 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11490 in the help string. (Bug#12985)
11491
11492 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11493
11494 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11495
11496 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * progmodes/perl-mode.el: Add support for here documents.
11499 (perl-syntax-propertize-function): Match here-doc markers.
11500 (perl-syntax-propertize-special-constructs): Find their end.
11501 (perl-imenu-generic-expression): Use [:alnum:].
11502
11503 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11504 (advice--add-function): Refresh the advice if already present
11505 (bug#14317).
11506
11507 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11508
11509 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11510
11511 2013-05-06 Glenn Morris <rgm@gnu.org>
11512
11513 * w32-fns.el (w32-charset-info-alist): Declare.
11514
11515 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11516 of its defcustom properties.
11517 (eshell-cmpl-initialize): No need to load pcomplete.
11518
11519 * generic-x.el: No need to require comint when compiling.
11520
11521 * net/eudc-export.el: Make it loadable without bbdb.
11522 (top-level): Use require rather than load-library.
11523 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11524 (eudc-batch-export-records-to-bbdb)
11525 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11526 Require bbdb.
11527
11528 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11531 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11532 some tweaks, instead.
11533
11534 2013-05-05 Leo Liu <sdl.web@gmail.com>
11535
11536 * progmodes/octave.el (octave-font-lock-keywords)
11537 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11538 (inferior-octave-send-list-and-digest): Improve error message.
11539 (octave-mode, inferior-octave-mode): Use setq-local.
11540 (octave-help): Set info-lookup-mode.
11541
11542 2013-05-05 Richard Stallman <rms@gnu.org>
11543
11544 * vc/compare-w.el (compare-windows-whitespace):
11545 Treat no-break space as whitespace.
11546
11547 * mail/rmailsum.el (rmail-summary-rmail-update):
11548 Detect empty summary and don't change selected message.
11549 (rmail-summary-goto-msg): Likewise.
11550
11551 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11552 Doc fixes, rename args.
11553
11554 2013-05-05 Alan Mackenzie <acm@muc.de>
11555
11556 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11557
11558 2013-05-05 Juri Linkov <juri@jurta.org>
11559
11560 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11561 to not add the length of the summary segment to the return value.
11562 (Bug#14125)
11563
11564 2013-05-05 Leo Liu <sdl.web@gmail.com>
11565
11566 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11567 (inferior-octave-output-filter): Remove.
11568 (octave-send-region, inferior-octave-startup): Fix callers.
11569 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11570 (octave-binary-file-extensions): New user variable.
11571 (octave-find-definition): Confirm if opening binary files.
11572 (octave-help-file): Use octave-find-definition to get the binary
11573 confirmation.
11574 (octave-help): Adjust for octave-help-file change.
11575
11576 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11579 Merge the two entries that handle function definitions.
11580 (pascal--syntax-propertize): New const.
11581 (pascal-mode): Use it. Use setq-local.
11582
11583 2013-05-04 Glenn Morris <rgm@gnu.org>
11584
11585 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11586 (diary-from-outlook): Respect diary-from-outlook-function.
11587
11588 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11591 Move the declaration from C.
11592 (read-minibuffer, eval-minibuffer): Move from C.
11593 (completion-setup-function): Avoid minibuffer-completion-contents.
11594
11595 2013-05-03 Leo Liu <sdl.web@gmail.com>
11596
11597 * progmodes/octave.el (octave-font-lock-keywords): Do not
11598 dehighlight 'end' in comments or strings.
11599 (octave-completing-read, octave-goto-function-definition):
11600 New helpers.
11601 (octave-help-buffer): New user variable.
11602 (octave-help-file, octave-help-function): New button types.
11603 (octave-help): New command and bind it to C-h ;.
11604 (octave-find-definition): New command and bind it to M-.
11605 (user-error): Alias to error if not defined.
11606
11607 2013-05-02 Leo Liu <sdl.web@gmail.com>
11608
11609 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11610 for \. (bug#14332)
11611 (octave-font-lock-keywords): Include [ and {.
11612
11613 2013-05-02 Leo Liu <sdl.web@gmail.com>
11614
11615 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11616 (inferior-octave): Remove calling comint-mode and return the buffer.
11617 (inferior-octave-startup): Cosmetic changes.
11618
11619 2013-05-02 Leo Liu <sdl.web@gmail.com>
11620
11621 * progmodes/octave.el (octave-syntax-propertize-function):
11622 Include the case when ' is at line beginning. (Bug#14336)
11623
11624 2013-05-02 Glenn Morris <rgm@gnu.org>
11625
11626 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11627 * desktop.el (vc-dir-mode): Just autoload it here.
11628
11629 2013-05-02 Alan Mackenzie <acm@muc.de>
11630
11631 Eliminate variable c-standard-font-lock-fontify-region-function.
11632 * progmodes/cc-mode.el
11633 (c-standard-font-lock-fontify-region-function): Remove.
11634 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11635
11636 2013-05-01 Leo Liu <sdl.web@gmail.com>
11637
11638 * progmodes/octave.el: Compatible with older emacs-24 releases.
11639 (inferior-octave-has-built-in-variables): Remove. Built-in
11640 variables were removed from Octave in 2007.
11641 (inferior-octave-startup): Fix uses.
11642 (comint-line-beginning-position): Remove compatibility code for
11643 emacs 21.
11644
11645 2013-05-01 Juri Linkov <juri@jurta.org>
11646
11647 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11648
11649 2013-05-01 Juri Linkov <juri@jurta.org>
11650
11651 * comint.el (comint-previous-matching-input): Don't print message
11652 "History item: %d" when `isearch-mode' is active.
11653 (comint-history-isearch-message): Print message "History item: %d"
11654 when `comint-input-ring-index' is not empty and this function is
11655 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11656
11657 2013-05-01 Leo Liu <sdl.web@gmail.com>
11658
11659 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11660 definitions. Use completion-at-point to insert keywords.
11661 (octave-abbrev-start): Remove.
11662 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11663
11664 2013-04-30 Leo Liu <sdl.web@gmail.com>
11665
11666 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11667 change.
11668
11669 2013-04-30 Alan Mackenzie <acm@muc.de>
11670
11671 Handle arbitrarily long C++ member initialisation lists.
11672 * progmodes/cc-engine.el (c-back-over-member-initializers):
11673 new function.
11674 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11675 (most) member init lists.
11676
11677 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11678
11679 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11680 variable.
11681
11682 2013-04-30 Leo Liu <sdl.web@gmail.com>
11683
11684 * progmodes/octave.el (octave-variables): Remove. No builtin
11685 variables any more. All converted to functions.
11686 (octave-font-lock-keywords, octave-completion-at-point-function):
11687 Fix uses.
11688 (octave-font-lock-texinfo-comment): New user variable.
11689 (octave-texinfo-font-lock-keywords): New variable for texinfo
11690 comment block.
11691 (octave-function-comment-block): New face.
11692 (octave-font-lock-texinfo-comment): New function.
11693 (octave-mode): Font lock texinfo comment block.
11694
11695 2013-04-29 Leo Liu <sdl.web@gmail.com>
11696
11697 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11698 indexing expression.
11699 (octave-continuation-string): Do not use \.
11700 (inferior-octave-complete-impossible): Remove.
11701 (inferior-octave-completion-table)
11702 (inferior-octave-completion-at-point): Remove its uses.
11703 (inferior-octave-startup): completion_matches was introduced to
11704 Octave in 1996 so safe to assume it.
11705 (octave-function-file-comment): Improve to follow how Octave does it.
11706 (octave-update-function-file-comment): Tweak.
11707
11708 2013-04-29 Leo Liu <sdl.web@gmail.com>
11709
11710 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11711 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11712 (octave-function-file-comment): Fix typo.
11713 (octave-sync-function-file-names): Use read-char-choice.
11714
11715 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11716
11717 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11718 to t for the less important warnings.
11719
11720 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11721
11722 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11723
11724 2013-04-27 Glenn Morris <rgm@gnu.org>
11725
11726 * vc/log-view.el (log-view-current-entry):
11727 Treat "---" separator lines as part of the following rev. (Bug#14169)
11728
11729 2013-04-27 Juri Linkov <juri@jurta.org>
11730
11731 * subr.el (read-number): Doc fix about using it by interactive
11732 code letter `n'. (Bug#14254)
11733
11734 2013-04-27 Juri Linkov <juri@jurta.org>
11735
11736 * desktop.el (desktop-auto-save-timeout): New option.
11737 (desktop-file-checksum): New variable.
11738 (desktop-save): Add optional arg `auto-save' and don't auto-save
11739 if nothing changed.
11740 (desktop-auto-save-timer): New variable.
11741 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11742 (after-init-hook): Call `desktop-auto-save-set-timer'.
11743 Suggested by Reuben Thomas <rrt@sc3d.org> in
11744 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11745
11746 2013-04-27 Leo Liu <sdl.web@gmail.com>
11747
11748 * progmodes/octave.el (octave-function-file-p)
11749 (octave-skip-comment-forward, octave-function-file-comment)
11750 (octave-update-function-file-comment): New functions.
11751 (octave-mode-map): Bind C-c ; to
11752 octave-update-function-file-comment.
11753 (octave-mode-menu): Add octave-update-function-file-comment.
11754 (octave-mode, inferior-octave-mode): Fix doc-string.
11755 (octave-insert-defun): Conform to Octave's coding convention.
11756 (Bug#14285)
11757
11758 * files.el (basic-save-buffer): Don't let errors in
11759 before-save-hook prevent saving buffer.
11760
11761 2013-04-20 Roland Winkler <winkler@gnu.org>
11762
11763 * faces.el (read-face-name): Use completing-read if arg multiple
11764 is nil.
11765
11766 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11767
11768 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11769 displayed, move point to after the totals line.
11770 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11771 for the details.
11772
11773 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11776 Add current dir to the load-path.
11777 (package-generate-autoloads): Don't rely on
11778 autoload-ensure-default-file.
11779
11780 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11781
11782 * textmodes/remember.el (remember-store-in-files): Document that
11783 the file name format is passed to `format-time-string'.
11784
11785 2013-04-26 Leo Liu <sdl.web@gmail.com>
11786
11787 * progmodes/octave.el (octave-sync-function-file-names): New function.
11788 (octave-mode): Use it in before-save-hook.
11789
11790 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11791
11792 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11793 (bug#14274).
11794
11795 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11796 \n and comment, even if it's not an implicit ; (bug#14218).
11797
11798 2013-04-26 Glenn Morris <rgm@gnu.org>
11799
11800 * subr.el (read-number): Once more use `read' rather than
11801 `string-to-number', to trap non-numeric input. (Bug#14254)
11802
11803 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11804
11805 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11806 Use `syntax-multiline' text property consistently instead of
11807 `font-lock-multiline'. (Bug#14237)
11808
11809 2013-04-26 Glenn Morris <rgm@gnu.org>
11810
11811 * emacs-lisp/shadow.el (list-load-path-shadows):
11812 No longer necessary to check for duplicate simple.el, since
11813 2012-07-07 change to init_lread to not include installation lisp
11814 directories in load-path when running uninstalled. (Bug#14270)
11815
11816 2013-04-26 Leo Liu <sdl.web@gmail.com>
11817
11818 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11819 (octave-mode, inferior-octave-mode): Use setq-local.
11820 (octave-not-in-string-or-comment-p): Rename to
11821 octave-in-string-or-comment-p.
11822 (octave-in-comment-p, octave-in-string-p)
11823 (octave-in-string-or-comment-p): Replace defsubst with defun.
11824
11825 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11826
11827 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11828
11829 2013-04-25 Bastien Guerry <bzg@gnu.org>
11830
11831 * textmodes/remember.el (remember-data-directory)
11832 (remember-directory-file-name-format): Fix custom types.
11833
11834 2013-04-25 Leo Liu <sdl.web@gmail.com>
11835
11836 * progmodes/octave.el (octave-completion-at-point-function):
11837 Make use of inferior octave process.
11838 (octave-initialize-completions): Remove.
11839 (inferior-octave-completion-table): New function.
11840 (inferior-octave-completion-at-point): Use it.
11841 (octave-completion-alist): Remove.
11842
11843 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11846 (opascal-mode-syntax-table): New var.
11847 (opascal-literal-kind, opascal-is-literal-end)
11848 (opascal-literal-token-at): Rewrite.
11849 (opascal--literal-start-re, opascal-font-lock-keywords)
11850 (opascal--syntax-propertize): New constants.
11851 (opascal-font-lock-defaults): Adjust.
11852 (opascal-mode): Use them. Set comment-<foo> variables as well.
11853 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11854 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11855 (delphi-other-face, opascal-other-face): Remove face variables.
11856 (opascal-save-state): Remove macro.
11857 (opascal-fontifying-progress-step): Remove constant.
11858 (opascal--ignore-changes): Remove var.
11859 (opascal-set-token-property, opascal-parse-next-literal)
11860 (opascal-is-stable-literal, opascal-complete-literal)
11861 (opascal-is-literal-start, opascal-face-of)
11862 (opascal-parse-region, opascal-parse-region-until-stable)
11863 (opascal-fontify-region, opascal-after-change)
11864 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11865 (opascal-debug-parse-region, opascal-debug-parse-window)
11866 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11867 (opascal-debug-fontify-buffer): Remove.
11868 (opascal-debug-mode-map): Adjust accordingly.
11869
11870 2013-04-25 Leo Liu <sdl.web@gmail.com>
11871
11872 Merge octave-mod.el and octave-inf.el into octave.el with some
11873 cleanups.
11874 * progmodes/octave.el: New file renamed from octave-mod.el.
11875 * progmodes/octave-inf.el: Merged into octave.el.
11876 * progmodes/octave-mod.el: Renamed to octave.el.
11877
11878 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11879
11880 * textmodes/reftex-vars.el
11881 (reftex-label-ignored-macros-and-environments): New defcustom.
11882
11883 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11884
11885 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11888 (smie-indent-keyword): Improve the check to ensure that the next
11889 comment is really on the same line.
11890 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11891
11892 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11893 semi-colons if the line is not otherwise empty (bug#14218).
11894
11895 2013-04-25 Glenn Morris <rgm@gnu.org>
11896
11897 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11898
11899 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * progmodes/opascal.el (opascal-set-token-property): Rename from
11902 opascal-set-text-properties and only set `token' (bug#14134).
11903 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11904 (opascal-literal-text-properties): Remove.
11905 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11906 Adjust callers.
11907
11908 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11909
11910 * textmodes/remember.el (remember-handler-functions): Add an
11911 option for a new handler `remember-store-in-files'.
11912 (remember-data-directory, remember-directory-file-name-format):
11913 New options.
11914 (remember-store-in-files): New function to store remember notes
11915 as separate files within a directory.
11916
11917 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11918
11919 * progmodes/compile.el (compilation-next-error-function):
11920 Pass "formats" to compilation-find-file (bug#11777).
11921
11922 2013-04-24 Glenn Morris <rgm@gnu.org>
11923
11924 * vc/vc-bzr.el (vc-bzr-print-log):
11925 * vc/vc-hg.el (vc-hg-print-log):
11926 * vc/vc-svn.el (vc-svn-print-log):
11927 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11928
11929 * vc/vc-bzr.el (vc-bzr-print-log):
11930 * vc/vc-cvs.el (vc-cvs-print-log):
11931 * vc/vc-git.el (vc-git-print-log):
11932 * vc/vc-hg.el (vc-hg-print-log):
11933 * vc/vc-mtn.el (vc-mtn-print-log):
11934 * vc/vc-rcs.el (vc-rcs-print-log):
11935 * vc/vc-sccs.el (vc-sccs-print-log):
11936 * vc/vc-svn.el (vc-svn-print-log):
11937 * vc/vc.el (vc-print-log-internal): Doc fixes.
11938
11939 2013-04-23 Glenn Morris <rgm@gnu.org>
11940
11941 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11942 Remove venerable code attempting to avoid substitute-command-keys.
11943
11944 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11945
11946 * textmodes/reftex-vars.el (reftex-label-regexps):
11947 Call `reftex-compile-variables' after changes to this variable.
11948
11949 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11952 Use lexical-binding.
11953 (jit-lock-force-redisplay): Use markers, check buffer's continued
11954 existence and beware narrowed buffers.
11955 (jit-lock-fontify-now): Adjust call accordingly.
11956
11957 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11960 to avoid misleading the user.
11961
11962 2013-04-22 Leo Liu <sdl.web@gmail.com>
11963
11964 * info-look.el: Prefer latex2e.info. (Bug#14240)
11965
11966 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11967
11968 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11969
11970 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11971 * net/tramp.el (tramp-call-process): ... here.
11972 (tramp-set-completion-function, tramp-parse-putty):
11973 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11974 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11975 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11976 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11977 (tramp-call-local-coding-command): Use `tramp-call-process'
11978 instead of `tramp-compat-call-process'.
11979
11980 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11981 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11982 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11983 (tramp-find-inline-compress): Improve traces.
11984 (tramp-maybe-send-script): Check for Perl binary.
11985 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11986
11987 2013-04-22 Daiki Ueno <ueno@gnu.org>
11988
11989 * epg.el (epg-context-pinentry-mode): New function.
11990 (epg-context-set-pinentry-mode): New function.
11991 (epg--start): Pass --pinentry-mode option to gpg command.
11992
11993 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11994
11995 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11996 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11997 `completion-at-point'. (Bug#13774)
11998
11999 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12000 default key binding for `describe-distribution' has been moved to
12001 `C-h C-o'. (Bug#13970)
12002
12003 2013-04-21 Glenn Morris <rgm@gnu.org>
12004
12005 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12006 Add doc strings.
12007 (vc-print-log): Clarify interactive prompt.
12008
12009 2013-04-20 Glenn Morris <rgm@gnu.org>
12010
12011 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12012 No longer include timestamp etc information.
12013
12014 2013-04-20 Roland Winkler <winkler@gnu.org>
12015
12016 * faces.el (read-face-name): Bug fix, return just one face if arg
12017 multiple is nil. (Bug#14209)
12018
12019 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12022 (remove-function): Autoload.
12023
12024 * comint.el (comint-redirect-original-filter-function): Remove.
12025 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12026 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12027 (vc-cvs-annotate-command):
12028 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12029 * progmodes/prolog.el (prolog-consult-compile):
12030 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12031 Use add/remove-function instead.
12032 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12033 (gud-tooltip-process-output, gud-tooltip-tips):
12034 Use add/remove-function instead.
12035 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12036 (scheme-interaction-mode, exit-scheme-interaction-mode):
12037 Use add/remove-function instead.
12038
12039 * vc/vc-dispatcher.el: Use lexical-binding.
12040 (vc--process-sentinel): Rename from vc-process-sentinel.
12041 Change last arg to be the code to run. Don't use vc-previous-sentinel
12042 and vc-sentinel-commands any more.
12043 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12044 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12045
12046 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12047
12048 * progmodes/sh-script.el (sh-imenu-generic-expression):
12049 Handle function names with a single character. (Bug#14111)
12050
12051 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12052
12053 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12054 for subroutines defined in an eval (bug#14182).
12055
12056 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12057
12058 * bookmark.el (bookmark-completing-read): Improve handling of empty
12059 string (bug#14176).
12060
12061 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12064
12065 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12066
12067 New faster Imenu implementation (bug#14058).
12068 * progmodes/python.el:
12069 (python-imenu-prev-index-position):
12070 (python-imenu-format-item-label-function)
12071 (python-imenu-format-parent-item-label-function)
12072 (python-imenu-format-parent-item-jump-label-function):
12073 New vars.
12074 (python-imenu-format-item-label)
12075 (python-imenu-format-parent-item-label)
12076 (python-imenu-format-parent-item-jump-label)
12077 (python-imenu--put-parent, python-imenu--build-tree)
12078 (python-imenu-create-index, python-imenu-create-flat-index)
12079 (python-util-popn): New functions.
12080 (python-mode): Set imenu-create-index-function to
12081 python-imenu-create-index.
12082
12083 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * winner.el (winner-active-region): Use region-active-p, activate-mark
12086 and deactivate-mark (bug#14225).
12087
12088 * simple.el (deactivate-mark): Don't inline it.
12089
12090 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12091
12092 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12093
12094 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12095
12096 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12097 file extensions from the archive-mode entry in order to prefer
12098 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12099
12100 2013-04-18 Leo Liu <sdl.web@gmail.com>
12101
12102 * bindings.el (help-event-list): Add ?\?.
12103
12104 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * subr.el (with-wrapper-hook): Declare obsolete.
12107 * simple.el (filter-buffer-substring-function): New hook.
12108 (filter-buffer-substring): Use it.
12109 (filter-buffer-substring-functions): Mark obsolete.
12110 * minibuffer.el (completion-in-region-function): New hook.
12111 (completion-in-region): Use it.
12112 (completion-in-region-functions): Mark obsolete.
12113 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12114 * abbrev.el (abbrev-expand-function): New hook.
12115 (expand-abbrev): Use it.
12116 (abbrev-expand-functions): Mark obsolete.
12117 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12118 and :filter-return.
12119
12120 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12121
12122 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12123 and do not care about match data.
12124
12125 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12128 completion tables when completing error conditions and
12129 `declare' arguments.
12130 (lisp-complete-symbol, field-complete): Mark as obsolete.
12131 (check-parens): Unmatched parens are user errors.
12132 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12133
12134 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12135
12136 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12137 command changed buffer (ie. `flyspell-pre-buffer' is not current
12138 buffer), which prevents making decisions based on invalid value of
12139 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12140 cause an error when `flyspell-pre-point' was nil after switching
12141 buffers.
12142 (flyspell-post-command-hook): No longer needs to change buffers when
12143 checking pre-word. While at it remove unnecessary progn.
12144
12145 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12146
12147 * textmodes/ispell.el (ispell-add-per-file-word-list):
12148 Fix `flyspell-correct-word-before-point' error when accepting
12149 words and `coment-padding' is an integer by using
12150 `comment-normalize-vars' (Bug #14214).
12151
12152 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12153
12154 New defun movement commands.
12155 * progmodes/python.el (python-nav--syntactically)
12156 (python-nav--forward-defun, python-nav-backward-defun)
12157 (python-nav-forward-defun): New functions.
12158
12159 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12160
12161 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12162 (python-syntax-context): Use named compiler-macro for backwards
12163 compatibility with Emacs 24.x.
12164
12165 2013-04-17 Leo Liu <sdl.web@gmail.com>
12166
12167 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12168 octave-hide-process-buffer.
12169
12170 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12173 (bug#14216).
12174
12175 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12176
12177 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12178 Fix adjustment of offset when receiving incomplete responses from GDB
12179 (bug#14129).
12180
12181 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12184 python-mode-abbrev-table.
12185 (python-skeleton-define): Adjust accordingly.
12186 (python-mode-abbrev-table): New table that inherits from it so that
12187 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12188
12189 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12190 (abbrev-symbol): Use it.
12191 (abbrev--before-point): Use it since we already handle inheritance.
12192
12193 2013-04-16 Leo Liu <sdl.web@gmail.com>
12194
12195 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12196 binding to info-lookup-symbol.
12197
12198 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12199
12200 * minibuffer.el (completion--twq-all):
12201 * term/ns-win.el (ns-initialize-window-system):
12202 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12203
12204 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12207 global bindings.
12208
12209 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12210
12211 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12212
12213 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12214 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12215 to nil.
12216 (ruby-end-of-defun): Remove the unused arg, change the docstring
12217 to reflect that this function is only used as the value of
12218 `end-of-defun-function'.
12219 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12220 to reflect an earlier change that beginning/end-of-defun functions
12221 jump between methods in a class definition, as well as top-level
12222 functions.
12223
12224 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * minibuffer.el (minibuffer-complete): Don't just scroll
12227 a *Completions* that's been iconified.
12228 (minibuffer-force-complete): Make sure repetitions do cycle when going
12229 through completion-in-region -> minibuffer-complete.
12230
12231 2013-04-15 Alan Mackenzie <acm@muc.de>
12232
12233 Correct the placement of c-cpp-delimiters when there're #s not at
12234 col 0.
12235
12236 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12237 place a submatch around the #.
12238 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12239 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12240 on the #, not BOL.
12241
12242 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12245 (advice--member-p): New arg `name'.
12246 (advice--add-function, advice-member-p): Use it (bug#14202).
12247
12248 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12249
12250 Reformulate java imenu-generic-expression.
12251 The old expression contained ill formed regexps.
12252
12253 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12254 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12255 (cc-imenu-java-method-arg-regexp): New defconsts.
12256 (cc-imenu-java-build-type-args-regex): New defun.
12257 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12258 handling of spaces in the regexp.
12259
12260 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12261
12262 * textmodes/ispell.el (ispell-command-loop): Remove
12263 flyspell highlight of a word when ispell accepts it (bug #14178).
12264
12265 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12266
12267 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12268 uses code from the previous `ange-ftp-run-real-handler'.
12269 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12270 only in case that function exist. This is needed for proper
12271 unloading of Tramp.
12272
12273 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12274
12275 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12276
12277 * textmodes/reftex.el (reftex-compile-variables): Use it.
12278
12279 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * files.el (normal-mode): Only use default major-mode if no other mode
12282 was specified.
12283
12284 * emacs-lisp/trace.el (trace-values): New function.
12285
12286 * files.el: Allow : in local variables (bug#14089).
12287 (hack-local-variable-regexp): New var.
12288 (hack-local-variables-prop-line, hack-local-variables): Use it.
12289
12290 2013-04-13 Roland Winkler <winkler@gnu.org>
12291
12292 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12293 data before it gets modified by bibtex-beginning-of-entry.
12294
12295 2013-04-13 Roland Winkler <winkler@gnu.org>
12296
12297 * textmodes/bibtex.el (bibtex-url): Doc fix.
12298
12299 2013-04-13 Roland Winkler <winkler@gnu.org>
12300
12301 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12302 does not visit a BibTeX file, exclude it from the list of buffers
12303 returned by bibtex-initialize.
12304
12305 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12306
12307 * window.el (split-window): Remove interactive form, since as a
12308 command this function is a special case of split-window-below.
12309 Correct doc string.
12310
12311 2013-04-12 Roland Winkler <winkler@gnu.org>
12312
12313 * faces.el (read-face-name): Do not override value of arg default.
12314 Allow single faces and strings as default values. Remove those
12315 elements from return value that are not faces.
12316 (describe-face): Simplify.
12317 (face-at-point): New optional args thing and multiple so that this
12318 function can provide the same functionality previously provided by
12319 read-face-name.
12320 (make-face-bold, make-face-unbold, make-face-italic)
12321 (make-face-unitalic, make-face-bold-italic, invert-face)
12322 (modify-face, read-face-and-attribute): Use face-at-point.
12323
12324 * cus-edit.el (customize-face, customize-face-other-window)
12325 * cus-theme.el (custom-theme-add-face)
12326 * face-remap.el (buffer-face-set)
12327 * facemenu.el (facemenu-set-face): Use face-at-point.
12328
12329 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12330
12331 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12332
12333 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12334
12335 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12336 off leading { and trailing } from field values.
12337
12338 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * emacs-lisp/timer.el (timer--check): New function.
12341 (timer--time, timer-set-function, timer-event-handler): Use it.
12342 (timer-set-idle-time): Simplify.
12343 (timer--activate): CSE.
12344 (timer-event-handler): Give more info in error message.
12345 (internal-timer-start-idle): New function, moved from C.
12346
12347 * mpc.el (mpc-proc): Add `restart' argument.
12348 (mpc-proc-cmd): Use it.
12349 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12350 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12351 less often.
12352
12353 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12354
12355 * progmodes/sh-script.el: Implement `sh-mode' own
12356 `add-log-current-defun-function' (bug#14112).
12357 (sh-current-defun-name): New function.
12358 (sh-mode): Use the function.
12359
12360 2013-04-09 Bastien Guerry <bzg@gnu.org>
12361
12362 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12363
12364 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12367
12368 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12369 timer (bug#14156).
12370
12371 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12372
12373 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12374 declaration.
12375
12376 2013-04-07 Leo Liu <sdl.web@gmail.com>
12377
12378 * pcmpl-x.el: New file.
12379
12380 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12381
12382 Do not set x-display-name until X connection is established.
12383 This is needed to prevent from weird situation described at
12384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12385 * frame.el (make-frame): Set x-display-name after call to
12386 window system initialization function, not before.
12387 * term/x-win.el (x-initialize-window-system): Add optional
12388 display argument and use it.
12389 * term/w32-win.el (w32-initialize-window-system):
12390 * term/ns-win.el (ns-initialize-window-system):
12391 * term/pc-win.el (msdos-initialize-window-system):
12392 Add compatible optional display argument.
12393
12394 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12395
12396 * files.el (normal-backup-enable-predicate): On MS-Windows and
12397 MS-DOS compare truenames of temporary-file-directory and of the
12398 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12399 don't fail comparison by compare-strings. Also, compare file
12400 names case-insensitively on MS-Windows and MS-DOS.
12401
12402 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12405 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12406
12407 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12408
12409 * whitespace.el (whitespace-color-on, whitespace-color-off):
12410 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12411
12412 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12413
12414 * ispell.el (ispell-set-spellchecker-params):
12415 Really set `ispell-args' for all equivs.
12416
12417 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * ido.el (ido-completions): Use extra elements of ido-decorations
12420 (bug#14143).
12421 (ido-decorations): Update docstring.
12422
12423 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12424
12425 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12426 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12427 nil during initialization, in order not to miss changes since the
12428 file was opened. (Bug#14140)
12429
12430 2013-04-05 Leo Liu <sdl.web@gmail.com>
12431
12432 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12433
12434 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12435
12436 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12437
12438 2013-04-04 Glenn Morris <rgm@gnu.org>
12439
12440 * electric.el (electric-pair-inhibit-predicate): Add :version.
12441
12442 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12445 when a package is required several times (bug#14082).
12446
12447 2013-04-04 Roland Winkler <winkler@gnu.org>
12448
12449 * faces.el (read-face-name): Behave as promised by the docstring.
12450 Assume that arg default is a list of faces.
12451 (describe-face): Call read-face-name with list of default faces.
12452
12453 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12454
12455 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12456 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12457 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12458 the header.
12459 (bookmark-exit-hook-internal): Save even if list is empty.
12460
12461 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12462
12463 * emacs-lisp/package.el (package-pinned-packages): New var.
12464 (package--add-to-archive-contents): Obey it (bug#14118).
12465
12466 2013-04-03 Alan Mackenzie <acm@muc.de>
12467
12468 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12469 Also adapt to the new values of element 7 of a parse state.
12470
12471 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12472 parameter `not-in-delimiter'. Handle being inside comment opener.
12473 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12474 character in case we're typing a '*' after a '/'.
12475 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12476 instead by passing the parameter to c-state-pp-to-literal.
12477
12478 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12479 for elt. 7 of a parse state.
12480
12481 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12482
12483 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12484 * international/latin1-disp.el, international/mule-util.el:
12485 * language/cyril-util.el, language/european.el, language/ind-util.el:
12486 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12487 * language/tibetan.el, language/viet-util.el:
12488 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12489
12490 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12493 (electric-pair-post-self-insert-function): Use it.
12494 (electric-pair-default-inhibit): New function, extracted from
12495 electric-pair-post-self-insert-function.
12496
12497 2013-03-31 Roland Winkler <winkler@gnu.org>
12498
12499 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12500
12501 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12504
12505 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12506
12507 Un-indent after "pass" and "return" statements (Bug#13888)
12508 * progmodes/python.el (python-indent-block-enders): New var.
12509 (python-indent-calculate-indentation): Use it.
12510
12511 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12512
12513 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12514 defun. Defining it as defalias could introduce too eager
12515 byte-compiler optimization. (Bug#14030)
12516
12517 2013-03-30 Chong Yidong <cyd@gnu.org>
12518
12519 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12520
12521 2013-03-30 Leo Liu <sdl.web@gmail.com>
12522
12523 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12524 (kmacro-execute-from-register): Pass the keyboard macro to
12525 kmacro-call-macro or repeating won't work correctly.
12526
12527 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12528
12529 * progmodes/subword.el: Back to using `forward-symbol'.
12530
12531 * subr.el (forward-whitespace, forward-symbol)
12532 (forward-same-syntax): Move from thingatpt.el.
12533
12534 2013-03-29 Leo Liu <sdl.web@gmail.com>
12535
12536 * kmacro.el (kmacro-to-register): New command.
12537 (kmacro-execute-from-register): New function.
12538 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12539
12540 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12541
12542 * mpc.el: Use defvar-local and setq-local.
12543 (mpc--proc-connect): Connection failures are not bugs.
12544 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12545 (mpc-volume-map): Bind to the up-events.
12546
12547 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12548
12549 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12550 instead of `forward-symbol'.
12551
12552 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12555 (edebug--recursive-edit): Use it.
12556 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12557 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12558
12559 2013-03-28 Leo Liu <sdl.web@gmail.com>
12560
12561 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12562
12563 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12564
12565 * facemenu.el (list-colors-callback): New defvar.
12566 (list-colors-redisplay): New function.
12567 (list-colors-display): Install list-colors-redisplay as the
12568 revert-buffer-function. (Bug#14063)
12569
12570 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12573 and suffixes don't overlap (bug#14061).
12574
12575 * case-table.el: Use lexical-binding.
12576 (case-table-get-table): New function.
12577 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12578
12579 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12580
12581 * progmodes/subword.el: Add `superword-mode' to do word motion
12582 over symbol_words (parallels and leverages `subword-mode' which
12583 does word motion inside MixedCaseWords).
12584
12585 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12586
12587 * eshell/em-unix.el: Move su and sudo to...
12588 * eshell/em-tramp.el: ...Eshell tramp module.
12589
12590 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12593 Change return value to be a sexp. Delay `get-buffer' to after
12594 restoring the desktop (bug#13951).
12595
12596 2013-03-26 Leo Liu <sdl.web@gmail.com>
12597
12598 * register.el: Move semantic tag handling back to
12599 cedet/semantic/senator.el. (Bug#14052)
12600
12601 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12604 into the prompt either (bug#13963).
12605
12606 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12609 part of "(error-foo)".
12610
12611 2013-03-24 Juri Linkov <juri@jurta.org>
12612
12613 * replace.el (list-matching-lines-prefix-face): New defcustom.
12614 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12615 `occur-engine' if `face-differs-from-default-p' returns t.
12616 (occur-engine): Add `,' inside backquote construct to evaluate
12617 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12618 Pass `prefix-face' to the functions `occur-context-lines' and
12619 `occur-engine-add-prefix'.
12620 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12621 `prefix-face' and propertize the prefix with `prefix-face'.
12622 (Bug#14017)
12623
12624 2013-03-24 Leo Liu <sdl.web@gmail.com>
12625
12626 * nxml/rng-valid.el (rng-validate-while-idle)
12627 (rng-validate-quick-while-idle): Guard against deleted buffer.
12628 (Bug#13999)
12629
12630 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12631 is the last entry in kill-buffer-hook.
12632
12633 * files.el (kill-buffer-hook): Doc fix.
12634
12635 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12636
12637 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12638 Make it safe-local.
12639
12640 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12641
12642 2013-03-23 Leo Liu <sdl.web@gmail.com>
12643
12644 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12645 Remove.
12646
12647 * nxml/rng-valid.el (rng-validate-mode)
12648 (rng-after-change-function, rng-do-some-validation):
12649 * nxml/rng-maint.el (rng-validate-buffer):
12650 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12651 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12652 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12653 (nxml-extend-after-change-region): Use with-silent-modifications.
12654
12655 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12656 timer-idle-list.
12657
12658 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12659 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12660 timer-idle-list. (Bug#13999)
12661
12662 2013-03-23 Juri Linkov <juri@jurta.org>
12663
12664 * info.el (info-index-match): New face.
12665 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12666 main pattern and add text properties with the new face to matches
12667 in index entries relative to the beginning of the index entry.
12668 (Bug#14015)
12669
12670 2013-03-21 Eric Ludlam <zappo@gnu.org>
12671
12672 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12673 Inhibit read only while inserting objects.
12674
12675 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12676
12677 * progmodes/cfengine.el: Update docs to mention
12678 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12679 symbol motion. Remove "_" from the word syntax.
12680
12681 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12682
12683 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12684 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12685
12686 2013-03-20 Juri Linkov <juri@jurta.org>
12687
12688 * info.el (Info-next-reference-or-link)
12689 (Info-prev-reference-or-link): New functions.
12690 (Info-next-reference, Info-prev-reference): Use them.
12691 (Info-try-follow-nearest-node): Handle footnote navigation.
12692 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12693
12694 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12697 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12698
12699 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12700
12701 Suppress unnecessary non-ASCII chatter during build process.
12702 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12703 (batch-skkdic-convert): Suppress most of the chatter.
12704 It's not needed so much now that machines are faster,
12705 and its non-ASCII component was confusing; see Dmitry Gutov in
12706 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12707
12708 2013-03-20 Leo Liu <sdl.web@gmail.com>
12709
12710 * ido.el (ido-chop): Fix bug#10994.
12711
12712 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12713
12714 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12715 Remove vars.
12716 (whitespace-color-on, whitespace-color-off):
12717 Use `font-lock-fontify-buffer' (Bug#13817).
12718
12719 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12722 remapping in mode-line.
12723 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12724
12725 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12726
12727 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12728 value for `whitespace-line' face (Bug#13875).
12729 (whitespace-font-lock-keywords): Change description.
12730 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12731 the constructed keywords instead.
12732 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12733
12734 2013-03-19 Leo Liu <sdl.web@gmail.com>
12735
12736 * progmodes/compile.el (compilation-display-error): New command.
12737 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12738 C-o. (Bug#13992)
12739
12740 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12741
12742 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12743
12744 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12745
12746 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12747
12748 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12749
12750 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12751
12752 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12753 * net/tramp-gvfs.el (top):
12754 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12755 (tramp-handle-shell-command): Use it.
12756 (tramp-dissect-file-name): Raise an error when hostname is a
12757 method name, and neither method nor user is specified.
12758
12759 * net/trampver.el: Update release number.
12760
12761 2013-03-18 Leo Liu <sdl.web@gmail.com>
12762
12763 Make sure eldoc can be turned off properly.
12764 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12765 eldoc-mode.
12766 (eldoc-display-message-p): Revert last change.
12767 (eldoc-display-message-no-interference-p)
12768 (eldoc-print-current-symbol-info): Tweak.
12769
12770 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12771
12772 * doc-view.el (doc-view-new-window-function): Check the new window
12773 overlay's display property instead the char property of the
12774 buffer's first char. Use `with-selected-window' instead of
12775 `save-window-excursion' with `select-window'.
12776 (doc-view-document->bitmap): Check the current doc-view overlay's
12777 display property instead the char property of the buffer's first char.
12778
12779 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12780
12781 Automate the build of ja-dic.el (Bug#13984).
12782 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12783 from the input, rather than assume that it's been done for us by the
12784 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12785 the current date into a ja-dic.el comment, as that complicates
12786 regression testing.
12787
12788 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * whitespace.el: Fix double evaluation.
12791 (whitespace-space, whitespace-hspace, whitespace-tab)
12792 (whitespace-newline, whitespace-trailing, whitespace-line)
12793 (whitespace-space-before-tab, whitespace-indentation)
12794 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12795 obsolete defvars.
12796 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12797 (whitespace-color-on): Use a single font-lock-add-keywords call.
12798 Fix double-evaluation of face variables.
12799
12800 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12801
12802 * net/tramp-adb.el (tramp-adb-parse-device-names):
12803 Use `start-process' instead of `call-process'. Otherwise, the
12804 function might be blocked under MS Windows. (Bug#13299)
12805
12806 2013-03-17 Leo Liu <sdl.web@gmail.com>
12807
12808 Extend eldoc to display info in the mode-line. (Bug#13978)
12809 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12810 (eldoc-mode-line-string): New variable.
12811 (eldoc-minibuffer-message): New function.
12812 (eldoc-message-function): New variable.
12813 (eldoc-message): Use it.
12814 (eldoc-display-message-p)
12815 (eldoc-display-message-no-interference-p):
12816 Support eldoc-post-insert-mode.
12817
12818 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12819 (eval-expression): Run it.
12820
12821 2013-03-17 Roland Winkler <winkler@gnu.org>
12822
12823 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12824 strings in the list of return values.
12825
12826 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12827
12828 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12829 radix before checking for HMS forms.
12830
12831 2013-03-16 Leo Liu <sdl.web@gmail.com>
12832
12833 * progmodes/scheme.el: Add indentation and font-locking for λ.
12834 (Bug#13975)
12835
12836 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12839 token before point (bug#13942).
12840
12841 2013-03-16 Leo Liu <sdl.web@gmail.com>
12842
12843 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12844
12845 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12846
12847 * startup.el (command-line-normalize-file-name): Fix handling of
12848 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12849 <xfq.free@gmail.com> in
12850 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12851
12852 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12853
12854 Sync with Tramp 2.2.7.
12855
12856 * net/trampver.el: Update release number.
12857
12858 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12859
12860 * doc-view.el: Fix bug#13887.
12861 (doc-view-insert-image): Don't modify overlay associated to
12862 non-live windows, and implement horizontal centering of image in
12863 case it's smaller than the window.
12864 (doc-view-new-window-function): Force redisplay of new windows on
12865 doc-view buffers.
12866
12867 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12868
12869 * saveplace.el (save-place-alist-to-file): Don't sort
12870 `save-place-alist', just pretty-print it (bug#13882).
12871
12872 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12873
12874 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12875 Check whether `default-file-name-coding-system' is bound.
12876 It isn't in XEmacs.
12877
12878 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12881 backquotes for `obsolete' (bug#13929).
12882
12883 * international/mule.el (find-auto-coding): Include file name in
12884 obsolescence warning (bug#13922).
12885
12886 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12887
12888 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12889 for CFEngine 3-specific indentation.
12890 (cfengine3-indent-line): Use it. Fix up category regex.
12891 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12892
12893 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * type-break.el (type-break-file-name):
12896 * textmodes/remember.el (remember-data-file):
12897 * strokes.el (strokes-file):
12898 * shadowfile.el (shadow-initialize):
12899 * saveplace.el (save-place-file):
12900 * ps-bdf.el (bdf-cache-file):
12901 * progmodes/idlwave.el (idlwave-config-directory):
12902 * net/quickurl.el (quickurl-url-file):
12903 * international/kkc.el (kkc-init-file-name):
12904 * ido.el (ido-save-directory-list-file):
12905 * emulation/viper.el (viper-custom-file-name):
12906 * emulation/vip.el (vip-startup-file):
12907 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12908 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12909
12910 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12911
12912 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12913 * language/thai-word.el: Switch to UTF-8.
12914
12915 See ChangeLog.16 for earlier changes.
12916
12917 ;; Local Variables:
12918 ;; coding: utf-8
12919 ;; End:
12920
12921 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12922
12923 This file is part of GNU Emacs.
12924
12925 GNU Emacs is free software: you can redistribute it and/or modify
12926 it under the terms of the GNU General Public License as published by
12927 the Free Software Foundation, either version 3 of the License, or
12928 (at your option) any later version.
12929
12930 GNU Emacs is distributed in the hope that it will be useful,
12931 but WITHOUT ANY WARRANTY; without even the implied warranty of
12932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12933 GNU General Public License for more details.
12934
12935 You should have received a copy of the GNU General Public License
12936 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.